[FFmpeg-devel] RTP input stream blocks ffmpeg

Luca Abeni lucabe72
Fri Sep 21 16:15:36 CEST 2007


Hi,

Yohann Martineau wrote:
[...]
> Here is the first command I used to stream my video:
> 
> $ ffmpeg.exe -f h263 -vcodec h263 -i h263.raw -f rtp 
> rtp://192.168.1.45:10002

This will not work correctly until someone implements
the support for H.263 payloads.


[...]
> $ ffmpeg.exe -f h263 -vcodec h263 -i h263.raw -f rtp -vcodec mpeg2video 
> rtp://192.168.1.45:10002

You are missing "-re".


> The ffmpeg instance that receives packets says nothing.
> 
> Diving into SDP, i saw that the media attribute of the sdp generated 
> without '-vcodec mpeg2video' gives a payload type of 35, which 
> corresponds to H263. This is ok. When I launch the command with '-vcodec 
> mpeg2video', the payload type is 96, which is a dynamic payload type.

Here, you found a real bug/unimplemented feature. The attached patches
should make ffmpeg able to stream MPEG2 video. However, I do not know
if I am happy with these patches yet...


				Luca
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cleanup_pt_usage.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070921/5caaf3ca/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: m2v_support.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070921/5caaf3ca/attachment.txt>



More information about the ffmpeg-devel mailing list