maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [HOWTO]Watch 720p videos on n900 [09.12.2011 VIDEOCALL WORKS] (https://talk.maemo.org/showthread.php?t=77695)

AWasisto 2012-03-29 12:01

Re: [HOWTO]Watch 720p videos on n900 [09.12.2011 VIDEOCALL WORKS]
 
I was trying to record a 720p video without CSSU's 'camera-ui', I used 'gst-launch-0.10' command. but I got . . .

Code:


BusyBox v1.19.3 (Debian 1.19.3power5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ cd MyDocs
~/MyDocs $ gst-launch-0.10 -v v4l2camsrc device=/dev/video0 ! video/x-raw-yuv,w
idth=1280, height=720!dspmp4venc !avimux!filesink location=test.avi
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30/1, width=(int)1280, height=(int)720
/GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30/1, width=(int)1280, height=(int)720
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30/1, width=(int)1280, height=(int)720
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)UYVY, framerate=(fraction)30/1, width=(int)1280, height=(int)720
/GstPipeline:pipeline0/GstDspHdMp4VEnc:dsphdmp4venc0.GstPad:src: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, width=(int)1280, height=(int)720, framerate=(fraction)30/1
create_node: dsp node allocate failed
sink_setcaps: dsp node creation failed
ERROR: from element /GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2378): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 143585217 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstDspHdMp4VEnc:dsphdmp4venc0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstV4l2CamSrc:v4l2camsrc0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...
~/MyDocs $

What should I do? Anyone can help me?
Thanks.

Mohammed Muid 2012-03-29 12:44

Re: [HOWTO]Watch 720p videos on n900 [09.12.2011 VIDEOCALL WORKS]
 
i installed bless N900 from the repo and also fcam to test which one is better. fcam works fine but the pic quality is not that good. when i tried to take pic with bless it closed automatically as soon as i pressed the cam button to take images. bdw i am using kp50, hd codecs to play 720p and latest cssu testing.

one more problem. i wanted to play a video in mkv format with mplayer but it lags. as in the sound and video doesnt match. the video is slower. but in default media player it works fyn. y is dat?

karam 2012-03-29 14:21

Re: [HOWTO]Watch 720p videos on n900 [09.12.2011 VIDEOCALL WORKS]
 
hd codecs doesn't work with bless or abattercamera
this is mentioned earlier

anyway
you can create a script file which replaces all the dsp libraries and libgstdsp.so
before launching the app
and re put the hd codecs again after exiting it

but you need to get the old ones
uninstall hd-codecs then backup the original ones including libgstdsp.so then reinstall hd-codecs
then gather the newly installed libraries to a folder or so
and create that script


don't forget to point to that script file by modifying the .desktop file
just like what i did

hope it helps

Nihanthk 2012-03-29 14:31

Re: [HOWTO]Watch 720p videos on n900 [09.12.2011 VIDEOCALL WORKS]
 
hey guyz plz check this repo.... i got some libs of harmattan... but getting error conf broken libc-bin....

name: *anything*
url: https://downloads.maemo.nokia.com/
dist: harmattan/rm680/
components:

check it ... i found harmattan's gstreamer and camera libs etc

ivgalvez 2012-03-29 21:56

Re: [HOWTO]Watch 720p videos on n900 [09.12.2011 VIDEOCALL WORKS]
 
Quote:

Originally Posted by karam (Post 1185605)
hd codecs doesn't work with bless or abattercamera
this is mentioned earlier

anyway
you can create a script file which replaces all the dsp libraries and libgstdsp.so
before launching the app
and re put the hd codecs again after exiting it

but you need to get the old ones
uninstall hd-codecs then backup the original ones including libgstdsp.so then reinstall hd-codecs
then gather the newly installed libraries to a folder or so
and create that script


don't forget to point to that script file by modifying the .desktop file
just like what i did

hope it helps

Would you mind to share that script? That would be a quick workarround until a proper solution is found.

freemangordon 2012-03-29 22:38

Re: [HOWTO]Watch 720p videos on n900 [09.12.2011 VIDEOCALL WORKS]
 
Quote:

Originally Posted by ivgalvez (Post 1185805)
Would you mind to share that script? That would be a quick workarround until a proper solution is found.

Forget that, won't work, simply replacing codec binaries is not enough, you should reload baseimage in DSP, and I am sure switching different baseimages on the fly will cause lots of problems. Better tell what is the gstreamer pipeline, so the problem could be reproduced by me.

Nihanthk 2012-03-30 08:00

Re: [HOWTO]Watch 720p videos on n900 [09.12.2011 VIDEOCALL WORKS]
 
Quote:

Originally Posted by Nihanthk (Post 1185611)
hey guyz plz check this repo.... i got some libs of harmattan... but getting error conf broken libc-bin....

name: *anything*
url: https://downloads.maemo.nokia.com/
dist: harmattan/rm680/
components:

check it ... i found harmattan's gstreamer and camera libs etc

is it any useful..????

ivgalvez 2012-03-30 13:55

Re: [HOWTO]Watch 720p videos on n900 [09.12.2011 VIDEOCALL WORKS]
 
Quote:

Originally Posted by freemangordon (Post 1185824)
Forget that, won't work, simply replacing codec binaries is not enough, you should reload baseimage in DSP, and I am sure switching different baseimages on the fly will cause lots of problems. Better tell what is the gstreamer pipeline, so the problem could be reproduced by me.

Unfortunately the application is closed source (one of the few with real quality for the N900).

I'll try to contact the developer.

freemangordon 2012-03-30 14:04

Re: [HOWTO]Watch 720p videos on n900 [09.12.2011 VIDEOCALL WORKS]
 
Quote:

Originally Posted by ivgalvez (Post 1186066)
Unfortunately the application is closed source (one of the few with real quality for the N900).

I'll try to contact the developer.

BTW is there anything in syslog or dmesg log that could be of help?

yrannadx 2012-03-31 13:12

Re: [HOWTO]Watch 720p videos on n900 [09.12.2011 VIDEOCALL WORKS]
 
Quote:

Originally Posted by karam (Post 1185605)
hd codecs doesn't work with bless or abattercamera
this is mentioned earlier

blessn900 works fine with hd codecs (and kp50 if matters). Only abettercamera seems to have problems due to a different (faster than bless) way of processing images.


All times are GMT. The time now is 09:58.

vBulletin® Version 3.8.8