I'm going to archive some youtube videos, what's the proper way to change it from mp4 to webm to etc etc or vice versa?

In the past when I couldn't run a video file for whatever reason I would just rename the file, but I'm assuming there's better ways to do it. And is there a specific order I have to go in? (e.g. with audio going from .mp3 to .flac doesn't make sense.)

Thanks in advance.

  • Ashy@lemmy.wtf
    ·
    edit-2
    5 months ago

    There is really no point in changing a video from mp4 to mkv oder webm. It's just the container. If the video doesn't play on some devides its because of the codec. If you want it to play on as many devices as possible, You want your videos h264 encoded. For more modern devices you can use HEVC/h265 and safe some space on file size.

    If use ffmpeg for conversion.

    • imkali@lemmy.dbzer0.com
      hexagon
      ·
      5 months ago

      Thanks, it's more for the sake of having it playing comfortably on as many devices as possible without the user having to do anything, even in weird cases, so I guess I'll convert with ffmpeg.