Jump to content

Hi everyone, over the past years i've managed to create a good library of videos, some recorded and edited by myself, others are Just rips of blurays i had on hand. Problem is i am getting cose to fill up my 2 TB HDD, and i don't want to get rid of anything Just yet (i have plans to build a good NAS, but not now). To Save up some space i thought I can just encode all the videos in h265. What is the best way? Encode directly from h264 to h265? Or to a lossless codec First and than to h265?

 

I made a try yesterday, encoded One of the rips directly to h265 with fast preset and quality 14. Ended up saving "only" 2GB (from like 8GB to 6GB). Looking forward for your suggestion.

Link to comment
https://linustechtips.com/topic/833883-converting-to-h265/
Share on other sites

Link to post
Share on other sites

Don't go to lossless first. It's unnecessary. What are your system specs? Unless you have a very modern cpu, you'll be spending a long time to reencode all of those. The other option is using the hardware encoder on nvidia graphics cards. That'll be able to encode directly to h.265 fairly quickly but it simply won't be as efficient as CPU encoding so the quality-file size ratio will only be slightly better than a well-optimized h.264.

Link to comment
https://linustechtips.com/topic/833883-converting-to-h265/#findComment-10423256
Share on other sites

Link to post
Share on other sites

I'd just buy another HDD personally. Especially as you are planning on buying a NAS anyway some time in the future, so if you made a start on getting a HDD or 2 now it won't matter, you can get a 3TB WD red for around £95 in the UK.

Anyway, so if you go that route you then don't have to recode your media, which I assume you have at the required bitrate for your preference?  Then when you do buy a NAS, you can just transfer the media to that, and keep what disks you have in the PC for backups. You really need to have backups BTW.

Please quote my post, or put @paddy-stone if you want me to respond to you.

Spoiler
  • PCs:- 
  • Main PC build  https://uk.pcpartpicker.com/list/2K6Q7X
  • ASUS x53e  - i7 2670QM / Sony BD writer x8 / Win 10, Elemetary OS, Ubuntu/ Samsung 830 SSD
  • Lenovo G50 - 8Gb RAM - Samsung 860 Evo 250GB SSD - DVD writer
  •  
  • Displays:-
  • Philips 55 OLED 754 model
  • Panasonic 55" 4k TV
  • LG 29" Ultrawide
  • Philips 24" 1080p monitor as backup
  •  
  • Storage/NAS/Servers:-
  • ESXI/test build  https://uk.pcpartpicker.com/list/4wyR9G
  • Main Server https://uk.pcpartpicker.com/list/3Qftyk
  • Backup server - HP Proliant Gen 8 4 bay NAS running FreeNAS ZFS striped 3x3TiB WD reds
  • HP ProLiant G6 Server SE316M1 Twin Hex Core Intel Xeon E5645 2.40GHz 48GB RAM
  •  
  • Gaming/Tablets etc:-
  • Xbox One S 500GB + 2TB HDD
  • PS4
  • Nvidia Shield TV
  • Xiaomi/Pocafone F2 pro 8GB/256GB
  • Xiaomi Redmi Note 4

 

  • Unused Hardware currently :-
  • 4670K MSI mobo 16GB ram
  • i7 6700K  b250 mobo
  • Zotac GTX 1060 6GB Amp! edition
  • Zotac GTX 1050 mini

 

 

Link to comment
https://linustechtips.com/topic/833883-converting-to-h265/#findComment-10423276
Share on other sites

Link to post
Share on other sites

H265 will only bring you about 10-20% disk space savings for the same quality.

 

You've already lost some detail going from 40+ GB bluray to 8 GB h264 encodings, and h265 encoders make different decisions about what should remain in the video (what your eyes will miss or not) so you'll have another layer of losses added to what h264 encoding process already did.

 

It's not worth the time and the loss of quality for so little disk space saved. You'd probably gain almost as much by converting the audio tracks from 5.1 or 7.1 DTS Master or whatever is used this day which typically uses 1.5 mbps , down to 5.1 Opus or AAC which will do very decent results with just 64-80 kbps per channel , or 320-384 kbps of audio bitrate. You'll save around 700 MB - 1 GB of data this way and unless you have a really high end system or some system that can take the DTS Master through some optical / coax digital and decode it for you, then you won't really notice the differences.

 

My advise would be to just make an effort and buy a decent 3-4 TB hard drive. Eventually you're still going to need the extra disk space.

Link to comment
https://linustechtips.com/topic/833883-converting-to-h265/#findComment-10423316
Share on other sites

Link to post
Share on other sites

1 hour ago, ryan27968 said:

Don't go to lossless first. It's unnecessary. What are your system specs? Unless you have a very modern cpu, you'll be spending a long time to reencode all of those. The other option is using the hardware encoder on nvidia graphics cards. That'll be able to encode directly to h.265 fairly quickly but it simply won't be as efficient as CPU encoding so the quality-file size ratio will only be slightly better than a well-optimized h.264.

I have hands on 2 i7 4790k rigs which are used only some hours each day, so they can spend the rest of the time encoding the video. So what settings do you advice me to use for the x265 encoder, to maintain good enough quality while saving some space?

1 hour ago, paddy-stone said:

I'd just buy another HDD personally. 

 

1 hour ago, mariushm said:

My advise would be to just make an effort and buy a decent 3-4 TB hard drive. Eventually you're still going to need the extra disk space.

It's an external HDD...I've backups of the things I really care all over the place. I just want to save space on that HDD since it is portable and I can easily bring it to friend's house and on trips.

Link to comment
https://linustechtips.com/topic/833883-converting-to-h265/#findComment-10423391
Share on other sites

