Jan Vilhuber wrote:
> 
>
>>
> 
> Hah! Just found something that'll help: in the mythtv cvs source, in the 
> contrib directory, there's a perl script called mythrename.pl. I've 
> changed that one just slightly to accept a --suffix option. What this 
> script does is go to the mythtv database to get the name associated with 
> the file, and then creates symlinks with the name to the number-name. 
> However it wants to set .mpg on there, which doesn't help in our quest.
> 
> So I've modified it to be able to specify a suffix (.avi seems to work 
> :), and voila! I've exported the directory, started VLC, and away I go. 
> Looks darned good on a regular TV...
> 
> I suppose I can feed that change back to the cvs repository if the myth 
> folks will accept it. I can post the diffs here, if people want as well.
> 
> jan
> 

Maybe adjust the script a bit more and call it 
mythrenamenomvpmccompat.pl, I have a script that used mplayer that
can identify the height, width, video and audio codec, and from
that minor adjustments to the mythrename.pl script should produce
a script that will rename non-mvpmc compatible formats to add an
avi resulting in the behavior that we want.

Right now I need to figure out exactly what constraints can
be played by mvpmc and put it into the ismvpmccompat script and
either return a 0 or a 1 based of if mvpmc can play it.

This would run on the host machine probably in a cron job, and
basically rename everything that mvpmc cannot natively play to
.avi so vlc would take it when using mvpmc/mythtv across nfs.

                          Roger

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Reply via email to