[mythtv-users] mythexport or nuvexport

Paul Gardiner lists at glidos.net
Mon Oct 1 21:09:21 UTC 2012


On 01/10/2012 20:52, Martin Moores wrote:
> 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.

I think it may just be that you don't have libx264 installed. If not,
then it's that you have a version of ffmpeg built without libx264
support. Try installing libx264. If it still doesn't work, or if
you find libx264 already installed then try building ffmpeg from source.

Cheers,
	Paul.


More information about the mythtv-users mailing list