[FFmpeg-devel] [PATCH] lavdevice: SDL Audio Playback

Michael Niedermayer michaelni
Thu Dec 10 22:58:38 CET 2009


On Thu, Dec 10, 2009 at 08:33:23PM +0100, Stefano Sabatini wrote:
> On date Wednesday 2009-12-09 22:50:30 +0100, Michael Niedermayer encoded:
> > On Tue, Dec 08, 2009 at 02:56:48PM +0100, Ivo wrote:
[...]
> > > Video out formats should have functions 
> > > like draw_osd, get_buffer (for direct rendering) and flip_page. If 
> > > write_packet is used/defined to write full frames, something like 
> > > draw_slice would be useful too. Both video and audio out formats need a 
> > > control function to control for example hardware treble/bass/volume/pan or 
> > > hardware chroma/luma/saturation etc.. Also, a function to capture events 
> > > (IR remote control, keypresses, mouse movements) and send them back to the 
> > > application would be useful too. Perhaps by calling a user supplied 
> > > callback function that processes the event.
> > 
> > You seem to be thinking of writing video out based on the muxer API, this
> > is an option for sure. But maybe avfilters are more appropriate as they
> > already have direct rendering & slice support. Also control commands
> > could be easily intercepted by a brightness changing filter when the hardware
> > doesnt support it.
> > 
> > but above all, we need ffplay updated for whichever system is choosen or we
> > wont have a player to test anything ...
> > 
> > Also we should try to reuse existing code if at all possible, like mplayers
> > video and audio out. Rewriting all the video outs from mplayer is just
> > the most brain amputated thing someone could attempt.
> > 
> > In that sense id like to mention it would be nice if mplayers video filters
> > could be supported by libvafilter. Porting them one by one is silly as well.
> > Someone should write code to use them unchanged its a lot more gain per work
> 
> Maybe a vf_libmpcodecs.c filter?

yes but it needs a shorter name, a chain of libmpcodecs filters should not
end up being twice as long as in mplayer, each filter being prefixed by
"libmpcodecs="

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091210/7870c3b3/attachment.pgp>



More information about the ffmpeg-devel mailing list