Lightspark PPC

Discuss software development issues here.

Lightspark PPC

Postby Noons » 04 Aug 2010, 11:46

Don't know how useful this will be to the ps3 with it non hardware excelerated graphics but who knows

http://www.omgubuntu.co.uk/2010/07/ligh ... rt-to.html
Fedora core 12; ps3 CECHA01; samsung 720p plasma; kernel 2.6.32
User avatar
Noons
ydl guru
ydl guru
 
Posts: 300
Joined: 18 Mar 2008, 21:50
Location: Ont. CAN

Re: Lightspark PPC

Postby billb » 04 Aug 2010, 15:13

That does sound promising. :)
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Lightspark PPC

Postby ppietro » 04 Aug 2010, 19:05

Of more interest to me is the MiniTube application they mention. Has anyone tried building this?

http://flavio.tordini.org/minitube

I'll probably give it a go later tonight.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Lightspark PPC

Postby pwall » 05 Aug 2010, 09:26

Hi Paul

I built Minitube and I must say I am very pleased with it - it's a pleasant way to view youtube. I previously used "YouTube Without Flash Auto" but recently updated Firefox to Minefield 4 beta 2 and both Greasemonkey and Download Helper are incompatible so it's nice to be back using the 'tube again :)

All the best


Pat
pwall
ydl beginner
ydl beginner
 
Posts: 28
Joined: 31 Jul 2009, 13:49

Re: Lightspark PPC

Postby billb » 06 Aug 2010, 16:01

I'm going to have to check that out, too! :) Please post anything special required if you get to it before I do. :mrgreen:
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Lightspark PPC

Postby billb » 07 Aug 2010, 01:09

Got it built OK ... it requires >= qt4 4.5 and YDL only provides up to 4.2. I have qt4 4.5.2 on the ps3bodega repo so I used that. My RPM isn't quite right so instead of just entering qmake you have to specify the path to it like so:

/usr/lib/qt4/bin/qmake

Then just run make and make install normally.

It installs a new menu item under Applications -> Sound & Video.

It loads fine and video thumbnails show up, but I'm still missing something -- getting this error on the console:

Phonon error: "A required codec is missing. You need to install the following codec(s) to play this content: MPEG-4 AAC"

Not sure if that's a problem / something left out of my qt4 build or just something I need to install separately at this point ... :?

EDIT: oh, missing gstreamer-plugins* ... now I get this error trying to play videos (I searched for "fail" :P):
Code: Select all
Playing "http://www.youtube.com/get_video?video_id=BhImlbL20xQ&t=vjVQa1PpcFNbMZiA2dweALqIfnGdzev7dwzm5iq-Sq0=&eurl=&el=&ps=&asv=&fmt=18"
GET "http://gdata.youtube.com/feeds/api/videos?q=fail&max-results=1&start-index=11"

** ERROR **: file qtdemux.c: line 3306 (qtdemux_parse_trak): assertion failed: (stco || co64)
aborting...
Aborted


EDIT2: qtdemux.c is part of gstreamer-plugins-good, I think...
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Lightspark PPC

Postby pwall » 07 Aug 2010, 15:28

Hi Billb

This is the terminal output I get when I do the search for "fail" and the first video starts playing (top video clip by the way :lol: )

