[Ffmpeg-devel] [PATCH] Sending more than one RTP streams
Luca Abeni
lucabe72
Mon Apr 16 11:10:12 CEST 2007
Hi,
Kite Flyer wrote:
[...]
>> You have to specify two RTP destinations (with different port numbers,
>> for example).
>> Try something like
>> ./ffmpeg -re -i /tmp/test.mpg -vcodec copy -an \
>> -f rtp rtp://127.0.0.1:10000 -i /tmp/test.mpg -vn \
>> -acodec copy -f rtp rtp://127.0.0.1:20000
>>
> Great! "-re" option makes ffmpeg take entire audio/ video duration to
> stream it. I need this.
>
>> If I remember well, for this to work you would have to fix the "-an" and
>> "-vn" options handling (the "video only" and "audio only" state is
>> currently not reset at the new input file). I should have a patch for
>> this; I'll send it later.
> I'm doing the same in the attached patch.
Yes, it is similar to what I used. Sorry for not posting my patch... I
forgot it.
Luca
More information about the ffmpeg-devel
mailing list