I’m deploying a VideoJS on a website since HTML5 player player doesn’t has sound control…. I want the player to have 100% of the div’s width…. any normal attempt – css, inline css blablabla didn’t worked….
From several solutions that I’v found on the interwebs 🙂 this was the one that worked out… THIS ONE! –> http://jsfiddle.net/alexbell/Zs5WB/
It was posted on VideoJS – Auto height based on aspect ratio #771 by baloneysandwiches.
On his post there’s a reference for a 2009 article on A List Apart – Creating Intrinsic Ratios for Video.
ffmpeg -i source_path/movie.mpg -c:v libx264 -vsync 2 -strict -2 dest_path/movie.mp4
ffmpeg -i source_path/movie.mpg -vcodec libtheora -q:v 10 -codec:a libvorbis -q:a 5 -vsync 2 -threads 0 dest_path/movie.ogv
ffmpeg -i source_/movie.mpg -acodec libvorbis -aq 5 -ac 2 -qmax 25 -threads 2 dest_path/movie.webm