Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I fix this? Since this happens on .mov source files and not .mp4 source files, I assume I don't have the proper decoders setup somehow. So do I need to recompile? and what settings do I need to use?

I'm trying to use ffmpeg to process most user uploaded movies into all the HTML5 supported codecs. It works when I am uploading mp4's but dies on .mov videos giving me the error. Here is the full output when runing the same commands from the terminal. I'm on centos 6.3 64bit because I'm using cPanel.

ffmpeg -i  Vails_in_the_Field.mov -b:v 300k -vcodec libx264 -g 30 -s 640x360  Vails_in_the_Field.mp4


ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers  built on Jan 30 2013 21:33:27 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)  configuration: --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libvo-aacenc --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --arch=x86_64 --extra-cflags=-fPIC
      libavutil      51. 73.101 / 51. 73.101
      libavcodec     54. 59.100 / 54. 59.100
      libavformat    54. 29.104 / 54. 29.104
      libavdevice    54.  2.101 / 54.  2.101
      libavfilter     3. 17.100 /  3. 17.100
      libswscale      2.  1.101 /  2.  1.101
      libswresample   0. 15.100 /  0. 15.100
      libpostproc    52.  0.100 / 52.  0.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8f6240] multiple edit list entries, a/v desync might occur, patch welcome
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8f6240] Stream #1: not enough frames to estimate rate; consider increasing probesize
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8f6240] Could not find codec parameters for stream 0 (Video: none (icod / 0x646F6369), 1280x720, 26592 kb/s): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Vails_in_the_Field.mov':
      Metadata:
        major_brand     : qt  
        minor_version   : 537199360
        compatible_brands: qt  
        creation_time   : 2013-01-31 21:29:39
        composer        : Alex Fulton
        title           : Score for Tea Bags Field
        artist          : Alex Fulton
        album           : Alex Fulton's Album
        encoder         : GarageBand 6.0.5
        date            : 2013
      Duration: 00:02:07.87, start: 0.000000, bitrate: 25560 kb/s
        Stream #0:0(eng): Video: none (icod / 0x646F6369), 1280x720, 26592 kb/s, SAR 1280:1280 DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc
        Metadata:
          creation_time   : 2013-01-31 21:29:39
          handler_name    : Apple Alias Data Handler
          timecode        : 00:00:00:00
        Stream #0:1(eng): Data: none (tmcd / 0x64636D74)
        Metadata:
          creation_time   : 2013-01-31 21:29:39
          handler_name    : Apple Alias Data Handler
          timecode        : 00:00:00:00
        Stream #0:2(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 191 kb/s
        Metadata:
          creation_time   : 2013-01-31 21:29:39
          handler_name    : Apple Alias Data Handler
    File 'Vails_in_the_Field.mp4' already exists. Overwrite ? [y/N] y
    Unable to parse option value "-1" as pixel format
    Error opening filters!

I also tried using a static binary linked from ffmpeg's page with exactly the same results.

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

Since May 17 2013, ffmpeg supports decoding the Apple Intermediate Codec, identified as icod.

It was not supported by earlier versions (see bug #1770), and is not yet available in a stable version, so you need to get a recent static build or build it yourself for support.

share|improve this answer
    
Ok so you're saying icod is a rare codec as far as .mov's go or will I have trouble with most .mov ? And I know their huge, that's why I want to convert them ;) , believe me if there was a simple way to do that client side on my web app I would do that, but all the solutions i've seen to convert before upload aren't stand alone and require dedicated stuff to be installed on the users machine, no simple flash or java applet can do it that I've seen. If you can prove me wrong I would be very happy. –  UserZer0 Feb 4 '13 at 21:12
    
Is there any conversion tool for linux that will convert Apple Intermediate Codec? –  UserZer0 Feb 4 '13 at 21:19
    
MOV containers are not the problem. It's the Apple Intermediate Codec, which is quite rare these days. Is your requirement that the conversion has to be on CentOS, command-line? To my knowledge there's no tool that can read AIC on Linux. MPEG Streamclip is a GUI application for OS X and Windows that can open the files, so you might be able to run it in Wine. –  slhck Feb 4 '13 at 21:44
    
@LordNeckbeard Thanks a lot for the update – I wouldn't have caught that. –  slhck May 17 '13 at 18:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.