[x264-devel] non monotone timestamps...
Daniel J Blueman
daniel.blueman at gmail.com
Sun Aug 20 19:18:56 CEST 2006
When performing 2-pass encoding [1], I see many "non monotone
timestamps" errors [2], so frames are dropped, resulting in a shorter
video stream than the audio stream.
I tracked this down to when the +bpyramid option is passed to x264; no
problem occurs with '-bpyramid', ie when using B-frames as references
is disabled. I'm converting a MJPEG 640x480 30 fps video from my
digital camera with ffmpeg etc trees from late Jul 06 subversion.
Doing a quick search, it seems little is known about this issue. Any
ideas? I'm not on the mailing list, so please CC.
Daniel
--- [1]
ffmpeg -i in.avi -an -pass 1 -vcodec h264 -b 1000 -flags \
+loop -chroma 1 -partitions parti4x4+partp8x8+partb8x8 \
-flags2 -8x8dct-wpred -me_method 5 -subq 1 -trellis 0 -refs 1 \
-max_b_frames 3 -coder 1 -me_range 16 -gop_size 250 -keyint_min 25 \
-sc_threshold 40 -i_quant_factor 0.71 -bit_rate_tolerance 1000 \
-rc_eq 'blurCplx^(1-qComp)' -qcompress 0.6 -qmin 10 -qmax 51 \
-max_qdiff 4 out.mp4
ffmpeg -y -i in.avi -acodec aac -ab 32 -pass 2 -vcodec h264 -b 1000 -flags
+loop -chroma 1 -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 \
-flags2 -bpyramid+wpred+mixed_refs+8x8dct+brdo -me_method 8 \
-subq 7 -trellis 2 -refs 5 \
-max_b_frames 3 -coder 1 -me_range 16 -gop_size 250 -keyint_min 25 \
-sc_threshold 40 -i_quant_factor 0.71 -bit_rate_tolerance 1000 \
-rc_eq 'blurCplx^(1-qComp)' -qcompress 0.6 -qmin 10 -qmax 51 \
-max_qdiff 4 out.mp4
--- [2]
error, non monotone timestamps 66666 >= 33333itrate=14637.3kbits/s
error, non monotone timestamps 199998 >= 166665rate=4954.9kbits/s
error, non monotone timestamps 466662 >= 433329rate=2984.1kbits/s
error, non monotone timestamps 666660 >= 633327rate=2008.8kbits/s
error, non monotone timestamps 866658 >= 833325rate=1876.8kbits/s
[snip]
--
Daniel J Blueman
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list