Q. I have configured the correct paths to ffmpeg and mencoder in my video sharing scripts, but it is not generating .flv files.
Thumbnails are generated, but videos do not play in the browser.
A. With the new versions of ffmpeg and mencoder, following line needs to be changed in your convertor file. Following are the names of the file for the respective software :
phpMotion : convertor.php
ClipShare : convert.php
Open the file in your favorite text editor and replace the following line with the new one as listed below:
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -vop
REPLACE WITH
-ofps 12 -vf
If the above does not work, then you may need to try the following combination:
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -vf
* Be sure to take a backup of your convertor file prior to editing.