Aqua-Soft Forums: Flying Cow - Aqua-Soft Forums

Jump to content

  • 12 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Flying Cow Rate Topic: -----

#81 User is offline   Husaini HB Icon

  • Group: Member
  • Posts: 580
  • Joined: 13-July 07

Posted 28 December 2007 - 01:42 PM

Hey,nice icons Leonhart,I like them,thank's
0

#82 User is offline   z-x Icon

  • Group: Member
  • Posts: 62
  • Joined: 21-June 04

Posted 28 December 2007 - 01:47 PM

Leonhart, the icons are great! But... where is the cow? ;D
0

#83 User is offline   Leonhart Icon

  • Group: Member
  • Posts: 55
  • Joined: 25-November 07

Posted 28 December 2007 - 01:59 PM

this is a good question where is the cow? mhh, ok here it is a "Cowskin version" (Anyway I suggest the standard version xD):
Posted Image

Leon
0

#84 User is offline   Larsen2k4 Icon

  • Group: Member
  • Posts: 292
  • Joined: 01-August 04

Posted 28 December 2007 - 02:02 PM

Hooow many cows had to die for this icon? xD

Nice work Leonhart :)
0

#85 User is offline   BabboNatale Icon

  • Group: Member
  • Posts: 42
  • Joined: 31-July 07

Posted 28 December 2007 - 02:14 PM

matonga;485012 said:

^ Naaah, video isn't the heaviest thing, you forgot the worst one: PDF previews :(

(current implementation works fine with some PDFs and hungs with others)



I agree..i have some trouble with my pdf,i have a little suggestion about this problem...currently if flyingcow was unable to preview a .pdf show a orrible red X...how about recognize when it was unable to preview the file and put a beatifull reflected PDF icon (u can find very nice work on deviantart).

@Leonhart
W-O-W (like windows vista effect XD),the cow version is so LLLLOOOOOOOLLLL
0

#86 User is offline   firecracker6 Icon

  • Group: News Posters
  • Posts: 1,048
  • Joined: 11-October 04

Posted 28 December 2007 - 09:22 PM

@Leonhart, how about having the cow skin 'print' as the background within the plate icon instead of it's borders. This way you still have the clean black gloss border look, but can play with the idea of the cow pattern print. ;) then just have the reflective files over that.
0

#87 User is offline   Leonhart Icon

  • Group: Member
  • Posts: 55
  • Joined: 25-November 07

Posted 28 December 2007 - 11:18 PM

firecracker you mean like so?
Posted Image

Leon
0

#88 User is offline   firecracker6 Icon

  • Group: News Posters
  • Posts: 1,048
  • Joined: 11-October 04

Posted 29 December 2007 - 12:10 AM

Oh hey Leon,

yup~ like that, cept, it's kinda hard to see a cow hide in that.. could be taken for clouds ..or worse

How about a more exaggerated / minimal spotches, or rather, looking at cowhides, it seems like there's more white than black, or that the cow is more white with black spot patterns over.

oh, and my name's Leon as well :)
0

#89 User is offline   matonga Icon

  • Group: Developers
  • Posts: 1,286
  • Joined: 04-September 06

Posted 29 December 2007 - 01:43 AM

@Leonhart:

I like that icon! Hope to see more of it soon. Thanks!


@all:

Non-technical explanation:

FlyingCow will have video support through MPlayerHQ soon! This means you'll be able to play .avi, .mov, .mpeg, .flv and .wmv files without using Microsoft codecs (ok ok, .avi files may use s.o. codecs when no mplayer codec fits, and maybe .wmv does also).

Yes, I said .flv files also.


Technical explanation:

At last!!!! Look at this screenshot:

http://www.matiasmoreno.com.ar/screenshot-...tput-driver.jpg

Ok, let's see:

The command line in the backgroud is mplayer (MPlayerHQ), running in command-line mode.

It is custom version I had just compiled, with a new video output module: flyingcow :-)

On top of it you can see a Form1 window, which in turn gets the output from the flyingcow video output module in mplayer.

Audio is played by mplayer itself.

The reason I need to do stuff this way is to put the video inside an OpenGL texture to render it inside FlyingCow, and to give the mirror effect, etc...

I'm currently using a FileMapping, this is horrible way of implementing but at least is better than using a file itself. I did set the FILE_ATTRIBUTE_BACKUP flag so Windows shouldn't be flushing the file to disk much often (teoretically almost never, but here it seems to flush every 2 seconds) (oh, it may be mplayer reading the file... hahaha).

In a future version I'll plan to use something better, probably a named pipe.

Greetings to everyone!
0

#90 User is offline   nick8204 Icon

  • Group: Member
  • Posts: 9
  • Joined: 04-September 06

Posted 29 December 2007 - 03:20 AM

So cool!
How did you do that?
0

#91 User is offline   matonga Icon

  • Group: Developers
  • Posts: 1,286
  • Joined: 04-September 06

Posted 29 December 2007 - 03:33 AM

