[mythtv] [PATCH] Video delay filter

Ed Wildgoose lists at wildgooses.com
Sat May 7 12:19:04 UTC 2005


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?

Ed W


More information about the mythtv-dev mailing list