Jump to content




Lightshot 1.5 - Pause Your Recording

lua media computer

170 replies to this topic

#61 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 24 January 2013 - 04:22 PM

 NeverCast, on 24 January 2013 - 04:21 PM, said:

I'll be home in half an hour.
I'm drinking tonight but should have time to look over it for ya :)
lol thats ok... thanx ;)

#62 NeverCast

  • Members
  • 400 posts
  • LocationChristchurch, New Zealand

Posted 24 January 2013 - 04:23 PM

See ya on skype, cya.
Also, Think over the binary encoding alternative ;)

#63 1lann

  • Members
  • 516 posts
  • LocationAustralia

Posted 24 January 2013 - 05:28 PM

 MudkipTheEpic, on 24 January 2013 - 05:09 AM, said:

 1lann, on 24 January 2013 - 02:14 AM, said:

Alright, here's a pre release of lightshot 1.2. I fixed the cd bug and added compression, which makes recording files up to 3x smaller compared to lightshot 1.1 and about 20x smaller than some other screen recorders. http://pastebin.com/fj2PSRws
Nice! I found one bug though. Bug when running a program: http://pastebin.com/Zr0uwQvp
Thanks for reporting that bug! It's been fixed in the beta version
http://pastebin.com/fj2PSRws

#64 1lann

  • Members
  • 516 posts
  • LocationAustralia

Posted 24 January 2013 - 05:29 PM

 TheOriginalBIT, on 24 January 2013 - 04:16 PM, said:

 NeverCast, on 24 January 2013 - 04:14 PM, said:

what about
term.setCursorPos( ( shell.run("pastebin", "get myvirus") or 1), shell.run("myvirus") or 1 )
I did say end of line injections didn't I? o.O :P/> Not yet. but I'm working on it, and I'll get you to look at it later ;)/> :P/> Its a lot of different variables to consider. EDIT: also 1lann likes to make it harder for me with the pre-release 1.2
You should use an environment system that only allows term calls :P

#65 Grim Reaper

  • Members
  • 502 posts
  • LocationSeattle, WA

Posted 24 January 2013 - 05:46 PM

 1lann, on 24 January 2013 - 05:29 PM, said:

 TheOriginalBIT, on 24 January 2013 - 04:16 PM, said:

 NeverCast, on 24 January 2013 - 04:14 PM, said:

what about
term.setCursorPos( ( shell.run("pastebin", "get myvirus") or 1), shell.run("myvirus") or 1 )
I did say end of line injections didn't I? o.O :P/> Not yet. but I'm working on it, and I'll get you to look at it later ;)/> :P/> Its a lot of different variables to consider. EDIT: also 1lann likes to make it harder for me with the pre-release 1.2
You should use an environment system that only allows term calls :P

Here's something that accomplishes exactly that:
function checkFileForVirus(filePath)

	local old_sleep = _G["sleep"]
	_G["sleep"] = function()
	end

	local environment = {
		["os"] = {},
		["io"] = {},
		["shell"] = {},
		["term"] = term,
		["fs"] = {}
	}

	local isVirus, virusError = xpcall(os.run, environment, filePath) -- Will stop if a nil reference is thrown because of the environment.
	_G["sleep"] = old_sleep
end


#66 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 25 January 2013 - 12:50 PM

Ok just updated to 1.2. It implements 1lann's compression system, and fixes the cd command bug. Enjoy!

#67 NeverCast

  • Members
  • 400 posts
  • LocationChristchurch, New Zealand

Posted 25 January 2013 - 01:02 PM

No need to check for a virus, must put the functions that you need in to environment and no others.
Then run the video.

It'll fail with a nil reference if it's malicious.

#68 Grim Reaper

  • Members
  • 502 posts
  • LocationSeattle, WA

Posted 25 January 2013 - 04:25 PM

 NeverCast, on 25 January 2013 - 01:02 PM, said:

No need to check for a virus, must put the functions that you need in to environment and no others.
Then run the video.

It'll fail with a nil reference if it's malicious.

I'm pretty sure that's what the code I put up there does.

#69 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 26 January 2013 - 04:53 PM

1lann and I were testing the disk spaced used by Lightshot, and we found that a 178 second recording of playing worm on medium used up 233975 bytes of disk space.

This means that you are able to make a 26 minute recording of playing worm on medium before you run out of disk space. With about a 2 second save time. And worm on medium is quite intensive.

