[FFmpeg-user] Recording RTSP Fails, Please help
FiFtHeLeMeNt
farzad.fallah at gmail.com
Wed Nov 21 15:22:14 CET 2012
Hi;
I am trying to record a RTSP stream. I tried ffmpeg from debian squeeze repo
but noticed it is very old and doesnt work properly, so I rebuilt ffmpeg
from git repo. but still it doesnt work and after some errors and warnings
stops forever. I would appreciate if someone could look into it. may be I
should enable some options when trying to build ffmpeg. if it is so, please
tell me what options I need to enable. please note I do not need any
transcoding. only recording stream as it is.
the stream plays fine in VLC and the codec info is :
<http://ffmpeg-users.933282.n4.nabble.com/file/n4655206/codec.png>
~ffmpeg -v debug -i rtsp://blahblah -vcodec copy -acodec copy
/home/test4.avi
ffmpeg version N-46943-g4bf3bc6 Copyright (c) 2000-2012 the FFmpeg
developers
built on Nov 21 2012 13:53:07 with gcc 4.4.5 (Debian 4.4.5-8)
configuration:
libavutil 52. 8.100 / 52. 8.100
libavcodec 54. 74.100 / 54. 74.100
libavformat 54. 37.100 / 54. 37.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 23.101 / 3. 23.101
libswscale 2. 1.102 / 2. 1.102
libswresample 0. 17.101 / 0. 17.101
[rtsp @ 0x15774a0] SDP:
v=0
o=- 2108114765 2108114765 IN IP4 109.163.236.71
s=rtmp://balhblah:1935/s2/_definst_/blah.stream
c=IN IP4 109.163.236.71
t=0 0
a=sdplang:en
a=range:npt=now-
a=control:*
m=video 0 RTP/AVP 33
a=rtpmap:33 MP2T/90000
a=control:mpegts-transport
[rtsp @ 0x15774a0] hello state=0
[rtsp @ 0x15774a0] stream=0 stream_type=1b pid=100 prog_reg_desc=
[rtsp @ 0x15774a0] stream=1 stream_type=4 pid=101 prog_reg_desc=
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137128050 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] Non-increasing DTS in stream 1: packet 2 with DTS
9223090561878069471, packet 3 with DTS 137128050
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137134530 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137141010 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137147490 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137153970 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137160450 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137166930 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137173410 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137179890 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137186370 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137192850 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137199330 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137205810 in
que
Last message repeated 1 times
RTP: missed 5 packets
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 6 got 9
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137212290 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137251170 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 4 got 7
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137264130 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 2 got 5
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137277090 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 0 got 3
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137290050 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 14 got 15
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137303010 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 12 got 13
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137315970 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137322450 in
que
Last message repeated 1 times
RTP: missed 5 packets
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 3 got 6
RTP: missed 7 packets
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 10 got 0
[rtsp @ 0x15774a0] PES packet size mismatch
[NULL @ 0x15bb140] Current profile doesn't provide more RBSP data in PPS,
skipping
[h264 @ 0x15bb140] mb_type 32 in P slice too large at 17 12
[h264 @ 0x15bb140] error while decoding MB 17 12
[h264 @ 0x15bb140] concealing 716 DC, 716 AC, 716 MV errors in P frame
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 4 got 15
[rtsp @ 0x15774a0] PES packet size mismatch
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137331090 in
que
Last message repeated 1 times
[h264 @ 0x15bb140] Frame num gap 5 3
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137348370 in
que
Last message repeated 1 times
RTP: missed 8 packets
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 13 got 5
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137354850 in
que
Last message repeated 1 times
RTP: missed 5 packets
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 7 got 15
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137361330 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 15 got 2
[rtsp @ 0x15774a0] PES packet size mismatch
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 10 got 0
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137367810 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 2 got 7
RTP: missed 4 packets
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 14 got 10
RTP: missed 20 packets
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 13 got 9
[h264 @ 0x15bb140] cbp too large (1557) at 32 13
[h264 @ 0x15bb140] error while decoding MB 32 13
[h264 @ 0x15bb140] concealing 663 DC, 663 AC, 663 MV errors in P frame
RTP: missed 6 packets
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 7 got 8
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137374290 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 1 got 11
[h264 @ 0x15bb140] Frame num gap 3 1
[h264 @ 0x15bb140] no picture ooo
[h264 @ 0x15bb140] Frame num gap 8 6
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 12 got 2
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 3 got 7
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137380770 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137432610 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137439090 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137445570 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137452050 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137458530 in
que
Last message repeated 1 times
RTP: missed 2 packets
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 6 got 0
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 4 got 8
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 2 got 4
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137465010 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 9 got 10
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 4 got 8
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 14 got 0
RTP: missed 1 packets
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 5 got 7
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 2 got 7
[rtsp @ 0x15774a0] PES packet size mismatch
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137490930 in
que
Last message repeated 1 times
RTP: missed 3 packets
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 14 got 5
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137510370 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 1 got 3
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137516850 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] Continuity check failed for pid 257 expected 3 got 4
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 6 got 9
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137529810 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137536290 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137542770 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137549250 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137555730 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137562210 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] Continuity check failed for pid 0 expected 2 got 5
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137568690 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137575170 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137581650 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137588130 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137594610 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137601090 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137607570 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137614050 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137620530 in
que
Last message repeated 1 times
[rtsp @ 0x15774a0] first_dts 137121570 not matching first dts 137627010 in
que
Last message repeated 1 times
RTP: missed 6 packets
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 5 got 8
[rtsp @ 0x15774a0] PES packet size mismatch
RTP: missed 7 packets
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 12 got 7
[rtsp @ 0x15774a0] PES packet size mismatch
RTP: missed 6 packets
[rtsp @ 0x15774a0] Continuity check failed for pid 256 expected 10 got 4
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Recording-RTSP-Fails-Please-help-tp4655206.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user
mailing list