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-09-25 12:58

[HOWTO]Watch 720p videos on n900 [09.12.2011 VIDEOCALL WORKS]
 
4 Attachment(s)
OK, I finally did it :D (big thanks to Nokia and TI for DSP codecs of course)

DO IT ON YOUR OWN RISK. I WILL NOT ACCEPT ANY CLAIMS FOR DATA/FUNCTIONALITY LOSS CAUSED BY FOLLOWING THE STEPS BELOW

In order to watch 720p videos on your n900 you will need:

- wget and kernel-power v49 or newer (or kernel-cssu) installed on your n900
- your n900 connected to internet

1. Download attached .deb files on your n900 in a directory of your choice

2. from xterm as root cd to that directory and install .deb files
dpkg -i omap3-dsp-baseimage-ti_0.i3.6-15+0m6_armel.deb omap3-dsp-libraries-ti_0.i3.6-15+0m6_armel.deb omap3-dsp-hd-codecs_0.3.8-7+0m6_armel.deb

3. from attached libgstdsp.zip copy libgstdsp.so to your n900 /usr/lib/gstreamer-0.10/libgstdsp.so

4. uninstall gstreamer0.10-openmax from n900. As root:

apt-get remove gstreamer0.10-openmax

5. Reboot you n900 and enjoy :D

In order HD playback to be smooth you will need DSP overclock. There is kernel-power profile called "dsp" that could be used

Search appropriate threads for how to overclock DSP.

Not all 720p videos will be playable of course, n900 DSP is just not powerful enough for some profiles.

To remove 720p playback look here

For video recording in DVD/HD you should install latest CSSU-testing or CSSU-thumb

libgstdsp.so source code https://meego.gitorious.org/~freeman...rees/maemo5-hd

The fix for abettercamera being incompatible with 720p is here


Changelog 28.09.2011

Instructions updated.
Camera is working now.
Much more videos will be playable in media player (and OMP hopefully),because of the new mafw-gst-renderer.


Changelog 01.10.2011

mafw-gst-...-renderer removed


Changelog 02.10.2011


kernel-power v49 is needed
bridgedriver.ko version for kp49 included in 720p.zip


Changelog 01.11.2011

modified bridgedriver.ko no longer needed as the one in kernel-power supports both new and old ioctl codes.


Changelog 21.11.2011

No more scripts needed. Added link to camera-ui for HD/DVD video recording.


Changelog 09.12.2011

libgstdsp.so build against FREMANTLE SDK.
Videocall functionality restored.


Changelog 15.12.2011

New libgstdsp.so - fixes broken playback for some videos.


Changelog 17.12.2011

New libgstdsp.so - fixes broken(by previous update) videocall.


Changelog 07.04.2012

Link to fix for abettercamera added to first page


Changelog 01.11.2012

New libgstdsp.so - fixes media player stuck on running dots for some videos.

patlak 2011-09-25 13:35

Re: [HOWTO]Watch 720p videos on n900
 
Could you upload a video on youtube of it running 720p? And what is the DSP frequency of an OMAP 3630?

ammyt 2011-09-25 13:40

Re: [HOWTO]Watch 720p videos on n900
 
Now that's what I call, a dream come true.
Thanks a whole big bigizillion times!

Unfortunately, I am nowhere near a Linux machine now, is there any Windowsy solution? I will look into the script...

ammyt 2011-09-25 13:47

Re: [HOWTO]Watch 720p videos on n900
 
As I understand, the whole process is just about replacing files and libraries on the N900 from the N9(50), can't somebody just upload the needed files to somewhere?

freemangordon 2011-09-25 13:49

Re: [HOWTO]Watch 720p videos on n900
 
Why 3630, I think n9/n950 comes with 3530.

And re video on youtube - I've never uploaded one, won't bother now. Anyway it works, trust me on that :D. For some reason mediaplayer refuses to play some videos which are perfectly playable with gst-launch, but that is mediaplayer (mafw) problem anyway.

Daneel 2011-09-25 13:50

