10/23/2009, 10:25 PM
|
#481 (permalink) | |
|
Member
![]() Join Date: Aug 2009
Location: Rock Hill, SC
Posts: 72
Likes Received: 0
Thanks: 44
Thanked 20 Times in 10 Posts
|
Quote:
My labors were not in vain.. PLEASE post your results asap.. Last edited by acherry; 10/23/2009 at 10:41 PM. |
|
10/23/2009, 10:45 PM
|
#482 (permalink) |
|
Member
![]() Join Date: May 2008
Posts: 378
Likes Received: 0
Thanks: 37
Thanked 60 Times in 32 Posts
|
wow thanks for the info. this is still alpha stages though. I cant wait until we get it by installing patches on the device or apps. OR until palm gives us an update..lol
__________________
Ivan's Themes main thread Oklahoma Sooner theme If you would like to because you like my work or you just want to buy me a drink I would really appreciate it. |
10/23/2009, 10:50 PM
|
#483 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 27
Likes Received: 0
Thanks: 23
Thanked 7 Times in 6 Posts
|
I accidentally recorded my video upside down so i recorded another quick one. Its processing on youtube now. I'll post a link once its done.
Still gotta figure out how to sync the audio/video though. Update: Here's my first half-decent video with sound. http://www.youtube.com/watch?v=DsLiPeqPdks |
10/23/2009, 11:06 PM
|
#484 (permalink) | |
|
Member
![]() Join Date: Aug 2009
Location: Rock Hill, SC
Posts: 72
Likes Received: 0
Thanks: 44
Thanked 20 Times in 10 Posts
|
Quote:
The issue with the fast framerate has something to do with obtaining the a proper .MP4 container: http://forums.precentral.net/web-os-...ml#post1952967 and http://forums.precentral.net/web-os-...ml#post1953881 Thanks NickDG Again, I'm not a developer, I'm just a geek (telecom is my specialty) utilizing my unemployement time. :-( How I got my video/sound to sync is beyond me. It was a fluke.. But it does show that it CAN work. The rest is up to you coding cats (or Palm,, hmmph..).. Thanks Snazzy for the post and the kudos.. |
|
10/23/2009, 11:09 PM
|
#485 (permalink) | |
|
Member
![]() Join Date: Aug 2009
Location: Rock Hill, SC
Posts: 72
Likes Received: 0
Thanks: 44
Thanked 20 Times in 10 Posts
|
Quote:
Didin't they say something like that in Field of Dreams? LOL.. I crack myself up, I do.. |
|
10/24/2009, 05:24 AM
|
#488 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 27
Likes Received: 0
Thanks: 23
Thanked 7 Times in 6 Posts
|
I followed acherry's post #481 just a few above, he explains it with a good amount of detail.
Here are a few things that i feel should be noted though, which some people would already know, but they werent explicitly written and caused me issues. After installing the videorec app and service (found here) via WebOS Quick Install or however you do it, remember to restart your phone. Once that's done, then go back in terminal and make sure the Pre is in rw mode before trying to record, so do a mount -o remount,rw / otherwise you'll get errors. The rest is in acherry's very nice tutorial above.
|
10/24/2009, 05:38 AM
|
#490 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 27
Likes Received: 0
Thanks: 23
Thanked 7 Times in 6 Posts
|
So far its been that way in every video i've recorded, a little choppy here and there but decently clear. However its mono, and only plays through my left speaker.
Also, the video for me has been recording at a fast rate (like for many other people) while the sound records normally, so that when i play it back, the video ends while the sound is still playing, hence the sound for the end of the clip is cut off. Once we can figure out a way to have the video record at a normal rate, then that should solve this problem. |
10/24/2009, 05:43 AM
|
#491 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 27
Likes Received: 0
Thanks: 23
Thanked 7 Times in 6 Posts
|
Ok here's another video i put together, my last for tonight.
Here i take a video of my Pre recording a video for more testing purposes. I add in the Pre's recording on top as soon as i run the start command and I adjusted the speed of the Pre's recording so that it ends when i run the kill command. This should make the two videos synced throughout the whole clip. However, they will go out of sync and come back together, meaning the Pre's recording rate seems to change throughout the video. (I highly doubt this is an issue with my video editing software.) Lemme know what you guys think. Could be due to the fact that i was running the phone app at the same time, but if anything it should slow the recording down, not speed it up like it does in the video. YouTube - Palm Pre Video Recording Test 2 And i just realized, i think its sick that the phone can record video and run all its other capabilities at the same time with no lag.
|
10/24/2009, 11:50 PM
|
#492 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 15
Likes Received: 0
Thanks: 0
Thanked 2 Times in 2 Posts
|
The thought came to mind... having the option to record video without preview could be very useful in the recovery of a lost or stolen pre. If you have dyndns set up on it, you could ssh in, start the recording, copy the file, and see what you've picked up. Couple that with the script that pulls your GPS location and throws it up on a google map... oh, this could be fun. *evil genius laugh*
|
10/25/2009, 03:15 PM
|
#493 (permalink) |
|
Member
![]() Join Date: Sep 2009
Location: fort smith, ar
Posts: 78
Likes Received: 0
Thanks: 12
Thanked 1 Time in 1 Post
|
ok, simple question why cant you use the cameras caption to see wut your shooting, but make it smaller..? an apply it to the video recorder app? can n e one tell me the location of the videorecorder app to modify the code, like..cd /usr/palm/applications/com.palm.app.??
Last edited by ipalmpreo; 10/25/2009 at 03:24 PM. |
10/25/2009, 07:37 PM
|
#494 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 27
Likes Received: 0
Thanks: 23
Thanked 7 Times in 6 Posts
|
Having the camera app open would be a good way to see what you're recording! I dunno why i never ran that app while shooting.
And as far as i can tell, its not an its own app like the picture camera is. There's no straightforward video camera app or service, which is what's making this so difficult to throw together a quick app for this. Correct me if i'm mistaken, this is just my speculation from whats going on. It seems like Jason and Yokken and them are using a service on the phone called GStreamer along with another service called palmvideoencoder together to make it work. (See available packages here) GStreamer captures all the raw data from the camera while the palmvideoencoder 'roughly' packages it into an mp4 file. The problem is creating a working container/codec to make it playable right on the Pre without having to convert it with another program like Prism or youtube, which is what i think they're working on now. That and the capture rate issue. Hope that helps. |
10/26/2009, 03:25 AM
|
#496 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 27
Likes Received: 0
Thanks: 23
Thanked 7 Times in 6 Posts
|
Thanks ird. As always, if you guys see anything incorrect with anything i post please comment. I'm not really too familiar with all the components in this, but im learning as i go.
|
10/27/2009, 06:45 PM
|
#497 (permalink) |
|
Member
![]() Join Date: Oct 2009
Posts: 15
Likes Received: 0
Thanks: 4
Thanked 0 Times in 0 Posts
|
Loving this thread!
By page 1, I was intrigued. By page 5, I had something to test. By page 15, I was wondering why people didn't seem to be reading the whole thing. By page 20, I had downloaded the SDK. By page 25, I am wondering if I could migrate some coding knowledge to assist. Excellent work guys |
10/29/2009, 11:55 AM
|
#500 (permalink) | |
|
Member
![]() Join Date: Jul 2009
Posts: 127
Likes Received: 1
Thanks: 5
Thanked 430 Times in 44 Posts
|
Quote:
Gstreamer is a video (or more accurately, media pipeline) framework, as mentioned earlier. palmvideoencoder is not a service, but instead it's an element taken from a proprietary Palm binary gst plugin ('gst-inspect palmvideoencoder' for more info, including element properties). The 'gst-launch' utility is NOT MADE FOR PRODUCTION VIDEO RECORDING. It is simply a debug utility, and use any other way is opposed to what the utility was written for, which is part of the issues some are having. The camsrc element is also Palm written, but the source is released GPLv2 (opensource.palm.com) as it is based on an older version of a v4l2 gst plugin. Although the original plugin was written to produce RAW data, this derivitive does not, in the pure sense. It instead, produces data with very specific capabilities (resolution, framerate, and angle), as well as adds a second pad for the still camera. It is also very old, and has multiple bugs (the main one being the duration/time-stamp issue) which stops muxers from working properly (because they don't know when to start). The other main muxing problem is the lack of the -e switch in this older version of Gstreamer (because then they don't know when to stop). The palmvideoencoder element also DOES NOT package, or contain, or 'mux', anything at all. It simply takes the stream given from camsrc and produces a 'sort of' h264 (or 263, or mpeg4, depending on property chosen) compatible output. That being said, if you played around enough with some caps, you could probably get your 'current' method of doing things working a little better. I currently have multiple source driver, encoder, and muxer elements playing fairly well together, enough to start work on a service/application. Just don't expect anything spectacular to start. There's a reason Palm had to write their own camsrc driver and palmvideoencoder encoder, and circumventing these to get good muxing results causes other various issues. But I should have _something_ working very soon. If anyone has any knowledge on this subject, and wants to help with development, please PM me or go to #webos-internals on freenode. |
|
![]() |
|
| 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 | |



