<span id="result_box" class="" lang="en"><span title="Haz clic para obtener otras posibles traducciones" class="hps">Hello</span><span class="" title="Haz clic para obtener otras posibles traducciones">,</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">first of all</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">thank you all</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">for</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">maintaining</span> <span title="Haz clic para obtener otras posibles traducciones" class="hps">this forum so active</span><span title="Haz clic para obtener otras posibles traducciones" class="hps"></span><span title="Haz clic para obtener otras posibles traducciones" class="hps"></span></span><br>
<br>I am using openRTSP to recieve a stream with a .sdp this stream contains video and audio streams, but I´m only interested in the video, which is encoded with h264, when i am trying to decode with ffmpeg I obtain NAL errors.<br>
<br>I also tried to write the stream in a file with FileSink and open it with vlc or ffmpeg but i obtained the same result, <br><br>ffmpeg -i "video-H264-1" <br>video-H264-1: Unknown format<br><br>I saw that H264VideoFileSink put the header 0x00000001 in each frame but seems that don´t work properly.<br>
<br>I read the FAQ and some post in the mailing list and I saw similar problems in other persons, Can someone help me?<br><br>Thank you very much.<br><br><br>Attached the trace of execution<br><br><br><br>Opening connection to 10.138.255.8, port 554...<br>
...remote connection opened<br>Sending request: OPTIONS rtsp://<a href="http://10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp">10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp</a> RTSP/1.0<br>
CSeq: 2<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2010.12.05)<br><br><br>Received 175 new bytes of response data.<br>Received a complete OPTIONS response:<br>RTSP/1.0 200 OK<br>CSeq: 2<br>Date: Mon, 30 May 2011 09:55:48 GMT<br>
Public: OPTIONS, DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN<br>Server: ERICSSON EMTV 1.0<br>Via: RTSP/1.0 bgustrnin2<br><br><br>Sending request: DESCRIBE rtsp://<a href="http://10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp">10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp</a> RTSP/1.0<br>
CSeq: 3<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2010.12.05)<br>Accept: application/sdp<br><br><br>Received 1024 new bytes of response data.<br>Received a complete DESCRIBE response:<br>RTSP/1.0 200 OK<br>Content-Base: rtsp://<a href="http://10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp/">10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp/</a><br>
Content-Language: en-US<br>Content-Length: 675<br>Content-Type: application/sdp<br>CSeq: 3<br>Date: Mon, 30 May 2011 09:55:49 GMT<br>Public: OPTIONS, DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN<br>Server: ERICSSON EMTV 1.0<br>
Via: RTSP/1.0 bgustrnin2<br><br>v=0<br>o=Ericsson 3515738112 3515738112 IN IP4 10.132.149.44<br>s=mediapro_vivo_goltv_h264_1.sdp<br>c=IN IP4 0.0.0.0<br>t=0 0<br>a=control:*<br>m=video 0 RTP/AVP 105<br>b=AS:222<br>a=control:streamid=1<br>
a=range:npt=0-<br>a=Width:integer;320<br>a=Height:integer;240<br>a=cliprect:0,0,240,320<br>a=rtpmap:105 H264/90000<br>a=fmtp:105 profile-level-id=42E00C; sprop-parameter-sets=Z0LgDJZUCg/I,aM4BrFCA; packetization-mode=1<br>
a=mpeg4-esid:11<br>a=3GPP-Adaptation-Support:1<br>m=audio 0 RTP/AVP 110<br>b=AS:20<br>a=control:streamid=2<br>a=range:npt=0-<br>a=rtpmap:110 MP4A-LATM/32000/1<br>a=mpeg4-esid:12<br>a=fmtp:110 profile-level-id=15;object=2;cpresent=0;config=400028103FC0;SBR-enabled=1<br>
a=3GPP-Adaptation-Support:1<br><br>Opened URL "rtsp://<a href="http://10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp">10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp</a>", returning a SDP description:<br>
v=0<br>o=Ericsson 3515738112 3515738112 IN IP4 10.132.149.44<br>s=mediapro_vivo_goltv_h264_1.sdp<br>c=IN IP4 0.0.0.0<br>t=0 0<br>a=control:*<br>m=video 0 RTP/AVP 105<br>b=AS:222<br>a=control:streamid=1<br>a=range:npt=0-<br>
a=Width:integer;320<br>a=Height:integer;240<br>a=cliprect:0,0,240,320<br>a=rtpmap:105 H264/90000<br>a=fmtp:105 profile-level-id=42E00C; sprop-parameter-sets=Z0LgDJZUCg/I,aM4BrFCA; packetization-mode=1<br>a=mpeg4-esid:11<br>
a=3GPP-Adaptation-Support:1<br>m=audio 0 RTP/AVP 110<br>b=AS:20<br>a=control:streamid=2<br>a=range:npt=0-<br>a=rtpmap:110 MP4A-LATM/32000/1<br>a=mpeg4-esid:12<br>a=fmtp:110 profile-level-id=15;object=2;cpresent=0;config=400028103FC0;SBR-enabled=1<br>
a=3GPP-Adaptation-Support:1<br><br>Created receiver for "video/H264" subsession (client ports 38330-38331)<br>Created receiver for "audio/MP4A-LATM" subsession (client ports 45668-45669)<br>Sending request: SETUP rtsp://<a href="http://10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp/streamid=1">10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp/streamid=1</a> RTSP/1.0<br>
CSeq: 4<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2010.12.05)<br>Transport: RTP/AVP;unicast;client_port=38330-38331<br><br><br>Received 298 new bytes of response data.<br>Received a complete SETUP response:<br>RTSP/1.0 200 OK<br>
CSeq: 4<br>Date: Mon, 30 May 2011 09:55:50 GMT<br>Public: OPTIONS, DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN<br>Server: ERICSSON EMTV 1.0<br>Session: 1306749349803963000-38658;timeout=80<br>Transport: RTP/AVP;unicast;client_port=38330-38331;server_port=20150-20151<br>
Via: RTSP/1.0 bgustrnin2<br><br><br>Setup "video/H264" subsession (client ports 38330-38331)<br>Sending request: SETUP rtsp://<a href="http://10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp/streamid=2">10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp/streamid=2</a> RTSP/1.0<br>
CSeq: 5<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2010.12.05)<br>Transport: RTP/AVP;unicast;client_port=45668-45669<br>Session: 1306749349803963000-38658<br><br><br>Received 287 new bytes of response data.<br>Received a complete SETUP response:<br>
RTSP/1.0 200 OK<br>CSeq: 5<br>Date: Mon, 30 May 2011 09:55:51 GMT<br>Public: OPTIONS, DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN<br>Server: ERICSSON EMTV 1.0<br>Session: 1306749349803963000-38658<br>Transport: RTP/AVP;unicast;client_port=45668-45669;server_port=20154-20155<br>
Via: RTSP/1.0 bgustrnin2<br><br><br>Setup "audio/MP4A-LATM" subsession (client ports 45668-45669)<br>Created output file : "video-H264-1"<br>Sending request: PLAY rtsp://<a href="http://10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp/">10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp/</a> RTSP/1.0<br>
CSeq: 6<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2010.12.05)<br>Session: 1306749349803963000-38658<br>Range: npt=0.000-<br><br><br>Received 555 new bytes of response data.<br>Received a complete PLAY response:<br>
RTSP/1.0 200 OK<br>Content-Base: rtsp://<a href="http://10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp/">10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp/</a><br>CSeq: 6<br>
Date: Mon, 30 May 2011 09:55:51 GMT<br>Public: OPTIONS, DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN<br>RTP-Info: url=rtsp://<a href="http://10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp/streamid=1;seq=0;rtptime=1000000,url=rtsp://10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp/streamid=2;seq=0;rtptime=1000000">10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp/streamid=1;seq=0;rtptime=1000000,url=rtsp://10.138.255.8/broadcast/mediapro/vivo/goltv/mediapro_vivo_goltv_h264_1.sdp/streamid=2;seq=0;rtptime=1000000</a><br>
Server: ERICSSON EMTV 1.0<br>Session: 1306749349803963000-38658<br>Via: RTSP/1.0 bgustrnin2<br><br><br>Started playing session<br>Receiving streamed data (signal with "kill -HUP 3638" or "kill -USR1 3638" to terminate)...<br>
[h264 @ 0x2cf1550] AVC: nal size 1121979542<br>[h264 @ 0x2cf1550] no frame! <br>
[h264 @ 0x2cf1550] AVC: nal size -838751152 <br>
[h264 @ 0x2cf1550] no frame! <br>
[h264 @ 0x2cf1550] AVC: nal size -2004873472 <br>
[h264 @ 0x2cf1550] concealing 300 DC, 300 AC, 300 MV errors <br>
[h264 @ 0x2cf1550] AVC: nal size -1711143936<br>[h264 @ 0x2cf1550] concealing 282 DC, 282 AC, 282 MV errors <br>
[h264 @ 0x2cf1550] AVC: nal size -1711011839<br>[h264 @ 0x2cf1550] concealing 300 DC, 300 AC, 300 MV errors <br>
[h264 @ 0x2cf1550] AVC: nal size -1710879743<br>[h264 @ 0x2cf1550] concealing 300 DC, 300 AC, 300 MV errors <br>
[h264 @ 0x2cf1550] AVC: nal size -1710747647<br>[h264 @ 0x2cf1550] concealing 300 DC, 300 AC, 300 MV errors <br>
[h264 @ 0x2cf1550] AVC: nal size -1710615551<br>[h264 @ 0x2cf1550] concealing 300 DC, 300 AC, 300 MV errors <br>
[h264 @ 0x2cf1550] AVC: nal size -1710483455<br>[h264 @ 0x2cf1550] concealing 300 DC, 300 AC, 300 MV errors <br>
[h264 @ 0x2cf1550] AVC: nal size -1710351359<br>[h264 @ 0x2cf1550] concealing 300 DC, 300 AC, 300 MV errors <br>