DirectFB - Home of the pragmatist Roadmap


[directfb-dev] Re: TV out with audio - possible?
Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[directfb-dev] Re: TV out with audio - possible?



Neil Radisch (nradisch@panix.com):

> My TV only has cable-tv in and an antenna hookup, so I guess
> it is "brain-dead".

  So you must have some conversion from composite/s-video to RF, and
that converter must also take in audio.

> Regardless, if I was to acquire a TV with audio-in, how could one keep
> the video and audio in sync. After all, the video is being clocked by
> the Matrox card and the audio is clocked by the audio card. While the
> crystals might be close for a while, it's bound to drift.  Seems like
> I'd have to keep a careful eye on video and audio consumption and
> resample the audio when things get too far off. Or am I missing
> something here?

  You need to either resample the audio (watch the clock and drop/add
samples) or resample the video (drop frames or repeat frames).  In my
apps, I believe in resampling audio and keeping the video smooth, since
this is especially important when playing interlaced content to an
interlaced TV, while other apps like xine or mplayer, since they output
low framerate material to a high framerate (refresh rate) display,
always tend to drop or slow the output of the video frames.

-- 
Billy Biggs
vektor@dumbterm.net


-- 
Info:  To unsubscribe send a mail to ecartis@directfb.org with 
"unsubscribe directfb-dev" as subject.



Home | Main Index | Thread Index


directfb.org / Development / Old Archives