[mdlug] Ffmpeg Problem

Ingles, Raymond Raymond.Ingles at compuware.com
Wed Jun 18 07:57:36 EDT 2014


> From: mdlug-bounces at mdlug.org [mailto:mdlug-bounces at mdlug.org] On Behalf Of Carl T. Miller
> Subject: Re: [mdlug] Ffmpeg Problem

> Or try using mplayer, since it can decode the file.

Yup. Here's a little script I use to convert videos to mp3s:
-----
#!/bin/bash

IFS=`printf '\n\t'`

#usage: file title artist album
mplayer -benchmark -vc null -vo null -ao pcm:fast:file=temp.wav $1

lame --preset standard --tt $2 --ta $3 --tl $4 temp.wav "$3 - $2.mp3"

mp3gain -r "$3 - $2.mp3"

rm temp.wav
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it


More information about the mdlug mailing list