[mythtv-users] file to flash

Daryl McDonald darylangela at gmail.com
Wed Oct 16 20:03:52 UTC 2013


On Wed, Oct 16, 2013 at 3:06 PM, Eric Sharkey <eric at lisaneric.org> wrote:
> 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%"

The line above is the command (run in the terminal) with appropriate
values substituted between % symbols for any or all of DIR, FILE,
TITLE, STARTTIME, or SUBTITLE? If this is correct then the question
below couldn't be understood because it was asked from my ignorance,
please forgive me.
>
>> 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
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users

Thanks Eric, I will start a new thread for comm removal. Daryl


More information about the mythtv-users mailing list