[FFmpeg-user] DOWN CONVERSION ISSUE: From MXF (1080i AVC Intra) - MBAFF "interlacing" to DVCPRO

Iban Garcia ibantxo28 at gmail.com
Sun Mar 25 11:51:43 CEST 2012


First of all, many thanks for your help, Tim.

My command is:  ffmpeg -y -threads 8 -i input.mxf -b:v 50000000 -s 720x576
-pix_fmt yuv422p -aspect 16:9 -an -r 25 -vf setfield=1 output.dv

OUTPUT:
# ffmpeg -y -threads 8 -i input.mxf -b:v 50000000 -s 720x576 -pix_fmt
yuv422p -aspect 16:9 -an -r 25 output.dv
ffmpeg version 0.9.0.git-2169f97 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Jan 10 2012 12:08:32 with gcc 4.5.1 20101208 [gcc-4_5-branch
revision 167585]
  configuration: --shlibdir=/usr/lib64 --prefix=/usr/local
--mandir=/usr/share/man --libdir=/usr/lib64 --enable-pthreads
--enable-shared --enable-libvorbis --enable-gpl --enable-x11grab
--enable-libx264 --enable-libmp3lame --enable-nonfree --enable-postproc
  libavutil      51. 34.100 / 51. 34.100
  libavcodec     53. 54.100 / 53. 54.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 58.100 /  2. 58.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    51.  2.100 / 51.  2.100
[mxf @ 0x6248e0] could not resolve sub descriptor strong ref
[mxf @ 0x6248e0] source track 6: stream 4, no descriptor found
[mxf @ 0x6248e0] could not resolve sub descriptor strong ref
Input #0, mxf, from 'input.mxf':
  Duration: 00:00:02.32, start: 0.000000, bitrate: 119235 kb/s
    Stream #0:0: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0:2: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0:3: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0:4: Data: none
    Stream #0:5: Video: h264 (High 4:2:2 Intra), yuv422p10le, 1920x1080
[SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
[buffer @ 0x628180] w:1920 h:1080 pixfmt:yuv422p10le tb:1/1000000 sar:1/1
sws_param:
[scale @ 0x62c160] w:1920 h:1080 fmt:yuv422p10le -> w:720 h:576 fmt:yuv422p
flags:0x4
Output #0, dv, to 'output.dv':
  Metadata:
    encoder         : Lavf53.29.100
    Stream #0:0: Video: dvvideo, yuv422p, 720x576 [SAR 64:45 DAR 16:9],
q=2-31, 50000 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:5 -> #0:0 (h264 -> dvvideo)
Press [q] to stop, [?] for help
frame=   58 fps=  0 q=0.0 Lsize=   16312kB time=00:00:02.32
bitrate=57600.0kbits/s
video:16312kB audio:0kB global headers:0kB muxing overhead 0.000000%

I am testing the "setfield=1" video filter. But I think I have to patch my
code first.




2012/3/23 Tim Nicholson <nichot20 at yahoo.com>

> On 23/03/12 14:11, Iban Garcia wrote:
> > Hi All!
> >
> > I am trying to down convert a MXF: It is a Stream #0:5: Video: h264 (High
> > 4:2:2 Intra), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr,
> 25
> > tbn, 50 tbc
> >
> > It has a MBAFF interlacing inside (Mediainfo tells it).
> >
> > With ffmpeg I can get a DV, but it is de-interlaced and I want to be
> > interlaced as well as the original video is.
> >
> > How can I get it using ffmpeg? Is there any flag/option that allow it?
> >
>
> You don't provide complete uncut console output.
>
> However from my experience MXF's always seem to be flagged as progressive
> even
> when not.
>
> In which case setfield=1 is your friend.
>
> If this does not suffice I refer you to my first comment....
>
>
> --
> Tim
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list