09/26/2009, 10:54 AM
|
#221 (permalink) | |||
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
|
Quote:
Quote:
![]() Quote:
I'll have a new build with a different attempt at video stopping and audio with the video. Also, if a mod could rename this thread to "Video Recording: A Work In Progress" or something similar, it'd be appreciated |
|||
09/26/2009, 11:03 AM
|
#222 (permalink) | |
|
Member
![]() Join Date: May 2009
Posts: 52
Likes Received: 0
Thanks: 1
Thanked 6 Times in 5 Posts
|
Quote:
To all involved, thanks so much for this! Aside from a really good Brightkite app, this was #1 on my want list and lack of video was almost a reason to pass on the Pre, even though I'd held off on getting a new phone in anticipation of the it since WebOS was announced. |
|
09/26/2009, 11:26 AM
|
#223 (permalink) |
|
Member
![]() Join Date: Jun 2009
Location: Clarkston, MI
Posts: 773
Likes Received: 0
Thanks: 559
Thanked 162 Times in 71 Posts
|
YouTube - Second Palm Pre Video
another video. I tried to test some close ups. I think the recording stopped when the screen timed out. |
09/26/2009, 11:36 AM
|
#224 (permalink) | |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
|
Quote:
|
|
09/26/2009, 11:36 AM
|
#225 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Location: Clarkston, MI
Posts: 773
Likes Received: 0
Thanks: 559
Thanked 162 Times in 71 Posts
|
Quote:
The original file was 9.61 MB and the converted file from youtube was 1.96 MB. |
|
09/26/2009, 11:39 AM
|
#226 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Location: Clarkston, MI
Posts: 773
Likes Received: 0
Thanks: 559
Thanked 162 Times in 71 Posts
|
Quote:
copied to desktop and then used youtube.com to upload the file. It took about 30 seconds to upload and it took about 2 minutes for youtube to "process" the file. no clue what it does when it says this. |
|
09/26/2009, 12:57 PM
|
#228 (permalink) |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
|
Hi all,
Here's the new zip. Only the service ipk was updated (so you only need to update that i**** already have the app ipk installed). It contains the 2 changes Rod recommended as well as changed [Start Rec Alt1], [Start Rec Alt2] and [Stop Rec] buttons scripts, so with the new service, be sure to try those out again ![]() One we figure out how to get the stop button working, I'll look at adding direct youtube upload ability to the service
|
09/26/2009, 01:10 PM
|
#229 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 127
Likes Received: 1
Thanks: 5
Thanked 430 Times in 44 Posts
|
Ridiculous question from me Jason, but by poking around, have you considered trying to use kill INT instead of killall HUP? That may fix your stopping issues. INT mimics ctrl+c, which works when running the same script in the terminal.
Last edited by Prenosicator; 09/26/2009 at 01:11 PM. Reason: explanation |
09/26/2009, 01:17 PM
|
#230 (permalink) | |
|
Member
![]() Join Date: Oct 2007
Posts: 875
Likes Received: 0
Thanks: 75
Thanked 40 Times in 35 Posts
|
Quote:
great work, but, any sound yet? |
|
09/26/2009, 01:37 PM
|
#232 (permalink) |
|
Member
![]() Join Date: Jun 2009
Location: San Pedro, California
Posts: 203
Likes Received: 0
Thanks: 21
Thanked 28 Times in 22 Posts
|
for anybody using the media-convert.com
all you have to do it just go to upload choose your pre video and dont change what the file type is its going to say it can be different files just leave as is then go down and choose what file type you want it to be converted into and then click the button
__________________
Once you are in Hell, Only the Devil can help you Click To See My Themes If you have any theme requests email me at Pardoe@live.com |
09/26/2009, 01:44 PM
|
#235 (permalink) |
|
Member
![]() Join Date: Aug 2009
Location: SF Bay
Posts: 226
Likes Received: 0
Thanks: 27
Thanked 8 Times in 8 Posts
|
I got a question... is it possible to make it HD video recording or the phone isnt able to produce HD quality... btw jus by lookin at the vidz on youtube they seem pretty close to "HD-like" but yea... just wondering if its possible to have HD video recording? thanks
|
09/26/2009, 01:50 PM
|
#236 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Location: St Augustine, FL
Posts: 815
Likes Received: 0
Thanks: 38
Thanked 141 Times in 75 Posts
|
Quote:
[Start Rec Alt1] - Video but no sound [Start Rec Alt2] - Will not record. No file when you go into USB mode. |
|
09/26/2009, 02:00 PM
|
#239 (permalink) |
|
Member
![]() ![]() Join Date: Jul 2005
Location: Berkeley, CA
Posts: 100
Likes Received: 1
Thanks: 31
Thanked 79 Times in 17 Posts
|
Yes indeed, using this seems to kill it reliably:
Code:
/usr/bin/killall -I -s INT gst-launch-0.10 Code:
#!/bin/sh
luna-send -n 1 palm://com.palm.vibrate/vibrate {\"period\":250,\"duration\":500\}
FILE="`date +%m`_`date +%d`_`date +%y`_`date +%H`_`date +%M`_`date +%S`.mts"
gst-launch camsrc ! palmvideoencoder ! filesink location=/media/internal/VIDEO/Recordings/$FILE &
luna-send -n 1 palm://com.palm.applicationManager/running {} > /tmp/psctest 2>&1
pid=$(cat /tmp/psctest | sed 's/.*camcorder\", \"[a-z]*\"\: \(\"[0-9]*\"\) }.*/\1/')
rm /tmp/psctest
sleep 1
echo -n 1 >/sys/class/i2c-adapter/i2c-2/2-0033/avin
echo -n 50mA >/sys/class/i2c-adapter/i2c-2/2-0033/torch_current
echo -n torch >/sys/class/i2c-adapter/i2c-2/2-0033/mode
sleep 1
echo -n 1 >/sys/class/i2c-adapter/i2c-2/2-0033/avin
echo -n 75mA >/sys/class/i2c-adapter/i2c-2/2-0033/torch_current
echo -n torch >/sys/class/i2c-adapter/i2c-2/2-0033/mode
sleep 1
echo -n 1 >/sys/class/i2c-adapter/i2c-2/2-0033/avin
echo -n 100mA >/sys/class/i2c-adapter/i2c-2/2-0033/torch_current
echo -n torch >/sys/class/i2c-adapter/i2c-2/2-0033/mode
sleep 1
echo -n 1 >/sys/class/i2c-adapter/i2c-2/2-0033/avin
echo -n 100mA >/sys/class/i2c-adapter/i2c-2/2-0033/torch_current
echo -n torch >/sys/class/i2c-adapter/i2c-2/2-0033/mode
cat /dev/input/keypad1 | read -n1
/usr/bin/killall -I -s INT gst-launch-0.10
luna-send -n 1 palm://com.palm.vibrate/vibrate {\"period\":0,\"duration\":250\}
luna-send -n 1 palm://com.palm.applicationManager/close {\"processId\":$pid}
echo -n shutdown >/sys/class/i2c-adapter/i2c-2/2-0033/mode
echo -n 0mA >/sys/class/i2c-adapter/i2c-2/2-0033/torch_current
echo -n 0 >/sys/class/i2c-adapter/i2c-2/2-0033/avin
Once the silver button is pressed, it stops the recording, turns off the LED, then terminates the application. Now I'd like to figure out how you got sound to work? I can't seem to make it happen. |
09/26/2009, 02:01 PM
|
#240 (permalink) | |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
|
Quote:
The [Start Rec Alt1] is Code:
#!/bin/sh FILE="`date +%m`_`date +%d`_`date +%y`_`date +%H`_`date +%M`_`date +%S`.mp4" gst-launch camsrc ! palmvideoencoder ! avimux name=mux ! filesink location=/media/internal/$FILE alsasrc ! mulawenc ! mux. Wow, very nice, updating the service with this new info
|
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://forums.webosnation.com/webos-development/197022-video-recording-real-no-gui.html
|
||||
| Posted By | For | Type | Date | |
| Gizmodo, the Gadget Guide | This thread | Refback | 05/20/2010 09:01 AM | |



