LinHES Forums
http://forums.linhes.org/

mythvideo - custom mplayer switches per file?
http://forums.linhes.org/viewtopic.php?f=17&t=13274
Page 1 of 1

Author:  graysky [ Wed Jan 03, 2007 3:09 pm ]
Post subject:  mythvideo - custom mplayer switches per file?

Is it possible for me to have a set of custom mplayer switches for a given .avi file such that I can just point the mythvideo GUI to a script or something and have it launch mplayer with the custom switches?

Does that make sense?

Author:  spalVl [ Wed Jan 03, 2007 3:41 pm ]
Post subject: 

Yes, If you create a file /home/mythtv/.mplayer/rippedmovie.avi.conf named after the file name you are trying to play with special settings in that file will use those Mplayer settings. I use this for a few DVD backups for aspect ratio and multi track audio stuff. See this post for more info.

http://mysettopbox.tv/phpBB2/viewtopic.php?t=6574

Author:  graysky [ Wed Jan 03, 2007 6:30 pm ]
Post subject: 

very cool, thanks for the info!

I did this:
Code:
# touch /home/mythtv/.mplayer/title.avi.conf
# nano /home/mythtv/.mplayer/title.avi.conf


I have the movie in /myth/video/title.avi

The contents of the file I have tried are:
Code:
aspect 2.4:1 -vo xv

and
Code:
-aspect 2.4:1 -vo xv


Both of which gave no result. What is the proper syntax?

Author:  spalVl [ Wed Jan 03, 2007 8:16 pm ]
Post subject: 

Quote:
Both of which gave no result. What is the proper syntax?


doesn't use - dashes.

Apparently I didn't think it was a good idea to save those files during one of my upgrades. Last time I recall using was R5A16. I will search for a sample.

:oops:

Author:  graysky [ Thu Jan 04, 2007 2:26 pm ]
Post subject: 

Thanks, a sample would be great. I too will experiment with it when I get back home.

Author:  spalVl [ Fri Jan 05, 2007 12:26 am ]
Post subject: 

:D FINALLY got it. Was really making me starting to think I was imaging it ever worked.

There is some weirdness to this I don't recall previously and still don't have it worked out 100. Basically I had to create a file /home/mythtv/.mplayer/mplayer.conf, I put an aspect ratio in there. Played some video with a specific .conf it worked, I removed all setting from mplayer.conf and changing specific .conf still file works. I think the mplayer.conf file has to exist or Mplayer doesn't even bother looking for a specific .conf file. It it late or I would play with mplayer from command line to figure out what exactly it is doing.

Sample.avi.conf

Code:
aspect=16:9

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/