Difference between revisions of "Avidemux - Cutting out sections of video"

Minor cleanup and removal of first person language
imported>Cscs
imported>Dalto
(Minor cleanup and removal of first person language)
Line 3: Line 3:
Avidemux is by the intention of its author a fairly limited piece of video editing software. What it does do, is some things in quite a simple fashion, especially when compared to most of the other far more capable members of the video editing fraternity.
Avidemux is by the intention of its author a fairly limited piece of video editing software. What it does do, is some things in quite a simple fashion, especially when compared to most of the other far more capable members of the video editing fraternity.


This how-to is about nothing more than being able to cut one or more sections from a video. Which, when using Avidemux is (& should always be) a pretty simple process.
This how-to is about cutting one or more sections from a video. Which, when using Avidemux is a pretty simple process.


<br clear="all"/>


=Installation=
=Installation=


Both the console tool 'avidemux-cli' and qt-based GUI 'avidemux-qt' are in the official repositories.
Both the console tool 'avidemux-cli' and qt-based GUI 'avidemux-qt' are in the official repositories. To install one of them you can use:


  sudo pacman -S avidemux-cli
  sudo pacman -S avidemux-cli


  sudo pacman -S avidemux-qt
  sudo pacman -S avidemux-qt


=Preparation=
=Preparation=
Line 19: Line 19:
Before we start editing, it should be known that the only setting that we need be concerned about out of all of the options showing in the left hand section (top to bottom) of the Avidemux GUI, is the '''Output Format'''.  
Before we start editing, it should be known that the only setting that we need be concerned about out of all of the options showing in the left hand section (top to bottom) of the Avidemux GUI, is the '''Output Format'''.  


I usually set this one (in the drop down menu under that sections '''Output Format''' title) to the same format as that of the video that I'm editing.
You can set this (in the drop down menu under that sections '''Output Format''' title) to the same format as that of the video that is being edited.  
 
===You can also easily use Avidemux to transcode videos too===
 
Though, you can choose a different format if for some reason it suits you. In fact, another easy trick of Avidemux is the ability to easily change a video's format from one to another - with no other editing involved whatsoever.
 
To do this, just choose your desired format & select the '''Menu File > Save''' being sure to at least change the file format suffix in the name to the format that you've chosen (.avi .mp4 .mkv ...), just doing that will save you from overwriting your original video file.
 
<br clear="all"/>
OK, now back to the video editing topic of this page:


<br clear="all"/>


=Method=
=Method=
Line 36: Line 26:
==Load the video into Avidemux==
==Load the video into Avidemux==


