LinHES Forums http://forum.linhes.org/ |
|
intelligent deinterlacing in mplayer? http://forum.linhes.org/viewtopic.php?f=11&t=10508 |
Page 1 of 1 |
Author: | Human [ Fri Jun 16, 2006 12:42 pm ] |
Post subject: | intelligent deinterlacing in mplayer? |
Here's my usage problem: You can't tell from a file's extension whether or not it's interlaced or deinterlaced video, and video playback settings in mythtv are based on extension. If you always tell mplayer to deinterlace on playback, some high-resolution progressive scan content will have laggy video. For the same content, turning off deinterlacing in mplayer works fine, but then interlaced content looks bad. It's not an option to just keep deinterlacing on and then use framedrop or hardframedrop, since those settings distort certain video formats. I want a way to determine if a given video needs deinterlacing and apply this on the fly when I select a video to play with mplayer. I'm willing to write the necessary software if need be, but I wanted to find out if anyone else knows of something that might already do this. |
Author: | cesman [ Fri Jun 16, 2006 1:45 pm ] |
Post subject: | |
Have you tried the -autoq switch? Scope out the manpage for more. I believe it has to be used with -vf... |
Author: | Human [ Fri Jun 16, 2006 1:54 pm ] |
Post subject: | |
cesman wrote: Have you tried the -autoq switch? Scope out the manpage for more. I believe it has to be used with -vf... That's the right idea, but unfortunately: mplayer manpage wrote: You have to use -vf [s]pp without parameters in order for this to work
Deinterlacing filters in mplayer are part of the "pp" option, so using -autoq would require turning off all deinterlacing, AFAIK. |
Author: | Greg Frost [ Fri Jun 16, 2006 5:39 pm ] |
Post subject: | |
What about a wrapper around mplayer where you detect the content first and then use the appropriate command line switches when calling mplayer. |
Author: | Human [ Fri Jun 16, 2006 6:25 pm ] |
Post subject: | |
Greg Frost wrote: What about a wrapper around mplayer where you detect the content first and then use the appropriate command line switches when calling mplayer.
Yep, that's pretty much what I had in mind if it hadn't already been implemented. I was planning to merge it into mplayer-resumer.pl, since it already does a couple of the things that I'd need the new wrapper to do. |
Author: | cesman [ Fri Jun 16, 2006 7:54 pm ] |
Post subject: | |
Human wrote: I was planning to merge it into mplayer-resumer.pl, since it already does a couple of the things that I'd need the new wrapper to do. Great minds think alike. ![]() ![]() |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |