[FFmpeg-user] Replacing audio track failing

JULIAN GARDNER joolzg at btinternet.com
Mon Dec 3 18:32:44 CET 2012



>________________________________
> From: Carl Eugen Hoyos <cehoyos at ag.or.at>
>To: ffmpeg-user at ffmpeg.org 
>Sent: Monday, 3 December 2012, 17:25
>Subject: Re: [FFmpeg-user] Replacing audio track failing
> 
>JULIAN GARDNER <joolzg <at> btinternet.com> writes:
>
>>  $FFMPEG -threads 0 -i "$file" -i normal.wav -map 0:0 -map 1 -vcodec 
>> libx264 -preset superfast -x264opts keyint=75 -x264opts vbv-maxrate=900 
>> -vf scale=720:288 -bufsize 2M -r 25 -acodec libfaac -ab 128k -ar 32k -ac
>>  2 -async 1 -f mpegts "$DEST_DIR/$tsfile"
>
>You should try as hard as possible not to use variables 
>in the command lines you post here.
>(I don't see the problem in above line although there 
>obviously is one - perhaps you can change your script
>so it does print what it executes or add -report)
>
>> Unknown decoder 'libx264'
>
>Carl Eugen
>

OK will do, but as you have everything including command line and UNCUT output i did not see this as a problem.
replace "$file" with "/mnt/media1/Jukebox_upload/Front 242 - Headhunter.mpg"
replace "$DEST_DIR/$tsfile" with "/mnt/media1/Jukebox/Front 242 - Headhunter.ts" 

or to be pedantic

replace "$DEST_DIR" with "/mnt/media1/Jukebox"
and
replace "$tsfile" with "Front 242 - Headhunter.ts"

joolz


More information about the ffmpeg-user mailing list