[mythtv-users] myth video settings
Greg Nicholson
greg at d0gz.net
Mon Nov 1 22:48:01 UTC 2004
Another option (which is what I'm using) is to use the extension to denote
the type of content.
I have players setup in the myth configuration such that a .ac3 file calls
mplayer with the hwac3 flag, and a 16:9 aspect. .ac4 files use a 4:3
aspect.
I've found it to be quite usable without hacking up the source. I recently
went and converted my DVD changer (300 disks) to xvid, and using this
convention went very well.
Just another option.
GN
-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of John Patrick Poet
Sent: Monday, November 01, 2004 4:19 PM
To: Discussion about mythtv
Subject: Re: [mythtv-users] myth video settings
On Mon, 1 Nov 2004, Yan-Fa Li wrote:
> Neato!
>
> John, I really like that solution because it scales so much better.
> However my security paranoia tells me that's a potentially huge gaping
> security hole since you just take and execute an arbitrary string.
True, this does have a security hole. My "frontend" is behind a firewall,
so I am not terribly concerned. If you have a suggestion on how to plug
that hole, I am willing to look into it.
> So I take it you put each of the video files in it's own sub directory
> on your server or do you sort everything by aspect ratio ?
It is really up to you. With this patch, it just looks in the same
directory where the video file is found for a ".mythvideo" file. It does
not care how many videos are in that directory.
I create directories to group my videos my subject/type. I typically have
several video files in a single directory -- but all those video files will
have the same aspect ratio.
>
> Many Thanks
>
> Yan
Your welcome :-)
John
> John Patrick Poet wrote:
> > I got arround this problem by making a minor patch to the mythvideo
system.
> > I don't think this patch has been applied to the CVS tree, however.
> >
> > I have attached my patch, if you want to try it.
> >
> > My original message said:
> >
> > I have some videos which are 16:9 and some which are 4:3. These videos
> > may be mpegs or avis.
> >
> > This patch causes mythvideo to look for a ".mythvideo" file in the
> > directory where the video file is located. If that file exists, the
> > content will be used as the player command instead of the default.
> >
> > For example, in the directory where I keep my 4:3 video files, I have a
> > .mythvideo file which contains:
> >
> > xrandr -s 640x480;mplayer -quiet -monitoraspect 4:3 -framedrop %s;xrandr
> > -s 888x500
> >
> > This changes my output resolution to 640x480, runs mplayer with a 4:3
> > aspect, and then switched back to my normal 888x500 (16:9) "menu"
> > resolution when mplayer exits.
> >
> > There may be a better (more efficient) way to achieve this
> > functionality, but this was a simple change.
> >
> > John
> >
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
More information about the mythtv-users
mailing list