Adjust Video Bitrate with FFMPEG

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2024
  • FFmpeg is a free and open-source software project consisting of a large suite of libraries and programs for handling video, audio, and other multimedia files and streams. At its core is the FFmpeg program itself, designed for command-line-based processing of video and audio files.
    In this video I try to show how bitrate affects the file size and visual quality of a video. The FFMPEG command used in the video is attached below.
    From RAW to MP4 with bitrate adjustment:
    ffmpeg -re -f rawvideo -pix_fmt yuv420p -s:v 1920x1080 -i input.yuv -c:v libx264 -s 1920x1080 -flags cgop+ilme -sc_threshold 1000000000 -b:v 5M -minrate 5M -maxrate 5M -bufsize 3M -r 25 output.mp4
    From MP4 to MP4 with bitrate adjustment:
    ffmpeg -i input.mp4 -c:v libx264 -s 1920x1080 -flags cgop+ilme -sc_threshold 1000000000 -b:v 5M -minrate 5M -maxrate 5M -bufsize 3M -r 25 output.mp4

ความคิดเห็น • 2

  • @ignvb
    @ignvb ปีที่แล้ว

    Muchas gracias! Finalmente un tutorial que explica un poco de los fundamentos del cambio de tasa de bitrate 😶‍🌫

  • @wisetone
    @wisetone 4 หลายเดือนก่อน

    Is there a way to set avg bitrate like on handbrake in ffmpeg?