• tiramichu@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    9 days ago

    I find it wild there are countless “convert videos online for free!” sites on the Internet full of bonus malware which are all just thin wrappers around ffmpeg. And yet they persist because people want googleable answers to their problem which don’t need a command line or downloading anything.

    Personally I’ve got a Python script which provides a slightly friendlier wrapper around ffmpeg for my common use-cases.

    But honestly ffmpeg is such a beast, so much of what we use daily depends on it under the hood.

  • Passerby6497@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 days ago

    Why learn ffmpeg when you can find the holy words that invokes the machine spirits transmutation codex and write them on your data slate to be used again later?

  • Ganbat@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 days ago

    Why learn when you can do what I do and look it up every single time you want to do something as though you are but a goldfish who learned to type?

  • WolfLink@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    8 days ago

    Compress video to a broadly compatible format:

    ffmpeg -i input -c:v libx264 -pix_fmt yuv420p -crf 25 -preset slow -c:a libfdk_aac -b:a 128k output.mp4
    

    This incantation is what I end up needing 99% of the time I do something with ffmpeg.

      • WolfLink@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        7 days ago

        I ran a comparison between libsvtav1 and h264 and h265 and found that libsvtav kinda sucks.

        It does produce smaller file sizes at h265, but it tends to add a visible blur.

        • Billegh@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          7 days ago

          Might be what you’re encoding. So far pretty much everything I’ve done has been visually indistinguishable (to me and my wife). Most of the content I’ve been encoding is anime, however.