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

Re: OGM problems (XINE and MPlayer)



Sven Arvidsson wrote:
Scarletdown wrote:
I just figured that since the size of the new file was considerably smaller than the original (2.07MB vs. 27.94MB), and that it did play in MPlayer, then it must have worked. Apparently I was wrong...again.


You re-encoded the file with a more effective codec or lower bitrate,
the result is of course a smaller file.
Not sure what the default codec is with lavc, but you can check the
documentation, it's quite good.
http://mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-libavcodec.html


So then, what else is there to convert AVI to OGM, if neither mencoder nor AVIDemux are the answer?


This looks like a good guide,
http://axljab.homelinux.org/Mencoder_DVD_to_OGM

That was somewhat helpful. The relevant bit on that page was right near the end:

ogmmerge -o My_Video.ogm video.avi audio.ogg

However, I'm still having troubles getting the alleged ogm file to play in XINE "Video Codec Unavailable (0x0)", which is a little different than the error I got previously. Also, the new file still crashes MPlayer after the second play (and sometimes after the first). Additionally, the ogm file seems a little too large: 25.26MB, which is only a couple MB smaller than the original AVI. Is this normal, or is this _still_ not a real ogm file?

Here's the output from mplayer, FWIW.


***************************************************************

[Ogg] stream 0: video (FOURCC [Ogg] stream 1: audio (Vorbis), -aid 0
Ogg file format detected.
VIDEO:  []  148x264  24bpp  11.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [libvorbis] Ogg/Vorbis audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 160.0 kbit/11.34% (ratio: 20000->176400)
Selected audio codec: [vorbis] afm:libvorbis (OggVorbis Audio Decoder)
==========================================================================
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 148 x 264 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 148 x 264 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 148 x 264 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 148 x 264 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 148 x 264 (preferred csp: BGR 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 148 x 264 (preferred csp: BGR 24-bit)
VDec: using BGR 24-bit as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 148x264 => 148x264 BGR 24-bit  [flip]
SwScaler: using unscaled BGR 24-bit -> BGRA special converter
Selected video codec: [rawbgr24flip] vfm:raw (RAW BGR24)
==========================================================================
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...
A:  19.8 V:  19.9 A-V: -0.103 ct: -0.004 220/220  0%  0%  2.2% 0 0 0%

[ws] Error in display.
[ws]  Error code: 13 ( BadGC (invalid GC parameter) )
[ws]  Request code: 56
[ws]  Minor code: 0
[ws]  Modules: (NULL)




Reply to: