Video failed to load

FFmpeg - Convert Any Video Format to MP4

76 words
1 minute
FFmpeg - Convert Any Video Format to MP4

Sebetulnya, perintahnya sangat mudah, tapi supaya saya lebih mudah mengingatnya, maka saya akan abadikan dalam artikel ini1:

Terminal window
ffmpeg -i inputfile.ogv -c:v libx264 -c:a aac outputfile.mp4

Keterangan:

  1. -i inputfile.ogv adalah file video yang akan kita ubah formatnya, bisa video berformat .ogv, .mkv, .avi, .mov, dan lain-lain.
  2. -c libx264 setting video codec ke libx264 untuk MP4 (video encoding H.264).
  3. -c aac setting audio codec ke aac (advanced audio codec) yang umumnya digunakan untuk MP4.
  4. outputfile.mp4 output file MP4 yang diharapkan.

Footnotes#

  1. ChatGPT

Support & Share

If this article helped you, please share or support!

Sponsor
FFmpeg - Convert Any Video Format to MP4
https://shangdi.github.io/posts/tech/convertvideoformat/
Author
Wildan
Published at
2024-10-07

Comments

Profile Image of the Author
Wildan
Welcome! Wildan-desu.
Announcemenet
Welcome to my blog! Enjoy exploring ~
Categories
Tags
Latest Moments
Site Statistics
Posts
111
Categories
90
Tags
316
Total Words
576,048
Running Days
0 days
Last Activity
0 days ago
Site Info
Build Platform
GitHub Actions
Blog Version
Firefly v6.15.10
License
CC BY-NC-SA 4.0