[mythtv] MythVideo Feature Request: Player Profiles

Joseph A. Caputo jcaputo1 at comcast.net
Wed Jan 14 09:01:17 EST 2004


On Wednesday 14 January 2004 06:00, David Zanetti wrote:
> I thought I'd post my idle thoughts here before charging off on
> attacking a patch to implement this, so if this idea sucks shout out
> and I'll go off and hide :)
>
> One of the things I end up doing a lot with MythVideo is editing the
> command-lines for each file by hand. Mostly it's because occasionally
> I get files for which just feeding it to mplayer doesn't do the right
> thing, either the aspect is off, or the sound is skewed, or it's a
> really bad file and needs a bunch of options to fix it.
>
> Thing is, it's also a pain to do this because the only reasonable way
> is by keyboard, it's not something I can quickly change from my IR
> remote for any given file.
>
> So, what I was thinking of was changing the way MythVideo handles
> playback command lines so that instead of every file having a unique
> command line, instead you associated files with a "playback profile",
> and that profile contained the details of how to play it.
>
> Dovetailing into the internal player discussion, I figure you'd need
> different player types, like "Internal" and "Custom Command", but it
> would allow you to have a nice remote-friendly pane for say setting
> common mplayer arguments, with an "mplayer" player type (which might
> include some useful switches for things like -delay, -ni, -aspect,
> and -[no]cache, etc..).
>
> That way, it's much much easier for people to quickly associate a
> file with something other than just feeding it to the default
> command. If I've got a file which needs to be forced to 4:3 I can
> quickly select my named "mplayer 4:3" profile and we're away
> laughing, instead of finding the keyboard and typing in the full
> command on every file.
>
> I guess for some people it doesn't occur often enough to warrant a
> big interface, but I do it often enough it's really bugging me.

Why not just rename your files with custom extensions, and have 
MythVideo handle all files with certain custom extensions the way you 
want? i.e., movie.avi.480x480 or movie.avi.16-9.  Then all ".480x480" 
files would be handled one way, and all ".16-9" files would be handled 
another.

-JAC



More information about the mythtv-dev mailing list