0% found this document useful (0 votes)
16 views

P2 - Python FFMPEG (3)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

P2 - Python FFMPEG (3)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

P2 – More

FFMPeg
P2 | FFMpeg

You already know about FFMpeg. Let’s start


and do some exercises!

Do the exercises and upload them in a repo


called P2 in your Github!

Download the BBB if needed!


P2 | FFMpeg

1.-) Create a script which can cut N seconds


the BBB video. That N seconds will be read
from user input.

Run it once to ensure it works, with 12


seconds, for example
P2 | FFMpeg

2.-) Create a script which will extract the YUV


histogram from the previous BBB video you’ve
done and create a new video with both images
at the same time.
P2 | FFMpeg

3.-) Create a script which can resize the BBB


video into 4 differents video outputs (doesn’t
need to be at the same time):

·720p
·480p
·360x240
·160x120
P2 | FFMpeg

4.-) Create a script which can change the audio


into mono output and in a different audio codec
P2 | FFMpeg

5.-) Integrate the exercices you’ve done inside


a Python script, or do a Python script able to
launch any of the other exercices. Feel free to
create whatever you want!
Thanks
franciscojavier.brines@upf.edu

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy