Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Free and Open Source Software
  3. Fast video converter for Linux?

Fast video converter for Linux?

Scheduled Pinned Locked Moved Free and Open Source Software
foss
18 Posts 11 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S This user is from outside of this forum
    S This user is from outside of this forum
    [email protected]
    wrote last edited by
    #1

    Context: I'm currently using an older Samsung phone to convert h264 dashcam videos to HEVC/h265 to save space. These are many, 10 minute long videos, and the process is incredibly labour intensive, since I have to do each one manually.

    The conversion itself is really fast (maybe 2-3 minutes), and the results are excellent (usually half the size with the same quality).

    Question: Is there software for Linux that can convert at similar speeds, preferably batched? Handbreak has been incredibly slow.

    Caveat: I'm using a Framework 13 (11th gen Intel) laptop with an Intel integrated graphics card, so I can't really leverage that in the same way a dedicated GPU can be. But still, I can only imagine that my laptop should be able to outperform my super old phone! LOL

    I'm not really looking to compress the videos (I've experimented, and the quality loss from an already "poor" source just doesn't cut it). HEVC/h265 conversion would be ideal.

    Is there anything else I can try?

    S N anon5621@lemmy.mlA I 4 7 Replies Last reply
    21
    • S [email protected]

      Context: I'm currently using an older Samsung phone to convert h264 dashcam videos to HEVC/h265 to save space. These are many, 10 minute long videos, and the process is incredibly labour intensive, since I have to do each one manually.

      The conversion itself is really fast (maybe 2-3 minutes), and the results are excellent (usually half the size with the same quality).

      Question: Is there software for Linux that can convert at similar speeds, preferably batched? Handbreak has been incredibly slow.

      Caveat: I'm using a Framework 13 (11th gen Intel) laptop with an Intel integrated graphics card, so I can't really leverage that in the same way a dedicated GPU can be. But still, I can only imagine that my laptop should be able to outperform my super old phone! LOL

      I'm not really looking to compress the videos (I've experimented, and the quality loss from an already "poor" source just doesn't cut it). HEVC/h265 conversion would be ideal.

      Is there anything else I can try?

      S This user is from outside of this forum
      S This user is from outside of this forum
      [email protected]
      wrote last edited by
      #2

      Everyone uses ffmpeg for this and Handbrake probably uses it also. I do most of my own conversions on a cheap dedicated server so it's not a big deal if it takes a while, but yeah, h265 is slow.

      gammagames@beehaw.orgG S 2 Replies Last reply
      18
      • S [email protected]

        Context: I'm currently using an older Samsung phone to convert h264 dashcam videos to HEVC/h265 to save space. These are many, 10 minute long videos, and the process is incredibly labour intensive, since I have to do each one manually.

        The conversion itself is really fast (maybe 2-3 minutes), and the results are excellent (usually half the size with the same quality).

        Question: Is there software for Linux that can convert at similar speeds, preferably batched? Handbreak has been incredibly slow.

        Caveat: I'm using a Framework 13 (11th gen Intel) laptop with an Intel integrated graphics card, so I can't really leverage that in the same way a dedicated GPU can be. But still, I can only imagine that my laptop should be able to outperform my super old phone! LOL

        I'm not really looking to compress the videos (I've experimented, and the quality loss from an already "poor" source just doesn't cut it). HEVC/h265 conversion would be ideal.

        Is there anything else I can try?

        N This user is from outside of this forum
        N This user is from outside of this forum
        [email protected]
        wrote last edited by [email protected]
        #3

        ffmpeg is usually the tool of choice.

        An example for batch converting of all AVI videos in a folder:

        for i in *.avi; do ffmpeg -i "$i" "${i%.*}.mp4"; done

        Source & further reading here on StackOverflow. The comments to the answer provide examples of how to explicitly tweak the quality level. Inverting what this specific comment suggests, conversion from H264 to H265 could be done by something like this, assuming all your videos' names end on .mkv:

        for f in *.mkv; do ffmpeg -i "$f" -map 0 -movflags faststart -c:v libx265 -c:a copy -c:s copy "${f/x264/x265}"; done

        I wonder: if one wants to make things run in parallel, would that be as easy as adding " & " before the last semicolon here? I suspect this could work as long as there are only a few handful of files, but lead to troubles once there's more.

        1 Reply Last reply
        8
        • S [email protected]

          Context: I'm currently using an older Samsung phone to convert h264 dashcam videos to HEVC/h265 to save space. These are many, 10 minute long videos, and the process is incredibly labour intensive, since I have to do each one manually.

          The conversion itself is really fast (maybe 2-3 minutes), and the results are excellent (usually half the size with the same quality).

          Question: Is there software for Linux that can convert at similar speeds, preferably batched? Handbreak has been incredibly slow.

          Caveat: I'm using a Framework 13 (11th gen Intel) laptop with an Intel integrated graphics card, so I can't really leverage that in the same way a dedicated GPU can be. But still, I can only imagine that my laptop should be able to outperform my super old phone! LOL

          I'm not really looking to compress the videos (I've experimented, and the quality loss from an already "poor" source just doesn't cut it). HEVC/h265 conversion would be ideal.

          Is there anything else I can try?

          anon5621@lemmy.mlA This user is from outside of this forum
          anon5621@lemmy.mlA This user is from outside of this forum
          [email protected]
          wrote last edited by [email protected]
          #4

          Try shutter its gui for ffmpeg https://www.shutterencoder.com/
          And still I would use av1 or vp9

          S 1 Reply Last reply
          4
          • S [email protected]

            Everyone uses ffmpeg for this and Handbrake probably uses it also. I do most of my own conversions on a cheap dedicated server so it's not a big deal if it takes a while, but yeah, h265 is slow.

            gammagames@beehaw.orgG This user is from outside of this forum
            gammagames@beehaw.orgG This user is from outside of this forum
            [email protected]
            wrote last edited by
            #5

            It does, handbrake is a fantastic piece of software

            1 Reply Last reply
            4
            • anon5621@lemmy.mlA [email protected]

              Try shutter its gui for ffmpeg https://www.shutterencoder.com/
              And still I would use av1 or vp9

              S This user is from outside of this forum
              S This user is from outside of this forum
              [email protected]
              wrote last edited by
              #6

              Try shutter its gui for ffmpeg https://www.shutterencoder.com/

              This looks nice!

              And still I would use av1 or vp9

              Reasons?

              The videos I'm trying to convert are not the type that I'd need to play through Jellyfin or anything like that. More archival dash cam footage that does need to be accessible. Small size without (much) quality loss is my priority, but I can't spend 12h a day converting them over. 😵‍💫

              anon5621@lemmy.mlA 1 Reply Last reply
              0
              • S [email protected]

                Context: I'm currently using an older Samsung phone to convert h264 dashcam videos to HEVC/h265 to save space. These are many, 10 minute long videos, and the process is incredibly labour intensive, since I have to do each one manually.

                The conversion itself is really fast (maybe 2-3 minutes), and the results are excellent (usually half the size with the same quality).

                Question: Is there software for Linux that can convert at similar speeds, preferably batched? Handbreak has been incredibly slow.

                Caveat: I'm using a Framework 13 (11th gen Intel) laptop with an Intel integrated graphics card, so I can't really leverage that in the same way a dedicated GPU can be. But still, I can only imagine that my laptop should be able to outperform my super old phone! LOL

                I'm not really looking to compress the videos (I've experimented, and the quality loss from an already "poor" source just doesn't cut it). HEVC/h265 conversion would be ideal.

                Is there anything else I can try?

                I This user is from outside of this forum
                I This user is from outside of this forum
                [email protected]
                wrote last edited by
                #7

                You're wrong about not being able to levelage your Intel graphics. Intel 11th gen has hardware HEVC (h265) encoding. Your Samsung phone probably also has HEVC hardware encoding faster than your CPU encoding. You want the ffmpeg hevc_vaapi codec, and it should go even faster if you use -hwaccel vaapi for decoding.

                S 1 Reply Last reply
                9
                • I [email protected]

                  You're wrong about not being able to levelage your Intel graphics. Intel 11th gen has hardware HEVC (h265) encoding. Your Samsung phone probably also has HEVC hardware encoding faster than your CPU encoding. You want the ffmpeg hevc_vaapi codec, and it should go even faster if you use -hwaccel vaapi for decoding.

                  S This user is from outside of this forum
                  S This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #8

                  I know it can be leveraged, but it's not nearly as powerful as a dedicated GPU. I was converting in Windows using Intel Quick Sync, but never found it to be "fast", at least not when compared to my old Samsung phone.

                  Thanks for the tip, though. I will try to leverage it!

                  1 Reply Last reply
                  1
                  • S [email protected]

                    Everyone uses ffmpeg for this and Handbrake probably uses it also. I do most of my own conversions on a cheap dedicated server so it's not a big deal if it takes a while, but yeah, h265 is slow.

                    S This user is from outside of this forum
                    S This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #9

                    Handbreak is really slow, though. For context, in the time it takes handbreak to convert one of these videos, I would have done like 5 or 6 on my smartphone.

                    Batch conversion is great, though. I just need it to be done in less than an entire day. 😢

                    mangopenguin@lemmy.blahaj.zoneM 1 Reply Last reply
                    1
                    • S [email protected]

                      Handbreak is really slow, though. For context, in the time it takes handbreak to convert one of these videos, I would have done like 5 or 6 on my smartphone.

                      Batch conversion is great, though. I just need it to be done in less than an entire day. 😢

                      mangopenguin@lemmy.blahaj.zoneM This user is from outside of this forum
                      mangopenguin@lemmy.blahaj.zoneM This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #10

                      Did you set it up to use Intel Quicksync? If you're using CPU only it's going to be insanely slow.

                      so I can’t really leverage that in the same way a dedicated GPU can be.

                      You can, and Intel Quicksync is often better than a dedicated GPU for transcoding video.

                      S 1 Reply Last reply
                      5
                      • S [email protected]

                        Try shutter its gui for ffmpeg https://www.shutterencoder.com/

                        This looks nice!

                        And still I would use av1 or vp9

                        Reasons?

                        The videos I'm trying to convert are not the type that I'd need to play through Jellyfin or anything like that. More archival dash cam footage that does need to be accessible. Small size without (much) quality loss is my priority, but I can't spend 12h a day converting them over. 😵‍💫

                        anon5621@lemmy.mlA This user is from outside of this forum
                        anon5621@lemmy.mlA This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #11

                        VP9 is actually very good when it comes to reducing file size without a big hit to quality. It usually gives you smaller files than H.265 for the same visual result.
                        AV1 takes that a step further. It’s currently the best option if your goal is to get the smallest file size while keeping as much of the original quality as possible. It’s more efficient than both H.265 and VP9 in that regard.
                        The only tradeoff is that AV1 takes longer to encode, especially on CPUs without dedicated hardware support but for archiving purposes where speed isn’t critical, it’s often worth it.

                        1 Reply Last reply
                        2
                        • S [email protected]

                          Context: I'm currently using an older Samsung phone to convert h264 dashcam videos to HEVC/h265 to save space. These are many, 10 minute long videos, and the process is incredibly labour intensive, since I have to do each one manually.

                          The conversion itself is really fast (maybe 2-3 minutes), and the results are excellent (usually half the size with the same quality).

                          Question: Is there software for Linux that can convert at similar speeds, preferably batched? Handbreak has been incredibly slow.

                          Caveat: I'm using a Framework 13 (11th gen Intel) laptop with an Intel integrated graphics card, so I can't really leverage that in the same way a dedicated GPU can be. But still, I can only imagine that my laptop should be able to outperform my super old phone! LOL

                          I'm not really looking to compress the videos (I've experimented, and the quality loss from an already "poor" source just doesn't cut it). HEVC/h265 conversion would be ideal.

                          Is there anything else I can try?

                          4 This user is from outside of this forum
                          4 This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #12

                          Didn’t ffmpeg just post another huge speed gain?

                          yodadacoda@aussie.zoneY 1 Reply Last reply
                          2
                          • S [email protected]

                            Context: I'm currently using an older Samsung phone to convert h264 dashcam videos to HEVC/h265 to save space. These are many, 10 minute long videos, and the process is incredibly labour intensive, since I have to do each one manually.

                            The conversion itself is really fast (maybe 2-3 minutes), and the results are excellent (usually half the size with the same quality).

                            Question: Is there software for Linux that can convert at similar speeds, preferably batched? Handbreak has been incredibly slow.

                            Caveat: I'm using a Framework 13 (11th gen Intel) laptop with an Intel integrated graphics card, so I can't really leverage that in the same way a dedicated GPU can be. But still, I can only imagine that my laptop should be able to outperform my super old phone! LOL

                            I'm not really looking to compress the videos (I've experimented, and the quality loss from an already "poor" source just doesn't cut it). HEVC/h265 conversion would be ideal.

                            Is there anything else I can try?

                            lemmchen@feddit.orgL This user is from outside of this forum
                            lemmchen@feddit.orgL This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #13

                            It won't get much faster than properly used Handbrake.

                            1 Reply Last reply
                            3
                            • 4 [email protected]

                              Didn’t ffmpeg just post another huge speed gain?

                              yodadacoda@aussie.zoneY This user is from outside of this forum
                              yodadacoda@aussie.zoneY This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #14

                              Only when using one specific obscure filter

                              1 Reply Last reply
                              1
                              • S [email protected]

                                Context: I'm currently using an older Samsung phone to convert h264 dashcam videos to HEVC/h265 to save space. These are many, 10 minute long videos, and the process is incredibly labour intensive, since I have to do each one manually.

                                The conversion itself is really fast (maybe 2-3 minutes), and the results are excellent (usually half the size with the same quality).

                                Question: Is there software for Linux that can convert at similar speeds, preferably batched? Handbreak has been incredibly slow.

                                Caveat: I'm using a Framework 13 (11th gen Intel) laptop with an Intel integrated graphics card, so I can't really leverage that in the same way a dedicated GPU can be. But still, I can only imagine that my laptop should be able to outperform my super old phone! LOL

                                I'm not really looking to compress the videos (I've experimented, and the quality loss from an already "poor" source just doesn't cut it). HEVC/h265 conversion would be ideal.

                                Is there anything else I can try?

                                hellfire103@lemmy.caH This user is from outside of this forum
                                hellfire103@lemmy.caH This user is from outside of this forum
                                [email protected]
                                wrote last edited by
                                #15

                                FFmpeg is your friend. Here's a command that should work:

                                mkdir converted; for i in *.mp4; do ffmpeg -i $i converted/${i::-3}.hevc; done
                                
                                1 Reply Last reply
                                5
                                • mangopenguin@lemmy.blahaj.zoneM [email protected]

                                  Did you set it up to use Intel Quicksync? If you're using CPU only it's going to be insanely slow.

                                  so I can’t really leverage that in the same way a dedicated GPU can be.

                                  You can, and Intel Quicksync is often better than a dedicated GPU for transcoding video.

                                  S This user is from outside of this forum
                                  S This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by
                                  #16

                                  Ok, you absolutely set me on the right path! I didn't realize that in Linux (using Flatpak Handbrake), I needed a separate plugin for Quicksync.

                                  I've been running tests, and tweaking the profiles, but goddamn is it fast now! Faster than when I was using it in Windows.

                                  Thank you!

                                  mangopenguin@lemmy.blahaj.zoneM 1 Reply Last reply
                                  2
                                  • S [email protected]

                                    Ok, you absolutely set me on the right path! I didn't realize that in Linux (using Flatpak Handbrake), I needed a separate plugin for Quicksync.

                                    I've been running tests, and tweaking the profiles, but goddamn is it fast now! Faster than when I was using it in Windows.

                                    Thank you!

                                    mangopenguin@lemmy.blahaj.zoneM This user is from outside of this forum
                                    mangopenguin@lemmy.blahaj.zoneM This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by
                                    #17

                                    Awesome! It definitely makes a huge difference, and the quality on 11th gen Intel should be nearly as good as CPU transcoding.

                                    S 1 Reply Last reply
                                    1
                                    • mangopenguin@lemmy.blahaj.zoneM [email protected]

                                      Awesome! It definitely makes a huge difference, and the quality on 11th gen Intel should be nearly as good as CPU transcoding.

                                      S This user is from outside of this forum
                                      S This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by
                                      #18

                                      And using the app "Identity" (also a Flatpak), comparing the quality differences is suuuuper easy!

                                      Goddamn, I love FOSS!

                                      1 Reply Last reply
                                      2
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • World
                                      • Users
                                      • Groups