Skip to content

Added ability to change video tracks#1607

Open
ItsMeSamey wants to merge 6 commits intoanilbeesetti:mainfrom
ItsMeSamey:video_tracks
Open

Added ability to change video tracks#1607
ItsMeSamey wants to merge 6 commits intoanilbeesetti:mainfrom
ItsMeSamey:video_tracks

Conversation

@ItsMeSamey
Copy link

Some videos may have multiple video tracks, this pr adds the ui and functionality to change video tracks for the videos that have multiple of them.

Example use case:
My university lectues are presented on 2 screens, the recordings made available have 2 video streams as well.
Sometimes, due to some malfunction, one of the screens may fails to record the video, so i need to switch the video streams in order to see the video being presented.

Note: this changes the 3_4 migration (since the migration is new and has not been pushed in release yet, this should not be an issue).

@anilbeesetti
Copy link
Owner

@ItsMeSamey Thanks for the PR. Can you add screen recording of the feature and some test video to test the feature

@ItsMeSamey
Copy link
Author

Test file: named_tracks.zip
Generated using

ffmpeg -f lavfi -i color=c=red:s=1920x1080:d=10 \
       -f lavfi -i color=c=green:s=1920x1080:d=10 \
       -f lavfi -i color=c=blue:s=1920x1080:d=10 \
       -map 0:v -map 1:v -map 2:v \
       -metadata:s:v:0 title="Red Track" \
       -metadata:s:v:1 title="Green Track" \
       -metadata:s:v:2 title="Blue Track" \
       -c:v libx264 -an named_tracks.mkv

has 3 video tracks red(30s), green(60s) and blue(120s)

Demo:

recording_20260221_183012.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants