[mdlug] Ffmpeg Problem

Frank Peters frank.peters at comcast.net
Wed Jun 18 09:44:28 EDT 2014


On Wed, 18 Jun 2014 11:57:36 +0000
"Ingles, Raymond" <Raymond.Ingles at compuware.com> wrote:

> 
> > Or try using mplayer, since it can decode the file.
> 
> Yup. Here's a little script I use to convert videos to mp3s:
> 
> #usage: file title artist album
> mplayer -benchmark -vc null -vo null -ao pcm:fast:file=temp.wav $1
> 

Doesn't mplayer use ffmpeg as a backend?  Using mplayer is then
no different from using ffmpeg.

The problem with your script is that audio in a video container
is usually compressed.  Decompressing to a wav file and then
re-compressing to mp3 is not the ideal solution.

It would be best to dump the audio in its compressed form,
whatever form that may be, and then use it in that form only.

This is the reason for wanting to use the "ffmpeg -copy"
or "mplayer -dumpaudio" options.

Of course all of this is moot unless you are a technical
purist since any differences may not be audible.

 




> 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
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug


More information about the mdlug mailing list