[mythtv-users] mythexport or nuvexport

Martin Moores moores.martin at gmail.com
Mon Oct 1 19:52:31 UTC 2012


On 1 October 2012 19:23, Paul Gardiner <lists at glidos.net> wrote:

>
> Yes, here's an example of one of my mythtv user jobs:
>   /home/paul/bin/mythar --chanid "%CHANID%" --starttime "%STARTTIME%"
> --title "%TITLE%" --subtitle "%SUBTITLE%" --outdir
> /home/public/video/Archive --passthrough --interlaced
>
> That example keeps the same frame size and maintains the interlace.
> For most transcodes you probably want to drop the --interlaced option.
> I have four jobs two that maintain the frame size and two that convert
> to 1280x720. Each set has interlaced and not interlaced.
>
>
>  2. have a file with a cutlist
>>
>
> Yes, before setting off the user job, I use the
> editor as normal to add cut points.
>
>
>  3. run your script in that file
>>
>
> Not sure what you mean: I set off the user job
> from the frontend or from mythweb
>
>
>  4. where the output goes?
>>
>
> They end up where specified by --outdir, above. The original
> recording is not deleted.
>
> Cheers,
>         Paul.
>

Thanks for posting this Paul, never came across that on the Wiki.  Have
been searching for a script that does cutlists and output directory, that
can be ran as a user job!  Perfect!

But, looks like there is an issue with the ffmpeg syntax on the wiki page.
I get an error:

/usr/bin/ffmpeg -f s16le -ac 2 -ar 48000 -i /tmp/mythar29470/audout -f
rawvideo -top 1 -pix_fmt yuv420p -s 704x576 -r 25 -i
/tmp/mythar29470/vidout -threads 2 -vcodec libx264 -preset medium -profile
high -crf 20.0 -aspect 16:9 -acodec ac3 -ab 160k -ar 48000 -f mp4
/media/media/Videos/Other/Transcoded/%TITLE% - %SUBTITLE%.mp4
ffmpeg version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the
Libav developers
  built on Jun 12 2012 16:37:58 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a
future release. Please use avconv instead.
[s16le @ 0x9977aa0] Estimating duration from bitrate, this may be inaccurate
Input #0, s16le, from '/tmp/mythar29470/audout':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[rawvideo @ 0x9980660] Estimating duration from bitrate, this may be
inaccurate
Input #1, rawvideo, from '/tmp/mythar29470/vidout':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #1.0: Video: rawvideo, yuv420p, 704x576, 25 tbr, 25 tbn, 25 tbc
Unrecognized option 'preset'
Failed to set value 'medium' for option 'preset'


Removing "-preset medium" from the script, I then get a "Unknown encoder
'libx264'".

So, has potential, I just need to sort these ffmpeg errors.

Cheers

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121001/ab2b45e1/attachment.html>


More information about the mythtv-users mailing list