[FFmpeg-devel] [PATCH] Fix the logic for telling ffmpeg wether to print the SDP

Luca Barbato lu_zero
Wed Jul 23 14:06:19 CEST 2008


Luca Abeni wrote:
> Stefano Sabatini wrote:
>> Hi all, as in subject.
>>
>> Suppose we have this command:
>> ffmpeg -t 0 -i ~/test.flv  -f rtp rtp://localhost:5008 -f avi -y foo.avi 2>/dev/null
>>
>> ffmpeg won't print the SDP for the first (and eventually other) RTP
>> stream, since want_sdp is set to 0 when the AVI stream is encountered.
> 
> I believe this behaviour is correct, but again I have no strong opinions
> about this.
> 

I think the same as well, maybe something more correct/useful would be 
having -f sdp foo.sdp to write down the sdp.

lu

-- 

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





More information about the ffmpeg-devel mailing list