Prototypology/Transcodology-3: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 1: Line 1:
=How to compress videos?=
<onlyinclude>
{{youtube|icruGcSsPp0}}
{{youtube|icruGcSsPp0}}


[https://www.ubu.com/sound/lucier.html I'm sitting in a room by Alvin Lucier]
[https://www.ubu.com/sound/lucier.html Reference: I'm sitting in a room by Alvin Lucier]


=How to compress videos?=
<onlyinclude>
Which compression should be used should be used?
Which compression should be used should be used?
* [https://caniuse.com/?search=h264 h264]
* [https://caniuse.com/?search=h264 h264]

Revision as of 15:11, 10 September 2025

How to compress videos?


Reference: I'm sitting in a room by Alvin Lucier

Which compression should be used should be used?

The fancy and hard way

ffmpeg -i input.mov -c:v libx264 -c:a aac -movflags +faststart  output.mp4
  • the option "-i" is the input file
  • the option "-c:v" is the video codec you use. in this case h264
  • the otpion "-c:a" is for the audio codec
  • the option "-movflags +faststart " is for web optimisation

The easy way

By using a software called HandBrake - The open source video transcoder

  • In HandBrake click on [Open source] and select the file you would like to transcode.
  • Select the preset.
  • For the web dont forget to select [Web optimized]

Further links