[FFmpeg-user] Noisy Output - Transcoding MXF to x264
Joshua Tidsbury
Joshua.Tidsbury at bellmedia.ca
Thu Jul 12 15:17:04 CEST 2012
I have an interesting issue when transcoding MXF files that is generating a lot of noisy output. I did not have this issue before upgrading to 0.11.1:
ffmpeg version 0.11.1built on Jun 25 2012 22:07:30 with gcc 4.4.4 20100726 (Red Hat 4.4.4-13)configuration: --prefix=/usr/local --enable-pic --enable-shared --disable-mmx --enable-libfreetype --enable-libmp3lame --enable-gpl --enable-zlib --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libfaac --enable-nonfree --enable-libx264 --enable-pthreads
libavutil 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
I am doing a simple transcode from MXF to x264/libfaac, and am getting the following message on each batch of console output, for each channel of audio being addressed in the source file (in this case, I'm only addressing the first, but if I am extracting all 8 channels, I get a copy for each channel of audio). The transcode does complete successfully, so at this point it's just spilled ink, so to speak:
DTS 348, next:19352628 st:1 invalid droppingime=00:00:16.54 bitrate=1381.5kbits/s
PTS 348, next:19352628 invalid dropping st:1
DTS 349, next:19419357 st:1 invalid dropping
PTS 349, next:19419357 invalid dropping st:1
DTS 350, next:19486086 st:1 invalid dropping
PTS 350, next:19486086 invalid dropping st:1
DTS 351, next:19519461 st:1 invalid dropping
PTS 351, next:19519461 invalid dropping st:1
DTS 352, next:19586190 st:1 invalid dropping
PTS 352, next:19586190 invalid dropping st:1
DTS 353, next:19652919 st:1 invalid dropping
PTS 353, next:19652919 invalid dropping st:1
DTS 354, next:19686294 st:1 invalid dropping
PTS 354, next:19686294 invalid dropping st:1
DTS 355, next:19753023 st:1 invalid dropping
PTS 355, next:19753023 invalid dropping st:1
DTS 356, next:19819752 st:1 invalid droppingime=00:00:16.98 bitrate=1374.0kbits/s
PTS 356, next:19819752 invalid dropping st:1
DTS 357, next:19853127 st:1 invalid dropping
PTS 357, next:19853127 invalid dropping st:1
DTS 358, next:19919856 st:1 invalid dropping
PTS 358, next:19919856 invalid dropping st:1
DTS 359, next:19986585 st:1 invalid dropping
PTS 359, next:19986585 invalid dropping st:1
DTS 360, next:20019960 st:1 invalid dropping
PTS 360, next:20019960 invalid dropping st:1
DTS 361, next:20086689 st:1 invalid dropping
PTS 361, next:20086689 invalid dropping st:1
DTS 362, next:20153418 st:1 invalid dropping
PTS 362, next:20153418 invalid dropping st:1
DTS 363, next:20186793 st:1 invalid dropping
PTS 363, next:20186793 invalid dropping st:1
The command that I am using to trigger the transcode is:
ffmpeg -y -i source_file.MXF -threads 0 -acodec libfaac -vcodec libx264 -pix_fmt yuv420p -level 41 -b:v 1280k -vf "scale=960:540" -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -trellis 1 -refs 5 -vprofile main -bf 16 -b_strategy 1 -coder 1 -me_range 16 -g 60 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 temp.mp4
The ffmpeg output up to when the transcode begins is as follows:
ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
built on Jun 25 2012 22:07:30 with gcc 4.4.4 20100726 (Red Hat 4.4.4-13)
configuration: --prefix=/usr/local --enable-pic --enable-shared --disable-mmx --enable-libfreetype --enable-libmp3lame --enable-gpl --enable-zlib --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libfaac --enable-nonfree --enable-libx264 --enable-pthreads
libavutil 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[mxf @ 0x19bd030] could not resolve sub descriptor strong ref
[mxf @ 0x19bd030] source track 2816: stream 9, no descriptor found
[mxf @ 0x19bd030] broken or empty index
[mxf @ 0x19bd030] Stream #9: not enough frames to estimate rate; consider increasing probesize
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 'source_file.MXF':
Metadata:
timecode : 12:23:02;21
Duration: 00:01:33.69, start: 0.000000, bitrate: 60190 kb/s
Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], 50000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 59.94 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
Stream #0:9: Data: none
[buffer @ 0x19d5370] w:1920 h:1080 pixfmt:yuv422p tb:1001/30000 sar:1/1 sws_param:flags=2
[buffersink @ 0x19cd710] No opaque field provided
[scale @ 0x19e3e60] w:1920 h:1080 fmt:yuv422p sar:1/1 -> w:960 h:540 fmt:yuv420p sar:1/1 flags:0x4
[aformat @ 0x1a45fe0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'src' and the filter 'aformat'
[aresample @ 0x1c45860] chl:mono fmt:s32 r:48000Hz -> chl:mono fmt:s16 r:48000Hz
[libx264 @ 0x19d3ed0] using SAR=1/1
[libx264 @ 0x19d3ed0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[libx264 @ 0x19d3ed0] profile Main, level 4.1
[libx264 @ 0x19d3ed0] 264 - core 125 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=5 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=24 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=16 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=60 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1280 ratetol=1.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'temp.mp4':
Metadata:
timecode : 12:23:02;21
encoder : Lavf54.6.100
Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 960x540 [SAR 1:1 DAR 16:9], q=10-51, 1280 kb/s, 30k tbn, 29.97 tbc
Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, mono, s16, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video -> libx264)
Stream #0:1 -> #0:1 (pcm_s24le -> libfaac)
Press [q] to stop, [?] for help
Many thanks,
Josh
More information about the ffmpeg-user
mailing list