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. The file patch.diff includes the modification to the filters.pro file which resides in the filters directory. It just adds the delay subdirectory to the project file. The rest of the files are new and I have added them in the delay.tgz file. It contains the source in filter_delay.c and the qt "pro" file. They belong in the directory filters/delay/. Just run qmake in the directory to create the makefile, then run make in the same directory and the library will be created. Then copy the library into the filters library, which is /usr/lib/mythtv/filters for me. Suggestions for improvement are welcome. Bryce Poole
delay.tgz
Description: GNU Zip compressed data
patch.diff
Description: Binary data
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