Ok, I checked and it doesn't write to disk, it was mplayer reading the movie (an mpeg in this case). I played it twice (so it would use the disk cache) and the hard disk led keeps off, so Windows seems not to write the file to disk at all :)


@nick8204:

Do you mean the output plugin for mplayer?

I downloaded mplayer source code, MinGW compiler, MSYS (part of MinGW), MSYS tools or something like that, and MSYS zlib (needed to play .mov files).

Then I got my hands on vo_tga.c which is the most easy to understand video output plugin I found, and wrote a plugin which instead opens a file mapping and writes the video frames there.

Indeed the file is filled with:

command (dword) commands sent from Flying Cow (ok, from the test app by now) (unused up to now).
status (dword) filled by the plugin, it tells if it started playing, stopped, etc...
reserved (dword)
stride (dword) width of a scanline in bytes
width (dword) width in pixels
height (dword) height in pixels
bpp (dword) bits per pixels, this is always 24
timestamp (dword) this is incremented by the output plugin on each frame, so I know when a new frame is available
pixels[] (array of bytes) pixel data

I'm using no mutexes/semaphores, yes this is an ugly implementation, but it works ("first make it work, then make it work right").

Then I edited configure, video_output.c, and maybe some other files I don't remember, then I deleted config.h and config.mak, and run make clean, ./configure and make. This is the unix way to compile programs (mplayer is for unix, but is compatible with windows).
0

#92 User is offline   nick8204 Icon

  • Group: Member
  • Posts: 9
  • Joined: 04-September 06

Posted 29 December 2007 - 03:41 AM

^matonga

:)
I mean, I was so surprised, and you do very well.
0

#93 User is offline   Leonhart Icon

  • Group: Member
  • Posts: 55
  • Joined: 25-November 07

Posted 29 December 2007 - 07:13 PM

Keep up the amazing work you're doing matonga!! I'm glad you like my Icon ^ ^ so there are all the 3 versione hi-res:
Posted ImagePosted ImagePosted Image

Leon
0

#94 User is offline   AndreasV Icon

  • Group: Developers
  • Posts: 2,137
  • Joined: 22-November 03

Posted 29 December 2007 - 09:37 PM

You could also use VMR9 to render to a DirectX texture, lock that texture and copy it to your OpenGL texture. VMR also supports outputting to a memory location, I believe.
0

#95 User is offline   matonga Icon

  • Group: Developers
  • Posts: 1,286
  • Joined: 04-September 06

Posted 29 December 2007 - 10:16 PM

Yes, I was using something similar to VMR9 (I removed the default output filter and added my own output filter) but DirectShow doesn't support .flv videos ;)

Edit: or I'm missing a very cool codec :(
0

#96 User is offline   TomTomx Icon

  • Group: Member
  • Posts: 94
  • Joined: 02-November 07

Posted 30 December 2007 - 03:09 AM

This works fine and runs smoothly somewhat. But the only thing that bothers me. When you try (well me) to move the window while its running it just slowlys my cpu down :(

Other than that its fine :D
0

#97 User is offline   matonga Icon

  • Group: Developers
  • Posts: 1,286
  • Joined: 04-September 06

Posted 30 December 2007 - 05:06 AM

This is the hardest upload I ever had :(

Ok, here is it:

http://www.matiasmoreno.com.ar/flyingcow/d...-2007-12-30.rar

Mirror:

http://www.matiasmoreno.bbt.net.ar/flyingc...-2007-12-30.rar

This new version uses a custom version of MPlayer - The Movie Player to play the movies.

Flying Cow now supports
  • .flv (Flash Video)
  • .mov (Quick Time)
  • .wmv (Windows Media Video)
  • .avi (Audio/Video Interleaved)
  • .mpg/.mpeg (Motion Picture Expert Group).

WARNING: playback is pretty unstable, at least in my machine, and jitters all time. I'm traying to track down this problem.
0

#98 User is offline   beef Icon

  • Group: Member
  • Posts: 227
  • Joined: 07-January 07

Posted 30 December 2007 - 05:15 AM

Download doesn't work, this programs is just so ill resistible.
P.S. i love when developers show their progress to the public, so thanks for that.
0

#99 User is offline   Björn Icon

  • Group: Member
  • Posts: 646
  • Joined: 15-December 04

Posted 30 December 2007 - 05:16 AM

Cannot download either of the two. 1st is 404 and 2nd is error.

Go here:

http://www.matiasmor...m.ar/flyingcow/

and get latest version.
0

#100 User is offline   matonga Icon

  • Group: Developers
  • Posts: 1,286
  • Joined: 04-September 06

Posted 30 December 2007 - 05:23 AM

Sorry, I missposted the 1st link, now is right.

The 2nd link, I checked it and works, but it may not work outside of Argentina (bad ISP hosting service).

I've noticed some Flash Videos dont sync audio/video correctly. This is an MPlayer issue (I'll post a bug report asap to them, VLC player is open source and doesn't desync so maybe they can fix it using it as a reference).
0

  • 12 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic