ANNOUNCE: pjcap for O2

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.
kshcsuf
Posts: 4
Joined: Thu Jan 07, 2010 8:33 pm

ANNOUNCE: pjcap for O2

Unread postby kshcsuf » Sat Jan 16, 2010 10:35 pm

Hi all,
I've put together an uncompressed YUV 4:2:2 capture app intended for use on O2 hardware with older/slower drives. I am currently able to obtain a real-time 640x480 YUV 4:2:2 uncompressed stream with a single disk. This tool outputs raw video in a format that can easily be transcoded with a compression farm using mencoder/ffmpeg. My goals include adding OpenDML AVI support for both uncompressed and ICE (MJPEG) compressed video with audio support, and will eventually support Octane Personal Video/Octane Compression when I can find them available on Ebay. I use the latest capture techniques such as Direct I/O, VL buffer advising and high priority process scheduling (thank you Chris Pirazzi!).

The very first version can be downloaded here: http://philj.us/pjcap.tar.gz
It will be made available via GPL as soon as I have some additional support implemented.

Please let me know what you think. Thanks!

BTW: you can easily deinterlace and transcode to MPEG-4 using mencoder with:
mencoder -demuxer rawvideo -rawvideo format=uyvy:w=640:h=480:fps=29.97 -lavcopts vbitrate=2000000:vhq:v4mv -vf pp=md -o test.avi -ovc lavc testfile.yuv
You can play the video with:
mplayer -demuxer rawvideo -rawvideo format=uyvy:w=640:h=480:fps=29.97 testfile.yuv

User avatar
tomo
Posts: 226
Joined: Fri Jan 18, 2008 2:53 am
Location: Europe, Slovakia - Trencin
Contact:

Re: ANNOUNCE: pjcap for O2

Unread postby tomo » Sun Jan 17, 2010 12:46 am

I will test it as soon as I can get to camera witch means tuesday.
Nice to see that somebody is programing on old O2/ ICE.
:O2: R7000/600 576MB Ram CDRW 18+9Gb HDD
http://www.tomosgi.co.cc

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

Re: ANNOUNCE: pjcap for O2

Unread postby hamei » Sun Jan 17, 2010 5:58 am

kshcsuf wrote:Hi all,
I've put together an uncompressed YUV 4:2:2 capture app

Thanks very much !

User avatar
jirka
Donor
Donor
Posts: 176
Joined: Tue May 04, 2004 7:55 am
Location: Czech Republic
Contact:

Re: ANNOUNCE: pjcap for O2

Unread postby jirka » Sun Jan 17, 2010 12:53 pm

Many thanks! (but I have to find a camera first...)

kshcsuf
Posts: 4
Joined: Thu Jan 07, 2010 8:33 pm

Re: ANNOUNCE: pjcap for O2

Unread postby kshcsuf » Sat Jan 23, 2010 1:48 pm

Hi guys,
Just a brief update. The latest version has camera/CCIR601 capture support (and is available at the above URL). I don't have an O2 camera; would you guys mind giving it a whirl and letting me know if you can capture successfully?

Thanks!

jdboyd
Posts: 562
Joined: Thu Aug 21, 2003 11:47 am
Location: Southern PA

Re: ANNOUNCE: pjcap for O2

Unread postby jdboyd » Mon Jan 25, 2010 1:35 pm

What about 720x480 or 720x486 video?

User avatar
jirka
Donor
Donor
Posts: 176
Joined: Tue May 04, 2004 7:55 am
Location: Czech Republic
Contact:

Re: ANNOUNCE: pjcap for O2

Unread postby jirka » Tue Jan 26, 2010 12:35 am

kshcsuf wrote:Hi guys,
I don't have an O2 camera; would you guys mind giving it a whirl and letting me know if you can capture successfully?


Hello and sorry for the delay.

Many thanks for the app.

I tried it with my O2cam (with the -o switch) and it captures something (I used the yuv file). But Mplayer refuses to play the saved file. Is it a normal behaviour?
:O2: :1600SW: :Indy: :Indy: :Indigo:

User avatar
tomo
Posts: 226
Joined: Fri Jan 18, 2008 2:53 am
Location: Europe, Slovakia - Trencin
Contact:

Re: ANNOUNCE: pjcap for O2

Unread postby tomo » Tue Jan 26, 2010 3:30 am

Hi on my machine everything works fine.

I'v captured video sequence trough

Code: Select all

smetiacik 3# ./pjcap -o -f /tmp/pokus2.yuv
PJCap
Copyright (c) 2010 by Phil Jensen (kshcsuf@gmail.com)
All rights reserved.

Capturing 500 frames.
Capturing from camera port.
Enabled a high process priority for video capture.
Capturing NTSC square pixels (640x480).
Capturing uncompressed YUV 4:2:2 (16-bit) video.
Optimizations enabled.
Capturing to /tmp/pokus2.yuv using Direct I/O.
Opening AVI file.
Beginning capture: ............................F.F.F.F..F.F..F..F..F.F..FF.F.F..F..F.F.F..F.F..FF..F.F..F..F.F..F.F..F.F.F.F..F.F..F..F.F..F.FF..F.F..F.F..F.F..F..F.FF..F..F.F..F.F..F..FF.FF.F.F.F.F.F.F.F.F.F.F.F.F.FF.F.F.F.F.F.F.F.F.FF.F.F.F.FF.F.F.F.F.FF.F.F.F.F.F.F.FFF.F.F.F.F.F.F.F.F.F.F.F.F.FFF.F.F.F.F.F.FFF.F.F.F.F.F.FFFFFFFF.F..F.F.F.F.F.F.F.F.FFF.F.F.F.F.F..F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.FFF.F.F.F.F..F.F.F.F.F.F.F.FFF.F.F.FF.F.F.FF.F.F.F.FF.F.FFF.F.F.F.FF.F.F.F.FFFF.F.F.F.FF.F.F.F.F.FF.F.F.F.FF.F.
500 frames captured in 25.43 seconds. (19.67 fps)

