<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div>Dear All,</div><div>I am trying to stream a live video over rtp/udp, but I'm facing some problems that I do not understand yet.</div><div>My sender pipeline is :</div><div>gst-launch ksvideosrc ! ffmpegcolorspace ! ffenc_mpeg2video gop-size=1 ! mpegtsmux ! rtpmp2tpay ! udpsink host=127.0.0.1 port=5000</div><div><br></div><div>On the receiver side, I have tried to catch the flow with VLC (settings : UDP, 127.0.0.1, port 5000). The player displays the video, but it is very jerky, a lot of blocks in the video frames are corrupted/misplaced. </div><div><br></div><div>If I create instead a gst pipeline to receive the rtp flow:</div><div>gst-launch udpsrc port=5000 caps="application/x-rtp, media=video, clockrate=90000, encoding-name=MP2TS" ! rtpmp2tdepay ! ffdemux_mpegts !
ffdec_mpeg2video ! ffmpegcolorspace ! directdrawsink</div><div>then the video looks ok, but I see a lot of errors in the console:</div><div><br></div><div><div>0:00:00.828115000 5320 009C6488 ERROR ffmpeg .:0:: skipped MB in I frame at 13 6</div><div>0:00:00.843740000 5320 009C6488 ERROR ffmpeg .:0:: Warning MVs not available</div><div>0:00:04.671816000 5320 009C6488 ERROR ffmpeg .:0:: skipped MB in I frame at 13 6</div><div>0:00:04.687440000 5320 009C6488 ERROR ffmpeg .:0:: Warning MVs not available</div><div>0:00:04.703065000 5320 009C6488 ERROR ffmpeg .:0:: Warning MVs not available</div><div>0:00:05.078060000 5320 009C6488 ERROR
ffmpeg .:0:: skipped MB in I frame at 15 9</div><div>0:00:05.093685000 5320 009C6488 ERROR ffmpeg .:0:: ac-tex damaged at 13 6</div><div>0:00:05.156184000 5320 009C6488 ERROR ffmpeg .:0:: skipped MB in I frame at 37 10</div><div>0:00:05.171809000 5320 009C6488 ERROR ffmpeg .:0:: skipped MB in I frame at 39 26</div><div>0:00:05.187434000 5320 009C6488 ERROR ffmpeg .:0:: slice mismatch</div><div>(...)</div><div>And if I replace ffdemux_mpegts by mpegtsdemux in the receiver (because I used mpegtsmux in the sender), the video is half blurred and jerky.</div><div><br></div><div>Does the problem of the video output quality come from the encoding itself? I've tried
with several settings (gop-size, quantizer, bitrate...), none of them made the result better.</div><div>Any help is welcomed!</div><div>Regards,</div><div>Al</div><div><br></div><div>(Running gstreamer on windows with gst-winbuilds-0.10.4)</div></div><div style="position:fixed"></div></div><br>
</body></html>