GitHub - gardiol/media_fixer: Bash script to autmatically adapt media formats
github.com
external-link
Bash script to autmatically adapt media formats. Contribute to gardiol/media_fixer development by creating an account on GitHub.

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

@slug@lemmy.world
link
fedilink
English
15h

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

Shimitar
creator
link
fedilink
English
15h

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
link
fedilink
English
14h

i gotta say, all the exits makes testing really frustrating

Shimitar
creator
link
fedilink
English
13h

What?

@burak29
link
fedilink
English
115h

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

𝕸𝖔𝖘𝖘
link
fedilink
English
11d

Super interesting approach. I like it.

Jonathan
link
fedilink
English
11d

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
link
fedilink
English
1
edit-2
1d

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
creator
link
fedilink
English
11d

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

@N0x0n@lemmy.ml
link
fedilink
English
1
edit-2
1d

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
creator
link
fedilink
English
21d

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

Hope it will help

Create a post

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!

  • 0 users online
  • 176 users / day
  • 591 users / week
  • 1.37K users / month
  • 3.91K users / 6 months
  • 1 subscriber
  • 3.78K Posts
  • 76.5K Comments
  • Modlog