You have to care about the right "container" format. FFMPEG should work but does not have support for rotation.
Thats why this handbook is for mencoder.exe, which is bundled with the Mplayer.
1. Get the right mencoder.exe and ffmpeg.
Before starting to convert download the right version of mencoder.exe.
Take a look at http://oss.netfarm.it/mplayer-win32.php
BE AWARE that some versions have beta-code. This is why myself is encoding with the single-CPU-version. Multi-Core support crashed many times because of beta-decoding of mp4-streams.
2. Convert video/audio-streams
Here are the command lines I use.
Pass one:
mencoder.exe "C:\something\SAM_0688.mp4" -ovc x264 -x264encopts pass=1:bitrate=1000 -lavcopts vcodec=flv -oac mp3lame -lameopts mode=1:q=2:abr:br=128 -o temp.avi
Pass two:
mencoder.exe "C:\something\SAM_0688.mp4" -ovc x264 -x264encopts pass=1:bitrate=1000 -lavcopts vcodec=flv -oac mp3lame -lameopts mode=1:q=2:abr:br=128 -o temp.avi
3. copy both streams to a compatible FLV-container.
copy to flv-container:
ffmpeg -y -i "temp.avi" -vcodec copy -acodec copy output.flv
4. Upload file and use CKeditor SWF to insert your video into a node body.
Well, thats it. :-)
knil
Comments
Comment #1
knil commentedAlso take a look at http://drupal.org/node/984156
I created a Win32 tool for converting to H.264 FLV that does this job.
knil