Knowledge Base

← Knowledge Base

FFMpeg

$ ffmpeg -i LostInTranslation.mkv -vcodec copy -acodec copy LostInTranslation.mp4

See http://askubuntu.com/questions/396883/ddg#396906.

Please log in to rate this.
0 people found this helpful.

0 Comments - Leave a Comment

$ ffmpeg -i input.wav -codec:a libmp3lame -qscale:a 2 output.mp3

A table with options mapped to lame can be found at https://trac.ffmpeg.org/wiki/Encode/MP3.

Please log in to rate this.
0 people found this helpful.

0 Comments - Leave a Comment

$ ffmpeg -i input.mp4 -c:v copy -c:a libfdk_aac -b:a 384k output.mp4

Please log in to rate this.
0 people found this helpful.

0 Comments - Leave a Comment

This is, what the -map option is for. In the simplest form you just select one after another stream from the sources with the form <file>:<stream>. So for example to select the first stream from the first input file, use 0:0.

See https://ffmpeg.org/ffmpeg.html#toc-Advanced-options.

Please log in to rate this.
0 people found this helpful.

0 Comments - Leave a Comment

← Knowledge Base

Leave a Reply

Your email address will not be published. Required fields are marked *