[mythtv-users] file to flash

Eric Sharkey eric at lisaneric.org
Wed Oct 16 19:06:25 UTC 2013


On Wed, Oct 16, 2013 at 1:31 PM, Daryl McDonald <darylangela at gmail.com> wrote:
> I thought I could just
> transcode it after establishing a precise cut list. The few attempts
> I've made at this have not removed any commercials.

But that's because your transcode failed.  You'll need to figure that
out.  Was there any more detail in the log?  What are your transcoding
settings?

Maybe you should start a new thread on this list for just that?

 > For file to flash, I assume I
> would have to edit the script you shared called "video export" into my
> "/usr/local/bin" directory, right?

Yes.  You can put it anywhere you like, as long as wherever you put it
matches what you set as the path in the User Job Command setting.

> Then the "User Job Description could be "flash to file" or "Video Export" ?

That can be whatever you want.  It's just a string that goes in the
menu meant for human consumption.

> And the "User Job Command" would be "/usr/local/bin/videoexport" ?

No, the command has to be both the script to run and any arguments to
the script.  For this script, it expects to be called with up to four
arguments.  The setting for User Job Command for this script is:

/usr/local/bin/videoexport "%DIR%/%FILE%" "%TITLE%" "%STARTTIME%" "%SUBTITLE%"

> As to executing, I'm unclear, not from the BE, that would be
> inconvenient. From the FE, or the command line?

I don't understand your question.  User jobs always run on the
backend.  If you want to copy the file to media not directly connected
to the backend, you'll need to modify the script to do so.

> Once this one is set-up I should be able to follow this example for
> other User Jobs, ie Remove commercials, Yes?

Sure.

Eric


More information about the mythtv-users mailing list