mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
27.67k stars 2.86k forks source link

Trim one video when playing 2 videos trims both #9538

Open webshammo opened 2 years ago

webshammo commented 2 years ago

I am trying to find where some extra is recorded in one video vs another. I can play them side by side, but then VideoA has an extra 63 seconds starting at 300 seconds in. I want to bring the videos back up, but skip 63 seconds of VideoA, but not videoB, then I can manually move to 300 seconds in, it it will be in sync again and I can look for other differences.

However, when I add trim, whether I put the "trim=63" with VideoA or VideoB, BOTH videos get trimmed of the first 63 seconds. how can I just do one?


mpv --lavfi-complex="[vid1]scale=760:308,trim=63[v1];\
[vid2]scale=760:308,trim=1[v2];\
[v1][v2]hstack[vo];[aid1][aid2]amix[ao]" \
"VideoA.mkv" --external-file="VideoB.mkv"
dunnewindB commented 1 year ago

I'm having the same issue. Does anyone have the solution?