[FFmpeg-devel] [RFC] ffserver stream checks

Howard Chu hyc
Thu May 20 16:03:31 CEST 2010

I was thinking it would be a good idea for ffserver to rewrite the ffm header 
of its feed file based on what actually got used by ffmpeg. Ran into an issue 
with the audio codec frame size, since it won't be known until the codec is 
actually opened. So I've also dropped the check of the frame size for the 
incoming stream.

Likewise, it would be nice to be able to have a single stream definition that 
works with whatever frame rate the source video used, so I've removed that 
check as well. I'm looking for feedback on any downsides to this approach. 
Ideally I'd like to be able to run an ffserver stream definition with 
essentially the behavior of "-vcodec copy -acodec copy" but currently there 
doesn't appear to be any way to express this in ffserver.conf. Also I'd like 
to be able to treat the ffserver config as more of a template, and allow the 
ffmpeg commandline to override some of the settings, or at least fill in 
missing ones. Currently it looks like whatever ffmpeg receives from ffserver 
completely replaces all of ffmpeg's option settings. Suggestions?
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: check.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100520/58973d57/attachment.txt>

More information about the ffmpeg-devel mailing list