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

  • akilou@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    7 months ago

    So you’re saying that you spend like 50 GB or so for every movie in your library? That’s unbelievably impractical. What if you want to download some locally to your phone or laptop for a flight, you have to pick the one or two movies that you think you’re gonna watch. I keep movies in 1080p at about 3 gigs or so. I just flew out to Denver and back and was happy with the dozen movies I was able to download locally for the trip.

    • corroded@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      Yes, a lot of my movies are 50GB or so. Not everything has a 4k repack available, though. I’d say the vast majority are around 20GB.

      1080p would just not be acceptable for me. There’s a clear difference between 1080p and 4k on a 4k screen, especially if the screen is large.

      If I’m in a situation where I don’t have connectivity to stream from my server, then I can always just start a Handbrake queue the night before and transcode a few videos to smaller size, or just dump a few onto an external drive. I have never been in a situation where I had to do this, though.