Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Fri Nov 28, 2014 3:59 am

All times are UTC - 8 hours [ DST ]


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: imgview on O2
Unread postPosted: Wed Nov 30, 2011 8:12 pm 
Offline
User avatar

Joined: Tue Jul 21, 2009 5:07 am
Posts: 525
Location: Shenzhen, P.R.C
hi everyone :)

hmmm was experementing a little with my O2 lately with image formats and this is what i notice.
.jpeg - loaded two halves at a time with a little delay which looks slow?
.sgi - loaded from bottom to top? or either way, with steps but a bit faster than jpeg
.pic - one time loading, very fast!

all formats uses the same picture with 1600x1024 resolution.

does it mean images using SOFTIMAGE format are fast to be rendered because it utilize the ICE? i thought JPEG should be faster coz O2 has a built-in for JPEGs? or its just for motion JPEG?

also, why did the native .sgi/.rgb format was slow compared to .pic from softimage?

sorry for this noob question :)

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
 Post subject: Re: imgview on O2
Unread postPosted: Wed Nov 30, 2011 8:37 pm 
Offline
User avatar

Joined: Tue Jul 15, 2008 5:48 pm
Posts: 1887
Location: P.O. Box 121, Pymble, Sydney, NSW 2073, Australia.
geo wrote:
hi everyone :)

hmmm was experementing a little with my O2 lately with image formats and this is what i notice.
.jpeg - loaded two halves at a time with a little delay which looks slow?
.sgi - loaded from bottom to top? or either way, with steps but a bit faster than jpeg
.pic - one time loading, very fast!

all formats uses the same picture with 1600x1024 resolution.

does it mean images using SOFTIMAGE format are fast to be rendered because it utilize the ICE? i thought JPEG should be faster coz O2 has a built-in for JPEGs? or its just for motion JPEG?

also, why did the native .sgi/.rgb format was slow compared to .pic from softimage?

sorry for this noob question :)



Not exactly sure but .sgi files I think are uncompressed, Jpeg uses complex compression algorithms and I am not sure about .pic but maybe it uses some simple compression like run length encoding and therefore is quick to unpack. Maybe the code that unpacks the .pic file was better written than the others... Other images have different information density and compress by different amounts. A sample set of just one image is not a good dataset to make comparisons about. Something that is all one colour will compress remarkably and uncompress formats might lose but something really complex with lots of colours might favor uncompressed format more.

R.

_________________
死の神はりんごだけ食べる

開いた括弧は必ず閉じる -- あるプログラマー

:Tezro: :Tezro: :Onyx2R: :Onyx2RE: :Onyx2: :O3x04R: :O3x0: :O200: :Octane: :Octane2: :O2: :O2: :Indigo2IMP: :PI: :PI: :1600SW: :1600SW: :Indy: :Indy: :Indy: :Indy: :Indy:
:hpserv: J5600, 2 x Mac, 3 x SUN, Alpha DS20E, Alpha 800 5/550, 3 x RS/6000, Amiga 4000 VideoToaster, Amiga4000 -030, 733MHz Sam440 AmigaOS 4.1 update 1.

Sold: :Indy: :Indy: :Indy: :Indigo: Tandem Himalaya S-Series Nonstop S72000 ServerNet.

@PymbleSoftware
Current Apps -> https://itunes.apple.com/au/artist/pymb ... d553990081
Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Github ---> https://github.com/pymblesoftware
Visit http://www.pymblesoftware.com
Search for "Pymble", "InstaElf", "CryWhy" or "Cricket Score Sheet" in the iPad App store or search for "Pymble" or "CryWhy" in the iPhone App store.


Top
 Profile  
 
 Post subject: Re: imgview on O2
Unread postPosted: Wed Nov 30, 2011 11:28 pm 
Offline
User avatar

