Video Editing: Difference between revisions
adds details, updates, embeds video |
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight" |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 37: | Line 37: | ||
; [http://www.heroinewarrior.com/cinelerra.php cinelerra] [[wp:Cinelerra]] https://cinelerra-cv.org/ | ; [http://www.heroinewarrior.com/cinelerra.php cinelerra] [[wp:Cinelerra]] https://cinelerra-cv.org/ | ||
: is a significant project, aimed at the professional user. It's both a NLVE and a compositing application. There is a friendly fork called the Community Version (CV) as compared to the original Heroine Warrior (HW) version. | : is a significant project, aimed at the professional user. It's both a NLVE and a compositing application. There is a friendly fork called the Community Version (CV) as compared to the original Heroine Warrior (HW) version. | ||
=== Video Slideshows === | |||
; [http://ffdiaporama.tuxfamily.org/ ffDiaporama] : for making a slideshow video, and it's not bad. However, it simply refused to render my project with a 'encode error'. It is also outdated (last release in 2014) and doesn't install properly on newer Ubuntu. The project itself is a fork of the even less maintained Diaporama | |||
; [http://imagination.sourceforge.net/ Imagination] : is a simple tool. Last released in 2011, there is at least a note in 2017 that contributions are welcome. The results weren't bad either. But, I still like the power of OpenShot. | |||
=== Players === | === Players === | ||
| Line 55: | Line 59: | ||
You can extract the part you want with mplayer like this: | You can extract the part you want with mplayer like this: | ||
< | <syntaxhighlight lang="bash"> | ||
$ mencoder -ovc copy -oac copy infile -ss 00:10:09.5 -endpos 00:05:00 -o outfile | $ mencoder -ovc copy -oac copy infile -ss 00:10:09.5 -endpos 00:05:00 -o outfile | ||
</ | </syntaxhighlight> | ||
"-ovc" means "output video codec", "-oac" means "output audio codec", | "-ovc" means "output video codec", "-oac" means "output audio codec", | ||
the "-ss" argument skips ahead to 10 minutes 9.5 seconds into the | the "-ss" argument skips ahead to 10 minutes 9.5 seconds into the | ||
| Line 66: | Line 70: | ||
This can also be done with ffmpeg: | This can also be done with ffmpeg: | ||
< | <syntaxhighlight lang="bash"> | ||
$ ffmpeg -acodec copy -vcodec copy -itsoffset -00:10:09.5 -i infile -ss 00:10:09.5 -t 00:05:00 outfile | $ ffmpeg -acodec copy -vcodec copy -itsoffset -00:10:09.5 -i infile -ss 00:10:09.5 -t 00:05:00 outfile | ||
</ | </syntaxhighlight> | ||
Note that the "-itsoffset" option must be specified to make sure that | Note that the "-itsoffset" option must be specified to make sure that | ||
A/V timestamps synchronize, and that its value must be the negative of | A/V timestamps synchronize, and that its value must be the negative of | ||
| Line 78: | Line 82: | ||
To transcode the video, specify the output codecs as the "vcodec" and | To transcode the video, specify the output codecs as the "vcodec" and | ||
"acodec" sub-options to the libavcodec option (-lavcopts): | "acodec" sub-options to the libavcodec option (-lavcopts): | ||
< | <syntaxhighlight lang="bash"> | ||
$ mencoder -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:acodec=ac3 infile -o outfile | $ mencoder -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:acodec=ac3 infile -o outfile | ||
</ | </syntaxhighlight> | ||
Here, "lavc" means to use one of the libavcodec codecs, specified by | Here, "lavc" means to use one of the libavcodec codecs, specified by | ||
the "vcodec" and "acodec" suboptions to the "-lavcopts" option (which | the "vcodec" and "acodec" suboptions to the "-lavcopts" option (which | ||
| Line 90: | Line 94: | ||
If you want to change the framerate of the video, you can use | If you want to change the framerate of the video, you can use | ||
something like this: | something like this: | ||
< | <syntaxhighlight lang="bash"> | ||
$ mencoder -ofps 25 -oac copy -ovc copy -o outfile infile | $ mencoder -ofps 25 -oac copy -ovc copy -o outfile infile | ||
</ | </syntaxhighlight> | ||
Note that, whenever you use "copy" as the codec, mplayer will copy the | Note that, whenever you use "copy" as the codec, mplayer will copy the | ||
corresponding stream to the output unmodified. That means it will ignore | corresponding stream to the output unmodified. That means it will ignore | ||
| Line 98: | Line 102: | ||
For example: | For example: | ||
< | <syntaxhighlight lang="bash"> | ||
$ mencoder -oac copy -ovc copy -af volume=10 -o outfile infile | $ mencoder -oac copy -ovc copy -af volume=10 -o outfile infile | ||
</ | </syntaxhighlight> | ||
WILL NOT DO what you probably want, because with "-oac copy" the | WILL NOT DO what you probably want, because with "-oac copy" the | ||
"volume" audio filters (specified with "-af") will be ignored, and the | "volume" audio filters (specified with "-af") will be ignored, and the | ||