vegac wrote:The problem with the idea of the initial buffering is that no matter how big of a buffer you make, it will eventually run out because the slower O2's can't keep up with the codec...
Meaning: Even if you buffer 10 frames, by the time you hit frame 15 your buffer is depleted and you're lagging again - the only way to really do this would be to buffer enough to compensate for the remaining of the decode time - ...
hamei wrote:well, you *could* introduce commercials ... [ ducking and running ]
lewis wrote:Hey vegac, does the pixeltex route not scale using textures? Surely Octanes at least have enough oomph for an extra context switch and a glCopyTexSubImage2D()? I seem to recall seeing 240 MPixels/sec quoted for SSE, a PAL stream is only like 10 or something...
vegac wrote:lewis wrote:Hey vegac, does the pixeltex route not scale using textures? Surely Octanes at least have enough oomph for an extra context switch and a glCopyTexSubImage2D()? I seem to recall seeing 240 MPixels/sec quoted for SSE, a PAL stream is only like 10 or something...
I had started working on a render-to-texture approach (basically working just like the O2's dmbuffer setup, only without the dmbuffers) but was getting errors about creating a 1024x512 texture + a 1024x512 pbuffer (needed for any video with a width larger than 512 and a height larger than 256 pixels).
SkyBound wrote:I'm not yet sure this could be of any help, but it looks like the Video Resize Extension could come in handy.
Code: Select all
Note: This extension is an SGIX (experimental) extension. The interface or other aspects of the extension may change. The extension is currently implemented only on InfiniteReality systems.
vegac wrote:Still, I'm not in any position to test it right now as all I have is my O2, and I'm about to be out of town for a week, but someone might want to play with it?
Diego wrote:Sure!; just pass me an url to get the tar.gz, and I'll do happily!
schleusel wrote:well, source code and patches are both in the tardist.. :pixeltex is odyssey/mgras only though, so you'd have the same problem as vegac in this case
Code: Select all
MPlayer 1.0pre5 - MIPSpro Compilers: Version 7.4.2m (C) 2000-2004 MPlayer Team
CPU: SGI MIPS
Reading config file /opt/mplayer/etc/mplayer/mplayer.conf
Reading config file /usr/people/queen/.mplayer/config
Reading /usr/people/queen/.mplayer/codecs.conf: Can't open '/usr/people/queen/.mplayer/codecs.conf': No such file or directory
Reading /opt/mplayer/etc/mplayer/codecs.conf: 73 audio & 180 video codecs
font: can't open file: /usr/people/queen/.mplayer/font/font.desc
Font /opt/mplayer/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Can't open input config file /usr/people/queen/.mplayer/input.conf: No such file or directory
Can't open input config file /opt/mplayer/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Cache fill: 6.05% (507904 bytes) AVI file format detected.
VIDEO: [XVID] 1024x468 16bpp 24.000 fps 1503.5 kbps (183.5 kbyte/s)
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x20), ratio: 28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
vo: X11 running at 1920x1200 with depth 24 and 32 bpp (":0.0" => local display)
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/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, big endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Big-Endian)
ao_sgi, init: Samplerate: 44100Hz Channels: Stereo Format Signed 16-bit (Big-Endian)
AO: [sgi] 44100Hz 2ch Signed 16-bit (Big-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[mpeg4 @ 10772a60]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
VDec: vo config request - 1024 x 468 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [sgi] 1024x468 => 1024x468 Planar YV12
[sgi] VPro (Odyssey) Hardware detected:
using software colorspace conversion (rgb)
drawing via textures
A: 142.2 V: 142.2 A-V: -0.000 ct: -0.058 3414/3414 60% 0% 2.7% 11 0 1%%
Broken frame at 0x3D36D0
A: 143.3 V: 143.2 A-V: 0.001 ct: -0.042 3439/3439 60% 0% 2.7% 11 0 0%
ao_sgi, uninit: ...
X Error of failed request: GLXBadDrawable
Major opcode of failed request: 146 (GLX)
Minor opcode of failed request: 11 (X_GLXSwapBuffers)
Serial number of failed request: 97
Current serial number in output stream: 99
Users browsing this forum: No registered users and 1 guest