Code: Select all
[pjwall@powerstation ~]$ minitube
GET "http://suggestqueries.google.com/complete/search?ds=yt&output=toolbar&hl=en-GB&q=fail"
GET "http://gdata.youtube.com/feeds/api/videos?q=fail&max-results=10&start-index=1"
QAbstractItemModel::endInsertRows:  Invalid index ( 1 , 0 ) in model ListModel(0x101af408)
GET "http://www.youtube.com/get_video_info?video_id=BhImlbL20xQ&el=embedded&ps=default&eurl=&gl=US&hl=en"
GET "http://i.ytimg.com/vi/BhImlbL20xQ/2.jpg"
GET "http://i.ytimg.com/vi/sD8ma6MCuYY/2.jpg"
GET "http://i.ytimg.com/vi/-uLECuGK07U/2.jpg"
GET "http://i.ytimg.com/vi/q1YUWceI6GA/2.jpg"
GET "http://i.ytimg.com/vi/sdAbTyDStcA/2.jpg"
GET "http://i.ytimg.com/vi/id3nik5Rldw/2.jpg"
GET "http://i.ytimg.com/vi/8-K_FpxaYGw/2.jpg"
GET "http://i.ytimg.com/vi/WrrvkPo7TZ4/2.jpg"
GET "http://i.ytimg.com/vi/_lP0CmEA6PA/2.jpg"
GET "http://i.ytimg.com/vi/EO8vHagtyMQ/2.jpg"
videoToken "vjVQa1PpcFNlCkvcHhINpFY97Ax3ttv7Yeaj46cfgtQ="
HEAD "http://www.youtube.com/get_video?video_id=BhImlbL20xQ&t=vjVQa1PpcFNlCkvcHhINpFY97Ax3ttv7Yeaj46cfgtQ=&eurl=&el=&ps=&asv=&fmt=37"
HEAD "http://www.youtube.com/get_video?video_id=BhImlbL20xQ&t=vjVQa1PpcFNlCkvcHhINpFY97Ax3ttv7Yeaj46cfgtQ=&eurl=&el=&ps=&asv=&fmt=22"
Playing "http://www.youtube.com/get_video?video_id=BhImlbL20xQ&t=vjVQa1PpcFNlCkvcHhINpFY97Ax3ttv7Yeaj46cfgtQ=&eurl=&el=&ps=&asv=&fmt=18"

(<unknown>:5264): GStreamer-WARNING **: adding flushing pad 'audio_00' to running element 'qtdemux0'

(<unknown>:5264): GStreamer-WARNING **: adding flushing pad 'video_00' to running element 'qtdemux0'


Not sure what is causing your error - my install of gstreamer-plugins-good is 10.4.4 from YDL base repo ..... I'll do an install on a second machine and see what happens.
pwall
ydl beginner
ydl beginner
 
Posts: 28
Joined: 31 Jul 2009, 13:49

Re: Lightspark PPC

Postby billb » 07 Aug 2010, 16:45

pwall wrote:Not sure what is causing your error - my install of gstreamer-plugins-good is 10.4.4 from YDL base repo ..... I'll do an install on a second machine and see what happens.


What about your Qt4 install? Built from source, rpm from ps3bodega, or does it actually work with YDL's earlier build? Doesn't seem to the be issue anyway, though...

I'm building an updated gstreamer-plugins-good right now to see if that helps. Thanks for posting your output.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Lightspark PPC

Postby billb » 07 Aug 2010, 16:57

Well... not sure it's the gstreamer-plugins-good package now -- the one that YDL provides doesn't have a qtdemux ... what about your gstreamer-plugins-bad?

