Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 22 Jul 2014, 11:37
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Sakura autocue
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 08 Jun 2010, 16:28    Post subject:  Sakura autocue  

I created this simple hacked Script and called it Script, with thanks to Jemimah Smile

I needed some code to output a stream of text
without me typing . . .
In Sakura (a terminal that allows you to change font sizes)
I used the code in the following infomercial for slaxer_pup which includes Sakura
http://www.youtube.com/watch?v=E4BqXF_ZXiY

Code:
#!/bin/bash
# Lobster June 2010 Sakura autocue
# run from command line with ./Script
# will read the text file "slack"
# and display one character after another in Sakura
# or any bash prompt
# data file

INPUT=slack
 
# while loop
clear
while IFS= read -r -n1 char
do
        # display one character at a time
        sleep 0.05
   echo -n "$char"
done < "$INPUT"


The infomercial was created in Fatdog64
using Openshot video editor

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
GustavoYz


Joined: 07 Jul 2010
Posts: 895
Location: .ar

PostPosted: Fri 20 Aug 2010, 03:45    Post subject:  

Smile Nice...
By the way, do you know Processing (Open Source and GNU software)????
http://processing.org/
Just an option for do that (or maybe I'm so in love with it that recommend it to every body...).
Back to top
View user's profile Send private message 
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: Fri 20 Aug 2010, 10:09    Post subject:  

I have been wondering about a way to add some kind of text description to videos, this script will be very handy.

Here is a short video test running Lobsters script using Roxterm terminal with transparent background and using Pekwm windows manager with window decor turned off, so the text looks like it is outputted on desktop and not in a terminal window.

http://www.youtube.com/watch?v=TaBfn8Nf4GU
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Fri 20 Aug 2010, 12:20    Post subject:  

http://processing.org/

It is rather interesting (after briefest look)
Install java with quickpet and then download the
program - click on file - choose neither Arch or Slackware install
and it will decompress
make the processing file executable (right click)
and then you can click to run
It is pawesome (Puppy awesome)
- I have a feeling it is making good use of my graphics card . . .

stu90 wrote:
Here is a short video test running Lobsters script using Roxterm terminal with transparent background and using Pekwm windows manager with window decor turned off, so the text looks like it is outputted on desktop and not in a terminal window.

http://www.youtube.com/watch?v=TaBfn8Nf4GU


Good plan stu90 - will look out for transparent terminal Smile
but try processing - the examples will get you going in no time
built into the sketch program

Thanks guys Smile

_________________
Puppy WIKI

Last edited by Lobster on Wed 21 Sep 2011, 20:04; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Fri 20 Aug 2010, 16:34    Post subject:  

NICE!
Back to top
View user's profile Send private message 
wow

Joined: 29 Jun 2006
Posts: 985
Location: Peru

PostPosted: Sun 22 Aug 2010, 03:47    Post subject:  

pawesome script. It's now my turn to play:
http://www.youtube.com/watch?v=ZbA6RrvPEUY

_________________

Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sun 22 Aug 2010, 08:57    Post subject:  

wow wrote:
pawesome script. It's now my turn to play:


pawesome video
My turn, my turn . . .

http://www.youtube.com/watch?v=vidFReU7NRc

_________________
Puppy WIKI

Last edited by Lobster on Tue 05 Oct 2010, 01:03; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0568s ][ Queries: 11 (0.0074s) ][ GZIP on ]