[FFmpeg-user] Converting from HD (720p) to SD (576i)

Iban Garcia ibantxo28 at gmail.com
Thu Oct 11 16:22:11 CEST 2012


Debug obtained from Carl's "format" advice (I have inserted "format" first
in the vf chain):

ffmpeg -report -i INPUT.mxf -threads 8 -aspect 16:9 -vf
"*format=yuv411p*,tinterlace=interleave_bottom,scale=720:576:interl=1,fieldorder=bff"
-ac 2 -y -r 25 OUTPUT.dv
ffmpeg started on 2012-10-11 at 16:18:51
Report written to "ffmpeg-20121011-161851.log"
ffmpeg version 1.0.git Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct  3 2012 12:42:45 with gcc 4.5 (SUSE Linux)
  configuration: --shlibdir=/usr/lib64 --prefix=/usr/local
--mandir=/usr/share/man --libdir=/usr/local/lib --enable-pthreads
--enable-shared --enable-libvorbis --enable-gpl --enable-x11grab
--enable-libx264 --enable-libmp3lame --enable-postproc --enable-nonfree
--arch=x86_64 --cpu=64
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 63.100 / 54. 63.100
  libavformat    54. 29.105 / 54. 29.105
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.102 /  3. 19.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[mxf @ 0x633d60] invalid KAGSize 0 - guessing 1
[mxf @ 0x633d60] invalid KAGSize 0 - guessing 1
Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Guessed Channel Layout for  Input Stream #0.5 : mono
Guessed Channel Layout for  Input Stream #0.6 : mono
Guessed Channel Layout for  Input Stream #0.7 : mono
Guessed Channel Layout for  Input Stream #0.8 : mono
Input #0, mxf, from 'INPUT.mxf':
  Metadata:
    timecode        : 00:00:00:00
  Duration: 01:24:00.00, start: 0.000000, bitrate: 123172 kb/s
    Stream #0:0: Video: h264 (High 4:2:2 Intra), yuv422p10le, 1280x720 [SAR
1:1 DAR 16:9], 50 fps, 50 tbr, 50 tbn, 100 tbc
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:5: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:6: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:7: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:8: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
[Parsed_fieldorder_3 @ 0x80c4a0] output field order: bff
[graph 0 input from stream 0:0 @ 0x812a80] w:1280 h:720 pixfmt:yuv422p10le
tb:1/50 fr:50/1 sar:1/1 sws_param:flags=2
[Parsed_format_0 @ 0x849780] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'graph 0 input from stream 0:0' and the filter
'Parsed_format_0'
[Parsed_tinterlace_1 @ 0x84fa20] auto-inserting filter 'auto-inserted
scaler 1' between the filter 'Parsed_format_0' and the filter
'Parsed_tinterlace_1'
[auto-inserted scaler 0 @ 0x635f80] w:1280 h:720 fmt:yuv422p10le sar:1/1 ->
w:1280 h:720 fmt:yuv411p sar:1/1 flags:0x4
[auto-inserted scaler 1 @ 0x67a700] w:1280 h:720 fmt:yuv411p sar:1/1 ->
w:1280 h:720 fmt:yuv422p sar:1/1 flags:0x4
[Parsed_tinterlace_1 @ 0x84fa20] mode:interleave_bottom h:720 -> h:720
[Parsed_scale_2 @ 0x85bf60] w:1280 h:720 fmt:yuv422p sar:1/1 -> w:720 h:576
fmt:yuv422p sar:64/45 flags:0x4
[graph 1 input from stream 0:1 @ 0x677cc0] tb:1/48000 samplefmt:s32
samplerate:48000 chlayout:0x4
[audio format for output stream 0:1 @ 0x71ec40] auto-inserting filter
'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the
filter 'audio format for output stream 0:1'
[auto-inserted resampler 0 @ 0x7ad600] chl:mono fmt:s32 r:48000Hz ->
chl:stereo fmt:s16 r:48000Hz
Output #0, dv, to 'OUTPUT.dv':
  Metadata:
    timecode        : 00:00:00:00
    encoder         : Lavf54.29.105
    Stream #0:0: Video: dvvideo, yuv422p, 720x576 [SAR 64:45 DAR 16:9],
q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> dvvideo)
  Stream #0:1 -> #0:1 (pcm_s24le -> pcm_s16le)
Press [q] to stop, [?] for help
frame=   72 fps= 28 q=0.0 Lsize=   20250kB time=00:00:03.06
bitrate=54211.8kbits/s
.............
.............


More information about the ffmpeg-user mailing list