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

Benoit Fouet benoit.fouet
Wed Jul 23 15:09:30 CEST 2008


Luca Barbato wrote:
> 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.
>
>   

definitely, yes

-- 
Benoit Fouet
Purple Labs S.A.
www.purplelabs.com




More information about the ffmpeg-devel mailing list