This is probably due to my ffmpeg-noobness, but I'm wondering why when I do a test on a .mov file, the video codec isn't recognized. When I look at the data in Quicktime, I see that I'm using the H264 codec, but when I click the 'use' radio button next to the video, the video information is blank, though the audio info appears to populate just fine.

I was able to convert a .mp4 file successfully to .avi, so ffmpeg appears to be working.

Any thoughts would be much appreciated, thanks!

Chris

Comments

Somebody-2’s picture

I followed domidc's example here: http://drupal.org/node/667286. By always returning true in ffmpeg_wrapper_can_decode, I was able to get the .mov file encoded. My guess is that the .mov package is obfuscating the video file somehow.

chrisshattuck’s picture

I accidentally posted the above comments from another user's account. This is actually the voice of chrisshattuck.

arthurf’s picture

What is probably happening is that your version of FFmpeg's output when you do ffmpeg -formats is different than what the module currently checks for. Would you mind pasting the output of this command? You should get something like:

ffmpeg -formats
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mac OSX universal build for ffmpegX
  configuration:  --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264 
  libavutil version: 49.0.0
  libavcodec version: 51.9.0
  libavformat version: 50.4.0
  built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
File formats:
  E 3g2             3gp2 format
  E 3gp             3gp format
 D  4xm             4X Technologies format
 D  RoQ             Id RoQ format
 D  aac             ADTS AAC
 DE ac3             raw ac3
  E adts            ADTS AAC
 DE aiff            Audio IFF
markusbroman’s picture

Hi

I am having similar problems, and think it has to do with the version of ffmpeg. My version of ffmpeg wants the command: "ffmpeg -codecs" to return the codecs. When I look at the code it seems as if ffmpeg wrapper sends "ffmpeg -formats" to ffmpeg to get that same list with codecs.

Is there a patch avalible that solves this or would it be alrigh to alter the line 412 in ffmpeg_wrapper.module so that it sends "ffmpeg -codecs" instead of -formats?

edit: I noticed this is an issue regarding 6.x-1.x-dev. I am using 6.x-1.1-beta2, dont know if it makes a difference.

Thanks! // Markus Broman