Bug 481356 - Unable to transition when video file contains multiple Audio tracks
Summary: Unable to transition when video file contains multiple Audio tracks
Status: RESOLVED NOT A BUG
Alias: None
Product: kdenlive
Classification: Applications
Component: Audio Effects & Transitions (show other bugs)
Version: 23.08.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2024-02-15 09:16 UTC by Ian
Modified: 2025-01-09 16:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian 2024-02-15 09:16:39 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Normally, a video file contains 1 video track and 1 audio track.  To edit you drag the video onto the timeline and it goes into tracks V1 and A1.  If you then want to cut out part you might want to transition from the first part to the second and you would drag the second piece of video to V2 and the corresponding audio would go to A2 - and you can then overlap the two clips and make whatever transitions you want.
I have a video file which contains 1 video track and 2 audio tracks.  When I drag that onto the timeline it occupies tracks V1, A1 and A2.  If I cut out a piece and than drag V1 to V2, the audio shifts to A2 and A3.  The 'new A2' buts up against the 'old A2' and therefore I cannot overlap the two clips.  I cannot find a way to implement transitions.


STEPS TO REPRODUCE
1. Import (or create) a clip with video and 2 Audio tracks
2. Cut and attempt to transition from 1st part to 2nd part
3. 

OBSERVED RESULT
Audio tracks 'collide'

EXPECTED RESULT
There should be a way to do it - maybe allow that the original clip utilises tracks V1, A1 and A3 - then the shifted clip could utilise tracks V2, A2 and A4

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 emohr 2024-12-22 11:10:17 UTC
If I understand the issue correct you can move only the video part holding the alt key.
Comment 2 Ian 2024-12-22 18:44:53 UTC
The problem is this.

I had a video file which contained a video track and 2 audio tracks.  I 
wanted to cut out a segment and then 'splice' the two clips (the 
beginning and end, minus the unwanted segment) together with a transition.

If you have a 'normal' video with 1 video track and 1 audio track, the 
tracks will be on V1 and A1.  If you then cut the clip into  two, you 
can drag the second clip's video into V2 and the corresponding audio 
will automatically drop down to A2.  You can then overlap the two clips 
and add your transition.  Simple.

When you have 2 audio tracks associated with a single video track and 
you cut it.  If you drag the video to V2, then the audio that was in A1 
drops down automatically to A2 and the track that was in A2 drops down 
to A3.  When you try to overlap the clips, the new A2 (old A1) buts up 
against the old A2 - and so the clips will not overlap.

IF you are saying that holding down the Alt key would cause the audio 
tracks to drop down to A3 and A4 - that is news to me.

I hope that clarifies the problem.

Regards

On 22/12/2024 11:10, emohr wrote:
> https://bugs.kde.org/show_bug.cgi?id=481356
>
> emohr <fritzibaby@gmx.net> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|REPORTED                    |NEEDSINFO
>           Resolution|---                         |WAITINGFORINFO
>             Keywords|                            |triaged
>
> --- Comment #1 from emohr <fritzibaby@gmx.net> ---
> If I understand the issue correct you can move only the video part holding the
> alt key.
>
Comment 3 emohr 2024-12-22 19:49:10 UTC
Why so complicated? Move the “end” on the same track to the “beginning”. Double click on the “cut” and a “same track transition” is applied. You can then adjust the duration as needed or delete the audio transition. 
Details see here: https://docs.kdenlive.org/en/compositing/transitions/mixes.html
Comment 4 Bug Janitor Service 2025-01-06 03:47:27 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Ian 2025-01-09 11:20:27 UTC
I was attempting to join two clips as described in 'Composite Transitions' in the help - I was unaware of the 'same-track transitions' (mixes).
I have experimented with the same-track transitions and that does enable me to merge a video that has two audio tracks.  I have also resolved the problem of getting a video with 2 audio tracks, so my problem has gone away.
Comment 6 emohr 2025-01-09 16:08:52 UTC
Thank you for your feedback. Glad to here it works.

I close this bug. If it still appears in the latest version, please feel free to re-open it and update the affected version number.