[FFmpeg-devel] [PATCH] RTP source address filtering

Luca Barbato lu_zero
Thu Jan 6 16:11:41 CET 2011


On 01/06/2011 12:50 PM, Martin Storsj? wrote:
> On Thu, 6 Jan 2011, Luca Barbato wrote:
> 
>> On 01/05/2011 10:49 PM, Martin Storsj? wrote:
>> [source fitering, connect, udp...]
>>
>> Looks ok, but I'd like to have a testcase for it.
> 
> I've tested it like this: Use ffplay to play back a stream over UDP, e.g. 
> from feng. libavformat usually sets up 5000 as the first receiving port.
> 
> The while receiving this stream, send another stream to the same port:
> ffmpeg -re -i <whatever> -vcodec mpeg4 -an -f rtp 
> rtp://127.0.0.1:5000?localport=1234
> 
> You should notice lots of errors/warnings in the ffplay session, due to 
> new stream messing up the other one. (If the first stream played back from 
> feng also is mpeg4, you might actually get an quite "interesting" mix of 
> the both video streams.) With this patchset applied and if playing back 
> the RTSP stream with ?filter_src at the end, it plays back without any 
> issue.

Please copy this description in the commit message =)

lu


-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-devel mailing list