Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Mythtranscode, custom output directory

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


moores.martin at gmail

May 7, 2012, 4:35 AM

Post #1 of 2 (184 views)
Permalink
Mythtranscode, custom output directory

Hi all,

Just got Mythtranscode working great with --honourcutlist (just some random
purple bars at the start of the video).

Anyway, this is what I run from the command line:

mythtranscode -i /var/lib/mythtv/recordings/1004_20120219212500.mpg -o
/home/user/Desktop/test.mpg --honorcutlist -p MPEG2

Which is fine, but I would like to run this from within myth and to have
the output file go to a custom location, rather than the recordings
directory, so I have set up a user job with the following:

mythtranscode -i %DIR%%FILE% -o
/media/media/Videos/Transcoded/%TITLE%-%SUBTITLE% --honorcutlist -p MPEG2

But it doesn't seem to do anything, I am guessing I can't have %DIR%%FILE%
next to each other like that? I can't see the job start or fail in the
backend logs.

I am possibly going about this the wrong way, so any pointers appreciated.
I have considered using Mythvideoexport, but I want my cuts transcoded out,
rather than just copying the cutlist over

Cheers

Martin


moores.martin at gmail

Jun 8, 2012, 5:35 AM

Post #2 of 2 (145 views)
Permalink
Re: Mythtranscode, custom output directory [In reply to]

Just wanted to bring this one up again, as I have not got any further in
the time since I posted this.

I did stumble across transcode stub (
http://www.mythtv.org/wiki/Transcode_wrapper_stub), which takes jobids for
recording input.

Part of this script is:

##############################################
#### probably need to adjust this one too ####
output = task('"%s"' % infile,
'"%s"' % outfile)
##############################################

But I did not fully understand what to change exactly, to edit the
"outfile" so the path was pointing to my videos directory.

Cheers

Martin

On 7 May 2012 12:35, Martin Moores <moores.martin [at] gmail> wrote:

> Hi all,
>
> Just got Mythtranscode working great with --honourcutlist (just some
> random purple bars at the start of the video).
>
> Anyway, this is what I run from the command line:
>
> mythtranscode -i /var/lib/mythtv/recordings/1004_20120219212500.mpg -o
> /home/user/Desktop/test.mpg --honorcutlist -p MPEG2
>
> Which is fine, but I would like to run this from within myth and to have
> the output file go to a custom location, rather than the recordings
> directory, so I have set up a user job with the following:
>
> mythtranscode -i %DIR%%FILE% -o
> /media/media/Videos/Transcoded/%TITLE%-%SUBTITLE% --honorcutlist -p MPEG2
>
> But it doesn't seem to do anything, I am guessing I can't have %DIR%%FILE%
> next to each other like that? I can't see the job start or fail in the
> backend logs.
>
> I am possibly going about this the wrong way, so any pointers
> appreciated. I have considered using Mythvideoexport, but I want my cuts
> transcoded out, rather than just copying the cutlist over
>
> Cheers
>
> Martin
>

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.