[SOLVED] Convert video with ffmpeg so that its playable in OwnCloud and Piwigo (with VideoJS enabled).

This is the commmand I am using:

ffmpeg -i ./input.avi -threads 2 -c:v libx264 -preset slow -profile:v high -c:a aac -strict -2 -vf scale=-1:720 ./new_video.mp4

Modify it to suite your needs if necessary.

Cheers.

Andrzej

AndrzejL

"Never meet Your heroes. Most of the time you'll only end up disappointed." White Polak Male Husband Employee Hetero Carnivorous Fugly Geek @$$hole with ADD Catholic “Some men just want to watch the world burn.”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.