VideoHelp Forum




Results 1 to 13 of 13
  1. Im trying to convert mpg to avi, the video looks just fine but there is no audio.

    Im in an iBook g4 tiger

    in put source:

    MPG
    mpeg-2, 720x576, 9100 kbps, 25 fps
    ac3, 48000Hz, 448 kbps


    Out put:

    AVI DivX
    mencoder mpeg4, 640x352, 1265 kbps, 25 fps, no crop
    mp3, 48000 Hz, 128 kbps

    Any thoughts?

    F

  2. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    To find out why the encoder did what it did (or didn't), I'd like to see the Process Information log. You may access this log by clicking the blue "i" in the ffmpegX Progress window.

    You may try demuxing and remuxing the source MPG, using MPEG Streamclip. This may fix the file in such a way that mencoder will successfully convert both video and audio, as one might expect for most MPG files. To demux, choose File > Demux > Demux to M2V and AC3. To mux back again, open the M2V, in MPEG Streamclip, it will find the AC3 file by itself, save as .mpeg (not sure why MPEG Streamclip wants the 'e'). Rename to .mpg in the Finder, to make it easier for ffmpegX to handle the file.

  3. Process Information log i cant finded now, since i closed the sesion when i did the conversion, demuxing, will try it again and come back later.

    Thanks

  4. Process Information log i cant finded now, since i closed the sesion when i did the conversion, demuxing, will try it again and come back later.

    Thanks

  5. Did the demuxing and tryed again with same result no audio

    this is the log of the progress app


    Encoding started on Wed Dec 22 14:06:42 EET 2010
    MEncoder dev-CVS-051126-18:35-3.3 (C) 2000-2005 MPlayer Team
    Mac OSX static build for ffmpegX
    AltiVec found
    CPU: PowerPC
    success: format: 0 data: 0x0 - 0x7ac4cd99
    MPEG-PS file format detected.
    Too many video packets in the buffer: (610 in 8392400 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.
    MPEG: No audio stream found -> no sound.
    VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 8000.8 kbps (1000.1 kbyte/s)
    [V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
    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=352]
    ================================================== ========================
    The selected video_out device is incompatible with this codec.
    Also try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
    Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
    VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
    VDecoder init failed
    Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
    Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
    ================================================== ========================
    Forcing output fourcc to 58564944 [XVID]
    VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    SwScaler: FAST_BILINEAR scaler, from Planar YV12 to Planar YV12 using AltiVec
    videocodec: libavcodec (640x352 fourcc=58564944 [XVID])
    1 duplicate frame(s)!
    Writing AVI header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    1 duplicate frame(s)!
    Flushing video frames
    Writing AVI index...
    Fixing AVI header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    Video stream: 1263.902 kbit/s (157987 B/s) size: 467725778 bytes 2960.520 secs 74013 frames
    Encoding completed on Wed Dec 22 15:17:34 EET 2010

  6. It says:

    MPEG: No audio stream found -> no sound.

    But the original file when played on vlc has sound

    Please help

    F

  7. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Try the "XviD ffmpeg" or "Divx ffmpeg" preset. The conversion will use a different engine (ffmpeg), likely with better result (audio included) for this source file.

    The four presets with "XviD"/"Divx" produce very similar output, although they have different options, if you set them (in the Option tab).

    (I'll test some more on mencoder and mpeg-2 source files, see what I can find.)

  8. Ok will try thanks

  9. process information with xvid ffmpeg, no results:

    AVI XviD
    ffmpeg xvid, 640x352, 1265 kbps, 25 fps, no crop
    mp3, 48000 Hz, 128 kbps

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Fri Dec 24 17:33:23 EET 2010
    Mac OSX universal build for ffmpegX
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    Input #0, mpeg, from '/Users/federiconieto/Desktop/M2U00421.MPG':
    Duration: 00:49:20.6, start: 0.226767, bitrate: 5724 kb/s
    Stream #0.0[0x80]: Audio: ac3, 48000 Hz, 5:1, 448 kb/s
    Stream #0.1[0x1e0], 25.00 fps(r): Video: mpeg2video, yuv420p, 720x576, 9100 kb/s
    Codec type mismatch for mapping #0.0 -> #0.0

  10. same with divX ffmpeg


    Encoding started on Fri Dec 24 17:35:42 EET 2010
    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, mpeg, from '/Users/federiconieto/Desktop/M2U00421.MPG':
    Duration: 00:49:20.6, start: 0.226767, bitrate: 5724 kb/s
    Stream #0.0[0x80]: Audio: ac3, 48000 Hz, 5:1, 448 kb/s
    Stream #0.1[0x1e0], 25.00 fps(r): Video: mpeg2video, yuv420p, 720x576, 9100 kb/s
    Codec type mismatch for mapping #0.0 -> #0.0

  11. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by fnietoelgazi View Post
    Stream #0.0[0x80]: Audio: ac3, 48000 Hz, 5:1, 448 kb/s
    Stream #0.1[0x1e0], 25.00 fps(r): Video: mpeg2video, yuv420p, 720x576, 9100 kb/s
    Codec type mismatch for mapping #0.0 -> #0.0
    I see. This one is easily fixed. The version of ffmpeg used in ffmpegX cares about the stream order. That is, ffmpeg expects video as stream #0.0 and audio as stream #0.1. If the stream order is reversed, such as with your file, then ffmpeg needs to know about that. You can indicate such by setting the "Invert mapping" checkbox in the audio tab. Then Encode.

  12. Ok i did it it has audio, actually wierd thing the presents are not working at all the only preset that works is the DivX mencoder all the others when given the order to encode, encoded nothing in 2 seconds, but when i changed the encoder from the video tab suddenlly had audio in a small sample i did from my file.

    Cheers and thanks for your help hope this helps some one else later on, now i have to get to work since im behind because of this problem, nice christmas it will be

    F

  13. Ohh ok will try that again.

    thanks m8




Similar Threads

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