[FFmpeg-user] Question regarding encoding a file

Moritz Barsnick barsnick at gmx.net
Sun Jun 3 05:16:04 EEST 2018


On Sat, Jun 02, 2018 at 10:47:55 +0200, Paweł Więch wrote:
> I want to do a very specific thing.

And that's a secret?

> Is it possible with ffmpeg libraries to encode WAV file to MP3 320cbr 
> stereo or joiint stereo with build in libmp3lame/lavfformat?

Of course.

> Every time output file is encoded using lavc instead lavf.

lavc is for the encoder, lavf is responsible for the container.

> Somehow it must be possible because google play store encodes that way i 
> supose.

Well, if that is so, they change something about the metadata.

> If you know how to do it i would apreaciate it a command line tip :)

I still don't understand *why*.

Nevertheless, if you need to change the stream metadata from "Lavc" to
"Lavf", you can just add "-metadata:s:0=Lavf" as an output option. (I
didn't check with foobar2000.)

Moritz


More information about the ffmpeg-user mailing list