FAQ for home exam 2

Extracting from a video

To extract several seconds from a video using ffmpeg:
ffmpeg -ss 00:00:10 -to 00:00:22 -vc copy -i input.mp4 output.mp4

This creates a file output.mp4 containing 12 seconds from input.mp4 starting at second 10. It is also possible to use -t and specify the duration of the extracted video clip.

Adding required 360 metadata to a video

After processing with ffmpeg, output.mp4 will have lost some metadata that is needed to tell vlc and other players that this is a 360 video in equirectangular format. To add it, you must have python ins