VideoHelp Forum
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. Hey, I don't know what's wrong here. All I'm trying to do is convert this movie which is in divx avi format into a dvd and get the subtitles permanently into the video (Which I'm under the impression the only way to do that is to use mpeg2enc and decode with mplayer). I set up my settings and right after I click encode it fails saying it can't open the .mpv file. Any help would be appreciated! Below are the process details:


    ----------------------------------------------------

    Encoding started on Sat Nov 10 23:17:28 EST 2007
    /Volumes/FireWire120GB/the_fourth_world_war.avi.ff/
    -f 5 -b 4000 -q 3 -B 260 -V 230 -a 2
    -F 1
    INFO: [yuvscaler] yuvscaler (version 1.7.0) is a general scaling utility for yuv frames
    INFO: [yuvscaler] (C) 2001-2002 Xavier Biquard <xbiquard@free.fr>
    INFO: [yuvscaler] yuvscaler -h for help, or man yuvscaler
    /Users/fatal/Apps/ffmpegX.app//Contents/Resources/mencvcdX: line 207: /Library/Application Support/ffmpegX/mpeg2enc: Malformed Mach-o file
    MPlayer 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: 6)
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
    get_path('codecs.conf') -> '/Users/fatal/.mplayer/codecs.conf'
    Reading /Users/fatal/.mplayer/codecs.conf: Can't open '/Users/fatal/.mplayer/codecs.conf': No such file or directory
    Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
    Using built-in default codecs.conf.
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    Using Darwin accurate timing
    Terminal type `unknown' is not defined.
    get_path('input.conf') -> '/Users/fatal/.mplayer/input.conf'
    Can't open input config file /Users/fatal/.mplayer/input.conf: No such file or directory
    Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
    Falling back on default (hardcoded) input config
    get_path('the_fourth_world_war.avi.conf') -> '/Users/fatal/.mplayer/the_fourth_world_war.avi.conf'
    Playing /Volumes/FireWire120GB/the_fourth_world_war.avi.
    get_path('sub/') -> '/Users/fatal/.mplayer/sub/'
    [file] File size is 724062208 bytes
    STREAM: [file] /Volumes/FireWire120GB/the_fourth_world_war.avi
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    AVI file format detected.
    list_end=0x2292
    ======= AVI Header =======
    us/frame: 41709 (fps=23.976)
    max bytes/sec: 0
    padding: 0
    MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
    frames total: 109516 initial: 0
    streams: 2
    Suggested BufferSize: 0
    Size: 640 x 424
    ==========================
    list_end=0x10F4
    ==> Found video stream: 0
    ====== STREAM Header =====
    Type: vids FCC: divx (78766964)
    Flags: 0
    Priority: 0 Language: 0
    InitialFrames: 0
    Rate: 1000000/41709 = 23.976
    Start: 0 Len: 109516
    Suggested BufferSize: 49342
    Quality -1
    Sample size: 0
    ==========================
    Found 'bih', 40 bytes of 40
    ======= VIDEO Format ======
    biSize 40
    biWidth 640
    biHeight 424
    biPlanes 1
    biBitCount 24
    biCompression 808802372='DX50'
    biSizeImage 814080
    ===========================
    Regenerating keyframe table for MPEG4 video
    list_end=0x2186
    ==> Found audio stream: 1
    ====== STREAM Header =====
    Type: auds FCC: (0)
    Flags: 0
    Priority: 0 Language: 0
    InitialFrames: 1
    Rate: 16000/1 = 16000.000
    Start: 0 Len: 73084341
    INFO: [yuvscaler] SVCD output format requested in NTSC norm
    8000
    Quality -1
    Sample size: 1
    ==========================
    Found 'wf', 30 bytes of 18
    ======= WAVE Format =======
    Format Tag: 85 (0x55)
    Channels: 2
    Samplerate: 44100
    avg byte/sec: 16000
    Block align: 1
    bits/sample: 0
    cbSize: 12
    mp3.wID=1
    mp3.fdwFlags=0x2
    mp3.nBlockSize=1
    mp3.nFramesPerBlock=1
    mp3.nCodecDelay=1393
    ===========================
    list_end=0x2292
    AVI: dmlh found (size=248) (total_frames=109516)
    list_end=0x2AF2D402
    Found movie at 0x280C - 0x2AF2D402
    INFO: [yuvscaler] input: frame size: 640x424 pixels (407040 bytes)
    INFO: [yuvscaler] input: frame rate: 23975641/1000000 fps (~23.975641)
    INFO: [yuvscaler] input: interlace: none/progressive
    INFO: [yuvscaler] input: sample aspect ratio: ?
    INFO: [yuvscaler] from 640x424, take 640x424+0+0, NOT_INTERLACED/PROGRESSIVE
    INFO: [yuvscaler] scale to 848x360, 848x480 being displayed, NOT_INTERLACED/PROGRESSIVE
    INFO: [yuvscaler] Scaling uses the BICUBIC algorithm,
    mes (fpos=720557066)
    AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1F4C)
    Auto-selected AVI audio ID = 1
    Auto-selected AVI video ID = 0
    AVI: Searching for audio stream (id:1)
    AVI video size=645585131 (109516) audio size=73084341 (73084341)
    VIDEO: [DX50] 640x424 24bpp 23.976 fps 1130.7 kbps (138.0 kbyte/s)
    [V] filefmt:3 fourcc:0x30355844 size:640x424 fps:23.98 ftime:=0.0417
    SUB: Detected subtitle file format: subviewer
    SUB: opened iconv descriptor.
    SUB: closed iconv descriptor.
    er] without line switching
    INFO: [yuvscaler] without time forwarding
    INFO: [yuvscaler] Without luminance correction
    INFO: [yuvscaler] Without chrominance correction
    INFO: [yuvscaler] black lines: 60 above and 60 under
    INFO: [yuvscaler] black columns: 0 left and 0 right
    INFO: [yuvscaler] frame rate: 23.976 fps
    INFO: [yuvscaler] Scaling ratio for width is 40 to 53
    INFO: [yuvscaler] and is 53 to 45 for height
    3 subtitles.
    SUB: Adjusted 138 subtitle(s).
    SUB: added subtitle file (1): /Volumes/FireWire120GB/the.fourth.world.war.sub
    get_path('sub/') -> '/Users/fatal/.mplayer/sub/'
    SUB: Detected subtitle file format: subviewer
    SUB: opened iconv descriptor.
    SUB: closed iconv descriptor.
    SUB: Read 223 subtitles.
    SUB: Adjusted 138 subtitle(s).
    SUB: added subtitle file (2): /Volumes/FireWire120GB/the.fourth.world.war.sub
    ================================================== ========================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
    mp3lib: using generic C decore!
    MP3lib: init layer2&3 finished, tables done
    MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
    Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
    AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    MPlayer interrupted by signal 13 in module: flip_page
    ======
    Using (default) progressive frame mode.============================================= =============================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    INFO: libavcodec init OK!
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ================================================== ========================
    Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
    [libaf] Adding filter dummy
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    - MPlayer crashed. This shouldn't happen.
    It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
    gcc version. If you think it's MPlayer's fault, please read
    DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
    won't help unless you provide this information when reporting a possible bug.
    zed: 44100Hz/2ch/s16le
    [AO PCM] File: audiodump.wav (WAVE)
    PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
    [AO PCM] Info: Faster dumping is achieved with -vc null -vo null
    [AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
    AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)
    AO: Description: RAW PCM/WAVE file writer audio output
    AO: Author: Atmosfear
    Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    INFO: Opened WAV file, freq = 44100 Hz, channels = 2, bits = 16
    tialized: 44100Hz/2ch/s16le
    Starting playback...
    [ffmpeg] aspect_ratio: 1.509434
    VDec: vo config request - 640 x 424 (preferred colorspace: Planar YV12)
    Trying filter chain: vo
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.51:1 - prescaling to correct movie aspect.
    VO Config (640x424->640x424,flags=0,'MPlayer',0x32315659)
    VO: [yuv4mpeg] 640x424 => 640x424 Planar YV12
    VO: Description: yuv4mpeg output for mjpegtools
    VO: Author: Robert Kesterson <robertk@robertk.com>
    INFO: format = 0x1, audio length = 65536 bytes
    INFO: slots/frame = 672
    INFO: frac SpF=0.000, tot bitrate=224 kbps, s freq=48.0 kHz
    INFO: System is big endian
    ices) mp_image_t, 640x432x12bpp YUV planar, 414720 bytes
    Uninit audio filters...
    [libaf] Removing filter dummy
    uninit audio: mp3lib
    uninit video: ffmpeg
    wait, encoding to mp2 audio with mp2enc...
    INFO: Avg slots/frame = inf; b/smp = inf; br = inf kbps
    INFO: Encoding with psychoacoustic model 2 is finished
    INFO: The MPEG encoded output file name is "/Volumes/FireWire120GB/the_fourth_world_war.avi.ff.mpa"
    INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01 22:23:01 $)
    **ERROR: [mplex] Unable to open file /Volumes/FireWire120GB/the_fourth_world_war.avi.ff.mpv for reading.
    Quote Quote  
  2. Member
    Join Date
    Aug 2005
    Location
    Palo Alto, California USA
    Search Comp PM
    A key clue is the note about the crashing of mplayer:


    - MPlayer crashed. This shouldn't happen.
    It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
    gcc version. If you think it's MPlayer's fault, please read
    DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
    won't help unless you provide this information when reporting a possible bug.


    Without a working mplayer, ffmpegx can't transcode the video stream. So, no m2v file gets generated, and the muxer properly complains about its non-existence.

    It's not obvious why mplayer is crashing, but you might want to try reinstalling it. Alternatively, select the "decode with QT" option if you have one. Of course, this will work only if QT is able to play the original clip.
    Quote Quote  
  3. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    /Library/Application Support/ffmpegX/mpeg2enc: Malformed Mach-o file
    Apparently mpeg2enc isn't a valid file either. You'll need to re-install that one. And it's likely that mplayer failed when it couldn't communicate with mpeg2enc.
    Quote Quote  
  4. Member
    Join Date
    Aug 2005
    Location
    Palo Alto, California USA
    Search Comp PM
    As usual, Case has identified an important clue.

    Given these oddities, you should probably run a disk utility first to make sure that a disk problem isn't at the root of your troubles, and then do a fresh install of ffmpegx and all of its components. Some bits seem to have gotten bent somewhere.
    Quote Quote  
  5. What exactly should I do to "re-install" mplayer and mpeg2enc? I just recently installed ffmpegx (if installing is just dragging it to my hard drive) and installed the three necessary components (if installed is simply downloading them from the provided addresses in ffmpegx and selecting them in that little welcome window. I'm confused as to what could've gone wrong in this process of moving files around?
    Quote Quote  
  6. Originally Posted by modyouup
    What exactly should I do to "re-install" mplayer and mpeg2enc? I just recently installed ffmpegx (if installing is just dragging it to my hard drive) and installed the three necessary components (if installed is simply downloading them from the provided addresses in ffmpegx and selecting them in that little welcome window. I'm confused as to what could've gone wrong in this process of moving files around?
    I tried doing this anyway just now and downloaded the appropriated files from the links given in the ffmpegx self-installer and did it again, it unfortunately didn't make a difference, got the same result.
    Quote Quote  
  7. Member
    Join Date
    Aug 2005
    Location
    Palo Alto, California USA
    Search Comp PM
    Did you run a disk utility, as I also suggested? You may be suffering from a disk problem.

    Another thing to do is "repair permissions" (a regularly-needed bit of OS X housecleaning). Open up Disk Utility and you'll see an option for this. Occasionally, a bit gets bent, and a perfectly well-installed file gets marked with wrong permissions, preventing the app from using it.
    Quote Quote  
  8. Yep just tried a repair disk and permissions as well. Unfortunately it didn't change anything.
    Quote Quote  
  9. Member
    Join Date
    Aug 2005
    Location
    Palo Alto, California USA
    Search Comp PM
    Here are some other things to check/try:

    1) You unzipped those downloaded modules first, right? Silly question, I know, but this has actually been the problem for more than one poster to this forum. Had to ask.

    2) Try dragging the old modules to the trash and empty it. Then try a re-install. You may want to do this to all of ffmpegx to perform a clean re-install of the whole shebang.
    Quote Quote  
  10. 1. Yes, I unzipped.

    2. I tried to find the modules but couldn't, where are they supposed to be? I searched mplayer for instance in the finder and found nothing. I then looked at the package contents of ffmpegx and couldn't find mplayer (or mpeg2enc or mencoder) in there either. However, when I press "preview" in the filters tab of ffmpegx, it comes up with the preview in mplayer, so it must be somewhere. I tried deleting ffmpegx and downloading it again. I also downloaded mencoder, mpeg2enc, and mplayer again, however in the self-installer the three were not in red, which it says they would be if they weren't present. I located them anyway and clicked install, didn't seem to make a difference.
    Quote Quote  
  11. Member
    Join Date
    Jan 2008
    Location
    United States
    Search Comp PM
    I am trying to do exactly the same thing and I'm having *exactly* the same difficulties. I notice that the thread came to a halt. Is there a solution?
    Quote Quote  
  12. Member
    Join Date
    Sep 2009
    Location
    United States
    Search Comp PM
    I discovered that there seems to be an issue with mplayer's xv codec and my video card. or at least the xv codec.

    By building mplayer without it:

    make -DWITHOUT_X11XV

    my problem with tovid generating the error: MPlayer interrupted by signal 13 in module: flip_page

    was resolved.

    Other authors in FreeBSD land have suggested changing (downgrading) video drivers, I thin the rebuild is easier to accomplish.

    Curtis
    Do not meddle in the internals of kernels, for they are subtle and quick
    to panic.
    Quote Quote  



Similar Threads

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