LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mplayer file advancing controls (https://www.linuxquestions.org/questions/linux-software-2/mplayer-file-advancing-controls-486498/)

stabu 09-24-2006 10:41 AM

mplayer file advancing controls
 
Hi,

As no doubt many people know, mplayer has keyboard bindings for advancing through your multimedia file. left and right arrows advance/rewind by 10 secs. up and down arrows by 60 secs. and uppage, downpage by 10 mins(600 secs).

I would like to change these time settings to be 5/30/300 instead of the 10/60/600, and have started to look at the mplayer sources to see where these values gets assigned so I can - I guess - hack them.

Problem is that mplayer sources are pretty big, and there's a whole architecture associated with them, so it means it'll take quite a while for me to see HOW the variables are assigned and then to actually change them. On top of it, I have only a rudimentary knowledge of C.

So I though I'd make this post thinking that there might be some mplayer hackers out there (I am assuming it needs hacking) that could set me straight. Any advice?

Brian1 09-24-2006 11:13 AM

I would contact the mplayer developers. They should be able to point you into the right direction or maybe be able to tell you an option that can be placed in your ~/.mplayer config file.

Post back if you get help from them. Others my be interested.

Brian1

stabu 12-03-2006 06:12 AM

I posted this one a while back, and actually it turns out that this is entirely trivial! You create a file called input.conf in your home's .mplayer directory (of course) and you say stuff like "RIGHT seek +1" o make the right arrow button advance your file by 1 instead of 10 seconds.

In the mplaye rmanual it's in Chapter 3 (usage) in section 3.2.


All times are GMT -5. The time now is 11:22 AM.