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)

freemangordon 2011-10-15 16:46

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

Originally Posted by m4r0v3r (Post 1108678)
wouldn't it be a lot easier to port to the meego ce?

It seems to be impossible, CE kernel version is 2.6.37 , and seems that DSP driver is broken, or at least I am unable to load baseimage.dof succesfully:

Code:

[ 1884.685394] proc_load: Processor Loaded baseimage.dof
[ 1884.700744] proc_start: dsp in running state
[ 1884.700805] procwrap_detach: deprecated dspbridge ioctl
[ 1884.770416] omap-dsp omap-dsp: bridge_deh_notify: DSP_SYSERROR, info=0x102
[ 1884.780303] omap-dsp omap-dsp: bridge_deh_notify: DSP_SYSERROR, info=0x102
[ 1884.787658] omap-dsp omap-dsp: ERR: clock id 2 already disabled
[ 1884.806457] omap-dsp omap-dsp: ERR: clock id 2 already disabled
[ 1884.821868] cod_open_base: error status 0xffffffac sz_coff_path: baseimage.dof
[ 1884.830230] proc_load: Processor failed to load
[ 1884.846252] omap-dsp omap-dsp: ERR: clock id 2 already disabled
[ 1884.852691] DSP could not be restarted

And having in mind there is HW adaptation team working on that kernel (something Maemo kernel lacks), I would prefer them to fix it, not me. I will stay focused on kernel-power instead.

What is also broken in CE kernel is omap3isp(camera HW resizer), which renders gstreamer camera element useless.

Code:

[  992.287902] omap3isp omap3isp: Revision 2.0 found
[  992.288024] omap-iommu omap-iommu.0: isp: version 1.1
[  992.891784] smia_reglist_import: meta_reglist version V14 03-June-2008
[  992.891845] smia_reglist_import: type 10    w 2592  h 1968  fmt 30314442    ival 100/1292  ptr d2a031f8
[  992.891845] smia_reglist_import: type 10    w 2592  h 1968  fmt 30314142    ival 100/399    ptr d2a03468
[  992.891876] smia_reglist_import: type 10    w 1296  h 984  fmt 30314142    ival 100/501    ptr d2a03598
[  992.891906] smia_reglist_import: type 10    w 1296  h 984  fmt 30314442    ival 100/2500  ptr d2a03634
[  992.891937] smia_reglist_import: type 10    w 1296  h 984  fmt 30314442    ival 100/3000  ptr d2a03294
[  992.891937] smia_reglist_import: type 10    w 864  h 656  fmt 30314142    ival 100/2988  ptr d2a03330
[  992.891967] smia_reglist_import: type 10    w 648  h 492  fmt 30314142    ival 100/499    ptr d2a034fc
[  992.891998] smia_reglist_import: type 10    w 648  h 492  fmt 30314142    ival 100/2993  ptr d2a033cc
[  992.891998] smia_reglist_import: type 1      w 2592  h 1968  fmt 30314142    ival 100/1207  ptr d2a0304c
[  993.086059] isp_register_subdev_group: Unable to register subdev smia-sensor

Code:

[root@localhost dsp]# gst-launch-0.10 v4l2newcamsrc ! xvimagesink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2NewCamSrc:v4l2newcamsrc0: Device '/dev/video0' is not a capture device.
Additional debug info:
v4l2camsrc_calls.c(800): gst_v4l2camsrc_open (): /GstPipeline:pipeline0/GstV4l2NewCamSrc:v4l2newcamsrc0:
Capabilities: 0x4000002
Setting pipeline to NULL ...
Freeing pipeline ...

So for now no hope for Meego CE to play/record 720p videos :D.

pedrocoba 2011-10-15 16:55

Re: [HOWTO]Watch 720p videos on n900
 
