[SCM] videotrans/master: ffmpeg -> avconv conversion.

Alessio Treglia alessio at debian.org
Mon Oct 15 00:47:13 UTC 2012


Hi everybody,

On Mon, Oct 15, 2012 at 1:44 AM,  <alessio at users.alioth.debian.org> wrote:
> +--- videotrans.orig/data/library.sh.in
> ++++ videotrans/data/library.sh.in
> +@@ -250,15 +250,15 @@ audio_params()
> +       then
> +               if [ "${force_or_auto}" = "ac3" ]
> +               then
> +-                      msg="${msg}Converting the audio from WAV to AC3 with ${new_ch} channels using ffmpeg. "
> ++                      msg="${msg}Converting the audio from WAV to AC3 with ${new_ch} channels using avconv. "
> +                       if [ "${audio_bitrate_override}" != "auto" -a "${audio_bitrate_override}" != "" ]
> +                       then
> +-                              audio_encode="ffmpeg -y -v 0 -f wav -i /dev/stdin -ab ${audio_bitrate_override}k -ar 48000 -ac ${new_ch} `shellescape "${output}.ac3"`"
> ++                              audio_encode="avconv -y -v 0 -f wav -i /dev/stdin -b:a ${audio_bitrate_override}k -ar 48000 -ac ${new_ch} `shellescape "${output}.ac3"`"
> +                       elif [ "${new_ch}" = "2" ]
> +                       then
> +-                              audio_encode="ffmpeg -y -v 0 -f wav -i /dev/stdin -ab 192k -ar 48000 -ac ${new_ch} `shellescape "${output}.ac3"`"
> ++                              audio_encode="avconv -y -v 0 -f wav -i /dev/stdin -b:a 192k -ar 48000 -ac ${new_ch} `shellescape "${output}.ac3"`"
> +                       else
> +-                              audio_encode="ffmpeg -y -v 0 -f wav -i /dev/stdin -ab 448k -ar 48000 -ac ${new_ch} `shellescape "${output}.ac3"`"
> ++                              audio_encode="avconv -y -v 0 -f wav -i /dev/stdin -b:a 448k -ar 48000 -ac ${new_ch} `shellescape "${output}.ac3"`"
> +                       fi
> +                       audio_ext="ac3"
> +               else

Could any libav expert take a look at the few lines above? Do they look good?

-- 
Alessio Treglia          | www.alessiotreglia.com
Debian Developer         | alessio at debian.org
Ubuntu Core Developer    | quadrispro at ubuntu.com
0416 0004 A827 6E40 BB98 90FB E8A4 8AE5 311D 765A



More information about the pkg-multimedia-maintainers mailing list