[Solved] Convert .mp4 file to .3gp
Posted: 28. Nov 2012, 23:35
Hello, I was trying to convert a mp4 file to .3p using the following script:
#!/bin/bash
for f in *.mp4
do
name=`echo "$f" | sed -e "s/.mp4$//g"`
ffmpeg -i "$f" -vcodec h263 -s qcif -r 15 -b 100k -acodec libfaac -ac 1 -ar 32000 -ab 64k -f 3gp "$name.3gp"
done
but the conversion didn't even start as the output was
Unknown encoder 'libfaac'
I have taken a look at the ffmpeg package installed by default in Salix and found that libfaac is disabled. I assume that by enabling it the script should work but which is the command that makes ffmpeg enable libfaac?
Thanks in advance for support.
Antonio
#!/bin/bash
for f in *.mp4
do
name=`echo "$f" | sed -e "s/.mp4$//g"`
ffmpeg -i "$f" -vcodec h263 -s qcif -r 15 -b 100k -acodec libfaac -ac 1 -ar 32000 -ab 64k -f 3gp "$name.3gp"
done
but the conversion didn't even start as the output was
Unknown encoder 'libfaac'
I have taken a look at the ffmpeg package installed by default in Salix and found that libfaac is disabled. I assume that by enabling it the script should work but which is the command that makes ffmpeg enable libfaac?
Thanks in advance for support.
Antonio