47

(crossposting, because i think it can be interesting here too)

I like my video collection nicely organized and omogeneous as formats, codecs and resolution.

I know there are already pleanty of solutions like Tidarr, but i find them a bit too much for my needs, and also pretty complex to use.

I wrote a simpler approach in a bash script called "Media Fixer", the URL is at the top of this post.

Feel free to check it out, play with it. I hope it can be useful for others as well as me.

It's released under the GPLv3.

all 12 comments
sorted by: hot top new old
[-] N0x0n@lemmy.ml 3 points 2 years ago* (last edited 2 years ago)

Very cool and nice share !!

I'm also an organize freak and also have my own bash script to loop over my files and encode everything to AV1 :).

While my script is ugly as fuck (not a coder here so I'm doing what I can XD) it works and fills my need.

I won't use your script directly, however I will take inspiration of your bash script code ! That's okay I guess?

Thanks for sharing with the community !!

[-] Shimitar@feddit.it 3 points 2 years ago

Thats more than totally fine, its why I shared it!

Hope it will help

[-] slug@lemmy.world 2 points 2 years ago

seems handy. hardware acceleration would be cool but it can be a clusterfuck on linux

[-] Shimitar@feddit.it 3 points 2 years ago

There is no real need for GPU, since its not ideal to use GPU for storage. GPU transcoding is better suited for streaming, and it has lower quality than CPU transcoding.

Anyway, just enable it by setting the proper ffmpeg flags as stated in the readme and there you go.

[-] slug@lemmy.world 1 points 2 years ago

i gotta say, all the exits makes testing really frustrating

[-] Shimitar@feddit.it 1 points 2 years ago
[-] gashead76@lemmy.world 2 points 2 years ago

Perfect timing for me! I was starting to plan out how I was going to transcode my media library and had decided to write a script to do it. So I’ll give this one a try!

[-] Passerby6497@lemmy.world 2 points 2 years ago* (last edited 2 years ago)

I wrote a media conversion script a decade ago to do that for me, but upkeep was annoying when something like FileFlows makes it stupid easy to accomplish.

I still have that script somewhere.... I bet I'll cringe reading it lol. Still, it's a great learning experience.

[-] Shimitar@feddit.it 2 points 2 years ago

Let me know how it goes! Happy to help if I can.

[-] zod000@lemmy.ml 1 points 2 years ago

Looks cool and is particularly suited to my needs. Thanks for sharing!

[-] 01189998819991197253@infosec.pub 1 points 2 years ago

Super interesting approach. I like it.

this post was submitted on 21 Nov 2024
47 points (98.0% liked)

Selfhosted

61853 readers
593 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS