#5018: incorrect PTS/DTS on first frame of RTSP stream
-------------------------------------+-------------------------------------
Reporter: slamb | Owner:
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: rtsp h264 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by jlpoole):
I've been trying to create a fully reproducible case using a local file
with Ffmpeg feeding into a local rtsp server and then another Ffmepg
pulling as in the example provided in the initial statement of this
ticket. Any rate, I'm now using a much higher version of Ffmpeg, so this
entry is a matter of interest only.
I tried using the submitted sample test case and found the
"non monotonically" occurring between frames 40-55 in an access attempt of
2400 frames. I had several weeks ago tried using a slightly less higher
version of Ffmpeg and did, indeed, find "non monotonically" in my error
log at random times. The randomness caused me to wonder if the rtsp
server might be contributing to the problem.
In today's test run, the problem looks to have dissipated and occurs only
at the outset. I have seen in the code notes that errors at the outset
are sometimes overlooked.
Here's my Log output:
jlpoole@taurus /tmp/test $ head $TEST_LOG
Script started on 2020-07-03 12:56:12-07:00 [TERM="xterm"
TTY="/dev/pts/14" COLUMNS="98" LINES="50"]
jlpoole@taurus /tmp/test $ ffmpeg -report -rtsp_transport tcp -i
rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov -map 0:v
-filter:v showinfo -frames:v 2400 -f null /dev/null
ffmpeg started on 2020-07-03 at 12:56:26
Report written to "ffmpeg-20200703-125626.log"
Log level: 48
ffmpeg version 4.3 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 8.3.0 (Gentoo 8.3.0-r1 p1.1)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--docdir=/usr/share/doc/ffmpeg-4.3/html --mandir=/usr/share/man --enable-
shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++
--ar=x86_64-pc-linux-gnu-ar --nm=x86_64-pc-linux-gnu-nm --ranlib=x86_64
-pc-linux-gnu-ranlib --optflags='-march=native -O2 -pipe' --disable-static
--enable-avfilter --enable-avresample --disable-stripping --disable-
optimizations --disable-libcelt --disable-indev=alsa --disable-indev=oss
--disable-indev=jack --disable-outdev=alsa --disable-outdev=oss --enable-
bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt
--enable-gnutls --disable-gmp --enable-gpl --disable-hardcoded-tables
--enable-iconv --disable-libtls --disable-libxml2 --disable-lzma --enable-
network --disable-opencl --disable-openssl --enable-postproc --disable-
libsmbclient --enable-ffplay --enable-sdl2 --disable-vaapi --disable-vdpau
--disable-vulkan --enable-xlib --enable-libxcb --enable-libxcb-shm
--enable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-
libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal
--disable-opengl --disable-libv4l2 --enable-libpulse --disable-libdrm
--disable-libjack --disable-libopencore-amrwb --disable-libopencore-amrnb
--disable-libcodec2 --enable-libdav1d --disable-libfdk-aac --disable-
libopenjpeg --disable-libbluray --disable-libgme --disable-libgsm
--disable-libaribb24 --disable-mmal --disable-libmodplug --enable-libopus
--disable-libilbc --disable-librtmp --disable-libssh --disable-libspeex
--disable-libsrt --disable-librsvg --disable-ffnvcodec --disable-libvorbis
--disable-libvpx --disable-libzvbi --disable-appkit --disable-libbs2b
--disable-chromaprint --disable-cuda-llvm --disable-libflite --disable-
frei0r --disable-libfribidi --disable-fontconfig --disable-ladspa
--disable-libass --disable-libtesseract --disable-lv2 --disable-
libfreetype --disable-libvidstab --disable-librubberband --disable-libzmq
--disable-libzimg --disable-libsoxr --enable-pthreads --disable-libvo-
amrwbenc --disable-libmp3lame --disable-libkvazaar --enable-libaom
--enable-libopenh264 --disable-libsnappy --disable-libtheora --disable-
libtwolame --disable-libwavpack --disable-libwebp --enable-libx264
--enable-libx265 --disable-libxvid --disable-armv5te --disable-armv6
--disable-armv6t2 --disable-neon --disable-vfp --disable-vfpv3 --disable-
armv8 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-
altivec --disable-vsx --disable-power8 --disable-amd3dnow --disable-
amd3dnowext --disable-fma4 --disable-xop --cpu=host --disable-doc
--disable-htmlpages --enable-manpages
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
jlpoole@taurus /tmp/test $ cat -n $TEST_LOG |grep mono
40 [null @ 0x55d1843b0140] Application provided invalid, non
monotonically increasing dts to muxer in stream 0: 6 >= 1
43 [null @ 0x55d1843b0140] Application provided invalid, non
monotonically increasing dts to muxer in stream 0: 6 >= 2
46 [null @ 0x55d1843b0140] Application provided invalid, non
monotonically increasing dts to muxer in stream 0: 6 >= 3
49 [null @ 0x55d1843b0140] Application provided invalid, non
monotonically increasing dts to muxer in stream 0: 6 >= 4
52 [null @ 0x55d1843b0140] Application provided invalid, non
monotonically increasing dts to muxer in stream 0: 6 >= 5
55 [null @ 0x55d1843b0140] Application provided invalid, non
monotonically increasing dts to muxer in stream 0: 6 >= 6
jlpoole@taurus /tmp/test $ cat -n $TEST_LOG |tail -n 2
4848
4849 Script done on 2020-07-03 12:58:32-07:00 [COMMAND_EXIT_CODE="0"]
jlpoole@taurus /tmp/test $
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5018#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".