mifi / lossless-cut

The swiss army knife of lossless video/audio editing
https://losslesscut.app/
GNU General Public License v2.0
26.68k stars 1.28k forks source link

Keep only specifed track for batch videos #1937

Closed skywinder closed 1 month ago

skywinder commented 6 months ago

Description

In additions to https://github.com/mifi/lossless-cut/issues/1879 (to fix issue with autoplay option of DJI files, I need to keep only the first track. So now, I have to do it manually for each track by clicking the track selection. It would be great to set this as the default for batch videos.

CleanShot 2024-03-25 at 21 11 29@2x CleanShot 2024-03-25 at 21 11 49@2x

skywinder commented 6 months ago

btw, I also have related question: i tried to find shortcut for that and found this 2 actions, that looks that do the same. what the differences between toggleStreamsSelector and showStreamsSelector?

CleanShot 2024-03-25 at 22 31 56@2x

mifi commented 6 months ago

In additions to #1879 (to fix issue with autoplay option of DJI files, I need to keep only the first track. So now, I have to do it manually for each track by clicking the track selection. It would be great to set this as the default for batch videos.

Not sure about making it default, but it is tracked in this issue #371 "Enabled Tracks".

There is already a toggle button (and keyboard action) for disabling/enabling all audio tracks. I think a similar keyboard action for "toggle video tracks" could help for your use case. I've added the suggestion here: https://github.com/mifi/lossless-cut/issues/254#issuecomment-1996881797

btw, I also have related question: i tried to find shortcut for that and found this 2 actions, that looks that do the same. what the differences between toggleStreamsSelector and showStreamsSelector?

one is toggle on/off, other is turn on (regardless of current state), as can be seen in the code:

mifi commented 1 month ago

closing this issue because your concerns are being tracked in the other issues