Video failed to load

FFmpeg - Convert Any Video Format to MP4

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://secretblog.my.id/posts/tech/convertvideoformat/
Author
Wildan
Published at
2024-10-07

Comments

Profile Image of the Author
Wildan
Welcome! Wildan-desu.
Greetings
You've found out my secret blog?! Welcome to my blog, then! Enjoy exploring 😄
Categories
Tags
Latest Moments
Site Statistics
Posts
114
Categories
93
Tags
329
Total Words
607,415
Running Days
0 days
Last Activity
0 days ago
Site Info
Build Platform
GitHub Actions
Blog Version
Firefly v6.16.8
License
CC BY-NC-SA 4.0
Quote of The Day ✨
"Start where you are. Use what you have. Do what you can."
—— Arthur Ashe
Table of Contents