What happened with this?? Help me :(:(
Code:

~/n900_720p # ./mount_n950_rootfs.sh
umount: cannot umount /tmp/n950loop: No such file or directory
losetup: /tmp/n950loop: No such file or directory
Reading package lists... Done
Building dependency tree     
Reading state information... Done
wget is already the newest version.
liblzo2-2 is already the newest version.
p7zip-full is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
/usr/bin/7z: exec: line 2: /usr/lib/p7zip/7z: Too many levels of symbolic links
7z archiver not found.
On n900 it is a part of p7zip-full package
You may try to install it with "sudo apt-get install p7zip-full"
~/n900_720p #

and
Code:

/n900_720p # ./mount_n950_rootfs.sh
umount: cannot umount /tmp/n950loop: Invalid argument
losetup: /tmp/n950loop: No such device or address


nisheet 2011-10-16 12:36

Re: [HOWTO]Watch 720p videos on n900
 
@freemangordon,

i have already downloaded manually n950 emmc file,so can i put it advance in some exact folder to avoid redownloadin of whole 600mb file in my n900.i don't have working pc at this time.plz guide me.Thanx in advance.

freemangordon 2011-10-16 14:42

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

Originally Posted by nisheet (Post 1109491)
@freemangordon,

i have already downloaded manually n950 emmc file,so can i put it advance in some exact folder to avoid redownloadin of whole 600mb file in my n900.i don't have working pc at this time.plz guide me.Thanx in advance.

Once downloaded the file is not re-downloaded again. The file should be put in /home/user/MyDocs/RX71.tmp

Alfred 2011-10-16 14:53

Re: [HOWTO]Watch 720p videos on n900
 
I wonder if we can be awaiting some miracles happening after the new firmware for n9 with the new dsp is released?

nisheet 2011-10-16 15:58

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

Originally Posted by freemangordon (Post 1109528)
Once downloaded the file is not re-downloaded again. The file should be put in /home/user/MyDocs/RX71.tmp

thanx,so quick in reply.

And ya by this already downloaded file the whole process completed within 30mins and i got my HD videos working.

Thanxxxxxxxxxxxxxxxxxxxxxxxxx.......@freemangordon

sjw6234 2011-10-17 09:14

Re: [HOWTO]Watch 720p videos on n900
 
I need help


/home/user/MyDocs$
gst-launch-0.10 playbin2 uri=file:///home/user/MyDocs/test.avi
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
create_node: dsp node allocate failed
init_node: dsp node creation failed
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstDspVDec:dspvdec0: couldn't start node
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

jakiman 2011-10-17 12:38

Re: [HOWTO]Watch 720p videos on n900
 
Okay, just ran the script on my N900 to install the patch:

I can now play 720p H264 base profile video without any issues after a fresh reboot and running at default clock for CPU and DSP. (using KP49) I didn't need to overclock the DSP at all. Hmm. Maybe my video isn't demanding enough to need it? Anyways, very happy that it's working. But yeah, it's not the most useful capability when I still need to re-encode to such encoding settings. But still feels good that the N900 can now play videos nearly as good as my N9. (which is sad in a way as I wish N9 was much better)

Gonna try a 720p xvid + AC3 AVI video later on. Hope it works.
(Just tried it and it works perfect. So this is a huge improvement!)

Anyways, awesome work freemangordon!

p.s. btw, there are times when it always says Media format not supported no matter what I do. Once I reboot, it works fine. Then, later, it happens again and I have to reboot. Any idea why this might happen?

freemangordon 2011-10-17 13:54

Re: [HOWTO]Watch 720p videos on n900
 
@jakiman - bridgedriver in KP49 is still not stable, that is why. Anyway I was able to succesfully backport the one from Harmattan, works like charm and is much faster, but will need more time for testing.

Mitrigol 2011-10-17 14:05

Re: [HOWTO]Watch 720p videos on n900
 
@Jakiman

For the "Unable to Play Media" error, try this:

sh /usr/libexec/dsp-recover

I know that this can occur if too low voltage are set for CPU.


All times are GMT. The time now is 07:23.

vBulletin® Version 3.8.8