Re: [HOWTO]Watch 720p videos on n900
 
This is awesome, if its just about replacing files i'm sure we can make a simple script to revert back the changes when we need camera back.

freemangordon 2011-09-25 13:50

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

Originally Posted by ammyt (Post 1095782)
As I understand, the whole process is just about replacing files and libraries on the N900 from the N9(50), can't somebody just upload the needed files to somewhere?

It would be illegal to distribute those, that is why I spent a day writing the script.

freemangordon 2011-09-25 13:52

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

Originally Posted by Daneel (Post 1095786)
This is awesome, if its just about replacing files i'm sure we can make a simple script to revert back the changes when we need camera back.

It looks like a bug in camera-ui, not a problem with gstreamer. Anyway I will continue work until all of glitches are fixed.

patlak 2011-09-25 13:55

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

Originally Posted by freemangordon (Post 1095784)
Why 3630, I think n9/n950 comes with 3530.

And re video on youtube - I've never uploaded one, won't bother now. Anyway it works, trust me on that :D. For some reason mediaplayer refuses to play some videos which are perfectly playable with gst-launch, but that is mediaplayer (mafw) problem anyway.

OMAP 3530 is basically a 3430, just available for sale in smaller quantities. 3630 is a 45nm version which is clocked higher in all areas, CPU, GPU, DSP, etc. Plus, all specs state it's a 3630 ;)

freemangordon 2011-09-25 13:59

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

Originally Posted by patlak (Post 1095792)
OMAP 3530 is basically a 3430, just available for sale in smaller quantities. 3630 is a 45nm version which is clocked higher in all areas, CPU, GPU, DSP, etc. Plus, all specs state it's a 3630 ;)

And how is that related to topic? Please explain as I can't get it.

prankster 2011-09-25 14:03

Re: [HOWTO]Watch 720p videos on n900
 
i am gonna wait for a video ,the process seems to be a little complicated though !! ;p

patlak 2011-09-25 14:06

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

Originally Posted by freemangordon (Post 1095795)
And how is that related to topic? Please explain as I can't get it.

720p requires an overclock of DSP to 600 MHz, so I just wondered what the actual clock speed was on the N9/950.

visN900 2011-09-25 14:06

Re: [HOWTO]Watch 720p videos on n900
 
guys can u pls put a windows version of it..

karam 2011-09-25 14:11

Re: [HOWTO]Watch 720p videos on n900
 
hmm very cool
haven't tried it yet but certainly i will
and for CSSU recording i think it's very easy to make a simple script that replaces all the needed libraries for camera when launching it
and when closing it just restore the libraries needed for 720p videos
great job freemangordon :)

knobby 2011-09-25 14:12

Re: [HOWTO]Watch 720p videos on n900
 
can u please tell me the way to use it by windows as i dont have any linux machine...thanks

visN900 2011-09-25 14:18

Re: [HOWTO]Watch 720p videos on n900
 
does it play 720p mkv.. and bring a windows version for it guys..

freemangordon 2011-09-25 14:21

Re: [HOWTO]Watch 720p videos on n900
 
As soon as someone tell me how to mount ext4 loopback image under windows I will make a windows version :D:D:D

knobby 2011-09-25 14:28

Re: [HOWTO]Watch 720p videos on n900
 
@freemangordon...eagerly waiting....thanks

freemangordon 2011-09-25 14:58

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

Originally Posted by knobby (Post 1095817)
@freemangordon...eagerly waiting....thanks

Don't wait, it will not happen. AFAIK there is no way to mount ext4 filesystem image under windows.

As a workaround you can simply download vmware player and vmware image (the one here should do the job, not tested though) and use it.

Or you can just install Linux :D here

qwazix 2011-09-25 15:08

Re: [HOWTO]Watch 720p videos on n900
 
I think there is a driver for ext filesystems in windows, search for ext2fsd

blackjack4it 2011-09-25 15:13

Re: [HOWTO]Watch 720p videos on n900
 
