Bug 416616 - Feature request: extract audio from cropped clips in the timeline
Summary: Feature request: extract audio from cropped clips in the timeline
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-22 15:32 UTC by CzAndrew
Modified: 2020-01-31 15:08 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CzAndrew 2020-01-22 15:32:57 UTC
SUMMARY
It would be a useful feature (at least for me) to have the ability to extract audio from the clips in timeline.

I reduce the noise of the videofiles using Audacity, but usually I use a small portion of the videos. Currently my workflow: add the videoclip to project bin, extract audio, do the noise reduction on the audio file, add the audio to the project bin, add the video and audio in the timeline, delete the original audio track from the video, add the new audio file, synchronize the two, group them, and cut the video on the timeline.
It would be much easier for me, to cut the original video in the clup monitor using the i and o, add it to the timeline, then I would extract the audio of the cropped clip on the timeline, then do the noice reduction etc...
Basically, I wouldn't have to add a long clip to the timeline (when there are many clips on it, it is difficult to manage), but I would just add the part of the clip which I need, and do the extract audio command on it.

What do you think about it? Would that feature be useful for other users?
Comment 1 emohr 2020-01-26 19:06:21 UTC
Good point/idea. Audio extract is even not possible with subclips.
Comment 2 Massimo Stella 2020-01-30 19:29:25 UTC
Hi CzAndrew.
What you ask is just possible in Kdenlive without any workaround.
When your piece of clip is on the timeline you have just to right click on it an choose Clip in Project Bin.
After this your clip will open in the clip monitor with the In and Out already marked for that clip.
At this point you can right click on the Clip Monitor window and choose select Extract zone.
If you need the audio only choose as extention for your file an audio format (for eg: wav)
You have to match the extention with the type of audio conteined in the videoclip.
I hope you'll enjoy to use this feature you didn't know already.
Cheers
Comment 3 CzAndrew 2020-01-30 22:45:32 UTC
I just tried this, and it works! 

Thank you for the info!
Comment 4 Jean-Baptiste Mardelle 2020-01-31 15:08:57 UTC
Git commit f74d3dc2778619b516912a29e62965f9ef9928b4 by Jean-Baptiste Mardelle.
Committed on 31/01/2020 at 15:08.
Pushed by mardelle into branch 'master'.

Enable clip jobs and convert/extract audio on subclips.

M  +52   -43   src/bin/bin.cpp
M  +3    -2    src/bin/bin.h
M  +5    -0    src/bin/projectsubclip.cpp
M  +6    -3    src/bin/projectsubclip.h
M  +7    -0    src/jobs/abstractclipjob.cpp
M  +2    -1    src/jobs/abstractclipjob.h
M  +3    -3    src/jobs/audiothumbjob.cpp
M  +14   -8    src/jobs/meltjob.cpp
M  +4    -2    src/jobs/speedjob.cpp
M  +1    -1    src/jobs/stabilizejob.cpp
M  +11   -1    src/jobs/transcodeclipjob.cpp
M  +4    -4    src/mainwindow.cpp
M  +1    -0    src/monitor/glwidget.cpp
M  +1    -1    src/monitor/monitor.cpp
M  +2    -2    src/project/clipstabilize.cpp

https://invent.kde.org/kde/kdenlive/commit/f74d3dc2778619b516912a29e62965f9ef9928b4