Joined: Tue Jul 21, 2009 5:07 am
Posts: 525
Location: Shenzhen, P.R.C
PymbleSoftware wrote:
Not exactly sure but .sgi files I think are uncompressed, Jpeg uses complex compression algorithms and I am not sure about .pic but maybe it uses some simple compression like run length encoding and therefore is quick to unpack. Maybe the code that unpacks the .pic file was better written than the others... Other images have different information density and compress by different amounts. A sample set of just one image is not a good dataset to make comparisons about. Something that is all one colour will compress remarkably and uncompress formats might lose but something really complex with lots of colours might favor uncompressed format more.


thanks PS! hmmm i see, and yes, .pic use rle as so as .sgi , they have this option :)
hmmm ok will put that on my todo list on compressed and complex algo comparison.

my purpose for this test is to find which things utilize the ICE of the O2, i use Ian's melting the ICE as reference :)

lets say if .pic was fast with imgview, is it safe to say if i compile a movie out of .pic images, it would be faster than a movie compose of jpegs or rgb images?

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
 Post subject: Re: imgview on O2
Unread postPosted: Wed Nov 30, 2011 11:47 pm 
Offline
User avatar

Joined: Tue Jul 15, 2008 5:48 pm
Posts: 1887
Location: P.O. Box 121, Pymble, Sydney, NSW 2073, Australia.
geo wrote:
lets say if .pic was fast with imgview, is it safe to say if i compile a movie out of .pic images, it would be faster than a movie compose of jpegs or rgb images?


Not sure of the question but probably faster as the sum of all parts equals the speed of the whole but then it probably depends on other things like how the images are combined, I don't have the source code and I am not even sure how it is meant to work.

R.

_________________
死の神はりんごだけ食べる

開いた括弧は必ず閉じる -- あるプログラマー

:Tezro: :Tezro: :Onyx2R: :Onyx2RE: :Onyx2: :O3x04R: :O3x0: :O200: :Octane: :Octane2: :O2: :O2: :Indigo2IMP: :PI: :PI: :1600SW: :1600SW: :Indy: :Indy: :Indy: :Indy: :Indy:
:hpserv: J5600, 2 x Mac, 3 x SUN, Alpha DS20E, Alpha 800 5/550, 3 x RS/6000, Amiga 4000 VideoToaster, Amiga4000 -030, 733MHz Sam440 AmigaOS 4.1 update 1.

Sold: :Indy: :Indy: :Indy: :Indigo: Tandem Himalaya S-Series Nonstop S72000 ServerNet.

@PymbleSoftware
Current Apps -> https://itunes.apple.com/au/artist/pymb ... d553990081
Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Github ---> https://github.com/pymblesoftware
Visit http://www.pymblesoftware.com
Search for "Pymble", "InstaElf", "CryWhy" or "Cricket Score Sheet" in the iPad App store or search for "Pymble" or "CryWhy" in the iPhone App store.


Top
 Profile  
 
 Post subject: Re: imgview on O2
Unread postPosted: Thu Dec 01, 2011 4:59 am 
Offline

Joined: Thu May 08, 2008 8:43 am
Posts: 92
Hi,
geo wrote:
my purpose for this test is to find which things utilize the ICE of the O2, i use Ian's melting the ICE as reference :)

lets say if .pic was fast with imgview, is it safe to say if i compile a movie out of .pic images, it would be faster than a movie compose of jpegs or rgb images?


The O2 VICE was designed to process standard definition video in real time. If your images are bigger than this then it will take longer to decompress. From memory, the VICE supported MJPEG, h.261, and DV/DVCPRO. MJPEG is just a stream of frames, each individually compressed with JPEG.

In order to take advantage of VICE you need to use SGIs DM APIs. I seem to remember that not all the supplied SGI tools supported everything in every version but I might be mistaken. Check that the tools you are using take advantage of VICE when it's available.

You seem to have found Ian's "Melting the ICE" page which supports some of my recollections: he mentions that dmconvert doesn't always take full advantage of VICE but he doesn't mention DV/DVCPRO support.
However, it is mentioned here: http://www.futuretech.blinkenlights.nl/o2/2145.pdf


