10/04/2009, 10:48 PM
|
#381 (permalink) |
|
Member
![]() Join Date: Jan 2005
Location: Astoria Queens, NYC
Posts: 1,823
Likes Received: 1
Thanks: 201
Thanked 154 Times in 118 Posts
|
I got it to record and play today for the first time. But it played sideways, I guess the camera orientation is off.
I did have trouble finding the right player to make it work in. I got it working with Video Pad / Video Editor from the link provided from a user in a previous message. Thank you! It's good to see that it is indeed possible. I guess it needs a lot more work at this time. Especially since we can't view directly on the Pre, and the User Interface needs to be built. I do understand what we are testing is using just a plain interface to test the feasibility of video recording. So it's proof to me that it can be done, there is no question. Now, it seems that this needs much more development before it can ever get out there. And if Palm is not going to bring this to use, then it should be done by the developers here in Homebrew. But whatever is made, it's got to be made so it's simple to use and simple to playback. So if normal players can't be made to with with these files, then the app or package shold include the proper player to go along with the package. Just so users have all they need to make it work. Recording is not enough, you need to provide the play back function to make this what everyone is asking for. But I am tickled pink over seeing the video I made. It was like I was sitting in NASA's control room waiting for the first pictures to come back from 'Spirit' from Mars! If you've ever seen these documentaries, the whole room lets out a big round of cheers! So I give big cheer, to all the people that were involved to help get this to this point. Thanks! Rob
__________________
Robert L Astoria Queens, N.Y.C - Palm Pre (Sprint) - formally Palm Treo 650 Version 1.4.1.1 Sprint Configuration 2.3 Model: P100EWW Hardware Version: A Firmware: CC1.4(510) |
10/04/2009, 11:36 PM
|
#382 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 105
Likes Received: 0
Thanks: 7
Thanked 26 Times in 22 Posts
|
this may be completely incorrect or down right ridiculous: but couldn't you edit or Remix (similar to the Music app with improved functionality and additional features) the existing Video app to start the Camcorder and save to "Video" for playback??
|
10/05/2009, 10:24 AM
|
#383 (permalink) |
|
Member
![]() Join Date: May 2009
Location: Austin, TX
Posts: 700
Likes Received: 0
Thanks: 5
Thanked 47 Times in 40 Posts
|
I think the problem, at the moment, is that the current method of recording video saves the files in a format that the Pre's internal player cannot play.
__________________
no 'Thanks' |
10/05/2009, 10:26 AM
|
#384 (permalink) |
|
Member
![]() Join Date: May 2009
Location: Austin, TX
Posts: 700
Likes Received: 0
Thanks: 5
Thanked 47 Times in 40 Posts
|
That doesn't mean that you couldn't use a Linux utility to convert it though. I could see someone making a homebrew camcorder app, where they make the current call to record video, then separately-record the audio with another call, then combine the streams, and convert to a more standard format. The conversion stuff shouldn't be too hard, but I don't know how powerful the Pre is in that regard.
__________________
no 'Thanks' |
10/06/2009, 12:32 AM
|
#388 (permalink) |
|
Member
![]() Join Date: May 2006
Posts: 2,080
Likes Received: 0
Thanks: 189
Thanked 328 Times in 193 Posts
|
No converting needed. Problem is the CLI we are using is spitting out a pure h264 stream with no container. We need to wrap it in an mp4 container (H.264 +AAC audio) for it to play correctly with the webOS Video player.
It seems like we have all the pieces here, we just need an app that can capture the h.264 and aac streams into a mp4 container.
__________________
Palm Vx -> Treo 600 -> Treo 700p -> Centro -> Pre (Launch Phone 06/06/09) -> AT&T Pre Plus with Sprint EVDO swap -> Samsung Epic 4G w/ Froyo
|
10/06/2009, 09:11 AM
|
#389 (permalink) | |
|
Member
![]() Join Date: Jul 2009
Posts: 127
Likes Received: 1
Thanks: 5
Thanked 430 Times in 44 Posts
|
Quote:
![]() The issue is indeed involving a raw h264 stream, although the palmvideoencoder also supports h263, and mpeg-4 bitstreams by passing an element property value. The only available container for the version of gstreamer/gst-base/glib/glibc on the pre is ffmp4_mux, which quite honestly, is buggy, unstable, and just generally bad. I'm currently working on backporting qtmux, which would fix this up in a jiffy as it includes the container element mp4mux. I've also opted for the x264enc built on libx264, as it seems more stable than palms encoder. Part of the reason they had to build a custom encoder it would seem, is because the custom patched v4l2 (camsrc) is uh.. rather incomptaible.. with anything. In fact, even trying to pipeline to fakesink (gst-launch camsrc ! fakesink) fails. Deregistering camsrc and using the v4l2src element fixes this (although it breaks the camera app). A simple fix, I suppose, would be to change the name of camsrc to .so.orig, register v4l2, record, and then deregister v4l2/register palm's plugin afterwards. Last edited by Prenosicator; 10/06/2009 at 03:36 PM. Reason: typo'd command |
|
10/06/2009, 11:05 AM
|
#390 (permalink) | ||
|
Member
![]() Join Date: May 2006
Posts: 2,080
Likes Received: 0
Thanks: 189
Thanked 328 Times in 193 Posts
|
Quote:
Quote:
mp4mux sounds great! Hopefully we can get this going. Were you able to make any strides with the sound portion?
__________________
Palm Vx -> Treo 600 -> Treo 700p -> Centro -> Pre (Launch Phone 06/06/09) -> AT&T Pre Plus with Sprint EVDO swap -> Samsung Epic 4G w/ Froyo
|
||
10/06/2009, 02:29 PM
|
#391 (permalink) |
|
Member
![]() Join Date: Feb 2008
Location: Olympia Washington
Posts: 385
Likes Received: 6
Thanks: 170
Thanked 53 Times in 31 Posts
|
I didn't understand hardly anything you guys said, but for some strange reason I'm excited about it. Thanks guys for keep on keepin on with this!
|
10/06/2009, 03:34 PM
|
#393 (permalink) | |
|
Member
![]() Join Date: Jul 2009
Posts: 127
Likes Received: 1
Thanks: 5
Thanked 430 Times in 44 Posts
|
Quote:
BUT, and a big but, to my knoweldge, the gpu is currently 100% unused. Even the DSP seems to only be used by MediaServer and there are no opensource parts of the code available for peeking at. Also, from various GST_DEBUG pages (by various, I mean too many to count), it would seem x264enc handles the bitstream well, even if it's CPU encoded. The other big problem with using palms video driver and video encoder, is they are limited to values in things like resolution / framerate / bitrate, and they seem unresponsive to suggestions otherwise. As far as things like efficiency and audio go, I don't really want to tackle anything untill I can get a _working_ container. Backporting qtmux is proving to be a _HUGE_ hassle (although I'm no backporting expert). Then the trouble would be, once I get it working, somehow repeating the process. Honestly tho, qtmux by itself might work with minimum adjustments or instalations of other modules (simply with the current camsrc ! palmvideoencoder ! pipeline), which might be ideal. I wish Andrew James was around more often He's really done a ton of work on audio support, and what I believe was the first ogg and flac songs to play on a pre He even got mediaserver to recognize ogg in music player (although it wouldn't play them).For full set of information, check out the webos-internals.org "Gstreamer" page, as well as the "Video Recording" page, both in the "Research" section. PM me with your nick, and we can collaboate on #webos-internals (freenode irc). Ta ta! |
|
10/06/2009, 05:51 PM
|
#398 (permalink) | |
|
Member
![]() Join Date: May 2006
Posts: 2,080
Likes Received: 0
Thanks: 189
Thanked 328 Times in 193 Posts
|
Quote:
__________________
Palm Vx -> Treo 600 -> Treo 700p -> Centro -> Pre (Launch Phone 06/06/09) -> AT&T Pre Plus with Sprint EVDO swap -> Samsung Epic 4G w/ Froyo
|
|
10/06/2009, 07:09 PM
|
#399 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 110
Likes Received: 0
Thanks: 7
Thanked 8 Times in 7 Posts
|
hmmm got this to work pretty easy, very cool, obviously watching them on the phone right away and having a better GUI would be awesome but just being able to record so soon after the phone was released with this feature completely missing, very cool!
and I mainly want the videos to put on youtube/facebook anyway! |
![]() |
|
| 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 | |