One step at a time, we could bring all the innovations added in N950's firmware in our N900 :D keep the good work Maemo's Team!!!

knobby 2011-09-25 15:19

Re: [HOWTO]Watch 720p videos on n900
 
@blackjack4it...can u help me in some way pls...?

blackjack4it 2011-09-25 15:22

Re: [HOWTO]Watch 720p videos on n900
 
@knobby Usually I use VMWare Player with a Debian Virtual Machine., I never use Windows to tweak the N900 sorry :(

knobby 2011-09-25 15:24

Re: [HOWTO]Watch 720p videos on n900
 
:( :( :( ... this means my n900 can never play 720p... :(

Estel 2011-09-25 15:26

Re: [HOWTO]Watch 720p videos on n900
 
Thanks freemangordon, this is awesome! By the way, when/if glitches with camera-ui get fixed, will it be possible to record videos in higher resolution?

/Estel

Alfred 2011-09-25 15:52

Re: [HOWTO]Watch 720p videos on n900
 
That is some very important question to answer Estel!
if my n900 wasn't the only one, i could've try it.

knobby 2011-09-25 15:55

Re: [HOWTO]Watch 720p videos on n900
 
hey freemangordon..can u pls upload the linux processed dsp folder and other contents...????

Estel 2011-09-25 16:20

Re: [HOWTO]Watch 720p videos on n900
 
He already answered that he can't cause it's prohibited by copyright.

3 pages thread is too long to read it thoroughly? Seriously?

knobby 2011-09-25 16:23

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

Originally Posted by Estel (Post 1095930)
He already answered that he can't cause it's prohibited by copyright.

3 pages thread is too long to read it thoroughly? Seriously?

not really but u see i had a hope and hope never dies...:)

demolition 2011-09-25 16:24

Re: [HOWTO]Watch 720p videos on n900
 
Amazing work. Thank you. Well done for getting this out of the powers that be. Did you have to sign some crazy Official Secrets Act or something to get this?

Couple of questions about this new driver - that's what it is isn't it?

- What profiles will/does it support?

- Does this mean that there's better support for 360p & 480p?
Many 360p mp4 videos are "main" so require MPlayer with the original setup and re-encoding on-device seems impossible. The result is frequent de-sync'ing of audio & video when video isn't h/w acc'd.

- Why is kp48 required, apart from needing to set the freq of the GPU?

- Does this new implementation allow for any other functionality which was also masked by the original (duff) version? Including v-sync, OpenCL or, perhaps ... well I won't say it too loudly ... N9's flash-plugin?

- To what extent are these items in "testing" and to what extent are they "all we're getting"?

Off topic but related: how does kp48 fair with extkb, especially number keys etc?

Estel 2011-09-25 16:37

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

Linux is free and Open Source, so it's not unfair. Unless You're telling us...

Quote:

Originally Posted by knobby
hey but this is really unfair...people who have linux can take the benefit of n900 and others using windows and too lazy to install linux natively or via virtual machine cannot enjoy n900...?

...then, yes ;) Now please Got To Find Out, and let freemangordon focus on seriously important posts/matters.

Alfred 2011-09-25 16:40

Re: [HOWTO]Watch 720p videos on n900
 
Hey buddy, pls knock it off. This is some serious bussiness going on. And you are just bi***ing about some stupid reason. It's not hard to install ubuntu, do the procedure and then come back to windows.

knobby 2011-09-25 16:54

Re: [HOWTO]Watch 720p videos on n900
 
chill down dudes ...its okay...take it easy...thanks for ur advices...but being a new user i keep a mile away from dangers...

knobby 2011-09-25 16:55

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

Originally Posted by Estel (Post 1095939)
@knobby

Linux is free and Open Source, so it's not unfair. Unless You're telling us...



...then, yes ;) Now please Got To Find Out, and let freemangordon focus on seriously important posts/matters.

haha...really i m too lazy...lol:p

karam 2011-09-25 17:05

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

Originally Posted by Estel (Post 1095939)
@knobby

Linux is free and Open Source, so it's not unfair. Unless You're telling us...



...then, yes ;) Now please Got To Find Out, and let freemangordon focus on seriously important posts/matters.

ahahaha nice one Estel :)
GTFO = Go To Find Out = **** :p