Code: Select all
[bill@localhost ppc]$ rpm -ql gstreamer-plugins-good
/etc/gconf/schemas/gstreamer-0.10.schemas
/usr/lib/gstreamer-0.10/libgst1394.so
/usr/lib/gstreamer-0.10/libgstalaw.so
/usr/lib/gstreamer-0.10/libgstalpha.so
/usr/lib/gstreamer-0.10/libgstalphacolor.so
/usr/lib/gstreamer-0.10/libgstannodex.so
/usr/lib/gstreamer-0.10/libgstapetag.so
/usr/lib/gstreamer-0.10/libgstauparse.so
/usr/lib/gstreamer-0.10/libgstautodetect.so
/usr/lib/gstreamer-0.10/libgstavi.so
/usr/lib/gstreamer-0.10/libgstcairo.so
/usr/lib/gstreamer-0.10/libgstcutter.so
/usr/lib/gstreamer-0.10/libgstdebug.so
/usr/lib/gstreamer-0.10/libgstdv.so
/usr/lib/gstreamer-0.10/libgstefence.so
/usr/lib/gstreamer-0.10/libgsteffectv.so
/usr/lib/gstreamer-0.10/libgstesd.so
/usr/lib/gstreamer-0.10/libgstflac.so
/usr/lib/gstreamer-0.10/libgstflxdec.so
/usr/lib/gstreamer-0.10/libgstgconfelements.so
/usr/lib/gstreamer-0.10/libgstgdkpixbuf.so
/usr/lib/gstreamer-0.10/libgstgoom.so
/usr/lib/gstreamer-0.10/libgsthalelements.so
/usr/lib/gstreamer-0.10/libgsticydemux.so
/usr/lib/gstreamer-0.10/libgstid3demux.so
/usr/lib/gstreamer-0.10/libgstjpeg.so
/usr/lib/gstreamer-0.10/libgstlevel.so
/usr/lib/gstreamer-0.10/libgstmatroska.so
/usr/lib/gstreamer-0.10/libgstmulaw.so
/usr/lib/gstreamer-0.10/libgstmultipart.so
/usr/lib/gstreamer-0.10/libgstnavigationtest.so
/usr/lib/gstreamer-0.10/libgstossaudio.so
/usr/lib/gstreamer-0.10/libgstpng.so
/usr/lib/gstreamer-0.10/libgstrtp.so
/usr/lib/gstreamer-0.10/libgstrtsp.so
/usr/lib/gstreamer-0.10/libgstsmpte.so
/usr/lib/gstreamer-0.10/libgstspeex.so
/usr/lib/gstreamer-0.10/libgstudp.so
/usr/lib/gstreamer-0.10/libgstvideobalance.so
/usr/lib/gstreamer-0.10/libgstvideobox.so
/usr/lib/gstreamer-0.10/libgstvideoflip.so
/usr/lib/gstreamer-0.10/libgstvideomixer.so
/usr/lib/gstreamer-0.10/libgstwavenc.so
/usr/lib/gstreamer-0.10/libgstwavparse.so
/usr/lib/gstreamer-0.10/libgstximagesrc.so
/usr/share/doc/gstreamer-plugins-good-0.10.4
/usr/share/doc/gstreamer-plugins-good-0.10.4/AUTHORS
/usr/share/doc/gstreamer-plugins-good-0.10.4/COPYING
/usr/share/doc/gstreamer-plugins-good-0.10.4/README
/usr/share/doc/gstreamer-plugins-good-0.10.4/REQUIREMENTS
/usr/share/locale/af/LC_MESSAGES/gst-plugins-good-0.10.mo
/usr/share/locale/az/LC_MESSAGES/gst-plugins-good-0.10.mo
/usr/share/locale/cs/LC_MESSAGES/gst-plugins-good-0.10.mo
/usr/share/locale/en_GB/LC_MESSAGES/gst-plugins-good-0.10.mo
/usr/share/locale/hu/LC_MESSAGES/gst-plugins-good-0.10.mo
/usr/share/locale/it/LC_MESSAGES/gst-plugins-good-0.10.mo
/usr/share/locale/nb/LC_MESSAGES/gst-plugins-good-0.10.mo
/usr/share/locale/nl/LC_MESSAGES/gst-plugins-good-0.10.mo
/usr/share/locale/or/LC_MESSAGES/gst-plugins-good-0.10.mo
/usr/share/locale/sq/LC_MESSAGES/gst-plugins-good-0.10.mo
/usr/share/locale/sr/LC_MESSAGES/gst-plugins-good-0.10.mo
/usr/share/locale/sv/LC_MESSAGES/gst-plugins-good-0.10.mo
/usr/share/locale/uk/LC_MESSAGES/gst-plugins-good-0.10.mo
/usr/share/locale/vi/LC_MESSAGES/gst-plugins-good-0.10.mo


On my system it's provided by gstreamer-plugins-bad:

Code: Select all
$ rpm -ql gstreamer-plugins-bad
/usr/lib/gstreamer-0.10/libgstbz2.so
/usr/lib/gstreamer-0.10/libgstcdxaparse.so
/usr/lib/gstreamer-0.10/libgstfaac.so
/usr/lib/gstreamer-0.10/libgstfaad.so
/usr/lib/gstreamer-0.10/libgstfreeze.so
/usr/lib/gstreamer-0.10/libgstgsm.so
/usr/lib/gstreamer-0.10/libgstmms.so
/usr/lib/gstreamer-0.10/libgstmodplug.so
/usr/lib/gstreamer-0.10/libgstmusepack.so
/usr/lib/gstreamer-0.10/libgstneonhttpsrc.so
/usr/lib/gstreamer-0.10/libgstqtdemux.so
/usr/lib/gstreamer-0.10/libgstsdlvideosink.so
/usr/lib/gstreamer-0.10/libgstspeed.so
/usr/lib/gstreamer-0.10/libgsttrm.so
/usr/lib/gstreamer-0.10/libgsttta.so
/usr/lib/gstreamer-0.10/libgstvideo4linux2.so
/usr/lib/gstreamer-0.10/libgstxingheader.so
/usr/lib/gstreamer-0.10/libgstxvid.so
/usr/share/doc/gstreamer-plugins-bad-0.10.3
/usr/share/doc/gstreamer-plugins-bad-0.10.3/AUTHORS
/usr/share/doc/gstreamer-plugins-bad-0.10.3/COPYING
/usr/share/doc/gstreamer-plugins-bad-0.10.3/README
/usr/share/doc/gstreamer-plugins-bad-0.10.3/REQUIREMENTS
/usr/share/locale/af/LC_MESSAGES/gst-plugins-bad-0.10.mo
/usr/share/locale/az/LC_MESSAGES/gst-plugins-bad-0.10.mo
/usr/share/locale/cs/LC_MESSAGES/gst-plugins-bad-0.10.mo
/usr/share/locale/en_GB/LC_MESSAGES/gst-plugins-bad-0.10.mo
/usr/share/locale/hu/LC_MESSAGES/gst-plugins-bad-0.10.mo
/usr/share/locale/it/LC_MESSAGES/gst-plugins-bad-0.10.mo
/usr/share/locale/nb/LC_MESSAGES/gst-plugins-bad-0.10.mo
/usr/share/locale/nl/LC_MESSAGES/gst-plugins-bad-0.10.mo
/usr/share/locale/or/LC_MESSAGES/gst-plugins-bad-0.10.mo
/usr/share/locale/sq/LC_MESSAGES/gst-plugins-bad-0.10.mo
/usr/share/locale/sr/LC_MESSAGES/gst-plugins-bad-0.10.mo
/usr/share/locale/sv/LC_MESSAGES/gst-plugins-bad-0.10.mo
/usr/share/locale/uk/LC_MESSAGES/gst-plugins-bad-0.10.mo
/usr/share/locale/vi/LC_MESSAGES/gst-plugins-bad-0.10.mo
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Lightspark PPC

Postby pwall » 07 Aug 2010, 17:11

I'm using the qt4 rpms from PS3Bodega with YDL 6.2.

I tried building minitube on my PS3 with and came up with the same error that you did - I'm mystifed ... :?

It was a long shot but building before or after gstreamer-plugins* were installed doesn't make any difference

I'll check for differences in gstreamer-plugins* between the two installs and report back later.
pwall
ydl beginner
ydl beginner
 
Posts: 28
Joined: 31 Jul 2009, 13:49

Re: Lightspark PPC

Postby pwall » 07 Aug 2010, 19:25

pwall wrote:I tried building minitube on my PS3 with and came up with the same error that you did - I'm mystifed ... :?
.


Okay - have it - it's gstreamer-ffmpeg rpm that is required. My PS3 is now up and running as well :D
pwall
ydl beginner
ydl beginner
 
Posts: 28
Joined: 31 Jul 2009, 13:49

Re: Lightspark PPC

Postby billb » 07 Aug 2010, 19:33

Excellent! :) Thanks so much for your help.

So it requires:

gstreamer-plugins-bad
gstreamer-ffmpeg

Now to build an RPM package for it and add to ps3bodega ... :mrgreen:
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Lightspark PPC

Postby billb » 07 Aug 2010, 19:52

Wow -- this is great! Best solution for youtube video playback I've seen on PS3 Linux yet. I'm running at 1920x1200 and using scalergui + fscaler to zoom in, though it does resize the video if you maximize the window.

EDIT: occasionally it freezes up and I have to close and restart ... no additional errors are generated on the console when this happens
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Lightspark PPC

Postby billb » 07 Aug 2010, 20:37

OK ... RPM package is ready for testing ... 8)

Note: you'll need to be using the ps3bodega repo for YDL 6.2 to install -- the default & other third party (Livna, Fedora-Extras) repos don't provide Qt4 4.5+ which is required by minitube.

RPM for installation:
http://pleasantfiction.ipower.com/ps3li ... dg.ppc.rpm

Source RPM: (not needed for installation)
http://pleasantfiction.ipower.com/ps3li ... dg.src.rpm
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Lightspark PPC

Postby ppietro » 07 Aug 2010, 22:24

Excellent work, folks!! :D

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Next

Return to Software Development

Who is online

Users browsing this forum: No registered users and 2 guests