Use whatever method your DE/WM &/or the filemanager/directory utility program that you use within it, to choose the video that you want to edit & then use your RMB menu, or drag & drop or however else you can get Avidemux to open the file (the reason I'm sounding so vague on this matter is that I've been using '''Worker''' [https://wiki.manjaro.org/index.php?title=Worker_-_An_Introduction] in my Openbox system, as my filemanager/dirutil for so many years that I've forgotten about all of the other ways that most everyone else is using to do this stuff.
Open the file you wish to edit in Avidemux using '''Menu File > Open''' & then source the video file that you want to start snipping up.
 
Anyway, if you can't find an easier way, just open Avidemux & use its '''Menu File > Open''' & then source the video file that you want to start snipping up.


Once choosen, the video will take some time (not that long really) to be processed & loaded into Avidemux.
Once choosen, the video will take some time (not that long really) to be processed & loaded into Avidemux.


<br clear="all"/>


==Set your Markers==
==Set your Markers==


After the video is loaded it can then be edited. So the first thing that needs to be done is for you to go to the '''Menu Edit > Set Marker A''' & select that straight away, '''IF''' you do actually want to remove video from the very beginning of the video.
After the video is loaded it can then be edited. So the first thing is to drag the bar that you'll find down near the bottom of the Avidemux screen, through the timeline of the video until you get as close as you can to the start of the part of the video that you want to cut out.  If you want to start cutting from the beginning of the video, if should default to that position.  Next go to the '''Menu Edit > Set Marker A''' to indicate that this is the point you want to begin cutting from.
 
Alternatively, you may want to cut a section out of the video starting from another point in the timeline. Under such circumstances apply the instructions written in the next paragraph as they are aplicable. Just remember that you need to '''Set Marker A''' at the beginning of the section of video that you want to cut.
 
Next you need to drag the bar that you'll find down near the bottom of the Avidemux screen, through the timeline of the video until you get as close as you can to the start of the part of the video that you want to cut out.


Once there, you can use the curser control arrows on your keyboard to much more slowly & accurately move to the point where you want to set '''Menu Edit > Set Marker B''' ''so that we can mark the '''end''''' of the section that we want to cut out of the move (this is the method we are using with Avidemux).
Once there, you can use the curser control arrows on your keyboard to much more slowly & accurately move to the point where you want to set '''Menu Edit > Set Marker B''' ''so that we can mark the '''end''''' of the section that we want to cut out of the video (this is the method we are using with Avidemux).


Once '''Marker B''' has been set, we then choose '''Menu Edit > Cut''' & as quick as that our '''Marker B''' point has now moved to the original position of '''Marker A'''.
Once '''Marker B''' has been set, we then choose '''Menu Edit > Cut''' & as quick as that our '''Marker B''' point has now moved to the original position of '''Marker A'''.


<br clear="all"/>


==A second cut==
==A second cut==
Line 62: Line 44:
Now, if we so choose, we can use the ''timeline bar'' near the bottom of the Avidemux window to again scroll to as close as we can get to that point in the movie's timeline where the end of the section of video that we want to cut out is situated.  
Now, if we so choose, we can use the ''timeline bar'' near the bottom of the Avidemux window to again scroll to as close as we can get to that point in the movie's timeline where the end of the section of video that we want to cut out is situated.  


Again we use the left & right cursor control keys on our keyboard to accurately position the point where we want to set our marker. Once found, go to '''Menu Edit > Set Marker A''', then (unless you want to remove a section & retain another in the video) we slide the video's timeline to the very end ''(use the cursor control right arrow to be sure that you are at the very end of the video - this often matters)'' & then we go to (you guessed it) '''Menu Edit > Set Marker B'''.
Again we use the left & right cursor control keys on our keyboard to accurately position the point where we want to set our marker. Once found, go to '''Menu Edit > Set Marker A''', then (unless you want to remove a section & retain another in the video) we slide the video's timeline to the very end ''(use the cursor control right arrow to be sure that you are at the very end of the video - this often matters)'' & then we go to '''Menu Edit > Set Marker B'''.


<br clear="all"/>


==Cut some more video==
==Cut some more video==
Line 70: Line 51:
After that we go to '''Menu Edit > Cut''' & now we may have the snippet of video that we have been working to isolate.
After that we go to '''Menu Edit > Cut''' & now we may have the snippet of video that we have been working to isolate.


Next we go to '''Menu File > Save''' & '''be sure to change the file's name from the original''' & save it where we choose. I always add the file extension ''.mkv .avi .mp4'' that I have chosen from the Output Format drop down menu down near the bottom right of the Avidemux window.
Next we go to '''Menu File > Save''' & '''be sure to change the file's name from the original''' & save it where we choose. Add the file extension ''.mkv .avi .mp4'' that I have chosen from the Output Format drop down menu down near the bottom right of the Avidemux window.


<br clear="all"/>


=Conclusion=
=Tips & Tricks=
==You can also easily use Avidemux to transcode videos==


Simplistically, at this point you should have the section of video that you wanted to excerpt from the larger/longer video stored on your computer & ready to play whenever you choose to view it.  
Another easy trick of Avidemux is the ability to easily change a video's format from one to another - with no other editing involved whatsoever.  


Though of course you could have done far more complex things using these instructions. As it would be easy to use this method to remove multiple sections of a video & in so doing compress the remaining video peices into one.
To do this, choose your desired format & select the '''Menu File > Save''' being sure to at least change the file format suffix in the name to the format that you've chosen (.avi .mp4 .mkv ...), just doing that will save you from overwriting your original video file.


Good luck with that... ;)


<br clear="all"/>
=See also=


=Support=
[https://forum.manjaro.org/t/wiki-avidemux-cutting-out-sections-of-video/25915 Related forum topic]


Following is a link to this page's forum counterpart where you can post any related feedback: [https://forum.manjaro.org/t/wiki-avidemux-cutting-out-sections-of-video/25915]


<br clear="all"/>
[[Category:Contents Page]]
[[Category:Contents Page]]
Anonymous user