Video conversion and encoding script (github.com)
from Shimitar@feddit.it to selfhosted@lemmy.world on 21 Nov 2024 12:17
https://feddit.it/post/12572250

(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.

#selfhosted

threaded - newest

N0x0n@lemmy.ml on 21 Nov 2024 16:01 next collapse

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 on 21 Nov 2024 17:04 collapse

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

Hope it will help

gashead76@lemmy.world on 21 Nov 2024 17:10 next collapse

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!

Shimitar@feddit.it on 21 Nov 2024 17:21 next collapse

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

Passerby6497@lemmy.world on 22 Nov 2024 00:41 collapse

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.

01189998819991197253@infosec.pub on 22 Nov 2024 01:29 next collapse

Super interesting approach. I like it.

burak29@lemmy.nebtown.info on 22 Nov 2024 08:53 next collapse

Video dönüştürme ve kodlama scripti, bir videonun formatını değiştirmek veya sıkıştırmak için kullanılan otomatik bir yazılım aracıdır. Nakkaştepe Millet Bahçesi Menu

slug@lemmy.world on 22 Nov 19:32 next collapse

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

Shimitar@feddit.it on 22 Nov 19:37 collapse

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 on 22 Nov 20:09 collapse

i gotta say, all the exits makes testing really frustrating

Shimitar@feddit.it on 22 Nov 20:57 collapse

What?

zod000@lemmy.ml on 21 Nov 2024 14:59 collapse

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