I am facing some issues regarding video conversion using video module and FFMPEG. I am using following versions of drupal core,modules,libs and OS.

Drupal 7.23
Video Module 7.x-2.10
Video Presets 7.x-2.0
ffmpeg version N-60225-g4151b99.
Windows 7 64-bit

My task is to reduce the size of video file. I want to convert MP4 video file into mp4 video with smaller size. I have installed the ffmpeg on my system and convert the video successfully. My orgional video size was 10 MB and converted video is 2.20 MB. So FFMPEG is working perfect here.

Now i want to convert it using video module. As I open the preset of video and click on mp4 it gives me following error.

"The currently selected Video codec libx264 is no longer available, possibly because you changed the transcoder type or the transcoder itself was updated. Please select a new Video codec.
The currently selected Audio codec libmp3lame is no longer available, possibly because you changed the transcoder type or the transcoder itself was updated. Please select a new Audio codec."

There are a lot of audio and video codec. I try some combination but it gives me following error. You can find db logs for this error
here.(http://pastebin.com/QNBHSwA9)

"The video conversion process has failed. You might want to submit a simpler video format like mpeg or divx avi. If the problem persists contact your website administrator. Please check logs for further debugging".

So Please if you can guide me which audio and video codec i should select to convert the video file according to my scenario. Please visit following links for my ffmpeg version,codec and formats details

Version: http://pastebin.com/Mj7k9XRp
Format: http://pastebin.com/hrPN290p
Codec: http://pastebin.com/6UkwniSS
Video Conversion using cmd: http://pastebin.com/dxnxjvM2

Thank You,

Comments

jorrit’s picture

The error is: [libx264 @ 000000000291eac0] constant rate-factor is incompatible with 2pass.

You need to change your preset to use a variable bit rate and not a constant bit rate.

hypertext200’s picture

Status: Active » Closed (works as designed)