I have an extensive movie/tv show library. Been collecting for years and is a mixed bag of media types. I would like to convert all to h265 or something similar to try and conserve space. Currently my media is sitting at around 30TB’s I know from a previous post that is not as significant as some others but converting one by one would be a nightmarish undertaking. I am hoping someone has a cli script to do the conversion.

I am currently using radarr, sonarr, lidarr and readarr for my media I know lidarr and readarr are dead and am looking for an alernative either for those or the full stack. I would also like to perform the conversion of media from the downloaded format to what is suggested to the best format.

  • A_norny_mousse@feddit.org
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    3 days ago

    Not exactly what you asked:

    Is your plan to also reduce resolution and bitrate? If not:

    • It’s going to reduce visual quality anyhow.
    • Are you sure “changing codecs” would save you as much space as you think it would?

    It depends where your material comes from. If it’s ripped from streaming services it’s (generally) already as compressed as it can be regardless of codec. E.g. Amazon mostly provides their streams in h264 (a 20 yo codec) and they’re very high quality at very small filesize.

    If you still want to do that: I don’t believe there is one automated solution that will save quality and space across the board. (If there is, I’d like to hear about it)

    A scenario I’d envision for myself:

    1. tinkering with ffmpeg for test results
    2. grouping material according to these results
    3. set up a separate ffmpeg-script for each group
    4. wrap the whole thing into a systemd service and make sure it survives reboots, i.e. picks up where it left.
    • jhdeval@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      I am not looking to adjust quality of the video or audio just change the codec. I am not necessarily converting ONLY from h264 my media consumption goes back many years and as such is a huge mixed bag of codecs. My videos are not coming exclusively from streaming services.

      • freebee@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        Some of it is likely still quite findable and assuming quite a few titles are many seasons of 1 show: use your known channels and redownload in more recent repacks would be the easiest, least hassle least risk of quality loss. Use Sonarr and/or jellyfin exports to identify shows with high GB per minute of runtime…