summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2012-07-12 16:05:48 +0200
committerJonas Smedegaard <dr@jones.dk>2012-07-12 16:05:48 +0200
commit7d92ef0ddf6f19cf78bbeca4d36bb532c263af36 (patch)
tree481ef510f9c0774bd169d2791f4f369c54cba122 /localvideowebencode
parent44a9a3e4954457d23ad882d6a5317b981323ba45 (diff)
Use audio codec aac (not libvo_aacenc unrecognized with recent MLT).
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-xlocalvideowebencode2
1 files changed, 1 insertions, 1 deletions
diff --git a/localvideowebencode b/localvideowebencode
index fe217e2..4ed0bcb 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -134,7 +134,7 @@ melt -group $args_in $infiles -group $filters -consumer avformat:"$stem.ogg" f=o
## H.264/AAC/MP4
melt -group $args_in $infiles -group $filters -consumer avformat:/dev/null properties=x264-medium-pass1 properties=x264-medium-$h264profile $args $args_out
-melt -group $args_in $infiles -group $filters -consumer avformat:"$stem.mp4" pass=2 properties=x264-medium-$h264profile $args acodec=libvo_aacenc $args_audio $args_out
+melt -group $args_in $infiles -group $filters -consumer avformat:"$stem.mp4" pass=2 properties=x264-medium-$h264profile $args acodec=aac $args_audio $args_out
mv "$stem.mp4" "$stem.mp4"~
qt-faststart "$stem.mp4"~ "$stem.mp4"
[ -f "$stem.mp4" ] && rm "$stem.mp4"~ || exit1 "failed to optimize with qt-faststart."