ffmpeg video to mp3
ffmpeg -i "file.mkv" -vn -ar 44100 -ac 2 -ab 128k -f mp3 "file.mp3"
ffmpeg video to mp3
ffmpeg -i "file.mkv" -vn -ar 44100 -ac 2 -ab 128k -f mp3 "file.mp3"
converting mp3 with FFMPEG
ffmpeg -i input.mp3 output.ogg
how to transcode a video in python using ffmpeg
ffmpeg -i input.mkv -c:a copy -s hd720 output.mkv
This modifies the video to 1280x720 in the output, but you can set the width and height manually if you want:
ffmpeg -i input.mkv -c:a copy -s 1280x720 output.mkv
This produces the exact same output as the earlier command. If you want to set custom sizes in FFmpeg, please remember that the width parameter (1280) comes before height (720).
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us