webOS Nation Forums >  webOS apps and software >  webOS development > Video Recording (For Real, no GUI)
Video Recording (For Real, no GUI)

  Reply
 
LinkBack Thread Tools Display Modes
Old 10/04/2009, 10:48 PM   #381 (permalink)
Member
 
rlanza1054's Avatar
 
Join Date: Jan 2005
Location: Astoria Queens, NYC
Posts: 1,823
Likes Received: 1
Thanks: 201
Thanked 154 Times in 118 Posts
Default

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)

rlanza1054 is offline   Reply With Quote
Old 10/04/2009, 11:36 PM   #382 (permalink)
Member
 
rdethree's Avatar
 
Join Date: Jul 2009
Posts: 105
Likes Received: 0
Thanks: 7
Thanked 26 Times in 22 Posts
Default

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??
rdethree is offline   Reply With Quote
Old 10/05/2009, 10:24 AM   #383 (permalink)
Member
 
ScrapMaker's Avatar
 
Join Date: May 2009
Location: Austin, TX
Posts: 700
Likes Received: 0
Thanks: 5
Thanked 47 Times in 40 Posts
Default

Quote:
Originally Posted by rdethree View Post
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??
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'
ScrapMaker is offline   Reply With Quote
Old 10/05/2009, 10:26 AM   #384 (permalink)
Member
 
ScrapMaker's Avatar
 
Join Date: May 2009
Location: Austin, TX
Posts: 700
Likes Received: 0
Thanks: 5
Thanked 47 Times in 40 Posts
Default

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'
ScrapMaker is offline   Reply With Quote
Old 10/05/2009, 06:11 PM   #385 (permalink)
Member
 
Join Date: Feb 2008
Location: Olympia Washington
Posts: 385
Likes Received: 6
Thanks: 170
Thanked 53 Times in 31 Posts
Default

Now we're thinking.
Presmurf is offline   Reply With Quote
Old 10/05/2009, 07:11 PM   #386 (permalink)
Member
 
Join Date: Oct 2009
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I keep getting "error reading control file"?
Tbaseflug is offline   Reply With Quote
Old 10/05/2009, 11:25 PM   #387 (permalink)
Member
 
Join Date: Oct 2009
Posts: 6
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Hey guys I am new at this so can anyone post steps on how to download and put this file into the webos quick installer so it can download to my pre
genesisofking is offline   Reply With Quote
Old 10/06/2009, 12:32 AM   #388 (permalink)
Member
 
NickDG's Avatar
 
Join Date: May 2006
Posts: 2,080
Likes Received: 0
Thanks: 189
Thanked 328 Times in 193 Posts
Default

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
NickDG is offline   Reply With Quote
Thanked By: brownkity
Old 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
Default

Quote:
Originally Posted by NickDG View Post
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.
THANK YOU whoever you are. I check this thread all the time just for this reason. You are the first person here to make any sense in days. I really thought for a moment all hope was lost here in PC.net

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
Prenosicator is offline   Reply With Quote
Old 10/06/2009, 11:05 AM   #390 (permalink)
Member
 
NickDG's Avatar
 
Join Date: May 2006
Posts: 2,080
Likes Received: 0
Thanks: 189
Thanked 328 Times in 193 Posts
Default

Quote:
Originally Posted by Prenosicator View Post
THANK YOU whoever you are. I check this thread all the time just for this reason. You are the first person here to make any sense in days. I really thought for a moment all hope was lost here in PC.net
Thanks I appreciate it. I have been working with codecs and video files forever so this shouldn't be too hard for us to work together to get this done.

Quote:
Originally Posted by Prenosicator View Post
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-inspect 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.
I am a bit unclear if moving to another encoder will work. I believe Palm's encoder is hardware accelerated which allows the high quality H264 video. Will the x264enc pull the h264 stream from hardware or will it try and encode via the CPU?

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
NickDG is offline   Reply With Quote
Thanked by acherry, Prefect
Old 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
Default

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!
Presmurf is offline   Reply With Quote
Old 10/06/2009, 02:30 PM   #392 (permalink)
Member
 
Join Date: Feb 2008
Location: Olympia Washington
Posts: 385
Likes Received: 6
Thanks: 170
Thanked 53 Times in 31 Posts
Default

Oh, by the way. You guys know Motionapps Classic and SoundRec works well together. So I have a voice recorder now!
Presmurf is offline   Reply With Quote
Old 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
Default

Quote:
I am a bit unclear if moving to another encoder will work. I believe Palm's encoder is hardware accelerated which allows the high quality H264 video. Will the x264enc pull the h264 stream from hardware or will it try and encode via the CPU?

mp4mux sounds great! Hopefully we can get this going. Were you able to make any strides with the sound portion?
I'm confused as to your ideas about palmvideoencoder. It seems to be completely closed source and proprietary. I suppose the only tips we have about it is what we can see from the files it outputs, maybe it will become clear once we contain it.

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!
Prenosicator is offline   Reply With Quote
Old 10/06/2009, 04:22 PM   #394 (permalink)
Member
 
Join Date: Oct 2009
Posts: 6
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Default

ur the man!!!!!!!!
jmontiel213 is offline   Reply With Quote
Old 10/06/2009, 04:34 PM   #395 (permalink)
Member
 
Join Date: Aug 2009
Posts: 37
Likes Received: 0
Thanks: 3
Thanked 2 Times in 2 Posts
Default

Just made this video a few minutes ago, and I am pleasantly surprised at the quality. It was supposed to stop recording after about 30 seconds but as you can see it kept recording right through a phone call I made, and all the way until I plugged it into the computer.

raudaa is offline   Reply With Quote
Old 10/06/2009, 05:14 PM   #396 (permalink)
Member
 
Join Date: Sep 2009
Posts: 31
Likes Received: 0
Thanks: 8
Thanked 0 Times in 0 Posts
Default

i am really confused tell me how to install this app do i get sound and please tell me how to install it
preultra64 is offline   Reply With Quote
Old 10/06/2009, 05:42 PM   #397 (permalink)
Member
 
Join Date: Sep 2009
Posts: 2
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
Default

once u get the zipped folder where do u put it or what do u do with it
3303525969 is offline   Reply With Quote
Thanked By: sorli
Old 10/06/2009, 05:51 PM   #398 (permalink)
Member
 
NickDG's Avatar
 
Join Date: May 2006
Posts: 2,080
Likes Received: 0
Thanks: 189
Thanked 328 Times in 193 Posts
Default

Quote:
Originally Posted by 3303525969 View Post
once u get the zipped folder where do u put it or what do u do with it
Great screen name. Hope it's not your phone number!
__________________
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
NickDG is offline   Reply With Quote
Old 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
Default

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!
morelloX is offline   Reply With Quote
Old 10/06/2009, 10:01 PM   #400 (permalink)
Member
 
Join Date: Sep 2009
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I just got a Pre. I download the zip file. Curious how to install this? Preware is mentioned in he above thread.
dschreiber is offline   Reply With Quote
Reply

 

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


 


Content Relevant URLs by vBSEO 3.6.0