Replies: 5 comments 2 replies
-
|
See .github/workflows/build.yml and https://github.com/mifi/lossless-cut/blob/master/developer-notes.md |
Beta Was this translation helpful? Give feedback.
-
|
I had a similar issue. I'd already found the developer notes, but: This should not be a surprise because: Feels like there is another tool also called yarn? |
Beta Was this translation helpful? Give feedback.
-
|
OK, this is starting to feel like "boiling the ocean" LosslessCut requires --> https://yarnpkg.com/ (not yarn in standard repos) Corepack is https://nodejs.org/dist/latest/docs/api/corepack.html, and does not seem to have any install/build instructions. I did try the "binary" version, but that only works for some videos .. so I'm guessing a "versions issue". Running using "standard" ffprobe The version number reported by LosslessCut is 3.32.0 But this was installed from: ....-5.54.tar.bz2 downloaded from website |
Beta Was this translation helpful? Give feedback.
-
|
OK, feels like stealing a thread, as we're not long looking a source build. So just to finish off.. OK, I changed the path in settings to /usr/bin: [ TL;DR It works with /usr/bin as the path ] graeme@real:~/Videos/Lossless$ ls -l /usr/bin/ff* graeme@real:~/Videos/Lossless$ /usr/bin/ffmpeg Use -h to get full help or, even better, run 'man ffmpeg' 1: I used the Tools-> Merge/Concatenate files: Using the 2 -seg[12] files from the earlier attempt This merged the files correctly (not actually what I wanted, as it used 2: Retry the full cut & merge (of course I may not be selecting the exact same 3: Try adding mp4+"Smart cut" err ... cannot find a keyframe after the cut point 4: mkv+keyframe works mkv without keyframe also works, mkv + smart cut fails, as above ** FYI The original input is a TS stream, recorded from broadcast TV. Lossless |
Beta Was this translation helpful? Give feedback.
-
|
I just compiled from source on Linux Mint today. I already had node installed. But there were a ton of pre-requisites so it took while. Hopefully this helps. LosslessCut Build Commands for Linux (Debian/Ubuntu)
Update package list and install core toolssudo apt update Install Yarn globally (required for dependency patching)npm install -g yarn Install system FFmpeg (may be needed by other components)sudo apt install ffmpeg
Clone the repositorygit clone https://github.com/mifi/lossless-cut.git Install Node.js dependencies using Yarnyarn install
Run the dedicated script to download and extract FFmpeg/FFprobe binaries. I didn't do this the first time since I already had ffmpeg (it's what I had been using), and since LosslessCut couldn't find, I had to install it here with yarn... and then rebuild the whole thing again :(yarn download-ffmpeg-linux-x64
Option A: Run in Development Mode (Fast Test) yarn start Option B: Build the Final Installer Package (.deb) This command runs the full build and creates Linux packages (includes .deb)yarn pack-linux
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I didn't see a .deb file available for download, so I downloaded the source code.
In the README I don't see instructions how to compile and install.
So I ask: how to compile and install, on Ubuntu?
Beta Was this translation helpful? Give feedback.
All reactions