ammyt 2011-09-25 17:51

Re: [HOWTO]Watch 720p videos on n900
 
I just can't wait! I can't believe I'm using my Intel Atom powered netbook to install this! I will be postiing a video as soon as I finish. I will also create a script that replaces the libraries back to the original ones when camera-ui launches and use it, but I don't think this will be of any importance as freemangordon kindly noted that he'll pursue this project and fix all glitches.

BTW VMWare is a really easy virtual machine to use for all the newbies asking out there. I would frankly say that the script will never work for windows because of the crappy filesystem windows uses, or you might find your way out once a pirate gets his hands on the files...

freemangordon 2011-09-25 18:00

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

Originally Posted by Estel (Post 1095874)
Thanks freemangordon, this is awesome! By the way, when/if glitches with camera-ui get fixed, will it be possible to record videos in higher resolution?

/Estel

Check this ;) .
It is recorded via gst-launch, so do not expect miracles, but anyway, it is 1024/720 :D

EDIT:
this is gstreamer pipeline used to create the file

gst-launch-0.10 -v v4l2src device=/dev/video0 !video/x-raw-yuv,width=1296,height=984 ! videoscale!video/x-raw-yuv,width=1024,height=720!videorate!video/x-raw-yuv,framerate=30/1!dsphdmp4venc !avimux!filesink location=test.avi

freemangordon 2011-09-25 18:14

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

Originally Posted by demolition (Post 1095934)
- What profiles will/does it support?
- Does this mean that there's better support for 360p & 480p?
Many 360p mp4 videos are "main" so require MPlayer with the original setup and re-encoding on-device seems impossible. The result is frequent de-sync'ing of audio & video when video isn't h/w acc'd.

I think most mpeg4/h264 profiles are supported. Files from here are playable (excluding test4, but it does not play on my desktop too). I am able to play H264 videos which are unplayable with stock codecs, etc, etc.

Quote:

Originally Posted by demolition (Post 1095934)
- Why is kp48 required, apart from needing to set the freq of the GPU?

It is needed because of the updated DSP driver.

Quote:

Originally Posted by demolition (Post 1095934)
- Does this new implementation allow for any other functionality which was also masked by the original (duff) version? Including v-sync, OpenCL or, perhaps ... well I won't say it too loudly ... N9's flash-plugin?

No AFAIK.

Quote:

Originally Posted by demolition (Post 1095934)
- To what extent are these items in "testing" and to what extent are they "all we're getting"?

Excluding camera-ui which seeks non-existent gstreamer codec and is easily fixable, I did not find any other problem so far.

Quote:

Originally Posted by demolition (Post 1095934)
Off topic but related: how does kp48 fair with extkb, especially number keys etc?

Not related to kernel in any way

Vento 2011-09-25 18:31

Re: [HOWTO]Watch 720p videos on n900
 
How about integrate it in the next kp or CSSU?

ammyt 2011-09-25 18:31

Re: [HOWTO]Watch 720p videos on n900
 
Just rebooted, wow.
I am seeing but can't believe. Where are all the ranters about 720p video playback, I just want to see one to tell him, in your fkin' face!

Video playback is s
mooth and very good quality playback is produced. I am using KP48 with the ideal profile and the dsp rate set at 600 (does it really have the effect?) and everything is quite silky so far.

@demolition KP48+ is required since pali merged freemangordon's patched latest dsp drivers by TI, KP has the 720p drivers.

I am uploading a video to YouTube right now, may take about 2 hrs. to finish. All of what I can do is to thank freemangordon and all other people involved, you're the true reason behind the success of this brilliant device. And @knobby, you're a waste of your father's sperm! :P


All times are GMT. The time now is 21:32.

vBulletin® Version 3.8.8