[FFmpeg-trac] #1014(undetermined:new): [libvpx][mjpeg] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 67 >= 33
FFmpeg
trac at avcodec.org
Thu Feb 23 23:33:19 CET 2012
#1014: [libvpx][mjpeg] Application provided invalid, non monotonically increasing
dts to muxer in stream 0: 67 >= 33
-------------------------------------+-------------------------------------
Reporter: unikum | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: libvpx | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by unikum):
Replying to [comment:2 cehoyos]:
> Replying to [comment:1 unikum]:
> > Seems error occurs with 'auto-alt-ref 1' option. I hope this will
help.
> Yes, please provide a minimal (as short as possible with -an) command
line that allows to reproduce the problem (together with complete, uncut
console output).
Ok. I use following script:
{{{
ffmpeg -pass 1 -i "/tmp/video/video.avi" -an -vcodec libvpx -vb 1M -f
rawvideo -y /dev/null
ffmpeg -pass 2 -i "/tmp/video/video.avi" -an -vcodec libvpx -vb 1M
-vp8flags altref -rc_lookahead 16 -f webm -y test.webm
}}}
I get following ouput:
{{{
sh encode
ffmpeg version N-37208-g01fcbdf Copyright (c) 2000-2012 the FFmpeg
developers
built on Feb 7 2012 10:34:18 with gcc 4.6.2 20120120 (prerelease)
configuration: --prefix=/usr --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora
--enable-libgsm --enable-libspeex --enable-postproc --enable-shared
--enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb
--enable-libschroedinger --enable-libopenjpeg --enable-librtmp --enable-
libpulse --enable-gpl --enable-version3 --enable-runtime-cpudetect
--disable-debug --disable-static
libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 60.100 / 53. 60.100
libavformat 53. 31.100 / 53. 31.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 60.100 / 2. 60.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, avi, from '/tmp/video/video.avi':
Metadata:
creation_time : 2012-01-26 12:49:21
encoder : CanonMVI06
Duration: 00:00:25.03, start: 0.000000, bitrate: 11340 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 640x480, 30
tbr, 30 tbn, 30 tbc
Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 11024 Hz, 1
channels, u8, 88 kb/s
Incompatible pixel format 'yuvj422p' for codec 'libvpx', auto-selecting
format 'yuv420p'
[buffer @ 0xb1c140] w:640 h:480 pixfmt:yuvj422p tb:1/1000000 sar:0/1
sws_param:
[buffersink @ 0xb15f80] auto-inserting filter 'auto-inserted scale 0'
between the filter 'src' and the filter 'out'
[scale @ 0xb37600] w:640 h:480 fmt:yuvj422p -> w:640 h:480 fmt:yuv420p
flags:0x4
[libvpx @ 0xb15480] v1.0.0
Output #0, rawvideo, to '/dev/null':
Metadata:
creation_time : 2012-01-26 12:49:21
encoder : Lavf53.31.100
Stream #0:0: Video: vp8, yuv420p, 640x480, q=-1--1, pass 1, 1000 kb/s,
90k tbn, 30 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg -> libvpx)
Press [q] to stop, [?] for help
frame= 751 fps=158 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=
0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead -nan%
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used)
ffmpeg version N-37208-g01fcbdf Copyright (c) 2000-2012 the FFmpeg
developers
built on Feb 7 2012 10:34:18 with gcc 4.6.2 20120120 (prerelease)
configuration: --prefix=/usr --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora
--enable-libgsm --enable-libspeex --enable-postproc --enable-shared
--enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb
--enable-libschroedinger --enable-libopenjpeg --enable-librtmp --enable-
libpulse --enable-gpl --enable-version3 --enable-runtime-cpudetect
--disable-debug --disable-static
libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 60.100 / 53. 60.100
libavformat 53. 31.100 / 53. 31.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 60.100 / 2. 60.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, avi, from '/tmp/video/video.avi':
Metadata:
creation_time : 2012-01-26 12:49:21
encoder : CanonMVI06
Duration: 00:00:25.03, start: 0.000000, bitrate: 11340 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 640x480, 30
tbr, 30 tbn, 30 tbc
Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 11024 Hz, 1
channels, u8, 88 kb/s
Incompatible pixel format 'yuvj422p' for codec 'libvpx', auto-selecting
format 'yuv420p'
[buffer @ 0xa0a640] w:640 h:480 pixfmt:yuvj422p tb:1/1000000 sar:0/1
sws_param:
[buffersink @ 0xa04560] auto-inserting filter 'auto-inserted scale 0'
between the filter 'src' and the filter 'out'
[scale @ 0xa25460] w:640 h:480 fmt:yuvj422p -> w:640 h:480 fmt:yuv420p
flags:0x4
[libvpx @ 0xa03620] v1.0.0
Output #0, webm, to 'test.webm':
Metadata:
creation_time : 2012-01-26 12:49:21
encoder : Lavf53.31.100
Stream #0:0: Video: vp8, yuv420p, 640x480, q=-1--1, pass 2, 1000 kb/s,
1k tbn, 30 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg -> libvpx)
Press [q] to stop, [?] for help
[webm @ 0xa02cc0] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 67 >= 33
av_interleaved_write_frame(): Invalid argument
}}}
I notice that error occurs only with 2 pass encoding and when '-vp8flags
altref' and '-rc_lookahead 16' used together. Also I tried reproduce it
on the XVID but it encode normally.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1014#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list