[FFmpeg-user] Point to point streaming - receiver fails to start

Thomas Seilund tps at netmaster.dk
Tue May 5 18:39:29 CEST 2015


Hi all,

I stream from one host to another.

Sometimes the receiver is able to read the stream.

Sometimes the receiver fails to start - why is that ?

Sender:

ffmpeg -video_size 864x432 -framerate 25 -f x11grab -show_region 1 - 
follow_mouse centered -i :0.0+0,0 -c:v libx264 -f mpegts  
udp://t420.netmaster.dk:8001

Receiver:

ffmpeg -y -i udp://localhost:8001 -c copy -f mpegts test.ts
.
.
.
.
[h264 @ 0x1f56760] decode_slice_header error
[h264 @ 0x1f56760] no frame!
[h264 @ 0x1f56760] non-existing PPS 0 referenced
     Last message repeated 1 times
[h264 @ 0x1f56760] decode_slice_header error
[h264 @ 0x1f56760] no frame!
[h264 @ 0x1f56760] non-existing PPS 0 referenced
     Last message repeated 1 times
[h264 @ 0x1f56760] decode_slice_header error
[h264 @ 0x1f56760] no frame!
[h264 @ 0x1f56760] non-existing PPS 0 referenced
     Last message repeated 1 times
[h264 @ 0x1f56760] decode_slice_header error
[h264 @ 0x1f56760] no frame!
[h264 @ 0x1f56760] non-existing PPS 0 referenced
     Last message repeated 1 times
[h264 @ 0x1f56760] decode_slice_header error
[h264 @ 0x1f56760] no frame!
[h264 @ 0x1f56760] non-existing PPS 0 referenced
[mpegts @ 0x1f420e0] decoding for stream 0 failed
[mpegts @ 0x1f420e0] Could not find codec parameters for stream 0 (Video:  
h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'  
options
udp://localhost:8001: could not find codec parameters
Input #0, mpegts, from 'udp://localhost:8001':
   Duration: N/A, start: 35.880000, bitrate: N/A
   Program 1
     Metadata:
       service_name    : Service01
       service_provider: FFmpeg
     Stream #0:0[0x100]: Video: h264 ([27][0][0][0] / 0x001B), none, 25 fps,  
25 tbr, 90k tbn, 180k tbc
Output #0, mpegts, to 'test.ts':
Output file #0 does not contain any stream


Thanks

Thomas S


More information about the ffmpeg-user mailing list