I’m looking at my library and I’m wondering if I should process some of it to reduce the size of some files.

There are some movies in 720p that are 1.6~1.9GB each. And then there are some at the same resolution but are 2.5GB.
I even have some in 1080p which are just 2GB.
I only have two movies in 4k, one is 3.4GB and the other is 36.2GB (can’t really tell the detail difference since I don’t have 4k displays)

And then there’s an anime I have twice at the same resolution, one set of files are around 669~671MB, the other set 191 each (although in this the quality is kind of noticeable while playing them, as opposed to the other files I extract some frames)

What would you do? what’s your target size for movies and series? What bitrate do you go for in which codec?

Not sure if it’s kind of blasphemy in here talking about trying to compromise quality for size, hehe, but I don’t know where to ask this. I was planning on using these settings in ffmpeg, what do you think?
I tried it in an anime at 1080p, from 670MB to 570MB, and I wasn’t able to tell the difference in quality extracting a frame form the input and the output.
ffmpeg -y -threads 4 -init_hw_device cuda=cu:0 -filter_hw_device cu -hwaccel cuda -i './01.mp4' -c:v h264_nvenc -preset:v p7 -profile:v main -level:v 4.0 -vf "hwupload_cuda,scale_cuda=format=yuv420p" -rc:v vbr -cq:v 26 -rc-lookahead:v 32 -b:v 0

  • Codename_goose
    link
    fedilink
    arrow-up
    1
    ·
    6 months ago

    My server has movies ranging from 480p to 4k. Anything under 4k that is a movie shouldn’t be more than 2gb-3gb (this is also highly dependent on the movie in question, lotr movies can be huge so as long as it looks good I don’t mind, I have the space) when it comes to 4k movies it highly depends on the movie but I like to keep them below 10gb if I can.

    When it comes to tv shows if it’s 1080p I expect long-form (1 hr) to be around 1-2gb. Less for shorter shows.

    As far as bit rate and codecs are concerned keep things as simple as I can .h264 or .h265. My server doesn’t support AV1 so I can’t use that yet maybe in the future. .h265 high10 tends to make my server work too hard. I try to keep the bit rate on the low side as my server is a bit on the low end so a bit rate below 10mbps keeps the server happy and everything plays nice and snappy.