[mythtv-users] DVB Transcoding, renaming & cutting commercials

Phill Edwards philledwards at gmail.com
Sun Sep 25 12:10:59 UTC 2005


> My mythtv setup is now up and running and working correctly, i.e. the
> EPG is automatically populated, and I can successfully schedule
> recordings :)
>
> My recording directory is setup as a SAMBA mountpoint and I use the Xbox
> Media Centre to watch the recordings. However, in order to do this, I
> have to manually rename the .nuv files to .mpg (as I'm using a DVB card,
> the nuv file is just an mpeg2 stream)
>
> However, when I do this, the database obviously thinks that the
> recordings are no longer there.
>
> What I'd like to do, when the recording finishes is to automatically:
> (1) rename the file to have a .mpg extension (and, if possible, rename
> the filename itself to the programme title). (2) change the database to
> reflect the new name. and (3) use transcoding to automatically cut out
> any commercials (the option to flag commercials has been set on all
> recordings).

This might give you part of what you want. It's a different approach.
>From what you've said, you want to be able to choose a recording from
file explorer in Xbox and play it back. At the moment the filenames
aren't meaningful until you rename them.

What you could do is get mythlink.sh and run it in a cron job every
few minutes or once an hour or whatever. That will create links to the
nuv files in a directory you choose. The link names will be meaningful
and the file extension will end in mpg. If you set up the samba share
details on your Xbox you will be able to broswe the files by category,
group, original_airdate, time or title as it creates directories full
of links for each. See
http://www.gossamer-threads.com/lists/mythtv/users/144730

To cut out the ads you will need to set up a user job.

Regards,
Phill


More information about the mythtv-users mailing list