aerobounce / trim.lua Goto Github PK
View Code? Open in Web Editor NEWTrim mode for mpv — Turn mpv into Lossless Audio / Video Editor
License: GNU Affero General Public License v3.0
Trim mode for mpv — Turn mpv into Lossless Audio / Video Editor
License: GNU Affero General Public License v3.0
I guess this script is only for linux/mac? or am I doing something wrong?
The keyframe shortcut doesn't jump from frame to frame, it jumps like 2 seconds, which is redundant with the "jump x seconds" shortcuts.
For example avi with 2 audio track - trim .lua only sees frist one. What is workound to cut with second track(I am selected it)
Please add the option to use different containers than what was used in the source file. I would like the option for MP4 and MKV added in particular.
I use no-input-default-bindings
and configure keys through input.conf . Please add instructions for that. Thanks.
I have some files with multiple audio tracks, but this script only copies the first track over no matter what I have set in MPV.
I have been trying all day to get this to work in Windows with mpv. ffmpeg is added to PATH. The trim.lua script is added to C:\Users\username\AppData\Roaming\mpv\scripts\
. I am able to set the start and end time with the hotkeys as described in the readme, but once I close mpv with the Q key nothing really happens.
I tried to edit local args
to match the location of my ffmpeg and ffprobe directory. So now it says "F:/portable/ffmpeg/bin",
. Doesn't seem to help.
Any suggestions?
I use this script to create clips and avoid slow the video encoding process, this works especially well as all the videos I use it with are already compressed. Audio on the other-hand often comes in lossless formats which are very large, and compressing them down is fast and the quality loss can be almost unnoticeable.
Would love to see this script implement some basic options to re-encode the audio out to an AAC format. As I'm still utilizing ffmpeg commands to do trimming on videos with large audio (24-bit flac, LPCM etc)
Lines 274 to 280 in 096a2b9
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.