VideoHelp Forum




Results 1 to 9 of 9
  1. Member
    Join Date
    Feb 2009
    Location
    United States
    Search Comp PM
    I am on an Intel Core 2 Duo iMac running OS X 10.5.6.

    I installed ffmpegX according to the instruction at http://ffmpegx.com/download.html

    Everything went pretty smooth. I verified that the installer copied the files into /Library/Application Support/ffmpegX directory with the owner/group settings of root:admin and permissions of 755 (-rwxr-xr-x, except that mpeg2inc has a permission set of -rwxr-xr-x@)

    ffmpegX launches just fine and I can specify settings, etc. However, when I try to convert a QuickTime .mov file to .flv, I get the following encode details and 0K files:

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX universal build for ffmpegX
    Thu Feb 12 10:58:57 MST 2009
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5597b8]negative ctts, ignoring
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/sysadm01/Public/Jobs/Sites/westpress-joomla/assets/PrintingIndustriesofAmerica/Transparency.mov':
    Duration: 00:04:07.6, start: 0.000000, bitrate: 925 kb/s
    Stream #0.0(eng): Audio: adpcm_ima_qt, 48000 Hz, stereo
    Stream #0.1(eng), 29.97 fps(r): Video: h264, yuv420p, 480x270
    Codec type mismatch for mapping #0.0 -> #0.0
    Can someone please help me troubleshoot this?

  2. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by cdaters
    Codec type mismatch for mapping #0.0 -> #0.0
    In your .mov file the audio stream is listed before the video stream. This is reverse from how ffmpeg handles conversion by default. For other types of conversions, I would recommend the "Invert mapping" setting in the Audio tab, but for conversions to FLV this setting would introduce a stuttering issue with Adobe Flash Player (the webbrowser plug-in) that you wouldn't want.
    You can invert the streams manually using QuickTime Pro before conversion as a work-around, so that ffmpegX wouldn't need inverted stream mapping.

    Edit: link updated
    Last edited by Case; 23rd Mar 2010 at 12:51.

  3. Member
    Join Date
    Feb 2009
    Location
    United States
    Search Comp PM
    Freakn brilliant! Thank you

  4. Member
    Join Date
    Aug 2005
    Location
    Palo Alto, California USA
    Search Comp PM
    This issue arises so frequently that perhaps it should be made a sticky. Ditto for the "where is progress.app" issue, perhaps.

    Just a thought. It would save a lot of Case's time.

  5. Member
    Join Date
    Apr 2009
    Location
    United States
    Search Comp PM
    I tried that and now I get this error:

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX universal build for ffmpegX
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/ajohnson/Desktop/toyota project5a.mov':
    Duration: 00:03:42.5, start: 0.000000, bitrate: 167260 kb/s
    Stream #0.0(eng), 29.97 fps(r): Video: Uncompressed 8-bit 4:2:2, 720x480
    Stream #0.1(eng): Audio: pcm_s16be, 48000 Hz, stereo, 1536 kb/s
    Mon Apr 6 14:22:08 CDT 2009
    Output #0, flv, to '/Users/ajohnson/Desktop/toyota project5a.mov.ff.flv':
    Stream #0.0, 12.00 fps(c): Video: flv, yuv420p, 320x240, q=2-15, 400 kb/s
    Stream #0.1: Audio: mp3, 22050 Hz, stereo, 56 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Unsupported codec (id=0) for input stream #0.0

    I have the files uncompressed. Do I need to have them compressed for this to work?

  6. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by deecro
    Input #0, from 'foo.mov':
    Stream #0.0(eng), 29.97 fps(r): Video: Uncompressed 8-bit 4:2:2, 720x480
    Unsupported codec (id=0) for input stream #0.0
    The codec that is used to describe "Uncompressed 8-bit 4:2:2" video isn't understood by ffmpeg. Try setting ffmpegX to 'Decode with QuickTime' (in the Options tab), so that ffmpegX can try to hook into the QuickTime architecture for reading the source file. I think that should work if "Uncompressed 8-bit 4:2:2" is available on that machine (part of Final Cut?).
    Alternatively, try working from a compressed file.

  7. Member
    Join Date
    Apr 2009
    Location
    United States
    Search Comp PM
    Yeah, it was part of final cut. I tried decode with QT to no avail. I then tried the animation codec on output from FCP and it seems to work that way as long as I manually invert the mapping (using DV makes my text go to crap.) Took all day, but I finally managed to make it work!

  8. Member
    Join Date
    Feb 2010
    Location
    United States
    Search Comp PM
    Hi:

    I am having the same problem. Just downloaded FFMpegx today and am attempting to encode a QT movie into flash. I've tried setting to "Decode with Quicktime" but to no avail. When it is complete MPEG Streamclip opens with the error message "File open error: the file is too short". Any clue as how to tackle this? FYI: I currently don't have FCP on my comp therefore I cannot convert to an animation codec as the previous poster has.......

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Tue Feb 2 16:21:39 PST 2010
    Mac OSX universal build for ffmpegX
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5597b8]negative ctts, ignoring
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/garynueman/Desktop/Films 4 website/line/Sprint_Dreams Cut.mov':
    Duration: 00:00:51.7, start: 0.000000, bitrate: 619 kb/s
    Stream #0.0(eng): Audio: adpcm_ima_qt, 22050 Hz, mono
    Stream #0.1(eng), 14.98 fps(r): Video: h264, yuv420p, 480x360
    Codec type mismatch for mapping #0.0 -> #0.0

  9. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by whosjay View Post
    Codec type mismatch for mapping #0.0 -> #0.0
    Please see the second post in this thread.




Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!