tgotwig / vidmerger

📼 Merge video & audio files via CLI
https://tgotwig.github.io/vidmerger
113 stars 10 forks source link

Make Build fails on Ubuntu #9

Closed Jalawoud closed 3 years ago

Jalawoud commented 3 years ago

Im pretty clueless with things if they don't come in an exe format or sudo apt get so please bear with me. I have ffmpeg installed, I downloaded the zip and extracted it to my desktop. Next the readme says "Run make build to build for Mac, Linux and Windows."

When I run make build it automatically tries to build it for MacOS and not linux. Which results in a fail. error code 2, Could someone enlighten me on what im doing wrong?

Jalawoud commented 3 years ago

After messing around and making sure I have all reqs installed, I have gotten "Successfully generated 'output.mp4'! 😆🎞" to appear, however after opening a terminal in the folder vidmerger-master and running "vidmerger" it says command not found.

vidmerger . -f mp4 also returns command not found, not sure what im doing wrong

tgotwig commented 3 years ago

Hello Jalawoud 🙋‍♂️ I guess you just want to download and run the program? Then download it from here 👉 https://github.com/TGotwig/vidmerger/releases

wget https://github.com/TGotwig/vidmerger/releases/download/v0.1.1/vidmerger-linux.tar.gz

Extract it:

tar xf vidmerger-linux.tar.gz

Use the binary 🙂

./vidmerger --help

Unfortunately it's not so easy to make it available at snapcraft and chocolatey but I'm working on that 👨‍🔧

Jalawoud commented 3 years ago

Thank you so much, such a helpful and responsive owner, works great now.

I do have another question though, does this support files which have different widths/heights/encodes? Those seem to be the only outputs that are not playing properly within the output file.

Also, I doubt this is an issue with your project but I thought I'd bring it up anyways, when I do path/to/new folder and "path/to/new folder", it fails to understand the path, but path/to/new_folder works once I edit the folder name. So I'm not sure if spaces cause an issue.

tgotwig commented 3 years ago

Cool that it works for you now 👍

Perhaps another ticket would be good, regarding the other points.