View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Jun 16, 2006 12:42 pm 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
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.

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 16, 2006 1:45 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Have you tried the -autoq switch? Scope out the manpage for more. I believe it has to be used with -vf...

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 16, 2006 1:54 pm 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
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.

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 16, 2006 5:39 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
What about a wrapper around mplayer where you detect the content first and then use the appropriate command line switches when calling mplayer.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 16, 2006 6:25 pm 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
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.

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 16, 2006 7:54 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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. :) Or maybe it is just coincidents. ;)

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu