webOS Nation Forums
> webOS apps and software
> webOS development
>
Video Recording (For Real, no GUI)
First
...
3 8 9 10 11 12 13
14 15 16 17 18 23
...
Last
Originally Posted by alvin319:
[Start Rec Alt1] - Video but no sound
[Start Rec Alt2] - Will not record. No file when you go into USB mode.
Anyone knowledgeable with gstreamer have any suggestions?
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.
Some have
reported this working for audio with the video. Any suggestions?
Originally Posted by pEEf:
...
Wow, very nice, updating the service with this new info
Originally Posted by Palmac06:
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 
You should have read the whole thread. Yes, the HARDWARE can support HD, but the software support isnt quite there yet.
Member:
pEEf
at: 03:20 PM 09/26/2009
Originally Posted by Jason Robitaille:
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.[/code]Some have reported this working for audio with the video. Any suggestions?
When I try this, I get the following error, and it stops:
[CODE]
WARNING: erroneous pipeline: no element "mux"[/CODE]
BTW: I'm on 1.1
Can anyone CONFIRM audio? If so, what version, what command?
Member:
yokken
at: 03:28 PM 09/26/2009
Star Rec Alt1 says Invalid Command for me. Start Rec Alt2 gives no file in USB mode.
Member:
yokken
at: 03:34 PM 09/26/2009
Originally Posted by Jason Robitaille:
Anyone knowledgeable with gstreamer have any suggestions?
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.[/code]
I just did [code]sudo -i[/code] followed by [code]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.[/code] all in one line in Terminal via SSH and it successfully recorded WITH sound! Running 1.1, rooted.
EDIT: Video with sound! Framerate is too fast though. h t t p : / / youtube dot com/watch?v=xBup0VduriM
Originally Posted by yokken:
I just did followed by
Code:
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.
all in one line in Terminal via SSH and it successfully recorded WITH sound! Running 1.1, rooted.
EDIT: Video with sound! Framerate is too fast though. h t t p : / / youtube dot com/watch?v=xBup0VduriM
Hmm, is that exactly the same command. I wonder why its not workin in the shell script...
And we always put a delay in the audio encoding to adjust for the framerate, eh?
Member:
turbobo
at: 04:20 PM 09/26/2009
Originally Posted by yokken:
I just did [code]sudo -i[/code] followed by [code]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.[/code] all in one line in Terminal via SSH and it successfully recorded WITH sound! Running 1.1, rooted.
EDIT: Video with sound! Framerate is too fast though. h t t p : / / youtube dot com/watch?v=xBup0VduriM
Is that real??
It's recording beautifully and i got it to play using SM, tried the audio code and it's not working for me. Im on 1.2. It's gettin there and it looks freakin good!!! Keep up the good work!
It worked using Alt 1. only...I wish my Pre could recognize the file and play it. In good time...
checked internalz to find vid location..sorta weird but vid continues to grow rapidly..currently at 87 mb lol...deleted the video and it seems to be gone for good. wats the latest news with this rec app so many threads so little time lol
Member:
turbobo
at: 04:54 PM 09/26/2009
Originally Posted by kshaat1107:
ok guys im lost...installed the ipk's but no new buttons or anything show up on the camera app or anywhere else..
Look at the moon! (in your launcher)
Video records fine....but no audio.....any fix for this??????
Folks, this is still a very young capability, its not mainstream - hence the reason its in the development forum. Once its polished up a bit, it will likely go to homebrews. Chill out and let the devs figure out the little bugs.
As far as audio, etc, if you've got command line access, the commands and other code are available. If you dont have command line access, or know how to use it, then 'fixing' audio, etc, probably isnt in your realm of capability.
Member:
pomokey
at: 05:49 PM 09/26/2009
Originally Posted by yokken:
Star Rec Alt1 says Invalid Command for me. Start Rec Alt2 gives no file in USB mode.
same here. the regular start worked, plays fine in VLC, but has no sound.
I'd like to chance stepping into inappropriateness and say that the PreCentral forums are probably not the best medium for development.
If we can get a git stream going, the community can collaboratively fix problems as time allows, given how the few people I can think of that could fix these issues are only on certain times of the week, or in very different timezones from the current devs.
Member:
dannydos
at: 06:33 PM 09/26/2009
Star Rec Alt1 says Invalid Command for me too...and im getting 0 KB size output files onto my pre...
Member:
turbobo
at: 07:08 PM 09/26/2009
I found a stop button...sort of...

I open the regular camera on the side of the camcorder (multitasking).
Start the recording, when I'm done, I switch to the regular camera and the recording stops.
No need to reset or plug in the USB.
Then I can go back on the camcorder to record another video.
Member:
dannydos
at: 07:19 PM 09/26/2009
Originally Posted by turbobo:
I found a stop button...sort of...
I open the regular camera on the side of the camcorder (multitasking).
Start the recording, when I'm done, I switch to the regular camera and the recording stops.
No need to reset or plug in the USB.
Then I can go back on the camcorder to record another video.
my camera isn't working now....im using 1.2
Member:
yokken
at: 07:38 PM 09/26/2009
Originally Posted by turbobo:
Is that real??
Of course! I'll take another if you want.
Member:
rothoof
at: 08:11 PM 09/26/2009
Originally Posted by pEEf:
When I try this, I get the following error, and it stops:
[CODE]
WARNING: erroneous pipeline: no element "mux"[/CODE]
BTW: I'm on 1.1
Can anyone CONFIRM audio? If so, what version, what command?
The first video that Zonyl made had audio you have to turn the volume up really loud but you can hear background noise and the narrator on the dvd player he has going.
its the video that was on the front page of precentral
Member:
rothoof
at: 08:30 PM 09/26/2009
works in vlc and smplayer for me. . . i think thats been established but im just excited people.
First
...
3 8 9 10 11 12 13
14 15 16 17 18 23
...
Last
webOS Nation Forums
> webOS apps and software
> webOS development
>
Video Recording (For Real, no GUI)