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

Iban Garcia ibantxo28 at gmail.com
Mon Mar 26 12:41:34 CEST 2012


Hi Dave,

Umm... it does not work for me. The output.dv is still "progressive"
(de-interlaced): both fields of output.dv file are equal. The interlacing
has been lost...

I have download and installed "ffmbc". I am doing some test now with it.
But, by the moment, all of the tests has the same "de-interlaced" output...
:-(((

# ffmpeg -y -threads 8 -i input.mxf -vf "setfield=1, scale=720:576:1,
fieldorder=bff" -pix_fmt yuv411p -aspect 16:9 -an -r 25 output.dv
ffmpeg version N-39247-g6809818 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Mar 25 2012 17:35:24 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-postproc
  libavutil      51. 44.100 / 51. 44.100
  libavcodec     54. 12.100 / 54. 12.100
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 65.102 /  2. 65.102
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 10.100 /  0. 10.100
  libpostproc    52.  0.100 / 52.  0.100
[mxf @ 0x6284e0] could not resolve sub descriptor strong ref
[mxf @ 0x6284e0] source track 6: stream 4, no descriptor found
[mxf @ 0x6284e0] could not resolve sub descriptor strong ref
[mxf @ 0x6284e0] Unknown frame layout type: 1
Input #0, mxf, from 'input.mxf':
  Metadata:
    timecode        : 11:31:46:14
  Duration: 00:00:33.48, start: 0.000000, bitrate: 118911 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 @ 0x719f80] w:1920 h:1080 pixfmt:yuv422p10le tb:1/1000000 sar:1/1
sws_param:
[fieldorder @ 0x646f80] output field order: bff
[scale @ 0x62fbc0] w:1920 h:1080 fmt:yuv422p10le sar:1/1 -> w:720 h:576
fmt:yuv411p sar:64/45 flags:0x4
Output #0, dv, to 'output.dv':
  Metadata:
    timecode        : 11:31:46:14
    encoder         : Lavf54.3.100
    Stream #0:0: Video: dvvideo, yuv411p, 720x576 [SAR 64:45 DAR 16:9],
q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:5 -> #0:0 (h264 -> dvvideo)
Press [q] to stop, [?] for help
frame=  837 fps= 88 q=0.0 Lsize=  117703kB time=00:00:33.48
bitrate=28800.0kbits/s
video:117703kB audio:0kB global headers:0kB muxing overhead 0.000000%







2012/3/26 Dave Bevan <dave.bevan at bbc.co.uk>

>
> -----Original Message-----
> From: ffmpeg-user-bounces at ffmpeg.org
> [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Tim Nicholson
> Sent: 26 March 2012 08:44
> To: FFmpeg user questions and RTFMs
> Subject: Re: [FFmpeg-user] DOWN CONVERSION ISSUE: From MXF (1080i AVC
> Intra) - MBAFF "interlacing" to DVCPRO
>
> On 25/03/12 15:43, Iban Garcia wrote:
> > Hi,
> >
> > I have taken from git the last version of ffmpeg. And I have made next
>
> > test. The output.dv fields are not interlaced. The interlaced
> > information has been lost in the process.
> >
> > # ffmpeg -y -threads 8 -i input.mxf -s 720x576 -pix_fmt yuv411p
> > -aspect
> > 16:9 -an -r 25 -vf "setfield=1, fieldorder=bff" output.dv
>
> > [..]
>
> > sws_param:
> > [fieldorder @ 0x646e80] output field order: bff [scale @ 0x6283a0]
> > w:1920 h:1080 fmt:yuv422p10le sar:1/1 -> w:720 h:576 fmt:yuv411p
> > sar:64/45 flags:0x4
> >
>
> As your source is HD and you wish to output SD, you should really scale
> the material properly using the "scale" filter with interlacing turned
> on.
>
> Something like:-
>
> ffmpeg -y -threads 8 -i input.mxf \
> -vf "setfield=1, scale=720:576:1, fieldorder=bff" \ -pix_fmt yuv411p
> -aspect 16:9 -an -r 25 output.dv
>
>
> ------------------------------------------------------------------------
> -------------------------
> And you should also ensure you change colourspace too - HD is bt709
> whereas SD is bt601. Add this to Tim's filter chain:
>
> ,colormatrix=bt709:bt601
>
> --Dave.
> ------------------------------------------------------------------------
> -------------------------
>
>
>
> --
> Tim
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> http://www.bbc.co.uk/
> This e-mail (and any attachments) is confidential and may contain personal
> views which are not the views of the BBC unless specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in
> reliance on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list