#1734 closed defect (fixed)
Problems dumping H264 stream from an Axis camera
Reported by: | PaulJBis | Owned by: | |
---|---|---|---|
Priority: | important | Component: | avformat |
Version: | git-master | Keywords: | regression h264 rtp axis |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
I'm trying to dump the H264 stream from an Axis M-1011 camera, and latest ffmpeg gives me a "av_interleaved_write_frame(): Invalid argument" error.
The stream does work if I play it using ffplay. If I dump the raw stream with openRTSP (from http://www.live555.com/liveMedia) and then feed it to ffmpeg, it does work too. It only stops working if I use ffmpeg to receive directly the stream (so unfortunately I can't provide you with any video samples).
Using git bisect, I managed to narrow down the revision where the bug started happening: version 2107009 is the last one that worked, while 3e1cf49 (and subsequent ones) don't work. Following a discussion in the mailing list, I tried removing "&& has_decode_delay_been_guessed(st)" from compute_pkt_fields() in libavformat/utils.c, in the current version, and it started working too.
Below are console outputs, including command lines:
Output of the current version:
[paulo@webserver ffmpeg]$ ./ffmpeg -v 9 -loglevel 99 -rtsp_transport tcp -i rtsp://root:root@192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp -vcodec copy -acodec copy -t 4 ../axis.mp4 ffmpeg version N-44400-g2de8877 Copyright (c) 2000-2012 the FFmpeg developers built on Sep 12 2012 22:25:21 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-50) configuration: --enable-encoder=libx264 --enable-libx264 --enable-runtime-cpudetect --enable-libmp3lame --enable-gpl --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib libavutil 51. 72.100 / 51. 72.100 libavcodec 54. 55.100 / 54. 55.100 libavformat 54. 26.101 / 54. 26.101 libavdevice 54. 2.100 / 54. 2.100 libavfilter 3. 16.103 / 3. 16.103 libswscale 2. 1.101 / 2. 1.101 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 [rtsp @ 0xa6d85e0] SDP: v=0 o=- 1288182959680264 1288182959680264 IN IP4 192.168.1.131 s=Media Presentation e=NONE c=IN IP4 0.0.0.0 b=AS:50000 t=0 0 a=control:rtsp://192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp a=range:npt=0.000000- m=video 0 RTP/AVP 96 b=AS:50000 a=framerate:25.0 a=transform:1,0,0;0,1,0;0,0,1 a=control:rtsp://192.168.1.131:554/axis-media/media.amp/trackID=1?streamprofile=Media?tcp a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1; profile-level-id=420029; sprop-parameter-sets=Z0IAKeNQFAe2AtwEBAaQeJEV,aM48gA== [rtsp @ 0xa6d85e0] video codec set to: h264 [NULL @ 0xa6e07c0] RTP Packetization Mode: 1 [NULL @ 0xa6e07c0] RTP Profile IDC: 42 Profile IOP: 0 Level: 29 [NULL @ 0xa6e07c0] Extradata set to 0xa6e0c40 (size: 30)! [rtsp @ 0xa6d85e0] hello state=0 [rtsp @ 0xa6d85e0] All info found rfps: 29.500000 0.016870 rfps: 29.583333 0.012762 rfps: 29.666667 0.009299 rfps: 29.750000 0.006483 rfps: 29.833333 0.004314 Last message repeated 1 times rfps: 29.916667 0.002791 Last message repeated 1 times rfps: 30.000000 0.001914 Last message repeated 1 times rfps: 30.083333 0.001684 rfps: 30.166667 0.002100 Last message repeated 1 times rfps: 30.250000 0.003163 Last message repeated 1 times rfps: 30.333333 0.004872 Last message repeated 1 times rfps: 30.416667 0.007228 rfps: 30.500000 0.010230 rfps: 30.583333 0.013878 rfps: 30.666667 0.018173 rfps: 59.666667 0.017255 rfps: 59.750000 0.013886 rfps: 59.833333 0.011163 rfps: 59.916667 0.009087 Last message repeated 1 times rfps: 60.000000 0.007657 Last message repeated 1 times rfps: 29.970030 0.002155 Last message repeated 1 times rfps: 59.940060 0.008620 Last message repeated 1 times [rtsp @ 0xa6d85e0] Estimating duration from bitrate, this may be inaccurate Input #0, rtsp, from 'rtsp://root:root@192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp': Metadata: title : Media Presentation Duration: N/A, start: 0.099867, bitrate: N/A Stream #0:0, 28, 1/90000: Video: h264 (Baseline), yuvj420p, 640x480 [SAR 1:1 DAR 4:3], 1/180000, 30.08 tbr, 90k tbn, 180k tbc Output #0, mp4, to '../axis.mp4': Metadata: title : Media Presentation encoder : Lavf54.26.101 Stream #0:0, 0, 1/90000: Video: h264 ([33][0][0][0] / 0x0021), yuvj420p, 640x480 [SAR 1:1 DAR 4:3], 1/90000, q=2-31, 90k tbn, 90k tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help [mp4 @ 0xa8125e0] pts (0) < dts (1) in stream 0 av_interleaved_write_frame(): Invalid argument
Output of version 2107009 (last one that worked):
[paulo@webserver ffmpeg]$ ./ffmpeg -v 9 -loglevel 99 -rtsp_transport tcp -i rtsp://root:root@192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp -vcodec copy -acodec copy -t 4 ../axis.mp4 ffmpeg version N-43195-g2107009 Copyright (c) 2000-2012 the FFmpeg developers built on Sep 14 2012 14:26:23 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-50) configuration: --enable-encoder=libx264 --enable-libx264 --enable-runtime-cpudetect --enable-libmp3lame --enable-gpl --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib libavutil 51. 66.100 / 51. 66.100 libavcodec 54. 48.100 / 54. 48.100 libavformat 54. 22.100 / 54. 22.100 libavdevice 54. 2.100 / 54. 2.100 libavfilter 3. 5.102 / 3. 5.102 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 [rtsp @ 0xa0df5c0] SDP: v=0 o=- 1288183655668567 1288183655668567 IN IP4 192.168.1.131 s=Media Presentation e=NONE c=IN IP4 0.0.0.0 b=AS:50000 t=0 0 a=control:rtsp://192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp a=range:npt=0.000000- m=video 0 RTP/AVP 96 b=AS:50000 a=framerate:25.0 a=transform:1,0,0;0,1,0;0,0,1 a=control:rtsp://192.168.1.131:554/axis-media/media.amp/trackID=1?streamprofile=Media?tcp a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1; profile-level-id=420029; sprop-parameter-sets=Z0IAKeNQFAe2AtwEBAaQeJEV,aM48gA== [rtsp @ 0xa0df5c0] video codec set to: h264 [NULL @ 0xa0e7760] RTP Packetization Mode: 1 [NULL @ 0xa0e7760] RTP Profile IDC: 42 Profile IOP: 0 Level: 29 [NULL @ 0xa0e7760] Extradata set to 0xa0e7c40 (size: 30)! [rtsp @ 0xa0df5c0] hello state=0 [rtsp @ 0xa0df5c0] All info found rfps: 29.666667 0.017957 rfps: 29.750000 0.011154 Last message repeated 1 times rfps: 29.833333 0.006086 Last message repeated 1 times rfps: 29.916667 0.002752 Last message repeated 1 times rfps: 30.000000 0.001154 rfps: 30.083333 0.001291 rfps: 30.166667 0.003162 Last message repeated 1 times rfps: 30.250000 0.006769 Last message repeated 1 times rfps: 30.333333 0.012110 Last message repeated 1 times rfps: 30.416667 0.019187 rfps: 59.750000 0.016809 rfps: 59.833333 0.011010 Last message repeated 1 times rfps: 59.916667 0.006945 Last message repeated 1 times rfps: 60.000000 0.004616 rfps: 29.970030 0.001529 Last message repeated 1 times rfps: 59.940060 0.006116 Last message repeated 1 times [rtsp @ 0xa0df5c0] Estimating duration from bitrate, this may be inaccurate Input #0, rtsp, from 'rtsp://root:root@192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp': Metadata: title : Media Presentation Duration: N/A, start: 0.099856, bitrate: N/A Stream #0:0, 22, 1/90000: Video: h264 (Baseline), yuvj420p, 640x480 [SAR 1:1 DAR 4:3], 1/180000, 30 tbr, 90k tbn, 180k tbc Output #0, mp4, to '../axis.mp4': Metadata: title : Media Presentation encoder : Lavf54.22.100 Stream #0:0, 0, 1/90000: Video: h264 ([33][0][0][0] / 0x0021), yuvj420p, 640x480 [SAR 1:1 DAR 4:3], 1/90000, q=2-31, 90k tbn, 90k tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 38 fps=0.0 q=-1.0 size= 347kB time=00:00:01.82 bitrate=1554.8kbits/ frame= 50 fps= 47 q=-1.0 size= 434kB time=00:00:02.36 bitrate=1507.2kbits/ frame= 62 fps= 40 q=-1.0 size= 520kB time=00:00:02.85 bitrate=1490.0kbits/ frame= 75 fps= 36 q=-1.0 size= 652kB time=00:00:03.39 bitrate=1574.2kbits/ frame= 88 fps= 34 q=-1.0 size= 744kB time=00:00:03.89 bitrate=1567.0kbits/ No more output streams to write to, finishing. frame= 91 fps= 32 q=-1.0 Lsize= 767kB time=00:00:03.98 bitrate=1575.8kbits/s video:766kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.236722%
Change History (10)
comment:1 by , 12 years ago
Component: | undetermined → avformat |
---|---|
Keywords: | regression added |
Priority: | normal → important |
Status: | new → open |
comment:2 by , 12 years ago
Related mailing list threads:
http://thread.gmane.org/gmane.comp.video.ffmpeg.user/39609
http://thread.gmane.org/gmane.comp.video.ffmpeg.user/40058
comment:4 by , 12 years ago
Sorry, still doesn't work.
[paulo@webserver ffmpeg]$ ./ffmpeg -v 9 -loglevel 99 -rtsp_transport tcp -i rtsp://root:root@192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp -vcodec copy -acodec copy -t 4 ../axis.mp4 ffmpeg version N-44782-g4552e9b Copyright (c) 2000-2012 the FFmpeg developers built on Sep 26 2012 13:38:40 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-50) configuration: --enable-encoder=libx264 --enable-libx264 --enable-runtime-cpudetect --enable-libmp3lame --enable-gpl --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib libavutil 51. 73.101 / 51. 73.101 libavcodec 54. 59.100 / 54. 59.100 libavformat 54. 28.101 / 54. 28.101 libavdevice 54. 2.101 / 54. 2.101 libavfilter 3. 17.100 / 3. 17.100 libswscale 2. 1.101 / 2. 1.101 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 [rtsp @ 0xadb45e0] SDP: v=0 o=- 1288182448719924 1288182448719924 IN IP4 192.168.1.131 s=Media Presentation e=NONE c=IN IP4 0.0.0.0 b=AS:50000 t=0 0 a=control:rtsp://192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp a=range:npt=0.000000- m=video 0 RTP/AVP 96 b=AS:50000 a=framerate:25.0 a=transform:1,0,0;0,1,0;0,0,1 a=control:rtsp://192.168.1.131:554/axis-media/media.amp/trackID=1?streamprofile=Media?tcp a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1; profile-level-id=420029; sprop-parameter-sets=Z0IAKeNQFAe2AtwEBAaQeJEV,aM48gA== [rtsp @ 0xadb45e0] video codec set to: h264 [NULL @ 0xadbc7c0] RTP Packetization Mode: 1 [NULL @ 0xadbc7c0] RTP Profile IDC: 42 Profile IOP: 0 Level: 29 [NULL @ 0xadbc7c0] Extradata set to 0xadbcc40 (size: 30)! [rtsp @ 0xadb45e0] hello state=0 [rtsp @ 0xadb45e0] All info found rfps: 29.500000 0.016604 rfps: 29.583333 0.012686 rfps: 29.666667 0.009376 rfps: 29.750000 0.006676 rfps: 29.833333 0.004584 Last message repeated 1 times rfps: 29.916667 0.003101 Last message repeated 1 times rfps: 30.000000 0.002227 rfps: 30.083333 0.001961 rfps: 30.166667 0.002305 Last message repeated 1 times rfps: 30.250000 0.003257 Last message repeated 1 times rfps: 30.333333 0.004818 Last message repeated 1 times rfps: 30.416667 0.006988 rfps: 30.500000 0.009767 rfps: 30.583333 0.013155 rfps: 59.666667 0.018335 rfps: 59.750000 0.015064 rfps: 59.833333 0.012403 rfps: 59.916667 0.010350 Last message repeated 1 times rfps: 60.000000 0.008906 rfps: 29.970030 0.002471 Last message repeated 1 times rfps: 59.940060 0.009883 Last message repeated 1 times [rtsp @ 0xadb45e0] Estimating duration from bitrate, this may be inaccurate Input #0, rtsp, from 'rtsp://root:root@192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp': Metadata: title : Media Presentation Duration: N/A, start: 0.099900, bitrate: N/A Stream #0:0, 28, 1/90000: Video: h264 (Baseline), yuvj420p, 640x480 [SAR 1:1 DAR 4:3], 1/180000, 30.08 tbr, 90k tbn, 180k tbc Output #0, mp4, to '../axis.mp4': Metadata: title : Media Presentation encoder : Lavf54.28.101 Stream #0:0, 0, 1/90000: Video: h264 ([33][0][0][0] / 0x0021), yuvj420p, 640x480 [SAR 1:1 DAR 4:3], 1/90000, q=2-31, 90k tbn, 90k tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help [mp4 @ 0xaefaaa0] pts (0) < dts (1) in stream 0 av_interleaved_write_frame(): Invalid argument
comment:5 by , 12 years ago
Please post the output of
ffmpeg -v 99 -fdebug ts "rest of the command line you use"
comment:6 by , 12 years ago
Here you go.
[paulo@webserver ffmpeg]$ ./ffmpeg -v 99 -fdebug ts -rtsp_transport tcp -i rtsp://root:root@192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp -vcodec copy -acodec copy -t 10 ../axis.mp4 ffmpeg version N-44787-gae04493 Copyright (c) 2000-2012 the FFmpeg developers built on Sep 26 2012 15:14:58 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-50) configuration: --enable-encoder=libx264 --enable-libx264 --enable-runtime-cpudetect --enable-libmp3lame --enable-gpl --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib libavutil 51. 73.101 / 51. 73.101 libavcodec 54. 59.100 / 54. 59.100 libavformat 54. 28.101 / 54. 28.101 libavdevice 54. 2.101 / 54. 2.101 libavfilter 3. 17.100 / 3. 17.100 libswscale 2. 1.101 / 2. 1.101 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 [rtsp @ 0x956f680] SDP: v=0 o=- 1288188043172189 1288188043172189 IN IP4 192.168.1.131 s=Media Presentation e=NONE c=IN IP4 0.0.0.0 b=AS:50000 t=0 0 a=control:rtsp://192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp a=range:npt=0.000000- m=video 0 RTP/AVP 96 b=AS:50000 a=framerate:25.0 a=transform:1,0,0;0,1,0;0,0,1 a=control:rtsp://192.168.1.131:554/axis-media/media.amp/trackID=1?streamprofile=Media?tcp a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1; profile-level-id=420029; sprop-parameter-sets=Z0IAKeNQFAe2AtwEBAaQeJEV,aM48gA== [rtsp @ 0x956f680] video codec set to: h264 [NULL @ 0x95777e0] RTP Packetization Mode: 1 [NULL @ 0x95777e0] RTP Profile IDC: 42 Profile IOP: 0 Level: 29 [NULL @ 0x95777e0] Extradata set to 0x9577c60 (size: 30)! [rtsp @ 0x956f680] hello state=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=0, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=0, dts=NOPTS, size=1386, duration=0, flags=0 Last message repeated 20 times [rtsp @ 0x956f680] ff_read_packet stream=0, pts=0, dts=NOPTS, size=1128, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=8988, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=NOPTS, dts=NOPTS, size=31625, duration=0, flags=1 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=8988, dts=NOPTS, size=1386, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=8988, dts=NOPTS, size=1382, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=15131, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=8988, dts=NOPTS, size=4159, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=15131, dts=NOPTS, size=1386, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=15131, dts=NOPTS, size=624, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=21273, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=15131, dts=NOPTS, size=3401, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=21273, dts=NOPTS, size=1386, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=21273, dts=NOPTS, size=67, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=30261, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=21273, dts=NOPTS, size=2844, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=30261, dts=NOPTS, size=1196, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=35954, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=30261, dts=NOPTS, size=2587, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=35954, dts=NOPTS, size=1201, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=44942, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=35954, dts=NOPTS, size=2592, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=44942, dts=NOPTS, size=1058, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=51085, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=44942, dts=NOPTS, size=2449, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=51085, dts=NOPTS, size=1064, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=57227, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=51085, dts=51085, size=2455, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=57227, dts=NOPTS, size=1029, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=62919, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=57227, dts=57227, size=2420, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=62919, dts=NOPTS, size=1011, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=71908, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=62919, dts=62919, size=2402, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=71908, dts=NOPTS, size=854, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=74754, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=71908, dts=71908, size=2245, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=74754, dts=NOPTS, size=760, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=78051, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=74754, dts=74754, size=2151, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=78051, dts=NOPTS, size=684, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=80897, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=78051, dts=78051, size=2075, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=80897, dts=NOPTS, size=808, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=83743, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=80897, dts=80897, size=2199, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=83743, dts=NOPTS, size=771, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=87039, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=83743, dts=83743, size=2162, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=87039, dts=NOPTS, size=757, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=89885, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=87039, dts=87039, size=2148, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=89885, dts=NOPTS, size=756, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=92732, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=89885, dts=89885, size=2147, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=92732, dts=NOPTS, size=669, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=96028, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=92732, dts=92732, size=2060, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=96028, dts=NOPTS, size=619, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=98874, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=96028, dts=96028, size=2010, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=98874, dts=NOPTS, size=617, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=101720, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=98874, dts=98874, size=2008, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=101720, dts=NOPTS, size=627, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=105016, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=101720, dts=101720, size=2018, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=105016, dts=NOPTS, size=677, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=107862, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=105016, dts=105016, size=2068, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=107862, dts=NOPTS, size=572, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=110708, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=107862, dts=107862, size=1963, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=110708, dts=NOPTS, size=622, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=114005, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=110708, dts=110708, size=2013, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=114005, dts=NOPTS, size=571, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=116851, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=114005, dts=114005, size=1962, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=116851, dts=NOPTS, size=708, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=119698, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=116851, dts=116851, size=2099, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=119698, dts=NOPTS, size=580, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=122993, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=119698, dts=119698, size=1971, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=122993, dts=NOPTS, size=681, duration=0, flags=0 [rtsp @ 0x956f680] ff_read_packet stream=0, pts=125840, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0x956f680] read_frame_internal stream=0, pts=122993, dts=122993, size=2072, duration=0, flags=0 [rtsp @ 0x956f680] All info found rfps: 29.500000 0.015856 rfps: 29.583333 0.012098 rfps: 29.666667 0.008930 rfps: 29.750000 0.006352 Last message repeated 1 times rfps: 29.833333 0.004363 Last message repeated 1 times rfps: 29.916667 0.002963 rfps: 30.000000 0.002153 rfps: 30.083333 0.001933 rfps: 30.166667 0.002302 Last message repeated 1 times rfps: 30.250000 0.003260 Last message repeated 1 times rfps: 30.333333 0.004808 Last message repeated 1 times rfps: 30.416667 0.006946 rfps: 30.500000 0.009673 rfps: 30.583333 0.012990 rfps: 30.666667 0.016896 rfps: 59.666667 0.017451 rfps: 59.750000 0.014357 rfps: 59.833333 0.011853 rfps: 59.916667 0.009938 rfps: 60.000000 0.008613 rfps: 29.970030 0.002377 rfps: 59.940060 0.009507 [rtsp @ 0x956f680] Estimating duration from bitrate, this may be inaccurate Input #0, rtsp, from 'rtsp://root:root@192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp': Metadata: title : Media Presentation Duration: N/A, start: 0.099867, bitrate: N/A Stream #0:0, 28, 1/90000: Video: h264 (Baseline), yuvj420p, 640x480 [SAR 1:1 DAR 4:3], 1/180000, 30.08 tbr, 90k tbn, 180k tbc Output #0, mp4, to '../axis.mp4': Metadata: title : Media Presentation encoder : Lavf54.28.101 Stream #0:0, 0, 1/90000: Video: h264 ([33][0][0][0] / 0x0021), yuvj420p, 640x480 [SAR 1:1 DAR 4:3], 1/90000, q=2-31, 90k tbn, 90k tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help [mp4 @ 0x96a51e0] pts (0) < dts (1) in stream 0 av_interleaved_write_frame(): Invalid argument
comment:8 by , 12 years ago
Here you go:
[paulo@webserver ffmpeg]$ ffmpeg -v 99 -fdebug ts -rtsp_transport tcp -i rtsp://root:root@192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp -vcodec copy -acodec copy -t 2 ../axis.mp4 ffmpeg version N-43194-gb288b4c Copyright (c) 2000-2012 the FFmpeg developers built on Aug 25 2012 19:57:36 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-50) configuration: --enable-encoder=libx264 --enable-libx264 --enable-runtime-cpudetect --enable-libmp3lame --enable-gpl --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib libavutil 51. 66.100 / 51. 66.100 libavcodec 54. 48.100 / 54. 48.100 libavformat 54. 22.100 / 54. 22.100 libavdevice 54. 2.100 / 54. 2.100 libavfilter 3. 5.102 / 3. 5.102 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 [rtsp @ 0xaee3660] SDP: v=0 o=- 1288193118712824 1288193118712824 IN IP4 192.168.1.131 s=Media Presentation e=NONE c=IN IP4 0.0.0.0 b=AS:50000 t=0 0 a=control:rtsp://192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp a=range:npt=0.000000- m=video 0 RTP/AVP 96 b=AS:50000 a=framerate:25.0 a=transform:1,0,0;0,1,0;0,0,1 a=control:rtsp://192.168.1.131:554/axis-media/media.amp/trackID=1?streamprofile=Media?tcp a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1; profile-level-id=420029; sprop-parameter-sets=Z0IAKeNQFAe2AtwEBAaQeJEV,aM48gA== [rtsp @ 0xaee3660] video codec set to: h264 [NULL @ 0xaeeb800] RTP Packetization Mode: 1 [NULL @ 0xaeeb800] RTP Profile IDC: 42 Profile IOP: 0 Level: 29 [NULL @ 0xaeeb800] Extradata set to 0xaeebc60 (size: 30)! [rtsp @ 0xaee3660] hello state=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=0, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=0, dts=NOPTS, size=1386, duration=0, flags=0 Last message repeated 11 times [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=0, dts=NOPTS, size=423, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=8989, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=NOPTS, dts=NOPTS, size=18446, duration=0, flags=1 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=8989, dts=NOPTS, size=1386, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=8989, dts=NOPTS, size=49, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=17977, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=8989, dts=8989, size=2826, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=17977, dts=NOPTS, size=870, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=23669, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=17977, dts=17977, size=2261, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=23669, dts=NOPTS, size=534, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=29812, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=23669, dts=23669, size=1925, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=29812, dts=NOPTS, size=438, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=35954, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=29812, dts=29812, size=1829, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=35954, dts=NOPTS, size=274, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=44943, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=35954, dts=35954, size=1665, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=44943, dts=NOPTS, size=198, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=50635, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=44943, dts=44943, size=1589, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=50635, dts=NOPTS, size=66, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=56778, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=50635, dts=50635, size=1457, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=56778, dts=NOPTS, size=197, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=62920, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=56778, dts=56778, size=1588, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=62920, dts=NOPTS, size=216, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=71909, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=62920, dts=62920, size=1607, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=71909, dts=NOPTS, size=112, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=74755, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=71909, dts=71909, size=1503, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=74755, dts=NOPTS, size=160, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=77601, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=74755, dts=74755, size=1551, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=77601, dts=NOPTS, size=145, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=80898, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=77601, dts=77601, size=1536, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=80898, dts=NOPTS, size=43, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=83743, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=80898, dts=80898, size=1434, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=83743, dts=NOPTS, size=85, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=86590, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=83743, dts=83743, size=1476, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=86590, dts=NOPTS, size=30, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=89886, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=86590, dts=86590, size=1421, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=89886, dts=NOPTS, size=142, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=92732, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=89886, dts=89886, size=1533, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=92732, dts=NOPTS, size=132, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=95578, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=92732, dts=92732, size=1523, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=95578, dts=NOPTS, size=20, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=98875, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=95578, dts=95578, size=1411, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=98875, dts=NOPTS, size=10, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=101720, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=98875, dts=98875, size=1401, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=101720, dts=NOPTS, size=35, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=104567, dts=NOPTS, size=1387, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=101720, dts=101720, size=1426, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=107864, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=104567, dts=104567, size=1387, duration=0, flags=0 [rtsp @ 0xaee3660] All info found rfps: 29.666667 0.015256 rfps: 29.750000 0.010131 Last message repeated 1 times rfps: 29.833333 0.006216 Last message repeated 1 times rfps: 29.916667 0.003510 Last message repeated 1 times rfps: 30.000000 0.002014 Last message repeated 1 times rfps: 30.083333 0.001727 rfps: 30.166667 0.002649 rfps: 30.250000 0.004781 rfps: 30.333333 0.008122 rfps: 30.416667 0.012672 rfps: 30.500000 0.018432 rfps: 59.750000 0.018848 rfps: 59.833333 0.014041 Last message repeated 1 times rfps: 59.916667 0.010444 Last message repeated 1 times rfps: 60.000000 0.008056 Last message repeated 1 times rfps: 29.970030 0.002413 Last message repeated 1 times rfps: 59.940060 0.009651 Last message repeated 1 times [rtsp @ 0xaee3660] Estimating duration from bitrate, this may be inaccurate Input #0, rtsp, from 'rtsp://root:root@192.168.1.131:554/axis-media/media.amp?streamprofile=Media?tcp': Metadata: title : Media Presentation Duration: N/A, start: 0.099878, bitrate: N/A Stream #0:0, 22, 1/90000: Video: h264 (Baseline), yuvj420p, 640x480 [SAR 1:1 DAR 4:3], 1/180000, 30.08 tbr, 90k tbn, 180k tbc Output #0, mp4, to '../axis.mp4': Metadata: title : Media Presentation encoder : Lavf54.22.100 Stream #0:0, 0, 1/90000: Video: h264 ([33][0][0][0] / 0x0021), yuvj420p, 640x480 [SAR 1:1 DAR 4:3], 1/90000, q=2-31, 90k tbn, 90k tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=107864, dts=NOPTS, size=183, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=110709, dts=NOPTS, size=1361, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=107864, dts=107864, size=1574, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=113555, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=110709, dts=110709, size=1361, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=113555, dts=NOPTS, size=79, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=116401, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=113555, dts=113555, size=1470, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=116401, dts=NOPTS, size=26, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=119698, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=116401, dts=116401, size=1417, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=119698, dts=NOPTS, size=177, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=122544, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=119698, dts=119698, size=1568, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=122544, dts=NOPTS, size=20, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=125390, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=122544, dts=122544, size=1411, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=125390, dts=NOPTS, size=25, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=128686, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=125390, dts=125390, size=1416, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=128686, dts=NOPTS, size=73, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=131532, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=128686, dts=128686, size=1464, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=131532, dts=NOPTS, size=43, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=134379, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=131532, dts=131532, size=1434, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=134379, dts=NOPTS, size=106, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=137674, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=134379, dts=134379, size=1497, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=137674, dts=NOPTS, size=1386, duration=0, flags=0 Last message repeated 11 times [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=137674, dts=NOPTS, size=520, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=140521, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=137674, dts=137674, size=18543, duration=0, flags=1 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=140521, dts=NOPTS, size=1386, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=140521, dts=NOPTS, size=4, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=143367, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=140521, dts=140521, size=2781, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=143367, dts=NOPTS, size=970, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=146663, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=143367, dts=143367, size=2361, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=146663, dts=NOPTS, size=665, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=149510, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=146663, dts=146663, size=2056, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=149510, dts=NOPTS, size=419, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=152356, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=149510, dts=149510, size=1810, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=152356, dts=NOPTS, size=422, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=158498, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=152356, dts=152356, size=1813, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=158498, dts=NOPTS, size=144, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=164640, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=158498, dts=158498, size=1535, duration=0, flags=0 frame= 39 fps=0.0 q=-1.0 size= 96kB time=00:00:01.66 bitrate= 473.6kbits/ff_read_packet stream=0, pts=164640, dts=NOPTS, size=167, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=167487, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=164640, dts=164640, size=1558, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=167487, dts=NOPTS, size=63, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=170333, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=167487, dts=167487, size=1454, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=170333, dts=NOPTS, size=147, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=176475, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=170333, dts=170333, size=1538, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=176475, dts=NOPTS, size=154, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=179321, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=176475, dts=176475, size=1545, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=179321, dts=NOPTS, size=130, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=182617, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=179321, dts=179321, size=1521, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=182617, dts=NOPTS, size=23, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=185464, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=182617, dts=182617, size=1414, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=185464, dts=NOPTS, size=151, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=188310, dts=NOPTS, size=1340, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=185464, dts=185464, size=1542, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=191606, dts=NOPTS, size=1348, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=188310, dts=188310, size=1340, duration=0, flags=0 [rtsp @ 0xaee3660] ff_read_packet stream=0, pts=194452, dts=NOPTS, size=1391, duration=0, flags=0 [rtsp @ 0xaee3660] read_frame_internal stream=0, pts=191606, dts=191606, size=1348, duration=0, flags=0 No more output streams to write to, finishing. frame= 47 fps=0.0 q=-1.0 Lsize= 109kB time=00:00:01.99 bitrate= 448.0kbits/s video:108kB audio:0kB subtitle:0 global headers:0kB muxing overhead 1.244806%
comment:9 by , 12 years ago
Keywords: | h264 rtp axis added |
---|---|
Resolution: | → fixed |
Status: | open → closed |
Should be fixed, i was able to reproduce something similar locally with a rtp h264 server.
If its not fixed please provide output with -fdebug ts -debug_ts as well as the stream copied h264 stream even if its not reproduceable with it
Closely related to tickets #1724 and #1242.