You may also want to have a look at:
+ http://www.futuretech.blinkenlights.nl/o2arch.html#ICE
+ http://www.futuretech.blinkenlights.nl/ice.html (Melting the ICE)
+ http://www.futuretech.blinkenlights.nl/o2/
+ viewtopic.php?f=16&t=15285
+ http://techpubs.sgi.com/library/tpl/cgi ... z&srch=ice
+ http://www.nekochan.net/wiki/O2#O2_Video_System

Regards,
@ndy


Top
 Profile  
 
 Post subject: Re: imgview on O2
Unread postPosted: Thu Dec 01, 2011 5:08 am 
Offline
User avatar

Joined: Tue Jul 21, 2009 5:07 am
Posts: 525
Location: Shenzhen, P.R.C
PymbleSoftware wrote:
Not sure of the question but probably faster as the sum of all parts equals the speed of the whole but then it probably depends on other things like how the images are combined, I don't have the source code and I am not even sure how it is meant to work.


hehe i found this nice link for reference http://paulbourke.net/dataformats/
geeez i check the dmconvert man and i really thought i can input compiled image files and output it to a movie file hehe
but actually it can do the other way, from movie file to image files... or does it both ways? geeez i hate being dumb hehe

but hmm if mjpeg consist of jpegs, is it possible to make one with .pic images?
i want to try to play a mjpeg movie but unfortunately i couldn't find a movie in that format. tried to find converter for WinXP but its output is not supported.

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
 Post subject: Re: imgview on O2
Unread postPosted: Thu Dec 01, 2011 5:18 am 
Offline

Joined: Thu May 08, 2008 8:43 am
Posts: 92
Hi,

geo wrote:
i want to try to play a mjpeg movie but unfortunately i couldn't find a movie in that format. tried to find converter for WinXP but its output is not supported.


You might like to check out ffmpeg (I'm not sure what the builds for Windows are like). Be careful tho': to be useful with VICE you need to ensure that you use an SGI compatible version of MJPEG.

Have you got the AV card for your O2? If so it's probably easiest to plug a video source into that and capture it: that way it'll be in the correct format. (The VICE can encode MJPEG as well as decode it. I think there was both realtime encoding and decoding for a lot of the codecs, except DV which was never publically released; most DV comes in via IEEE1394 where it's already encoded.)


Regards,
@ndy


Last edited by andyjpb on Thu Dec 01, 2011 6:05 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: imgview on O2
Unread postPosted: Thu Dec 01, 2011 5:22 am 
Offline
User avatar

Joined: Tue Jul 21, 2009 5:07 am
Posts: 525
Location: Shenzhen, P.R.C
andyjpb wrote:
The O2 VICE was designed to process standard definition video in real time. If your images are bigger than this then it will take longer to decompress. From memory, the VICE supported MJPEG, h.261, and DV/DVCPRO. MJPEG is just a stream of frames, each individually compressed with JPEG.

In order to take advantage of VICE you need to use SGIs DM APIs. I seem to remember that not all the supplied SGI tools supported everything in every version but I might be mistaken. Check that the tools you are using take advantage of VICE when it's available.

You seem to have found Ian's "Melting the ICE" page which supports some of my recollections: he mentions that dmconvert doesn't always take full advantage of VICE but he doesn't mention DV/DVCPRO support.
However, it is mentioned here: http://www.futuretech.blinkenlights.nl/o2/2145.pdf


You may also want to have a look at:
+ http://www.futuretech.blinkenlights.nl/o2arch.html#ICE
+ http://www.futuretech.blinkenlights.nl/ice.html (Melting the ICE)
+ http://www.futuretech.blinkenlights.nl/o2/
+ viewtopic.php?f=16&t=15285
+ http://techpubs.sgi.com/library/tpl/cgi ... z&srch=ice
+ http://www.nekochan.net/wiki/O2#O2_Video_System

Regards,
@ndy


wow! thanks andy for this reply! :)
yes i check melting ICE by ian and i read this line:
"Here is a summary of those operations and actions which are accelerated by ICE (info supplied by Max Waterman of SGI):
- Selected image processing functions in imgview, imgworks, Photoshop, etc."

so hmm that's why i tried different fomrats of one picture maybe ICE will depend on file formats?
aha! i read one from the links you share:

" The default use of hardware acceleration is system dependent. On systems
with ICE hardware (O2), the default is to use hardware acceleration when
the movie is compatible with the hardware. On all other systems, the
default is not to use hardware acceleration."

ok2 will keep digging here, really thanks for the guide! :)

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
 Post subject: Re: imgview on O2
