ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unsolved Anyone have a script I can tweak to reencode my h264 media to hevc

    IT Discussion
    scripting hevc h265 h264
    7
    17
    1.6k
    Loading More Posts
    • 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.
    • gjacobseG
      gjacobse
      last edited by gjacobse

      It’s been quite a while since I worked with the different formats-
      What is the benefit of going hevc?

      1 1 Reply Last reply Reply Quote 0
      • 1
        1337 @gjacobse
        last edited by 1337

        @gjacobse said in Anyone have a script I can tweak to reencode my h264 media to hevc:

        It’s been quite a while since I worked with the different formats-
        What is the benefit of going hevc?

        25-50% better compression at the same video quality compared to h264.

        But it's not worth it to go from h264 to h265 just to save space - unless you can re-encode really, really fast. If you have a large enough movie collection where the space saving is meaningful (many TBs) it will take years to re-encode it, unless you have a monster machine to do it on.

        JaredBuschJ 1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @1337
          last edited by

          @Pete-S said in Anyone have a script I can tweak to reencode my h264 media to hevc:

          @gjacobse said in Anyone have a script I can tweak to reencode my h264 media to hevc:

          It’s been quite a while since I worked with the different formats-
          What is the benefit of going hevc?

          25-50% better compression at the same video quality compared to h264.

          But it's not worth it to go from h264 to h265 just to save space - unless you can re-encode really, really fast. If you have a large enough movie collection where the space saving is meaningful (many TBs) it will take years to re-encode it, unless you have a monster machine to do it on.

          I have spare compute just sitting there. And much of this is personal media encoded over the years.

          1 1 Reply Last reply Reply Quote 0
          • 1
            1337 @JaredBusch
            last edited by 1337

            @JaredBusch said in Anyone have a script I can tweak to reencode my h264 media to hevc:

            @Pete-S said in Anyone have a script I can tweak to reencode my h264 media to hevc:

            @gjacobse said in Anyone have a script I can tweak to reencode my h264 media to hevc:

            It’s been quite a while since I worked with the different formats-
            What is the benefit of going hevc?

            25-50% better compression at the same video quality compared to h264.

            But it's not worth it to go from h264 to h265 just to save space - unless you can re-encode really, really fast. If you have a large enough movie collection where the space saving is meaningful (many TBs) it will take years to re-encode it, unless you have a monster machine to do it on.

            I have spare compute just sitting there. And much of this is personal media encoded over the years.

            Sure, I'm just saying it's usually not worth it if you consider how long it will take and what you'll save. But I mean you can do it for other reasons and have the space saved as a bonus.

            For instance if the speed you have is 0.5x and the videos you have are 2GB per hour of recording, you will save 0.5GB for every hour of encoding.

            If you want to save 1 TB for instance that means you need to have your machine encoding at 100% CPU for 2000 hours straight. That's a little more than 40 days. If your computer consumes 100W at full load you will consume $28 of electricity (14 cents per kWh). And a 1TB harddrive is something like $40.

            If you have a larger movie collection say 10,000 movies @ 90 minutes runtime, you'll have 30,000 hours of encoding ahead of you before you've finished that job. That will take 3.5 years.

            JaredBuschJ 1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @1337
              last edited by

              @Pete-S said in Anyone have a script I can tweak to reencode my h264 media to hevc:

              If you have a larger movie collection say 10,000 movies @ 90 minutes runtime, you'll have 30,000 hours of encoding ahead of you before you've finished that job. That will take 3.5 years.

              And who would legally have something like that? Anyone who was in that scenario would just ☠ download as needed.

              DustinB3403D scottalanmillerS 2 Replies Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403 @JaredBusch
                last edited by

                @JaredBusch said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                @Pete-S said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                If you have a larger movie collection say 10,000 movies @ 90 minutes runtime, you'll have 30,000 hours of encoding ahead of you before you've finished that job. That will take 3.5 years.

                And who would legally have something like that? Anyone who was in that scenario would just ☠ download as needed.

                That's only like .02% of all movies ever made in the world. . . don't you have enough capacity for all of those C and D rate movies @JaredBusch ....

                1 Reply Last reply Reply Quote 1
                • M
                  marcinozga
                  last edited by

                  https://github.com/HaveAGitGat/Tdarr - this will transcode your entire library.

                  JaredBuschJ 1 Reply Last reply Reply Quote 1
                  • JaredBuschJ
                    JaredBusch @marcinozga
                    last edited by

                    @marcinozga said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                    https://github.com/HaveAGitGat/Tdarr - this will transcode your entire library.

                    I found that, but I don't need a web app to do a basic conversion. Why install MongoDB, etc...

                    DustinB3403D stacksofplatesS 2 Replies Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403 @JaredBusch
                      last edited by

                      @JaredBusch said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                      @marcinozga said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                      https://github.com/HaveAGitGat/Tdarr - this will transcode your entire library.

                      I found that, but I don't need a web app to do a basic conversion. Why install MongoDB, etc...

                      They link to a desktop driven solution as well.

                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @DustinB3403
                        last edited by

                        @DustinB3403 said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                        @JaredBusch said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                        @marcinozga said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                        https://github.com/HaveAGitGat/Tdarr - this will transcode your entire library.

                        I found that, but I don't need a web app to do a basic conversion. Why install MongoDB, etc...

                        They link to a desktop driven solution as well.

                        That required HandBrake CLI.

                        DustinB3403D 1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403 @JaredBusch
                          last edited by

                          @JaredBusch said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                          @DustinB3403 said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                          @JaredBusch said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                          @marcinozga said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                          https://github.com/HaveAGitGat/Tdarr - this will transcode your entire library.

                          I found that, but I don't need a web app to do a basic conversion. Why install MongoDB, etc...

                          They link to a desktop driven solution as well.

                          That required HandBrake CLI.

                          I assume that's an issue for you.

                          1 Reply Last reply Reply Quote 0
                          • stacksofplatesS
                            stacksofplates @JaredBusch
                            last edited by

                            @JaredBusch said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                            @marcinozga said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                            https://github.com/HaveAGitGat/Tdarr - this will transcode your entire library.

                            I found that, but I don't need a web app to do a basic conversion. Why install MongoDB, etc...

                            Just use a container and you don't need to install any of that. They have a Dockerfile in the repo.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @JaredBusch
                              last edited by

                              @JaredBusch said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                              @Pete-S said in Anyone have a script I can tweak to reencode my h264 media to hevc:

                              If you have a larger movie collection say 10,000 movies @ 90 minutes runtime, you'll have 30,000 hours of encoding ahead of you before you've finished that job. That will take 3.5 years.

                              And who would legally have something like that? Anyone who was in that scenario would just ☠ download as needed.

                              I don't, but had I stayed collecting like I used to, I'd be pretty close at this point.

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post