Comments (3)
Good point.
Could you try rewrite those lines:
Lines 399 to 401 in 473c9b1
into:
"-c", "copy",
"-map", "0",
from trim.lua.
-map 0 will just map every track, so all video, audio, subtitle etc will be copied over.
I suggest looking at https://github.com/ekisu/mpv-webm as this script has the functionality of finding the selected mpv track
from trim.lua.
Ah. Excuse me.
However, "Use selected track" will not be happen with this script, as my strong philosophy with this script is to export it as it is — except it is a trim.
Seems you know ffmpeg syntax well, it shouldn't be hard for you to modify the script.
from trim.lua.
Related Issues (10)
- Allow hooking functions from outside the script HOT 8
- Option to remux on output HOT 1
- Keyframe jumps several seconds HOT 4
- How to choose audio track to trim? HOT 1
- Make `osascript` optional
- ffmpeg and ffprobe paths are hard-coded HOT 2
- Doesn't work on Windows 10 HOT 2
- Does not seem to work in a Windows environment HOT 11
- Option to re-encode audio HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trim.lua.