I'm trying to encode a video to m4v
, so I can play it using jplayer on my website, but having troubles while specifieng correct parameter to ffmpeg
. Here is the command I use:
ffmpeg -i 1.avi -vcodec mpeg4 -f m4v -qmax 8 1.m4v 2>&1
The video I get with this command won't play in jplayer and even in Totem Movie Player (on ubuntu). But if I try the demo video from jplayer website evrything works fine.
Can anyone give me a hint on what parameters I need to specify to ffmpeg
to get a working m4v
video, like the one with a bunny?