VideoHelp Forum




Results 1 to 3 of 3
  1. Member
    Join Date
    Oct 2008
    Location
    Germany
    Search Comp PM
    hi all,

    i want to convert a .mov file (h264) to .avi (divx ffmpeg encoder) using ffmpegX. However, there is no audio for the output file. The input .mov file has two streams: stream#0.0 = audio, stream#0.1 = video. I tried another .mov file where the streams are swapped, i.e., stream#0.0 = video, stream#0.1 = audio. For the latter input file everything works perfectly.

    I also tried the ffmpegX audio option "invert map" - without any effect. this is my output log:

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX universal build for ffmpegX
    Sat Oct 11 11:38:49 CEST 2008
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    movtoy4m
    Copyright 2002-2006 Johan Lindström
    All rights reserved..
    Input #0, yuv4mpegpipe, from 'pipe:':
    Duration: N/A, bitrate: N/A
    Stream #0.0, 25.00 fps(r): Video: rawvideo, yuv420p, 640x352
    Output #0, avi, to '/Volumes/Filme/Sequenz 1.mov.ff.avi.e.avi':
    Stream #0.0, 25.00 fps(c): Video: mpeg4, yuv420p, 640x352, q=2-15, 940 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    bench: utime=0.661s
    video:899kB audio:0kB global headers:0kB muxing overhead 0.939302%
    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
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5597b8]negative ctts, ignoring
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Filme/Sequenz 1.mov':
    Duration: 00:00:06.5, start: 0.000000, bitrate: 14838 kb/s
    Stream #0.0(eng): Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
    Stream #0.1(eng), 25.00 fps(r): Video: h264, yuv420p, 720x576
    Codec type mismatch for mapping #0.1 -> #0.0

    So here is my questions:
    * Obviously, ffmpegX wants the video stream to be at #0.0 and audio at #0.1?! I also tried with divx mencoder - the same problem: no audio. My .mov file is written using final cut express. I cannot find an option to tell fce to swap the streams. can ffmpegX swap the streams (again, "invert map" is not working)? Is there a tool available to do so?

    kind regards,
    claus

  2. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    If you have QuickTime Pro, then you can reverse the stream ordering in the source file by extracting the audio (from the 'first' position) and inserting it back again (at the 'last' position). I have detailed the procedure in a previous post.

  3. Member
    Join Date
    Oct 2008
    Location
    Germany
    Search Comp PM
    thanx for the hint, qt pro did the job




Similar Threads

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