VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    Jan 2010
    Location
    Australia
    Search Comp PM
    Hi,

    I need to create AVI XviD from a video produced by iMovie. I have exported from iMovie a couple of different ways (MP4 and .mov) and the same thing happens. The picture is perfect, just no sound. As an example I'll include the details from the MP4:

    filename: test2.mp4
    Source format (identified in the drop zone): From MP4
    Video: mpeg4, yuv420p, 640x480
    Audio: aac, 44100 Hz, stereo

    Target: To AVI XviD
    Video: mencoder svid, 640x480, 940 kbps, 29.97fps, no crop
    Audio: mp3, 4800 Hz, 128 kbps

    To note, in the audio tab, thse are the settings:
    Codec: .MP3 (encode audio is ticked)
    Audio parameters
    Audio bitrate: 128
    Sampling 48000 Hz (changing it to 44100 does not change things)
    Channels: Stereo
    Mode: CBR
    Audio track: 0
    Invert mapping OFF (changing it to ON does not change things)
    Audio Gain +0
    Add audio.. (blank)

    When I encode, this is the start of the output (asterisks mine):
    Code:
    Encoding started on Wed Jan  6 10:00:47 EST 2010
    MEncoder dev-CVS-060307-04:23-4.0.1 (C) 2000-2006 MPlayer Team
    Mac OSX static build for ffmpegX
    FIXME:Hardenabling SSE and SSE2 without detection
    CPU: Intel  (Family: 6, Stepping: 8)
    CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    success: format: 0  data: 0x0 - 0x7f6843
    ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
    Quicktime/MOV file format detected.
    VIDEO:  [mp4v]  640x480  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
    *****MOV: selected audio stream (1) does not exists*****
    [V] filefmt:7  fourcc:0x7634706D  size:640x480  fps:29.97  ftime:=0.0334
    xvid: using library version 1.2.-127 (build xvid-1.2.0-dev)
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    Opening video filter: [scale w=640 h=480]
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ==========================================================================
    VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
    SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
    videocodec: XviD (640x480 fourcc=44495658 [XVID])
    xvid: par=0/0 (vga11), displayed=640x480, sampled=640x480
    xvid: CBR Rate Control -- bitrate=940kbit/s
    Writing header...
    ODML: vprp aspect is 4:3.
    Writing header...
    ODML: vprp aspect is 4:3.
    Skipping frame!
    .......... etc
    If I change audio track to 1, it gives the error about being unable to find (2). Change it to 2, it says it can't find (3), and so on.

    iMovie seems to only allow me to save audio as aac. But ffmpegX converts a completely differently-sourced MP4 with aac audio fine (MP4, video h264, yuv420p, 320x240, aac, 48000 Hz, stereo)
    Code:
    Encoding started on Wed Jan  6 10:10:13 EST 2010
    MEncoder dev-CVS-060307-04:23-4.0.1 (C) 2000-2006 MPlayer Team
    Mac OSX static build for ffmpegX
    FIXME:Hardenabling SSE and SSE2 without detection
    CPU: Intel  (Family: 6, Stepping: 8)
    CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    success: format: 0  data: 0x0 - 0x1dfe110
    Quicktime/MOV file format detected.
    VIDEO:  [avc1]  320x240  24bpp  29.969 fps    0.0 kbps ( 0.0 kbyte/s)
    [V] filefmt:7  fourcc:0x31637661  size:320x240  fps:29.97  ftime:=0.0334
    ==========================================================================
    Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
    AUDIO: 48000 Hz, 2 ch, s16le, 64.7 kbit/4.22% (ratio: 8093->192000)
    Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
    ==========================================================================
    Opening video filter: [expand osd=1]
    MP3 audio selected
    pect: 0.000000, round: 1
    Opening video filter: [scale w=320 h=240]
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    Forcing output fourcc to 58564944 [DIVX]
    VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    SwScaler: using unscaled Planar YV12 -> Planar YV12 special converter
    videocodec: libavcodec (320x240 fourcc=58564944 [DIVX])
    Writing header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    Writing header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    Skipping frame!
    ........ etc
    This makes me think something weird is going on with iMovie's output. I can't think of what else to try. Suggestions?

    ((edited to add description at the top: "The picture is perfect, just no sound. "))
    Quote Quote  
  2. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by rikyo
    The picture is perfect, just no sound.
    Originally Posted by ffmpegX Process Information log
    MOV: selected audio stream (1) does not exists
    Suggestions?
    This seems very similar to the issue mentioned in the MP4 to AVI - no sound, no subs thread. The inverted stream order is messing with the "-aid 1" mencoder option. I've come to consider this an ffmpegX bug.
    You could go command line without the "-aid 1" option,
    or reverse the streams manually with MP4Box (1) or QuickTime Pro (2).

    Originally Posted by rikyo
    This makes me think something weird is going on with iMovie's output.
    You can't avoid the inverted stream order with Apple's apps, as this seems to be build into QuickTime export functionality.
    Quote Quote  
  3. Member
    Join Date
    Jan 2010
    Location
    Australia
    Search Comp PM
    Thanks very much, Case. I had skimmed that thread (and all the others I could find) and not fully understood the final post it until I wrote all of the above. Reading that thread carefully, it indeed seems to be the problem you describe here. I would consider it a bug, too. Thank you for confirming that it was to do with the iMovie export.

    I am needing to convert files for a very specific limited-time purpose and should only need a week or two's worth of use (for now) so I have just tried the DivX 7 Converter, which gives a 15 day free trial. The output of that program seems to play very happily on the particular fussy piece of equipment I'm doing this all for!

    I am a little hesitant to learn to use the command line for ffmpegX right now in case I miss something else important (and I don't have a lot of time for this project). I'll try the command line options if I need to come back to it. Overall, it seems a very neat program, so I'll very likely be back! Thanks again.
    Quote Quote  



Similar Threads

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