[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

OGM problems (XINE and MPlayer)



I'm in the process of learning how to create video files in OGM format, and have had some moderate success so far. First, I created an AVI file and added music to it using AVIDemux. Then, I used mencoder to convert to OGM, since AVIDemux seems to choke when I try to save my file as OGM.

Now, I can get the OGM file to play in mplayer. It plays through fine the first time. However, when the file finishes playing a second time, mplayer crashes. For diagnostic purposes, I ran mplayer from a command prompt, and this is what I got:

MPlayer 1.0pre7-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE




vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing /workspace/Images-and-Animations/DDT-6.OGM.
AVI file format detected.
VIDEO:  [FMP4]  148x264  24bpp  11.000 fps  647.5 kbps (79.0 kbyte/s)
Clip info:
 Software: MEncoder 1.0pre7-3.3.5
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)
==========================================================================
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [oss] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 148 x 264 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 0.56:1 - prescaling to correct movie aspect.
VO: [x11] 148x264 => 148x264 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGRA special converter
A:  20.0 V:  19.9 A-V:  0.059 ct:  0.030 220/220  1%  0%  1.5% 0 0 0%
Playing /workspace/Images-and-Animations/DDT-6.OGM.
AVI file format detected.
VIDEO:  [FMP4]  148x264  24bpp  11.000 fps  647.5 kbps (79.0 kbyte/s)
Clip info:
 Software: MEncoder 1.0pre7-3.3.5
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)
==========================================================================
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [oss] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 148 x 264 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 0.56:1 - prescaling to correct movie aspect.
VO: [x11] 148x264 => 148x264 Planar YV12
A:  20.0 V:  19.9 A-V:  0.070 ct:  0.061 220/220  1%  0%  1.6% 0 0 0%
[ws] Error in display.
[ws]  Error code: 13 ( BadGC (invalid GC parameter) )
[ws]  Request code: 149
[ws]  Minor code: 3
[ws]  Modules: (NULL)


Also, I noticed that right at the end, there is a real brief buzzing noise that isn't there in the AVI version. Are there any tools available to directly edit an OGM file that I may be able to use to fix that end buzz?

And finally, XINE does not seem to be able to play these OGM files for some reason. I have the Win32 Codecs package installed, and can play .ogg audio files with XINE, but .OGM files simply don't work. Here is the error I get:

"Video Codec Unavailable (FMP4)"

What do I need to install to get this to work with XINE?



Reply to: