Video Editing

This is written in March 2021.

In this page, Adobe Premiere Pro is mostly described.

Workflow

If you make a video from multiple other videos, then

  1. Prepare source videos
  2. Clip some videos to make import time shorter and easy to edit
    • ffmpeg might be helpful to do this
  3. Import them into Premiere Pro
    • Ingest settings: Use Proxy
    • Codec: Apple ProRes or DNxHR
  4. Edit a video

Codec

FormatH.264ProResDNxHD/HR/HQ
Compression rateHighLow?
EditingNot goodGood?
Image8bit10bit8bit?
Audio?Uncompressed?
Platform?Windows may not supportCross platform
  • DNxHQ: Standard codec as of 2018
  • 10 bit codec has more color and shade options than 8 bit codec
  • If a compression rate is higher, it is inefficient for video editing because it requires decompression during video editing.

Import media

  • How to import .webm file?
  • Which one is better to ingest, transcoding or using proxies?
    • I do not know so far.
    • Both of transcoding and proxies needs to encode a media and it takes long time if it's a big file. If media is 2GB, you may have to wait a couple of hours to finish it.

Export media

See this video for more details about how to export videos faster in Premiere Pro. Here is a few tips from the video. For a complete tips, please watch the video.

  1. Format and codec of a sequence
    • Choose lightweight but high quality format and codec. For instance,
      • Preview File Format: QuickTime
      • Codec: DNxHR/DNxHD or ProRes
    • Pre-render by hitting a return or enter key
    • Enable "Use Previews" when you export your video
  2. About Bitrate ecoding settings under Video tab
    • Choose CBR (constant bitrates) and lower Target Bitrates for faster exporting
      • For example, to upload YouTube, YouTube recommendation for a HD video is 8Mbps bitrates

Audio editing

Troubleshootings for Adobe Premiere Pro

  1. How to fix spikes seen on captions when a font size is big.
  2. How to show two videos side by side?
    • Set scale to 50 for both of two videos and change the positions of them
    • See this answer on Quora for more details.

Other tools

ffmpeg

ffmpeg is a useful command line tool to encode, trim, or do other things for video files. The example of trimming and copy a video without encoding is something like this ffmpeg -i input.mp4 -ss HH:MM:SS -to HH:MM:SS -c copy output.mp4.

Here is brief explanation of each option:

Also, there is an other way to use ffmpeg.

  • Check a resolution of video: ffmpeg -i [file]

Spleeter

Spleeter is a tool to extract audios from a video. See its GitHub page for more details.

It doesn't require an off-vocal video to recognize an audio inside a video.

Utagoe Vocal Ripper (歌声りっぷ)

I've never used it. It extracts an audio from a video, the same as Spleeter. This requires an off-vocal video besides on-vocal one to extract. There is few English resource, but this is an example post to explain this tool in Japanese.