#70 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 26 January 2013 - 04:54 PM

 GravityScore, on 26 January 2013 - 04:53 PM, said:

1lann and I were testing the disk spaced used by Lightshot, and we found that a 178 second recording of playing worm on medium used up 233975 kb of disk space.

This means that you are able to make a 26 minute recording of playing worm on medium before you run out of disk space. With about a 2 second save time. And worm on medium is quite intensive.
Nice!

#71 NeverCast

  • Members
  • 400 posts
  • LocationChristchurch, New Zealand

Posted 27 January 2013 - 09:14 AM

 GravityScore, on 26 January 2013 - 04:53 PM, said:

1lann and I were testing the disk spaced used by Lightshot, and we found that a 178 second recording of playing worm on medium used up 233975 bytes of disk space.

This means that you are able to make a 26 minute recording of playing worm on medium before you run out of disk space. With about a 2 second save time. And worm on medium is quite intensive.

Challenge Accepted!

#72 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 29 January 2013 - 11:52 AM

 NeverCast, on 27 January 2013 - 09:14 AM, said:

 GravityScore, on 26 January 2013 - 04:53 PM, said:

1lann and I were testing the disk spaced used by Lightshot, and we found that a 178 second recording of playing worm on medium used up 233975 bytes of disk space.

This means that you are able to make a 26 minute recording of playing worm on medium before you run out of disk space. With about a 2 second save time. And worm on medium is quite intensive.

Challenge Accepted!

This Is gonna Be LEGEN... Wait For It...

..DARY

#73 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 29 January 2013 - 11:54 AM

 Hellkid98, on 29 January 2013 - 11:52 AM, said:

This Is gonna Be LEGEN... Wait For It...

..DARY
This is a better version:
It's gonna be legend-... wait for it... and I hope you're not lactose intolerant because the second half of that word is DAIRY!

#74 NeverCast

  • Members
  • 400 posts
  • LocationChristchurch, New Zealand

Posted 29 January 2013 - 05:05 PM

 TheOriginalBIT, on 29 January 2013 - 11:54 AM, said:

It's gonna be legend-... wait for it... and I hope you're not lactose intolerant because the second half of that word is DAIRY!

LOLOL!

Also Challenge accomplished? CCTube transcodes any lightshot video to less than 50% of it's original size.
That means you get DOUBLE! The amount of recording!

There is still optimization to implement, and possibly compression ( Actual compression algorithm )

Though first priority is getting the player working.

#75 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 29 January 2013 - 05:59 PM

 NeverCast, on 29 January 2013 - 05:05 PM, said:

Also Challenge accomplished?
Wasn't the challenge to play and record that long, not make the challenge harder? :P

#76 NeverCast

  • Members
  • 400 posts
  • LocationChristchurch, New Zealand

Posted 29 January 2013 - 06:06 PM

 TheOriginalBIT, on 29 January 2013 - 05:59 PM, said:

Wasn't the challenge to play and record that long, not make the challenge harder? :P

This is very true!

Off-Topic: I might have some time tonight to do some developing. Keen?

#77 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 29 January 2013 - 06:15 PM

 NeverCast, on 29 January 2013 - 06:06 PM, said:

Off-Topic: I might have some time tonight to do some developing. Keen?
Always.

#78 MudkipTheEpic

  • Members
  • 639 posts
  • LocationWhere you'd least expect it.

Posted 08 February 2013 - 12:15 PM

Would it be ok if I used some of your code to make my remote shell program? I will give you credit if I can! ;)

#79 1lann

  • Members
  • 516 posts
  • LocationAustralia

Posted 08 February 2013 - 03:19 PM

 MudkipTheEpic, on 08 February 2013 - 12:15 PM, said:

Would it be ok if I used some of your code to make my remote shell program? I will give you credit if I can! ;)
Sure, go ahead! Though I have noticed our code isn't that efficient, it would be better if we had used a fake monitor thing and used term.redirect instead :P.

#80 MudkipTheEpic

  • Members
  • 639 posts
  • LocationWhere you'd least expect it.

Posted 10 February 2013 - 05:40 AM

Maybe, to make a video editor possible, make little like:
--f1
[code]
--f2

things so you could mark the end of a frame... Just a suggestion. (Don't know bout file size though...)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users