mediarecorder errors

Video, software tools and techniques on SGI systems.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
brembs
Posts: 12
Joined: Fri Mar 07, 2008 6:54 am

mediarecorder errors

Unread postby brembs » Fri Mar 07, 2008 7:03 am

Ok, I'm finally caving in. For the last few weeks I've been restoring our old O2. Installed system (6.5.30), software, etc. All of my problems were solved by simply searching here. What an awesome community! But now I can't find any reference to the errors I'm getting here.
So this is my first post. And I thought I could get it running all by myself, without having to ask you guys...

I'm trying to capture video from an SVideo source. And on virtually every setting mediarecorder says after recording "cannot map buffer for image conversion", even when I set it to "uncompressed".
When I switch between different formats, it often complains that it "failed to allocate image buffer".
Couldn't find any reference to these errors anywhere. Do you have any pointers what I should check? Here's my hinv:

Code: Select all

CPU: MIPS R5000 Processor Chip Revision: 10.0
FPU: MIPS R5000 Floating Point Coprocessor Revision: 10.0
1 300 MHZ IP32 Processor
Main memory size: 832 Mbytes
Secondary unified instruction/data cache size: 1 Mbyte on Processor 0
Instruction cache size: 32 Kbytes
Data cache size: 32 Kbytes
FLASH PROM version 4.18
Integral SCSI controller 0: Version ADAPTEC 7880
Disk drive: unit 1 on SCSI controller 0 (unit 1)
CDROM: unit 4 on SCSI controller 0
Integral SCSI controller 1: Version ADAPTEC 7880
On-board serial ports: tty1
On-board serial ports: tty2
On-board EPP/ECP parallel port
CRM graphics installed
Integral Ethernet: ec0, version 1
Iris Audio Processor: version A3 revision 0
PCI Adapter ID (vendor 0x9004, device 0x8078) PCI slot 1
PCI Adapter ID (vendor 0x9004, device 0x8078) PCI slot 2
Video: MVP unit 0 version 1.4
AV: AV1 Card version 1, Camera not connected.
Vice: TRE


Thanks a lot!

Bjoern

User avatar
hamei
Posts: 10435
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: mediarecorder errors

Unread postby hamei » Fri Mar 07, 2008 7:23 am

brembs wrote:Ok, I'm finally caving in. For the last few weeks I've been restoring our old O2. Installed system (6.5.30)...

First thing I would do is dump 6.5.30 and go back to 6.5.22 Search around here, Dr. Dave found that later versions of Irix were considerably slower on the O2. 6.5.30 doesn't really give you anything on an O2 and Dr. Dave ain't no dummy.

6.5.22 (or 6.5.21 with modifications) is the lowest configuration that will run nekoware, which is why it's a good spot to be for O2's.

brembs
Posts: 12
Joined: Fri Mar 07, 2008 6:54 am

Re: mediarecorder errors

Unread postby brembs » Sun Mar 09, 2008 6:05 am

Hmm, that's interesting. I'll go and get the info on how to do that, thanks!
Strangely enough I now tried some of the standard settings and then modified them to pretty much what I had been trying by hand before and now it works fine. Weird.
Anyway, I now have the problem of dropped frames, despite a very high-end VCR. Gotta check the TBC options I have it seems

SAQ
Posts: 5871
Joined: Wed Jul 19, 2006 8:37 am
Location: Renton, WA

Re: mediarecorder errors

Unread postby SAQ » Mon Mar 10, 2008 4:56 pm

hamei wrote:
brembs wrote:Ok, I'm finally caving in. For the last few weeks I've been restoring our old O2. Installed system (6.5.30)...

First thing I would do is dump 6.5.30 and go back to 6.5.22 Search around here, Dr. Dave found that later versions of Irix were considerably slower on the O2. 6.5.30 doesn't really give you anything on an O2 and Dr. Dave ain't no dummy.

6.5.22 (or 6.5.21 with modifications) is the lowest configuration that will run nekoware, which is why it's a good spot to be for O2's.


Not to mention that it's the first merge for M and F, so you get all the f-stream goodness with the downloadable overlays.
"Brakes??? What Brakes???"

"I am O SH-- the Great and Powerful"

:Indigo: :Octane: :Indigo2: :Indigo2IMP: :Indy: :PI: :O3x0: :ChallengeL: :O2000R: (single-CM)

brembs
Posts: 12
Joined: Fri Mar 07, 2008 6:54 am

Re: mediarecorder errors

Unread postby brembs » Tue Mar 11, 2008 4:34 am

But 6.5.30 couldn't be the cause of the errors I'm getting, could it? I'm now also trying to get mplayer to work because mediaplayer refuses to play some of the videos I've captured with mediarecorder...
Basically, MPlayer plays nothing at all of what I throw at it. Weird. Maybe there are some libraries I'm missing?

brembs
Posts: 12
Joined: Fri Mar 07, 2008 6:54 am

Re: mediarecorder errors

Unread postby brembs » Tue Mar 11, 2008 6:10 am

Here's acut and past of the error I'm getting with mplayer - it's always the same error, no matter what video I'm trying to play...
This one's for a divX movie (doesn't play in SGI mediaplayer):

Code: Select all

MPlayer 1.0rc1- MIPSpro Compilers: Version 7.4.4m (C) 2000-2006 MPlayer Team
CPU: SGI MIPS

Playing /home/brembs/videos/Highlander.avi.
Cache fill: 18,36% (1540096 bytes)   
AVI file format detected.
VIDEO:  [DX50]  640x360  24bpp  25,000 fps  779,1 kbps (95,1 kbyte/s)
==========================================================================
Trying to force video codec driver family mpegpes...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16be, 224,0 kbit/15,87% (ratio: 28000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO SGI] init: Samplerate: 44100Hz Channels: Stereo Format s16be
AO: [sgi] 44100Hz 2ch s16be (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 360 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,78:1 - prescaling to correct movie aspect.
VO: [sgi] 640x360 => 640x360 Planar YV12
[ws] Error in display.
[ws]  Error code: 2 ( BadValue (integer parameter out of range for operation) )
[ws]  Request code: 145
[ws]  Minor code: 3
[ws]  Modules: decode_video


...and this one for a vido captured from VHS tape on the O2 (plays fine in mediaplayer, but not in mplayer):

Code: Select all

MPlayer 1.0rc1- MIPSpro Compilers: Version 7.4.4m (C) 2000-2006 MPlayer Team
CPU: SGI MIPS

Playing /home/brembs/videos/aggression1.avi.
Cache fill: 19,34% (1622016 bytes)   
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
AVI: No audio stream found -> no sound.
VIDEO:  [JPEG]  768x576  24bpp  25,000 fps  29506,8 kbps (3601,9 kbyte/s)
==========================================================================
Trying to force video codec driver family mpegpes...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 768 x 576 (preferred colorspace: Planar 422P)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8

SwScaler: BICUBIC scaler, from yuv422p to yuv420p using C
SwScaler: using C scaler for horizontal scaling
SwScaler: using 1-tap C "scaler" for vertical scaling (YV12 like)
SwScaler: 768x576 -> 768x576
VO: [sgi] 768x576 => 768x576 Planar YV12
[ws] Error in display.
[ws]  Error code: 2 ( BadValue (integer parameter out of range for operation) )
[ws]  Request code: 145
[ws]  Minor code: 3
[ws]  Modules: decode_video


????


Return to “SGI: Video”

Who is online

Users browsing this forum: No registered users and 1 guest