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)

pawelstryju 2011-10-05 16:11

Re: [HOWTO]Watch 720p videos on n900
 
2 Attachment(s)
Video LINK
(can be still processed by YT, will be 720p in few minutes)

Code:

Nokia-N900:~# sh rechd.sh
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
/GstPipeline:pipeline0/GstDspHdMp4VEnc:dsphdmp4venc0.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, codec_data=(buffer)000001b006000001b50900000100000001200086c404b294022d0a31
/GstPipeline:pipeline0/GstAviMux:avimux0.GstPad:video_00: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, width=(int)1280, height=(int)720, framerate=(fraction)30/1, codec_data=(buffer)000001b006000001b50900000100000001200086c404b294022d0a31
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 15131713860 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstAviMux:avimux0.GstPad:video_00: caps = NULL
/GstPipeline:pipeline0/GstDspHdMp4VEnc:dsphdmp4venc0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstDspHdMp4VEnc:dsphdmp4venc0.GstPad:sink: 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 ...

Nokia-N900:~# sh playhd.sh
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "playbin20".
Execution ended after 11231567368 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...


patlak 2011-10-05 16:13

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

Originally Posted by zeljkobo12 (Post 1103424)
Same message here, with replaced bridgedriver.ko

izgleda da smo mi balkanci baksuzi :D

Alfred 2011-10-05 16:29

Re: [HOWTO]Watch 720p videos on n900
 
I wonder if the script could be done this way, so it gives every next video some other name...

pawelstryju 2011-10-05 17:15

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

Originally Posted by Alfred (Post 1103432)
I wonder if the script could be done this way, so it gives every next video some other name...

i think it is possible an very easy but we need command to check if file is existing.

Alfred 2011-10-05 17:26

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

Originally Posted by pawelstryju (Post 1103448)
i think it is possible an very easy but we need command to check if file is existing.

or create a specific path, let's say
/home/user/MyDocs/.videos/HD/
and make the next video in a numerical order...Possible?
i got no linux knowledge in this sphere...

freemangordon 2011-10-05 17:47

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

Originally Posted by patlak (Post 1103427)
izgleda da smo mi balkanci baksuzi :D

Yeah, seems so :D:D:D

Anyway, the bridgedriver I've posted/sent via PM is not meant to be used for 720p it is for stock setup.For 720p use the one from the first post in 720p.zip

fahadj2003 2011-10-05 18:27

Re: [HOWTO]Watch 720p videos on n900
 
http://talk.maemo.org/showpost.php?p...&postcount=218
http://talk.maemo.org/showpost.php?p...7&postcount=81
http://talk.maemo.org/showpost.php?p...9&postcount=82

like seriously.. wtf?
and ppl wonder why this place is trolled 8-)

Sandeep 2011-10-05 19:16

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

Originally Posted by Sandeep (Post 1103241)
Thank you.

I already tried so many times and still getting reboots. i tried moving loopback image to SD card and still it reboots.
i will wait for your new script anyway.

i ran the following to rollback
apt-get install --reinstall omap3430-dsp-baseimage-ti omap3430-dsp-libraries-ti gstreamer0.10-openmax libbridge2 gstreamer0.10-dsp

i re-installed power-modules
still am not able to view other videos??
please help.

Never had the patience to wait for the new script. :D So I just ran the script using Windows and VMWare-Linux.

Just a doubt.. Wouldn't it be possible to use if someone copies the N9/N950 root files from another user who extracted it already running the script?
I did the extraction in Linux and copied it to Windows to SSH into N900 !!

Thanks a lot !!

Estel 2011-10-05 19:28

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

Originally Posted by pawelstryju (Post 1103422)
it's strange for me because yesterday it was green LINK. Today it's not! I didn't change anything, may only 2-3 reboots.
I placed freemangordon's commands to rec and play into sh files and it's working. They're alson not changed in any way, even output filename is the same, but try to change effects in camera-ui, maybe that will help. DSP at 600mhz. In several minutes I upload recorded video, and give xterm output ;)


I suspect it was due to white balance. Probably, recording also preserves white balance set on last recording through camera-ui, and your today light conditions were different than, when recording last time.

patlak 2011-10-05 20:05

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

My videos are now playing, but trying the 720p sample you have on the first page, it seems to play only for like 0.5s in KMPlayer and then closes (gstreamer/mplayer).

Have you capped max resolution at 1024x768:

Quote:

Originally Posted by freemangordon
First post updated, mafw-gst-...-renderer's removed, as for resolutions above 1024x768 software scaling is used (which reduces performance). A new kernel is needed for higher resolutions. I will send a patch for kernel-power to pali.

EDIT: Works fine now. The file has gotten corrupt somehow during copying.


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

vBulletin® Version 3.8.8