News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Search Results
Post Author Forum Replies Views [] Posted
  Thread: UPDATED murgaLua build
Post: RE: UPDATED murgaLua build

[quote=JohnMurga] [quote=Juergen] You are right. I tried it with an array and it works. Another question: Is it possible to draw on an offline (not visible) surface and then copy the result? [/qu...
Juergen MurgaLua - General 29 49,633 01-29-2008, 01:08 AM
  Thread: FLTK and ffmpeg
Post: RE: FLTK and ffmpeg

It doesn't make sense to en-/decode or grab video with Lua or any other similar language (perl,python,php,....) These are pretty low level tasks which need a lot OS, hardware and userspace interactio...
Juergen MurgaLua - General 18 42,565 04-07-2008, 01:06 AM
  Thread: FLTK and ffmpeg
Post: RE: FLTK and ffmpeg

[quote=dvw86] Juergen, You have my attention. I would be quite happy to use xine and have it display in an FLTK window. I'll play around with that. Thanks [/quote] This is a primitive mplayer ex...
Juergen MurgaLua - General 18 42,565 04-07-2008, 03:13 AM
  Thread: FLTK and ffmpeg
Post: RE: FLTK and ffmpeg

[quote=dvw86] This is all fun and new to me, so my first test was to try it without murgaLua and this is what I came up with to display my webcam in a xine window. The next step would be to embed the...
Juergen MurgaLua - General 18 42,565 04-08-2008, 03:27 AM
  Thread: FLTK and ffmpeg
Post: RE: FLTK and ffmpeg

[quote=mikshaw] That's pretty cool. I did a test with urxvt, and was suprised how simple it was. Unfortunately, I have yet to find a reliable way to close both the terminal and the container window...
Juergen MurgaLua - General 18 42,565 04-08-2008, 03:44 AM
  Thread: FLTK and ffmpeg
Post: RE: FLTK and ffmpeg

[quote=mikshaw] [quote]>/dev/null & echo $!"[/quote]Looks like this is where I was going wrong. I'd tried "urxvt & && echo $!" and "urxvt &; echo $!", which choked, and "(urxvt &) && echo $!", which...
Juergen MurgaLua - General 18 42,565 04-08-2008, 11:01 PM
  Thread: FLTK and ffmpeg
Post: RE: FLTK and ffmpeg

[quote=dvw86] Well I tried that about ten or twenty times and it worked once. All the other times the camera would come on and ffmpeg would start encoding. The xine window would open and display a sc...
Juergen MurgaLua - General 18 42,565 04-08-2008, 11:18 PM
  Thread: FLTK and ffmpeg
Post: RE: FLTK and ffmpeg

[quote=JohnMurga] [quote=JohnMurga] Hi, Because of this thread I have pondering on incorporating sys_proc, sys_file, sys_comm and maybe sys_env into 0.6.8. The code is complete and I am trying...
Juergen MurgaLua - General 18 42,565 04-10-2008, 07:39 AM
  Thread: MurgaLua 0.6.8
Post: RE: MurgaLua 0.6.8

[quote=JohnMurga] I have done reading up on this ... And the threading features will be removed in tonights build. Threads changed a lot in kernel 2.6 compared to 2.4 ... And the overhead, hassle...
Juergen MurgaLua - General 11 41,288 04-17-2008, 01:55 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

I think you are looking for something like that: [code] do local iter=string.gmatch(murgaLua.version,"%d+") local major,minor,sub=tonumber(iter()),tonumber(iter()),tonumber(iter()) if min...
Juergen MurgaLua - General 17 31,516 02-07-2008, 06:54 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

Alternatively: [code] do local version=0; for x in string.gmatch(murgaLua and murgaLua.version or "0","%d+") do version=version*100+tonumber(x) end if version<=0505 then print"You must use a...
Juergen MurgaLua - General 17 31,516 02-07-2008, 08:40 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

[quote=mikshaw] Yes, that's exactly the result I was originally thinking of, but wasn't sure where to start. Thanks. =o) I'm definitely saving this for future tests, and putting it in with the rest ...
Juergen MurgaLua - General 17 31,516 02-07-2008, 09:07 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

[quote=mikshaw] Yeah, I had the assumption that local variables could only be used within a function. I like that last one best. It seems it would be completely reusable without modification, exce...
Juergen MurgaLua - General 17 31,516 02-07-2008, 10:52 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

[quote=mikshaw] It just occurred to me that testing the version string is not going to be as reliable as I'd hoped for a little while. The version string in 0.6 is "0.5.5", so until 0.6.5 it will con...
Juergen MurgaLua - General 17 31,516 02-08-2008, 01:25 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

[quote=mikshaw] I don't think it works? I tested it with murgaLua 0.6 and 0.5.5, and both exited. They both work, as expected, when you run minimal_version("0.5.5") [/quote] Have you checked the...
Juergen MurgaLua - General 17 31,516 02-08-2008, 01:49 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

[quote=mikshaw] I've been doing various version checking tests on all versions from 0.1 to current (excluding 0.2, which I never had for some reason). Both 0.5.5 and 0.6.PRE-RELEASE have a version s...
Juergen MurgaLua - General 17 31,516 02-08-2008, 04:51 AM
  Thread: testing presence of ML feature
Post: RE: testing presence of ML feature

There was a small bug in the previous version. This should fix it all: [code] function minimal_version(minimal_version) local x=string.gmatch((murgaLua and murgaLua.version or "0"),"%d+") lo...
Juergen MurgaLua - General 17 31,516 02-08-2008, 06:13 AM
  Thread: Convert bitmap image to ascii
Post: RE: Convert bitmap image to ascii

You may want to use convert from ImageMagick. For example "convert -resize 8x8 -extent 8x8 -monochrome -compress none ifile.png ofile.pbm" converts any ifile.png to an ASCII ofile.pbm. If you cut...
Juergen MurgaLua - General 12 31,149 01-09-2009, 01:07 PM
  Thread: Convert bitmap image to ascii
Post: RE: Convert bitmap image to ascii

[quote=iGame3D] Hey thanks. Couldn't do ImageMagick as I need a new OS so I purchased Graphic Converter for $35 and it did the magick I needed to do. So I got this 1983 Custom Ascii Character set...
Juergen MurgaLua - General 12 31,149 01-13-2009, 11:03 AM
  Thread: Adding a Package
Post: RE: Adding a Package

[quote] error loading module 'mysql' from file './mysql.so': ./mysql.so: undefined symbol: lua_pushnil [/quote] Did you link it explicitly against liblua? You can also try to preload the lua libr...
Juergen MurgaLua - General 13 30,691 11-25-2008, 09:00 AM