this post was submitted on 21 Nov 2024
42 points (97.7% liked)

Selfhosted

40336 readers
803 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

(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 11 comments
sorted by: hot top controversial new old
[–] slug 1 points 17 hours ago (1 children)

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

[–] [email protected] 1 points 17 hours ago (1 children)

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 1 points 17 hours ago (1 children)

i gotta say, all the exits makes testing really frustrating

[–] [email protected] 1 points 16 hours ago
[–] [email protected] 1 points 1 day ago

Super interesting approach. I like it.

[–] gashead76 1 points 1 day ago (2 children)

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 1 points 1 day ago* (last edited 1 day 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.

[–] [email protected] 1 points 1 day ago

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

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago) (1 children)

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 !!

[–] [email protected] 2 points 1 day ago

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

Hope it will help