[FFmpeg-user] [avi @ 0x9873ba0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 1104 >= 1104 [avi @ 0x987d2a0] Application provided invalid, non monotonically increasing dts to muxer only when using tee muxer

Michael Kohne mhkohne at moberg.com
Thu Feb 21 16:24:30 EET 2019


./ffmpeg -min_port 62000 -max_port 62004 -i rtsp://
192.168.0.113/media/video1 -codec:v msmpeg4v2 -codec:a ac3 -ar 44100 -map 0
-f tee "[f=avi]/data/vidtmp/one.avi|[f=avi]/data/vidtmp/two.avi" >
/data/vidtmp/out.txt 2>&1

Output attached as out.txt.

./ffmpeg --version
ffmpeg version N-93214-g7e4d3db Copyright (c) 2000-2019 the FFmpeg
developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
configuration: --prefix=/data/SHR4634/ffmpeg/build
--extra-cflags=-I/data/SHR4634/ffmpeg/build/include
--extra-ldflags=-L/data/SHR4634/ffmpeg/build/lib --extra-libs='-lm -ldl
-lpthread -lrt' --enable-gpl --enable-nonfree --disable-libfdk_aac
--enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libfreetype --enable-libspeex --enable-libtheora --cpu=i686
--enable-runtime-cpudetect
libavutil      56. 26.100 / 56. 26.100
libavcodec     58. 47.102 / 58. 47.102
libavformat    58. 26.101 / 58. 26.101
libavdevice    58.  6.101 / 58.  6.101
libavfilter     7. 48.100 /  7. 48.100
libswscale      5.  4.100 /  5.  4.100
libswresample   3.  4.100 /  3.  4.100
libpostproc    55.  4.100 / 55.  4.100

Operating system is CentOS 6, 32 bit.


Michael Kohne

Senior Software Engineer
Office: 215.283.0860 x208
mhkohne at moberg.com


On Wed, Feb 20, 2019 at 5:40 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> 2019-02-20 19:40 GMT+01:00, Michael Kohne <mhkohne at moberg.com>:
> > I'm using ffmpeg 4.1 to grab an rtsp stream (includes both H.264
> > video and G.711 audio) from a Sony EP580 IP camera.
>
> > If I instead use the tee muxer to make two avi files:
> >
> > ffmpeg -min_port 62000 -max_port 62004 -i rtsp://
> 192.168.0.113/media/video1
> > -codec:v msmpeg4v2 -codec:a ac3 -ar 44100 -map 0 -f tee
> >
> "[f=avi]/data/PatientData/vidtmp/one.avi|[f=avi]/data/PatientData/vidtmp/two.avi"
>
> Please test current FFmpeg git head and provide the command
> line together with the complete, uncut console output.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

-- 






Celebrating 20 Years

Transforming Neurocritical Care

Moberg 
Research, Inc.

224 S Maple Street, Ambler, PA 19002

24/7 Customer 
Support: 888.662.7246

www.moberg.com <https://www.moberg.com/>


-------------- next part --------------
ffmpeg version N-93214-g7e4d3db Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
  configuration: --prefix=/data/SHR4634/ffmpeg/build --extra-cflags=-I/data/SHR4634/ffmpeg/build/include --extra-ldflags=-L/data/SHR4634/ffmpeg/build/lib --extra-libs='-lm -ldl -lpthread -lrt' --enable-gpl --enable-nonfree --disable-libfdk_aac --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libfreetype --enable-libspeex --enable-libtheora --cpu=i686 --enable-runtime-cpudetect
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 47.102 / 58. 47.102
  libavformat    58. 26.101 / 58. 26.101
  libavdevice    58.  6.101 / 58.  6.101
  libavfilter     7. 48.100 /  7. 48.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://192.168.0.113/media/video1':
  Metadata:
    title           : SONY RTSP Server
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: h264 (Baseline), yuv420p(progressive), 1280x720, 30 tbr, 90k tbn, 180k tbc
    Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> msmpeg4v2 (native))
  Stream #0:1 -> #0:1 (pcm_mulaw (native) -> ac3 (native))
Press [q] to stop, [?] for help
Output #0, tee, to '[f=avi]/data/vidtmp/one.avi|[f=avi]/data/vidtmp/two.avi':
  Metadata:
    title           : SONY RTSP Server
    encoder         : Lavf58.26.101
    Stream #0:0: Video: msmpeg4v2, yuv420p, 1280x720, q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.47.102 msmpeg4v2
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: ac3, 44100 Hz, mono, fltp, 96 kb/s
    Metadata:
      encoder         : Lavc58.47.102 ac3
frame=   37 fps=0.0 q=19.3 size=N/A time=00:00:01.42 bitrate=N/A dup=1 drop=0 speed= 2.7x    
frame=   53 fps= 51 q=31.0 size=N/A time=00:00:01.90 bitrate=N/A dup=1 drop=0 speed=1.85x    
frame=   68 fps= 44 q=31.0 size=N/A time=00:00:02.36 bitrate=N/A dup=1 drop=0 speed=1.54x    
frame=   83 fps= 41 q=31.0 size=N/A time=00:00:02.85 bitrate=N/A dup=1 drop=0 speed= 1.4x    
frame=   98 fps= 38 q=31.0 size=N/A time=00:00:03.44 bitrate=N/A dup=1 drop=0 speed=1.34x    
frame=  114 fps= 37 q=31.0 size=N/A time=00:00:03.92 bitrate=N/A dup=1 drop=0 speed=1.28x    
frame=  126 fps= 35 q=31.0 size=N/A time=00:00:04.41 bitrate=N/A dup=1 drop=4 speed=1.23x    
frame=  140 fps= 34 q=31.0 size=N/A time=00:00:05.00 bitrate=N/A dup=1 drop=4 speed=1.22x    
frame=  156 fps= 34 q=31.0 size=N/A time=00:00:05.49 bitrate=N/A dup=1 drop=4 speed=1.19x    
frame=  172 fps= 34 q=31.0 size=N/A time=00:00:05.98 bitrate=N/A dup=1 drop=4 speed=1.17x    
frame=  187 fps= 33 q=31.0 size=N/A time=00:00:06.57 bitrate=N/A dup=1 drop=4 speed=1.16x    
frame=  202 fps= 33 q=31.0 size=N/A time=00:00:07.06 bitrate=N/A dup=1 drop=4 speed=1.15x    
frame=  218 fps= 33 q=31.0 size=N/A time=00:00:07.51 bitrate=N/A dup=1 drop=4 speed=1.13x    
frame=  234 fps= 32 q=31.0 size=N/A time=00:00:08.00 bitrate=N/A dup=1 drop=4 speed=1.11x    
frame=  248 fps= 32 q=31.0 size=N/A time=00:00:08.63 bitrate=N/A dup=1 drop=4 speed=1.12x    
frame=  264 fps= 32 q=31.0 size=N/A time=00:00:09.08 bitrate=N/A dup=1 drop=4 speed=1.11x    
[rtsp @ 0xbfb0300] max delay reached. need to consume packet
[rtsp @ 0xbfb0300] RTP: missed 12 packets
[h264 @ 0xc1d7b80] mb_type 30 in I slice too large at 16 31
[h264 @ 0xc1d7b80] error while decoding MB 16 31
[h264 @ 0xc1d7b80] concealing 1153 DC, 1153 AC, 1153 MV errors in I frame
frame=  280 fps= 32 q=31.0 size=N/A time=00:00:09.57 bitrate=N/A dup=1 drop=4 speed= 1.1x    
frame=  296 fps= 32 q=31.0 size=N/A time=00:00:10.05 bitrate=N/A dup=1 drop=4 speed=1.09x    
frame=  310 fps= 32 q=31.0 size=N/A time=00:00:10.65 bitrate=N/A dup=1 drop=4 speed=1.09x    
frame=  326 fps= 32 q=31.0 size=N/A time=00:00:11.14 bitrate=N/A dup=1 drop=4 speed=1.08x    
frame=  342 fps= 32 q=31.0 size=N/A time=00:00:11.63 bitrate=N/A dup=1 drop=4 speed=1.08x    
frame=  357 fps= 31 q=31.0 size=N/A time=00:00:12.22 bitrate=N/A dup=1 drop=4 speed=1.08x    
[rtsp @ 0xbfb0300] max delay reached. need to consume packet
[rtsp @ 0xbfb0300] RTP: missed 33 packets
[h264 @ 0xc1d7b80] cbp too large (107) at 5 31
[h264 @ 0xc1d7b80] error while decoding MB 5 31
[h264 @ 0xc1d7b80] concealing 1164 DC, 1164 AC, 1164 MV errors in I frame
frame=  374 fps= 32 q=31.0 size=N/A time=00:00:12.71 bitrate=N/A dup=1 drop=4 speed=1.07x    
frame=  389 fps= 31 q=31.0 size=N/A time=00:00:13.16 bitrate=N/A dup=1 drop=4 speed=1.06x    
frame=  404 fps= 31 q=31.0 size=N/A time=00:00:13.79 bitrate=N/A dup=1 drop=4 speed=1.07x    
frame=  421 fps= 31 q=24.8 size=N/A time=00:00:14.24 bitrate=N/A dup=1 drop=4 speed=1.06x    
frame=  436 fps= 31 q=31.0 size=N/A time=00:00:14.87 bitrate=N/A dup=1 drop=4 speed=1.07x    
frame=  452 fps= 31 q=31.0 size=N/A time=00:00:15.32 bitrate=N/A dup=1 drop=4 speed=1.06x    
frame=  467 fps= 31 q=31.0 size=N/A time=00:00:15.81 bitrate=N/A dup=1 drop=4 speed=1.06x    
frame=  483 fps= 31 q=31.0 size=N/A time=00:00:16.30 bitrate=N/A dup=1 drop=4 speed=1.05x    
frame=  497 fps= 31 q=31.0 size=N/A time=00:00:16.89 bitrate=N/A dup=1 drop=4 speed=1.06x    
frame=  512 fps= 31 q=31.0 size=N/A time=00:00:17.38 bitrate=N/A dup=1 drop=4 speed=1.05x    
frame=  529 fps= 31 q=24.8 size=N/A time=00:00:17.86 bitrate=N/A dup=1 drop=4 speed=1.05x    
[rtsp @ 0xbfb0300] max delay reached. need to consume packet
[rtsp @ 0xbfb0300] RTP: missed 42 packets
[h264 @ 0xc1d7b80] corrupted macroblock 8 31 (total_coeff=-1)
[h264 @ 0xc1d7b80] error while decoding MB 8 31
[h264 @ 0xc1d7b80] concealing 1161 DC, 1161 AC, 1161 MV errors in I frame
frame=  544 fps= 31 q=31.0 size=N/A time=00:00:18.47 bitrate=N/A dup=1 drop=4 speed=1.05x    
frame=  559 fps= 31 q=31.0 size=N/A time=00:00:18.96 bitrate=N/A dup=1 drop=4 speed=1.05x    
frame=  576 fps= 31 q=31.0 size=N/A time=00:00:19.44 bitrate=N/A dup=1 drop=4 speed=1.05x    
frame=  591 fps= 31 q=31.0 size=N/A time=00:00:19.90 bitrate=N/A dup=1 drop=4 speed=1.04x    
frame=  605 fps= 31 q=31.0 size=N/A time=00:00:20.52 bitrate=N/A dup=1 drop=4 speed=1.05x    
frame=  621 fps= 31 q=31.0 size=N/A time=00:00:20.97 bitrate=N/A dup=1 drop=4 speed=1.04x    
frame=  637 fps= 31 q=24.8 size=N/A time=00:00:21.46 bitrate=N/A dup=1 drop=4 speed=1.04x    
frame=  652 fps= 31 q=31.0 size=N/A time=00:00:21.95 bitrate=N/A dup=1 drop=4 speed=1.04x    
frame=  667 fps= 31 q=31.0 size=N/A time=00:00:22.54 bitrate=N/A dup=1 drop=4 speed=1.04x    
frame=  684 fps= 31 q=31.0 size=N/A time=00:00:23.03 bitrate=N/A dup=1 drop=4 speed=1.04x    
frame=  699 fps= 31 q=31.0 size=N/A time=00:00:23.62 bitrate=N/A dup=1 drop=4 speed=1.04x    
frame=  715 fps= 31 q=31.0 size=N/A time=00:00:24.11 bitrate=N/A dup=1 drop=4 speed=1.04x    
[rtsp @ 0xbfb0300] max delay reached. need to consume packet
[rtsp @ 0xbfb0300] RTP: missed 42 packets
[h264 @ 0xc1d7b80] Invalid level prefix
[h264 @ 0xc1d7b80] error while decoding MB 7 31
[h264 @ 0xc1d7b80] concealing 1162 DC, 1162 AC, 1162 MV errors in I frame
frame=  731 fps= 31 q=31.0 size=N/A time=00:00:24.60 bitrate=N/A dup=1 drop=4 speed=1.04x    
frame=  746 fps= 31 q=31.0 size=N/A time=00:00:25.08 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame=  761 fps= 31 q=31.0 size=N/A time=00:00:25.68 bitrate=N/A dup=1 drop=4 speed=1.04x    
frame=  777 fps= 31 q=31.0 size=N/A time=00:00:26.17 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame=  793 fps= 31 q=24.8 size=N/A time=00:00:26.63 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame=  807 fps= 31 q=31.0 size=N/A time=00:00:27.25 bitrate=N/A dup=1 drop=4 speed=1.04x    
frame=  822 fps= 31 q=31.0 size=N/A time=00:00:27.71 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame=  839 fps= 31 q=31.0 size=N/A time=00:00:28.19 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame=  854 fps= 31 q=31.0 size=N/A time=00:00:28.79 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame=  870 fps= 31 q=31.0 size=N/A time=00:00:29.27 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame=  886 fps= 31 q=31.0 size=N/A time=00:00:29.76 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame=  901 fps= 31 q=24.8 size=N/A time=00:00:30.35 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame=  918 fps= 31 q=31.0 size=N/A time=00:00:30.84 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame=  933 fps= 31 q=31.0 size=N/A time=00:00:31.43 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame=  949 fps= 31 q=24.8 size=N/A time=00:00:31.92 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame=  965 fps= 31 q=31.0 size=N/A time=00:00:32.41 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame=  980 fps= 31 q=31.0 size=N/A time=00:00:33.00 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame=  995 fps= 31 q=31.0 size=N/A time=00:00:33.50 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame= 1012 fps= 31 q=31.0 size=N/A time=00:00:33.95 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1027 fps= 31 q=31.0 size=N/A time=00:00:34.58 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame= 1042 fps= 30 q=31.0 size=N/A time=00:00:35.03 bitrate=N/A dup=1 drop=4 speed=1.03x    
frame= 1059 fps= 31 q=31.0 size=N/A time=00:00:35.52 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1074 fps= 31 q=31.0 size=N/A time=00:00:36.01 bitrate=N/A dup=1 drop=4 speed=1.02x    
[rtsp @ 0xbfb0300] max delay reached. need to consume packet
[rtsp @ 0xbfb0300] RTP: missed 39 packets
[h264 @ 0xc1d7b80] out of range intra chroma pred mode
[h264 @ 0xc1d7b80] error while decoding MB 44 31
[h264 @ 0xc1d7b80] concealing 1125 DC, 1125 AC, 1125 MV errors in I frame
frame= 1089 fps= 30 q=31.0 size=N/A time=00:00:36.60 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1105 fps= 30 q=24.8 size=N/A time=00:00:37.09 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1121 fps= 30 q=31.0 size=N/A time=00:00:37.57 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1135 fps= 30 q=31.0 size=N/A time=00:00:38.17 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1152 fps= 30 q=31.0 size=N/A time=00:00:38.65 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1167 fps= 30 q=31.0 size=N/A time=00:00:39.14 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1182 fps= 30 q=31.0 size=N/A time=00:00:39.60 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1197 fps= 30 q=31.0 size=N/A time=00:00:40.22 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1213 fps= 30 q=24.8 size=N/A time=00:00:40.67 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1228 fps= 30 q=31.0 size=N/A time=00:00:41.16 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1243 fps= 30 q=31.0 size=N/A time=00:00:41.75 bitrate=N/A dup=1 drop=4 speed=1.02x    
[rtsp @ 0xbfb0300] max delay reached. need to consume packet
[rtsp @ 0xbfb0300] RTP: missed 28 packets
frame= 1258 fps= 30 q=31.0 size=N/A time=00:00:42.24 bitrate=N/A dup=1 drop=4 speed=1.02x    
[h264 @ 0xc1d7b80] out of range intra chroma pred mode
[h264 @ 0xc1d7b80] error while decoding MB 37 31
[h264 @ 0xc1d7b80] concealing 1132 DC, 1132 AC, 1132 MV errors in I frame
frame= 1275 fps= 30 q=31.0 size=N/A time=00:00:42.73 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1290 fps= 30 q=31.0 size=N/A time=00:00:43.33 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1305 fps= 30 q=31.0 size=N/A time=00:00:43.82 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1321 fps= 30 q=24.8 size=N/A time=00:00:44.31 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1336 fps= 30 q=31.0 size=N/A time=00:00:44.79 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1352 fps= 30 q=31.0 size=N/A time=00:00:45.25 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1366 fps= 30 q=31.0 size=N/A time=00:00:45.87 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1383 fps= 30 q=31.0 size=N/A time=00:00:46.34 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1398 fps= 30 q=31.0 size=N/A time=00:00:46.83 bitrate=N/A dup=1 drop=4 speed=1.02x    
frame= 1413 fps= 30 q=31.0 size=N/A time=00:00:47.41 bitrate=N/A dup=1 drop=4 speed=1.02x    
[avi @ 0xc583340] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 1359 >= 1359
[tee @ 0xc00b0c0] Slave muxer #0 failed, aborting.
[avi @ 0xc5c6b00] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 1359 >= 1359
[tee @ 0xc00b0c0] All tee outputs failed.
av_interleaved_write_frame(): Invalid argument
frame= 1422 fps= 30 q=31.0 Lsize=N/A time=00:00:47.65 bitrate=N/A dup=1 drop=4 speed=1.02x    
video:3521kB audio:558kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!


More information about the ffmpeg-user mailing list