Unsolved 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.
-
@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.
-
@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.
-
@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 ....
-
https://github.com/HaveAGitGat/Tdarr - this will transcode your entire library.
-
@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...
-
@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.
-
@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.
-
@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.
-
@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.
-
@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.