[mythtv] [PATCH] Video delay filter

Kevin Kuphal kuphal at dls.net
Sat May 7 12:39:54 UTC 2005


Ed Wildgoose wrote:

> Bryce Poole wrote:
>
>> When I first got my Dish Network satellite, I immediately noticed that
>> the video was leading the audio.  So when myth was up and running I
>> wrote this filter to fix the problem and slow down the video.
>>
>> The basic idea is that the filter gets passed a size from the TV
>> Playback screen along the lines of "delay=10" which translates into a
>> 10 frame delay.  The filter then creates a dynamic ring buffer to hold
>> 10 frames.  Each time the filter is called the oldest frame is
>> returned.
>>  
>>
>
> Hi, I actually need something similar to this myself because I have 
> some serious DSP processing enabled which causes delays to the audio 
> signal
>
> However, I was going to implement this simply in the audio routines by 
> changing the audio timestamp which is returned (forget the call 
> name).  Just change this to be forwards or backwards by the required 
> amount and we should achieve the desired result with very little code.
>
> I would recommend that we try this before putting in the filters method?
>
I was thinking along the same lines (on my todo list) with an OSD option 
for increasing/decreasing the audio delay as every blue moon I get a 
recording that lags in audio for a second or so throughout the duration 
of the show.

Kevin


More information about the mythtv-dev mailing list