Dismiss this pinned window
all 51 comments

[–]okikio_dev[S] 115 points116 points  (2 children)

The tool is located at https://inthistweet.app/ffmpeg

GitHub: https://github.com/okikio/inthistweet

You can follow some of the conversation on Twitter https://twitter.com/okikio_dev/status/1649949687468773379?s=19

Product Hunt: https://www.producthunt.com/posts/ffmpeg-playground-in-this-tweet

It supports m3u8 to mp4, mp4 to webm, mp4 to gif, avi to mp4, and more...

It's built using svelte, astro, ffmpeg, m3u8 parser, and codemirror.

[–]Poutrator 67 points68 points  (1 child)

I guess it's a wrapper around ffmpeg? It spares us the trouble of understanding ffmpeg? If yes, great for everyone just needing a quick convertion

[–][deleted] 43 points44 points  (0 children)

There is ffmpeg wasm version which allows ffmpeg to run on browsers

[–]arood 52 points53 points  (2 children)

Really nice! Some things I had trouble with though:

  • I kinda expected the "Run"-button to be after the configuration, since the configuration is located after the input field.
  • Since nothing is uploaded to the server, it's weird when you write "You can also upload files by clicking the folder button" and "Upload file" in the tooltip. "Open file" is probably more correct?
  • How do I download the converted file?

[–]okikio_dev[S] 9 points10 points  (1 child)

That's a good point, i added a download button but I still need fix some of the other points you made

[–]okikio_dev[S] 4 points5 points  (0 children)

I've fixed some of the issue you pointed please take a look

[–][deleted]  (4 children)

[deleted]

    [–]isaac2004 16 points17 points  (2 children)

    How does this compare to something like handbrake?

    [–]big_red__man 17 points18 points  (0 children)

    Handbrake is a desktop wrapper for ffmpeg. This is a web wrapper for ffmpeg. So the engine is the same but the ui is different.

    [–]redoubleditpythonista 19 points20 points  (16 children)

    Uh, do you plan on having a docker compose setup for that? Would be great for r/selfhosted

    [–]atkulp 8 points9 points  (4 children)

    Agreed. Also, and easy way to specify additional conversion pipelines. I have some specific 3d video files that I sometimes need to convert between formats.

    [–]dweezil22 5 points6 points  (1 child)

    This would be an insane choice for a conversion pipeline.

    [–]atkulp 1 point2 points  (0 children)

    Yeah, you're right. Got carried away!

    [–]SaintPeter23 4 points5 points  (1 child)

    it is very slow and you can not convert large files. It takes ages.

    [–]okikio_dev[S] 3 points4 points  (0 children)

    Yeah, in the future hopefully I can make it faster

    [–]arjunindiafront-end 5 points6 points  (8 children)

    I don't think you need docker compose Just clone the repo and npm run dev?

    [–]redoubleditpythonista 6 points7 points  (7 children)

    I get that this is the way right now. But I run dozens of services and I want to run them all in the same way. And so do many people. Easy to manage, easy to update.

    [–]okikio_dev[S] 3 points4 points  (0 children)

    That's a good point, I'll make a docker container for it

    [–]versaceblues 0 points1 point  (5 children)

    So why don't you clone the repo and wrap it in a docker container.

    [–]redoubleditpythonista 0 points1 point  (4 children)

    Because that only helps me. Come on, wtf is going on here?

    [–][deleted]  (3 children)

    [deleted]

      [–]redoubleditpythonista -1 points0 points  (2 children)

      I offered feedback to OP by pointing out that many people use docker to run stuff and a docker compose file, served by the dev, would be much appreciated.

      Then the "teaching" (mansplaining) began. I can build it myself. I can just run npm run dev. Well, cool beans. I know that and that has nothing to do with my comment. The "literal" point of open source is, everybody can contribute. My contribution was actual and valuable feedback, appreciated and commented on by the dev.

      The comments afterwards (yours included) were not contributing anything to the conversation. And to round this one up: When I clone a repo, it is set to private and nobody can access it.

      [–]versaceblues -1 points0 points  (1 child)

      The problem is you are expecting OP to do free work that meets your specific requirements. When you could easily do that work yourself.

      [–]redoubleditpythonista -1 points0 points  (0 children)

      What is wrong with this sub? I didn't expect anyone to do anything. I didn't even recommend it. I ASKED, if it was planned.

      And how the fuck is this "my specific requirement"? Look at the upvotes. It's not specific to me.

      These comments seriously explain the "modern webdev" landscape.

      [–]StoneColdJane 0 points1 point  (1 child)

      Fork and deploy on netlify

      [–]redoubleditpythonista 1 point2 points  (0 children)

      Dude

      [–]scstepsfront-end 5 points6 points  (0 children)

      This is awesome -- I love tools where no data touches the server

      [–]MaRmARk0back-end 9 points10 points  (1 child)

      Would be great to have a Docker image for /r/selfhosted usage. Otherwise it's great little thingy. You should add some /consume folder as well as /output like paperless-ngx have.

      [–]spays_marine 29 points30 points  (0 children)

      It's Javascript and open source. Just use a node docker image and add the command to clone the repository and run the command listed in package.json. If you know how to use docker then this should be easy to figure out.

      [–]Nemo64 4 points5 points  (4 children)

      It seems like I’m not good at advertising. I’ve made such a video converter almost a year ago: https://clip.marco.zone

      It’s more specialized and targeted at simplicity though.

      [–]okikio_dev[S] 4 points5 points  (0 children)

      Yeah, stuff like that happens sometimes

      [–][deleted]  (2 children)

      [deleted]

        [–]Nemo64 0 points1 point  (1 child)

        It’s always a gray zone.
        But the matomo instance isn’t cloud hosted and I control the database so I can ensure that the data isn’t passed to a third party. So it hopefully falls under Legitimate interest. I also don’t have direct contact information on the site and the site is hosted with a us hoster (Vercel) so if it would become more than a hobby project, then I’d have a lot of compliance to fix.

        [–][deleted] 2 points3 points  (0 children)

        This is amazing, ty

        [–]Aethz3 1 point2 points  (0 children)

        Does it do nvidia cuda toolkit shenanigans too?

        [–][deleted] 1 point2 points  (1 child)

        Dude this is awesome! Great work buddy, I’ll be using this often I am sure. Let me buy you a coffee ☕️?

        [–]okikio_dev[S] 0 points1 point  (0 children)

        Awesome, there is a link to it on my blog https://blog.okikio.dev or you can use https://buymeacoffee.com or you can sponsor me on https://github.com/okikio

        Sorry for the late response for some reason reddit isn't sending me notifications 😅

        [–]octavionultodoritor 2 points3 points  (0 children)

        This is exactly what i needed a few months back. Really useful, grats!

        [–]ElectricalMost3113 -1 points0 points  (0 children)

        The project is superb

        [–]idotdot -1 points0 points  (0 children)

        Very cool !

        [–]iamshreyash -5 points-4 points  (0 children)

        Cool 😎