View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Mplayer Key Bindings
PostPosted: Wed Nov 07, 2007 10:49 pm 
Offline
Joined: Fri Jun 15, 2007 9:44 pm
Posts: 29
Hey Guys.

I'm using Mplayer to play HD MKV videos on my MythTv installation because the internal player is unable to play them back at full-speed.

Buy, obviously, my key bindings are different from the internal player to Mplayer. So, I want to be able to change the key bindings for MPLAYER (I already have the internal set up the way I want it)..

Is there anywhere I can do this?

I've tried every single key on the keyboard and I cannot find a fastforward or skip ahead/behind button while using Mplayer. I'm sure there must be one though.. ?

Any help would be appreciated.

David


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 07, 2007 11:44 pm 
Offline
Joined: Mon Mar 13, 2006 2:28 am
Posts: 143
Location: Brisbane, Australia
Not sure about the keyboard, but if you're using a remote you can use the 'seek' keyword.

Here's what I use for my remote, seek is in seconds and can be any value you wish;

Code:
begin
        prog = mplayer
        button = Rewind
        config = seek -10
end
begin
        prog = mplayer
        button = FastForward
        config = seek +10
end
begin
        prog = mplayer
        button = PrevChapter
        config = seek -60
end
begin
        prog = mplayer
        button = NextChapter
        config = seek +60
end


Regards,
Kirk.

_________________
MBE/FE ~ R5F27 ~ Asus A8N-VM-CSM ~ AMD64 3500+ ~ 1GB RAM ~ 1.5TB Storage ~ Nova-T-500 ~ SH-S183A DVDRW ~ LC20M Case ~ iMON-Pad Remote
FE ~ Diskless ~ Asus M2NPV-VM ~ AMD X2 BE-2350 (45w) ~ 1GB RAM ~ TT Lanbox Lite ~ iMON-Pad Remote


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 07, 2007 11:49 pm 
Offline
Joined: Mon Mar 13, 2006 2:28 am
Posts: 143
Location: Brisbane, Australia
Just found the keyboard stuff. It's in ~/.mplayer/input.conf

Mine is looking like this atm, though I don't use the keyboard.

Code:
PGUP seek -60
PGDWN seek +60
p pause
l pause


To get a list of the keywords use 'mplayer -input keylist'. For a list of commands use 'mplayer -input cmdlist'.

Further reading here.

Regards,
Kirk.

_________________
MBE/FE ~ R5F27 ~ Asus A8N-VM-CSM ~ AMD64 3500+ ~ 1GB RAM ~ 1.5TB Storage ~ Nova-T-500 ~ SH-S183A DVDRW ~ LC20M Case ~ iMON-Pad Remote
FE ~ Diskless ~ Asus M2NPV-VM ~ AMD X2 BE-2350 (45w) ~ 1GB RAM ~ TT Lanbox Lite ~ iMON-Pad Remote


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 08, 2007 11:20 pm 
Offline
Joined: Fri Jun 15, 2007 9:44 pm
Posts: 29
Thanks so much for your help.

I managed to get the keyboard setup with a bunch of commands..

BUT..

seek doesn't seem to work.

For instance.. I tried

RIGHT seek +60
LEFT seek -60

And .. nothing.

Thanks again.

d.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 08, 2007 11:39 pm 
Offline
Joined: Fri Jun 15, 2007 9:44 pm
Posts: 29
Awww.. I figured it out.

Mplayer is not able to seek an HD MKV file.. or, at least, that's what the command line output says.

O well...

d.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 14 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