Video

From 太極
Jump to navigation Jump to search

Video editing in Linux

DaVinci Resolve

LosslessCut

Video Trimmer

Video Trimmer: A No-nonsense, Simple Video Trimming Application for Linux Desktop

Join two MKV files

Joining Two MKV files in Ubuntu? I use simpleScreenRecorder to create one mkv file. Then I want to append it so I record another short one. mkvmerge from mkvtoolnix works well.

Another suggestion that does not limit to mkv format is avidemux (cross platform).

Note MKV files are not supported by Chrome. To convert mkv files to mp4, use ffmpeg. ffmpeg -i dummy.mkv dummy.mp4 See How to Convert MKV to MP4 in Ubuntu Using FFmpeg. In my example, the mp4 format has a smaller file size compared to the mkv format.

Shotcut

It is a cross-platform open source software. See The best free video editing software: Great tools for YouTube stardom and more

I tested inserting a text in a video. Compared to Youtube video editor

  • The text is really a text. No pop-up shape to select
  • Not sure how to control the text so it only appears at a certain time interval

Not as intuitive to use.

Pitivi

Blender

Looks very professional too. Windows/Linux/OSX (binary files are provided). Worth to try.

Kdenlive

More complicated than OpenShot. Worth to try. Ubuntu 16.04.1 is needed.

Flowblade

Free Linux Video Editor Flowblade 2.0 Released With Configurable Timeline Editing Workflow, New Tools

Youtube Video Editor

Good

  • Annotation and Title (Video Manager -> Videos -> Edit -> End screens and annotations -> Annotations -> Add annotations (Speech bubble, Note, Title, Spotlight, Label). However, the annotations do not show up on mobile. See this post for a discussion.
  • Add photos

Bad

  • Music cannot have fade in/out

Notes

Best Video Editing Apps and Software for YouTube

7 Things You Need to Build a Low-Cost YouTube Studio

http://www.makeuseof.com/tag/build-low-cost-youtube-studio/

Subtitle Generators Online

The 5 Best Free Auto Subtitle Generators Online

Free or Open source Subtitle editor

Comparison of subtitle editors

For TV captions, use white color font with black color for borders and transparent background.

OpenShot-qt

sudo apt-get install openshot

When I needed to export the video (choose 'youtube' profile, 'youtube-HD' target, 'HD 270, 29 .97 bps', and 'high' quality), I found I need to install libx264 code. On Ubuntu, I open software center and seach 'libavformat'. I choose 'libavformat-extra-53'.

An introduction to video editing in Openshot 2.0 from howtoforge.

Don't use the version (1.4.3 date 2009) because it crashed too often.

The new version 2.0.7 (date 2016) looks a little different (theme is black. Cool!). Its icon and command (openshot-qt) are different too. The project saved from 1.4.3 cannot be opened in 2.0.7. The tools icons are different: Add track, Snapping tool, Add Marker, Previous Marker, Next Marker, Zoom in/out.

This version of OpenShot + (old) Core2Duo Ubuntu = Dynamic Heatmap Viewer video.

Audio library

You can download free music from Youtube Audio Library. If you use a copy righted music and upload your video to youtube, the video will show Ad eventually.

Take a snapshot

The keyboard shortcut Ctrl+d does not work.

One suggestion is to use VLC. VLC -> Video -> Take Snapshot. The snapshot will be automatically created in ~/Pictures/ directory (*.png format).

Procedure

  1. Put audio and video files in one folder
  2. Use openshot to create a new video. Also
    • Use the +/- sign for zoom in and zoom out
    • Right click video file and select Volume -> Entire clip -> level 0%
    • Right click audio and select Volume -> End of clip -> fade out (slow)
  3. openshot -> Save (arrow/download-like button)
  4. openshot -> Export (red circle button)
    • Modify the file name so it won't overwrite the original (openshot won't check it)
    • Select Profile = Web, Target=Youtube-HD, Video Profile=HD 1080p 25 fps, Quality=High.
  5. Check the exported video (play it first by VLC).
    • On one instance the audio is fuzzy until the middle of the video. So I have to change the audio
    • On another instance the video length is longer than I expected because the final annotation slide lasts too long. A solution is to change the setting (Profile=All Formats, Target=MP4 (h.264), Video Profile=HD 1080p 24 or 23.98 fps). If I use 25 fps, the file will be wrong.
  6. Upload to Youtube. Use Youtube video editor to include annotation.

VideoLAN Movie Creator

ffdiaporama

Create videos from images, movie clips and music.

Flowblade Movie Editor

It is written in Python. Only Linux version is available (no Windows nor OS X). Good for beginners.

sudo apt-get install flowblade

Lightworks

Free and Pro versions are available. Windows/Linux/OSX.

Windows

How to Create Videos With the Windows 11 Photos App

Codec information

How to find out which Codec a video file is using

Video rip/convert/transcoder

sudo add-apt-repository ppa:stebbins/handbrake-releases
sudo apt-get update
sudo apt-get install handbrake-gtk

sudo apt-get install handbrake-cli

To merge audio and video

# naive: use the one with longer duration as the total length
avconv -i music.m4a -i input.mp4 -acodec aac -strict experimental output.mp4
# improved: specify the start time (-ss) and duration (-t)
# unfortunately the music at the specified end time may not be the end
# so a better way is to use a video editor (eg OpenShot) and specify fade out on the end of the audio!
avconv -i music.m4a -i input.mp4 -acodec aac -strict experimental -ss 00:00:00 -t 00:01:01 -codec copy output.mp4

To extract audio only:

avconv -i INPUT.flv -codec copy -vn OUTPUT.mp4

Handbrake to reduce file size

When I try to use handbrake to convert a video,

  • Original file: 25 seconds. Bit rate is N/A. 16.8MB.
  • "Preset - Official - General - Fast 1080p30". Bit rate 3461 kbps. File size is 11.6MB
  • "Preset - Official - General - Very Fast 1080p30". Same dimension, code, frame rate but bit rate is half. Audio properties are the same. File size 6.2MB

Convert video to gifs

PC build for video editing

Video Editing 4K PC Build: Creating Content for Under a Grand

Crop videos

FFmpeg: How To Crop Videos, With Examples

Google map animation

How the sausage is made

Frame rate, bit rate

Video Bitrate Vs. Frame Rate

Tips to Make Home Videos Look Professional

10 Simple Tips to Make Home Videos Look Professional

Video conference apps

PowerPoint

GPU Acceleration

H.264

Advanced Video Coding

VP9

H.265

AV1

OBS

影評