this post was submitted on 13 Feb 2024
0 points (NaN% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

53843 readers
567 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder


💰 Please help cover server costs.

Ko-FiLiberapay


founded 1 year ago
MODERATORS
 

Hi fellow sailors,

i have lots of downloaded... ISOs... that i need to converto to save space. I would like to make them all of the same size, let's say 720p, and same format, let's say h265.

I am on linux and the... ISOs... are sorted into a neatly named hierarchy of sub-folderds, which i want to preserve too. What is the best tool (CLI) for the scope? I can use ffmpeg with a bash script, but is there anything better suited?

top 3 comments
sorted by: hot top controversial new old
[–] Lemmchen@feddit.de 0 points 7 months ago

I've heard that the size difference between 720p and 1080p for HEVC/h.265 is neglectable, so you should probably stick to 1080p for better quality.

But honestly I think what you want to do is neither worth the effort nor is the result very desirable.

[–] AnEilifintChorcra@sopuli.xyz 0 points 7 months ago* (last edited 7 months ago) (1 children)

I've been using a for loop with ffmpeg to convert to AV1

I start in the series root folder and it iterates through each seasons subfolder

for f in ./**/*.mkv; do
      ffmpeg -i "$f" -c:v libsvtav1 -crf 0 "{f%.*}.av1.mkv"; done

Since I'm happy with the quality of everything so far, I've added this to the start to make it easier to delete the old files

for f in ./**/*.mkv; do
      mv "$f" "${f%.*}.xyz.mkv"; done

And at the end I've added this to delete the old files

for f in ./**/*.xyz.mkv; do
      rm " $f"; done
[–] Lemmchen@feddit.de 0 points 7 months ago

Why -crf 0?