-
Notifications
You must be signed in to change notification settings - Fork 4
How to create and upload a video to the youtube channel
Alberto F. Martin edited this page Sep 28, 2021
·
1 revision
Let me bring here some quick notes to assist in the creation and upload of videos to your Youtube channel
I will present here a possible workflow starting from any output of a transient FE problem that can be visualized in ParaView. I hope that you can easily adapt these instructions to other contexts.
- Go to
File > Save Animation
to open theAnimation Settings Dialog
. - Important: YouTube on desktop machines uses a 16:9 aspect ratio player. To fit the YouTube player perfectly, change the resolution in the Animation Settings Dialog to one of the recommended resolution and aspect ratios.
- If you do not have ffmpeg, download the latest version. On Ubuntu 14.04, it is not available on the repository. There are several alternatives, but I have followed these instructions for version 3.3.3.
- Download the libx264 codec. Try either libavcodec-extra-53 or 54.
- Execute
ffpmeg -encoders
on the command line interface to show the list of available encoders. Check thatlibx264
is on the list. If not, something went wrong with either point 1. or 2. - Encode the sequence of PNGs into a MP4 video. After reading:
- Using ffmpeg to convert a set of images into a video
- Youtube's recommended upload encoding settings
- FFmpeg / Encode / Youtube, and
-
YouTube recommended encoding settings on ffmpeg
I came up with the following snipet for a list of images that are padded with zeros, e.g.,pic.0001.png
,pic.0002.png
,...:
ffmpeg -r 8 -f image2 -s 1920x1080 -i pic.%04d.png -vcodec libx264 -movflags faststart -tune stillimage -profile:v high -bf 2 -g 30 -coder 1 -crf 18 -pix_fmt yuv420p test.mkv
- Make sure you have the necessary privileges to upload videos on the YouTube channel.
- Watch this Youtube Help video with the upload instructions.