<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi All,<br></div>I know this is some kind of usual task, but I have some problems with it.<br><br></div>I am doing the follwing<br><br>1.Initiating the command "ffmpeg -i ~/Desktop/stream.sdp test.mov"<br></div>this is my sdp file content's<br>v=0<br>o=- 0 0 IN IP4 127.0.0.1<br>s=No Name<br>c=IN IP4 10.101.3.60<br>t=0 0<br>a=tool:libavformat 56.25.101<br>m=video 9078 RTP/AVP 96<br>b=AS:5486<br>a=rtpmap:96 H264/90000<br>a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z2QAKKy0A8ARPy4CIAAAfSAAHUwB4wZU,aO48sA==; profile-level-id=640028 <br></div>2.Start VLC and streaming a file with only a video stream in it<br><br></div>Results:<br> the FFmpeg developers<br>  built with gcc 4.9.2 (Debian 4.9.2-10)<br>  configuration: <br>  libavutil      54. 20.100 / 54. 20.100<br>  libavcodec     56. 26.100 / 56. 26.100<br>  libavformat    56. 25.101 / 56. 25.101<br>  libavdevice    56.  4.100 / 56.  4.100<br>  libavfilter     5. 11.102 /  5. 11.102<br>  libswscale      3.  1.101 /  3.  1.101<br>  libswresample   1.  1.100 /  1.  1.100<br><br><br></div>then ffmpeg does nothing, the file test.mov is not even created<br><br></div>Then I tried with <br><br>1.ffmpeg -i rtp://<a href="http://10.101.3.60:9078">10.101.3.60:9078</a> test.mov<br></div>2.Streaming a video file wih VLC<br><br></div>Then I have results like:<br>ffmpeg version 2.6 Copyright (c) 2000-2015 the FFmpeg developers<br>  built with gcc 4.9.2 (Debian 4.9.2-10)<br>  configuration: <br>  libavutil      54. 20.100 / 54. 20.100<br>  libavcodec     56. 26.100 / 56. 26.100<br>  libavformat    56. 25.101 / 56. 25.101<br>  libavdevice    56.  4.100 / 56.  4.100<br>  libavfilter     5. 11.102 /  5. 11.102<br>  libswscale      3.  1.101 /  3.  1.101<br>  libswresample   1.  1.100 /  1.  1.100<br>RTP: missed 77 packets<br>[rtp @ 0xad16980] PES packet size mismatch                                              <br>[h264 @ 0xad190e0] cabac decode of qscale diff failed at 108 34<br>[h264 @ 0xad190e0] error while decoding MB 108 34, bytestream 381<br>[h264 @ 0xad190e0] Cannot use next picture in error concealment<br>[h264 @ 0xad190e0] concealing 4021 DC, 4021 AC, 4021 MV errors in P frame<br>RTP: missed 22 packets<br>[rtp @ 0xad16980] PES packet size mismatch                                              <br>[h264 @ 0xad190e0] Cannot use next picture in error concealment                         <br>[h264 @ 0xad190e0] concealing 491 DC, 491 AC, 491 MV errors in P frame<br>RTP: missed 51 packets<br>[rtp @ 0xad16980] PES packet size mismatch                                              <br>    Last message repeated 1 times<br>Input #0, rtp, from 'rtp://<a href="http://10.101.3.60:9078">10.101.3.60:9078</a>':<br>  Duration: N/A, start: 13398.027500, bitrate: N/A<br>  Program 1 <br>    Stream #0:0(eng): Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc<br>File 'test.mov' already exists. Overwrite ? [y/N] y<br>Output #0, mov, to 'test.mov':<br>  Metadata:<br>    encoder         : Lavf56.25.101<br>    Stream #0:0(eng): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 30k tbn, 29.97 tbc<br>    Metadata:<br>      encoder         : Lavc56.26.100 mpeg4<br>Stream mapping:<br>  Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))<br>Press [q] to stop, [?] for help<br>[h264 @ 0xb1a21a0] cabac decode of qscale diff failed at 108 34<br>[h264 @ 0xb1a21a0] error while decoding MB 108 34, bytestream 381<br>[h264 @ 0xb1a21a0] Cannot use next picture in error concealment<br>[h264 @ 0xb1a21a0] concealing 4021 DC, 4021 AC, 4021 MV errors in P frame<br>[h264 @ 0xb1a21a0] Cannot use next picture in error concealment<br>[h264 @ 0xb1a21a0] concealing 491 DC, 491 AC, 491 MV errors in P frame<br>[h264 @ 0xb1a1dc0] Cannot use next picture in error concealment<br>[h264 @ 0xb1a1dc0] concealing 3670 DC, 3670 AC, 3670 MV errors in P frame<br><br></div>I have tried to create my own app and to debug, but then my code is continuesly looping in avformat_find_stream_info and more specific in udp_read_packet<br><br></div>I saw that once upon a time there was such kind of problem (I talk about avformat_find_stream_info)<br>Am I missing ?<br></div>Am I doing something wrong or there is some kind of regression ?<br><br></div>Thank you for the time reading my post :-)<br></div>