And played it trough

Code: Select all

mplayer -demuxer rawvideo -rawvideo format=uyvy:w=640:h=480:fps=29.79 /tmp/pokus2.yuv
:O2: R7000/600 576MB Ram CDRW 18+9Gb HDD
http://www.tomosgi.co.cc

kshcsuf
Posts: 4
Joined: Thu Jan 07, 2010 8:33 pm

Re: ANNOUNCE: pjcap for O2

Unread postby kshcsuf » Tue Jan 26, 2010 9:54 am

Thanks tomo!
I've been grinding away on getting AVI support added--I've got AVI1 support now with traditional indexes. I'm firming up multiple colorspace support (RGB32 and UYVY), and want to get OpenDML indexes successfully written this week. I've got an Octane Personal Video board on the way this week and would like to get Octane support added as well.

(I'll push the new build up to my webserver this morning.) I had to turn off Direct I/O support to write out AVIs, and am looking at ways to re-enable the functionality.

User avatar
tomo
Posts: 226
Joined: Fri Jan 18, 2008 2:53 am
Location: Europe, Slovakia - Trencin
Contact:

Re: ANNOUNCE: pjcap for O2

Unread postby tomo » Tue Jan 26, 2010 10:54 am

Nice - keep on coding :)
:O2: R7000/600 576MB Ram CDRW 18+9Gb HDD
http://www.tomosgi.co.cc

User avatar
jirka
Donor
Donor
Posts: 176
Joined: Tue May 04, 2004 7:55 am
Location: Czech Republic
Contact:

Re: ANNOUNCE: pjcap for O2

Unread postby jirka » Tue Jan 26, 2010 10:59 am

Hello,
now I can confirm that it works great on my O2 (it's R10k/250).
Output is the same as Tomo's but without these ...F.F.Fs (only with .....).

Many thanks and best regards.

User avatar
mashek
Posts: 161
Joined: Thu Sep 30, 2004 9:08 pm
Location: on the land
Contact:

Re: ANNOUNCE: pjcap for O2

Unread postby mashek » Tue Feb 09, 2010 9:58 am

What do the F's mean? And the dots?
Douglas V. Mashek mailto:doug@mashek.com
Mashek Systems www: http://www.mashek.com
:320: :540: :1600SW: :O2: :O2+: :Indigo: :Octane: :Octane2: :Tezro: :Indigo2: :Indigo2IMP: :Indy: :Fuel: :PI: :O200: :Onyx: :ChallengeXL: :OnyxR: :O2000: :Onyx2: :O2000R: :O2000E: :O2000E: :O2000E: :metarouter: :O2000E: :O2000E: :O2000E: :O2000E: :Onyx2RE: :Onyx2RE: :Onyx2R: :Onyx2RE: :O3000: :O3000: :O3200: :0300: :0300: :0300: :0300:...

User avatar
mapesdhs
Posts: 2426
Joined: Mon Nov 10, 2003 4:17 pm
Location: Edinburgh, Scotland
Contact:

Re: ANNOUNCE: pjcap for O2

Unread postby mapesdhs » Mon Feb 15, 2010 3:44 am

kshcsuf wrote:... I've got an Octane Personal Video board on the way this week and would like to get Octane support added as well. ...


If it works with Octane, will it also work with IMPACT Compression and IMPACT Video in Indigo2?

What would be especially cool is if it supported Cosmo1 and related video I/O.

Thanks for all the efforts!! Great to see O2 being properly exploited.

Ian.
I'm working on a charitable PC build for the Learn Engineering YouTube channel. Please PM/email/call if you'd like to contribute! Donations of items I can sell to provide funds are also welcome.
mapesdhs@yahoo.com
+44 (0)131 476 0796
+44 (0)7434 635 121

User avatar
Sacrifist
Posts: 91
Joined: Fri Mar 18, 2005 3:42 am
Location: Campbelltown NSW, Australia
Contact:

Re: ANNOUNCE: pjcap for O2

Unread postby Sacrifist » Sun Mar 14, 2010 11:03 pm

Pardon the naiveté but what hardware is required for capturing with this app? I personally have a R10000 250 MHz O2 with an A/V module. Can it be used with stuff like a SDI dongle? At this stage I cannot test it at all as I had to throw out its hard drive (silicon heaven).

Simon

User avatar
hazelden
Posts: 59
Joined: Wed Jul 21, 2010 12:09 pm
Location: West Dover, Nova Scotia, Canada
Contact:

Re: ANNOUNCE: pjcap for O2

Unread postby hazelden » Thu Jul 22, 2010 7:51 pm

Hi. I recently purchased a used SGI O2 and would love to try pjcap with it to capture high quality video. The link appears broken. Is there an active URL where I could download a copy?

Thanks,
Andrew Hazelden
Andrew Hazelden, VFX Artist
Personal Blog: www.AndrewHazelden.com

:O2: SGI O2, 195 MHz R10K, 320 MB ram, AV1 Video i/o card, 36GB HD


Return to “SGI: Video”

Who is online

Users browsing this forum: No registered users and 1 guest