Link to post
Share on other sites

2 hours ago, Guarino said:

I have hands on 2 i7 4790k rigs which are used only some hours each day, so they can spend the rest of the time encoding the video. So what settings do you advice me to use for the x265 encoder, to maintain good enough quality while saving some space?

 

It's an external HDD...I've backups of the things I really care all over the place. I just want to save space on that HDD since it is portable and I can easily bring it to friend's house and on trips.

Ahh OK, sorry I misunderstood. You will need HDDs for the NAS you want to buy/build though, so might be an option if you have no other choice.

With converting/recoding them, it's a long process unless you don't care if they lose quality or have glitches in them... you don't want to delete the ones you have until you've checked the recoded files to see if they're OK IMO. For simple recodes you could use DIVX converter, despite the name (it's because the company is older now), they actually have some good presets for recoding if you want to give it a shot.

Please quote my post, or put @paddy-stone if you want me to respond to you.

Spoiler
  • PCs:- 
  • Main PC build  https://uk.pcpartpicker.com/list/2K6Q7X
  • ASUS x53e  - i7 2670QM / Sony BD writer x8 / Win 10, Elemetary OS, Ubuntu/ Samsung 830 SSD
  • Lenovo G50 - 8Gb RAM - Samsung 860 Evo 250GB SSD - DVD writer
  •  
  • Displays:-
  • Philips 55 OLED 754 model
  • Panasonic 55" 4k TV
  • LG 29" Ultrawide
  • Philips 24" 1080p monitor as backup
  •  
  • Storage/NAS/Servers:-
  • ESXI/test build  https://uk.pcpartpicker.com/list/4wyR9G
  • Main Server https://uk.pcpartpicker.com/list/3Qftyk
  • Backup server - HP Proliant Gen 8 4 bay NAS running FreeNAS ZFS striped 3x3TiB WD reds
  • HP ProLiant G6 Server SE316M1 Twin Hex Core Intel Xeon E5645 2.40GHz 48GB RAM
  •  
  • Gaming/Tablets etc:-
  • Xbox One S 500GB + 2TB HDD
  • PS4
  • Nvidia Shield TV
  • Xiaomi/Pocafone F2 pro 8GB/256GB
  • Xiaomi Redmi Note 4

 

  • Unused Hardware currently :-
  • 4670K MSI mobo 16GB ram
  • i7 6700K  b250 mobo
  • Zotac GTX 1060 6GB Amp! edition
  • Zotac GTX 1050 mini

 

 

Link to comment
https://linustechtips.com/topic/833883-converting-to-h265/#findComment-10423695
Share on other sites

Link to post
Share on other sites

1 hour ago, paddy-stone said:

With converting/recoding them, it's a long process unless you don't care if they lose quality or have glitches in them... you don't want to delete the ones you have until you've checked the recoded files to see if they're OK IMO. For simple recodes you could use DIVX converter, despite the name (it's because the company is older now), they actually have some good presets for recoding if you want to give it a shot.

I actually care about loosing quality and I don't really have time limitation (even if it takes a month to re-encode all of them, I'm still ok with it). For the Blu-Ray rips especially. So I think it will be better to go with something like HandBrake or StaxRip. So I am looking for some good settings to encode without loosing too much quality. Can you help?

Link to comment
https://linustechtips.com/topic/833883-converting-to-h265/#findComment-10424051
Share on other sites

Link to post
Share on other sites

6 hours ago, Guarino said:

I actually care about loosing quality and I don't really have time limitation (even if it takes a month to re-encode all of them, I'm still ok with it). For the Blu-Ray rips especially. So I think it will be better to go with something like HandBrake or StaxRip. So I am looking for some good settings to encode without loosing too much quality. Can you help?

Seriously, try out the divx software, it has presets already for h.265/x265 HEVC thst you can choose and then adjust if needed. Handbrake is good software but it's not as user friendly. If you really must, try setting the output file size you want and see what the recode looks like. Then adjust if needed.

Please quote my post, or put @paddy-stone if you want me to respond to you.

Spoiler
  • PCs:- 
  • Main PC build  https://uk.pcpartpicker.com/list/2K6Q7X
  • ASUS x53e  - i7 2670QM / Sony BD writer x8 / Win 10, Elemetary OS, Ubuntu/ Samsung 830 SSD
  • Lenovo G50 - 8Gb RAM - Samsung 860 Evo 250GB SSD - DVD writer
  •  
  • Displays:-
  • Philips 55 OLED 754 model
  • Panasonic 55" 4k TV
  • LG 29" Ultrawide
  • Philips 24" 1080p monitor as backup
  •  
  • Storage/NAS/Servers:-
  • ESXI/test build  https://uk.pcpartpicker.com/list/4wyR9G
  • Main Server https://uk.pcpartpicker.com/list/3Qftyk
  • Backup server - HP Proliant Gen 8 4 bay NAS running FreeNAS ZFS striped 3x3TiB WD reds
  • HP ProLiant G6 Server SE316M1 Twin Hex Core Intel Xeon E5645 2.40GHz 48GB RAM
  •  
  • Gaming/Tablets etc:-
  • Xbox One S 500GB + 2TB HDD
  • PS4
  • Nvidia Shield TV
  • Xiaomi/Pocafone F2 pro 8GB/256GB
  • Xiaomi Redmi Note 4

 

  • Unused Hardware currently :-
  • 4670K MSI mobo 16GB ram
  • i7 6700K  b250 mobo
  • Zotac GTX 1060 6GB Amp! edition
  • Zotac GTX 1050 mini

 

 

Link to comment
https://linustechtips.com/topic/833883-converting-to-h265/#findComment-10425639
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×