Repo to deliver the second lab of the SCAV subject
The p2_main.py file has a set of simple functions that will execute some ffmpeg commands. It can be run as:
python3 p2_main.py
The functions are the following:
-
- Cut a provided video in N seconds. Right now it cuts from the start only.
-
- Extracts the YUV histograms and shows them overlayed on the video.
-
- Resize the video into 4 resolutions: 720p, 480p, 360p, 160p.
-
- Change the audio tracks from a video. Change either to mono/stereo, or the codec used (aac, vorbis or mp3).