Unread postPosted: Thu Dec 01, 2011 5:32 am 
Offline
User avatar

Joined: Tue Jul 21, 2009 5:07 am
Posts: 525
Location: Shenzhen, P.R.C
andyjpb wrote:
Hi,
You might like to check out ffmpeg (I'm not sure what the builds for Windows are like). Be careful tho': to be useful with VICE you need to ensure that you use an SGI compatible version of MJPEG.

Have you got the AV card for your O2? If so it's probably easiest to plug a video source into that and capture it: that way it'll be in the correct format. (The VICE can encode MJPEG as well as decode it. I think there was both realtime encoding and decoding for a lot of the codecs, except DV which was never publically released; most DV comes in via IEEE1394 where it's already encoded.)


Regards,
@ndy


yes2 the one i tried use that ffmpeg library but i forgot where i installed it :( my PC is a mess hehe and yes i already tried many options? but all its MJPEG outputs is not SGI compatible :(

yes2 i have AV card and yes i already tried capture video from my VCR which was perfect! and indeed fast, i can feel that ICE was utilized :)

the reason why i dig about this is i want to make a converter in my PC side. Convert any movie file into a playable movie file in my O2 :) coz waaah most movies i downloaded to my O2 really slow or even will hang-up :( really strange i cannot play movies using mplayer.. mediaplayer only few files. even the avi's i got it will complain. i try the divx player by hmm forgot his name, also didn't work..

hehe so that's why i arrive to this noob limbo :)

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
 Post subject: Re: imgview on O2
Unread postPosted: Thu Dec 01, 2011 5:43 am 
Offline

Joined: Thu May 08, 2008 8:43 am
Posts: 92
Hi,

geo wrote:
the reason why i dig about this is i want to make a converter in my PC side. Convert any movie file into a playable movie file in my O2 :) coz waaah most movies i downloaded to my O2 really slow or even will hang-up :( really strange i cannot play movies using mplayer.. mediaplayer only few files. even the avi's i got it will complain. i try the divx player by hmm forgot his name, also didn't work..


Ah... Now I understand more about your objectives. :-) Try encoding on the PC side to DV. I imagine that it'll be easier than working out the esoteric MJPEG options and the quality will be higher. If the disk on your O2 can sustain 4MB/s then VICE should be able to play that file in realtime. Lots of PC video editing software knows how to export in DV.


Regards,
@ndy


Top
 Profile  
 
 Post subject: Re: imgview on O2
Unread postPosted: Thu Dec 01, 2011 6:03 am 
Offline
User avatar

Joined: Tue Jul 15, 2008 5:48 pm
Posts: 1887
Location: P.O. Box 121, Pymble, Sydney, NSW 2073, Australia.
andyjpb wrote:
Hi,

geo wrote:
PymbleSoftware wrote:
i want to try to play a mjpeg movie but unfortunately i couldn't find a movie in that format. tried to find converter for WinXP but its output is not supported.


You might like to check out ffmpeg (I'm not sure what the builds for Windows are like). Be careful tho': to be useful with VICE you need to ensure that you use an SGI compatible version of MJPEG.

Have you got the AV card for your O2? If so it's probably easiest to plug a video source into that and capture it: that way it'll be in the correct format. (The VICE can encode MJPEG as well as decode it. I think there was both realtime encoding and decoding for a lot of the codecs, except DV which was never publically released; most DV comes in via IEEE1394 where it's already encoded.)


Regards,
@ndy



No I did not write that.

R.

_________________
死の神はりんごだけ食べる

開いた括弧は必ず閉じる -- あるプログラマー

:Tezro: :Tezro: :Onyx2R: :Onyx2RE: :Onyx2: :O3x04R: :O3x0: :O200: :Octane: :Octane2: :O2: :O2: :Indigo2IMP: :PI: :PI: :1600SW: :1600SW: :Indy: :Indy: :Indy: :Indy: :Indy:
:hpserv: J5600, 2 x Mac, 3 x SUN, Alpha DS20E, Alpha 800 5/550, 3 x RS/6000, Amiga 4000 VideoToaster, Amiga4000 -030, 733MHz Sam440 AmigaOS 4.1 update 1.

Sold: :Indy: :Indy: :Indy: :Indigo: Tandem Himalaya S-Series Nonstop S72000 ServerNet.

@PymbleSoftware
Current Apps -> https://itunes.apple.com/au/artist/pymb ... d553990081
Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Github ---> https://github.com/pymblesoftware
Visit http://www.pymblesoftware.com
Search for "Pymble", "InstaElf", "CryWhy" or "Cricket Score Sheet" in the iPad App store or search for "Pymble" or "CryWhy" in the iPhone App store.


Top
 Profile  
 
 Post subject: Re: imgview on O2
Unread postPosted: Thu Dec 01, 2011 6:04 am 
Offline

Joined: Thu May 08, 2008 8:43 am
Posts: 92
Hi,

PymbleSoftware wrote:
No I did not write that.


Oops... Sorry. I must have had an editor error.


Regards,
@ndy


Top
 Profile  
 
 Post subject: Re: imgview on O2
Unread postPosted: Thu Dec 01, 2011 6:14 am 
Offline
User avatar

Joined: Tue Jul 21, 2009 5:07 am
Posts: 525
Location: Shenzhen, P.R.C
andyjpb wrote:
Hi,

geo wrote:
the reason why i dig about this is i want to make a converter in my PC side. Convert any movie file into a playable movie file in my O2 :) coz waaah most movies i downloaded to my O2 really slow or even will hang-up :( really strange i cannot play movies using mplayer.. mediaplayer only few files. even the avi's i got it will complain. i try the divx player by hmm forgot his name, also didn't work..


Ah... Now I understand more about your objectives. :-) Try encoding on the PC side to DV. I imagine that it'll be easier than working out the esoteric MJPEG options and the quality will be higher. If the disk on your O2 can sustain 4MB/s then VICE should be able to play that file in realtime. Lots of PC video editing software knows how to export in DV.


Regards,
@ndy

hehe my english grammar made it complicated hehe hmm ok ill try DV then, i got a software from Pinnacle maybe it have that option? will see :)

andyjpb wrote:
Hi,

PymbleSoftware wrote:
No I did not write that.


Oops... Sorry. I must have had an editor error.


Regards,
@ndy


haha sorry it was my fault, i modify the quotes coz i cant make it work the same as before? like highlighting just specific words then quote? hehe sorry



ok time to go home guys! tonight is the start of cold winter here in my location.. till tomorrow ciao!!
btw really thanks, many is learned ;)

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
 Post subject: Re: imgview on O2
Unread postPosted: Wed Dec 07, 2011 7:03 pm 
Offline

Joined: Tue Feb 24, 2004 5:10 pm
Posts: 9796
geo wrote:
tonight is the start of cold winter here in my location..

Yeah, it drops down below 70 sometimes ... :P


Top
 Profile  
 
 Post subject: Re: imgview on O2
Unread postPosted: Wed Dec 07, 2011 10:52 pm 
Offline
User avatar

Joined: Tue Jul 21, 2009 5:07 am
Posts: 525
Location: Shenzhen, P.R.C
hamei wrote:
geo wrote:
tonight is the start of cold winter here in my location..

Yeah, it drops down below 70 sometimes ... :P


waaah hamei! whats up! how is it in your side? here is weird, suddenly weather looks like summer but only with cold winter breeze hehe this CNY ill go to Henan to my girls hometown ;) and christmas just here in shenzhen, ni na? (not sure if pinyen is right ^^)

_________________
:Octane: (Sakura) :O2: (Sasuke) :1600SW: (Naruto) ... lil Jesse! (O2 laptop)
“Imagination is more important than knowledge.“ – A. Einstein


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group