VLC-0.9.8a-1ydl61.ppc.rpm

YDL running on the Sony Playstation 3

Moderator: billb

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby Noons » 03 Mar 2009, 21:49

ok its installed thanks guys will report back in a few days and uncholowapo

Code: Select all
cd /path/to/downloaded/rpms
sudo yum localinstall --nogpgcheck *vlc*


thanks for the terminal lesson
ydl 6.2 updated many sys files; 720p Epson projector;PS3 video
User avatar
Noons
ydl guru
ydl guru
 
Posts: 286
Joined: 18 Mar 2008, 21:50
Location: Ont. CAN

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby Jaybps3 » 03 Mar 2009, 21:59

To remove the player from the terminal logged in as root, run the commands below.

Code: Select all
rpm -e vlc --nodeps
rpm -e vlc-core --nodeps
rpm -e mozilla-vlc --nodeps
60GB PS3 (CECHA01) upgraded HDD 160gb, 40" Sony Bravia, Ydl 6 and plenty of other goodies :)
http://www.youtube.com/user/jaybps3
Jaybps3
ydl guru
ydl guru
 
Posts: 458
Joined: 04 May 2008, 11:36

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby uncholowapo » 03 Mar 2009, 22:01

No prob Noons. I tested out MP3 playback and it was super smooth. So was MP4 playback where I used a video from my iPod. So far everything seems to be going well. I did find that my mov movies aren't showing but the sound works. I am thinking it is my problem and not VLC's but I am not quite sure. Either way it's one good start on rpm building.
PS3 40GB has YDL 6.1 running 480i on a piece of $#!% Sanyo 24 incher. Need to go to 1080p.
User avatar
uncholowapo
ydl guru
ydl guru
 
Posts: 687
Joined: 19 Feb 2008, 02:58
Location: Norcross, GA USA

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby Noons » 03 Mar 2009, 22:06

Did some testing and wow I'm impressed with the old version I could only get like 30 seconds of this stream on shoutcast: HBO *HD* Movies - Green screen? Go to http://www.hbomovies.tv. Now it just plays... that is sweet. watching some Day after Tomorrow right now :D :D

Thanks Jayb
ydl 6.2 updated many sys files; 720p Epson projector;PS3 video
User avatar
Noons
ydl guru
ydl guru
 
Posts: 286
Joined: 18 Mar 2008, 21:50
Location: Ont. CAN

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby Jaybps3 » 03 Mar 2009, 22:19

uncholowapo wrote:No prob Noons. I tested out MP3 playback and it was super smooth. So was MP4 playback where I used a video from my iPod. So far everything seems to be going well. I did find that my mov movies aren't showing but the sound works. I am thinking it is my problem and not VLC's but I am not quite sure. Either way it's one good start on rpm building.


Nope that is a problem in the buld, I am trying to work that out, For some reason it doesn't build with quicktime enabled.

So .mov support is currently broke in the version you have and I suspect I will have it fixed before its actually added to the repo system.
60GB PS3 (CECHA01) upgraded HDD 160gb, 40" Sony Bravia, Ydl 6 and plenty of other goodies :)
http://www.youtube.com/user/jaybps3
Jaybps3
ydl guru
ydl guru
 
Posts: 458
Joined: 04 May 2008, 11:36

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby uncholowapo » 03 Mar 2009, 22:30

Very nice. Again good job :).
PS3 40GB has YDL 6.1 running 480i on a piece of $#!% Sanyo 24 incher. Need to go to 1080p.
User avatar
uncholowapo
ydl guru
ydl guru
 
Posts: 687
Joined: 19 Feb 2008, 02:58
Location: Norcross, GA USA

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby Efaustus9 » 04 Mar 2009, 04:13

good work guys! I was wondering could you provide the refrence material you use to build files from source? also could you post the material you use to build rpm's? I would like to try my hand at building a few apps for yellow dog. Thanks :D
SKU: CECHB01 PS3 (20GB) upgraded to 60GB HD.
YDL Killed by Firmware 3.30 but linux on my HDTV lives on!
http://tinyurl.com/2dcujby
Samsung LN-S4041D 40"
User avatar
Efaustus9
Moderator
Moderator
 
Posts: 183
Joined: 18 Apr 2008, 06:49
Location: MA USA

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby uncholowapo » 04 Mar 2009, 06:02

I usually use the readme that comes with the source to start. It usually tells you all dependencies you need and how to build it. I also reference the Fedora RPM Howto ALOT :shock: . If it wasn't for that very instructive page I wouldn't know how to build them in the first place. Then I just kept reading up on other things like sed that would be very useful in changing lines of text in a specific file without having to open up a text editor. You learn alot when you read up on things like this.
PS3 40GB has YDL 6.1 running 480i on a piece of $#!% Sanyo 24 incher. Need to go to 1080p.
User avatar
uncholowapo
ydl guru
ydl guru
 
Posts: 687
Joined: 19 Feb 2008, 02:58
Location: Norcross, GA USA

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby Jaybps3 » 04 Mar 2009, 10:38

Here is a direct quote from our administrator billb, I had previously done some reading up o building rpms on other sites so I was kinda familiar with it, However this put things into perspective for me. Once again thanks billb, To everyone else here let billbs guidance show you how its done.

Hopefully he doesn't mind me sharing this with you, As this is a private message and I am not sure if this would be considered breaking the rules or not so if it is. I will gladly remove upon request from billb.

Billb wrote:OK ... let's see if I can walk you thru building one without any trouble ... helps to see how the process goes before reading all the docs.

If you have updated some of the shared libraries on your system beyond what's available in ps3bodega or the other repos, we might run into trouble doing it this way, but will try anyway ...

Also keep in mind that there's still a lot I haven't researched regarding this process -- I know just enough to be dangerous. LOL

We want megamario rebuilt for YDL 6.1. There's an SRPM package (source RPM that you can use to rebuild) over on Dribble. Get that here:

http://dribble.org.uk/repo/7/SRPMS/mega ... rb.src.rpm

Now you need to setup your system for building RPMs using your regular user account (not root). Are you using an external hard drive with an ext2 or ext3 partition? If so that's good -- if not you can do this in your home directory provided you have enough space available. You don't want to run out of space while building an RPM.

Assuming you're going to do this in your home directory ...

Create a folder called "rpmbuild" there:

Code: Select all
mkdir ~/rpmbuild

Change to that folder and create some more folders ...

Code: Select all
cd ~/rpmbuild

Code: Select all
mkdir BUILD RPMS SOURCES SPECS SRPMS

Set up an .rpmmacros file in your home directory which points to your rpmbuild folder created earlier ... that file should contain at a minimum something like this:

Code: Select all
%_topdir /home/jay/rpmbuild

(replace jay with your actual username)

This is what mine looks like (using an external drive mounted at /media/usbdrive):

Code: Select all
[bill@localhost SPECS]$ more ~/.rpmmacros
%_topdir /media/usbdrive/rpmbuild

Copy the megamario SRPM you downloaded from Dribble to the SRPMS folder:

Code: Select all
cd SRPMS

Code: Select all
cp ~/Desktop/megamario-1.5-1.fc7.drb.src.rpm .

Install the SRPM:

Code: Select all
rpm -ivh megamario-1.5-1.fc7.drb.src.rpm

You should now have the source code archive and any patches in the SOURCES folder, the megamario.spec file in SPECS ...

You're going to need the rpmbuild command if you don't already have it ... get that with:

Code: Select all
yum install rpm-build



Change to the SPECS folder and open the megamario.spec file in your favorite text editor:

Code: Select all
cd ../SPECS


Code: Select all
gedit megamario.spec &



Change the Release line to look like this:

Code: Select all
Release: 1.ydl6.bdg



(I think this is something you can set in your .rpmmacros file but I haven't done it)

At the bottom there's a changelog ... above the first change listed, add something like this:

* Fri Feb 27 2009 Bill Blake <billb*AT*ydl.net> 1.5-1.ydl6.bdg
- Rebuild for YDL 6.1
(replace name and email address with yours)

It should look something like this now:

Code: Select all
%changelog
* Fri Feb 27 2009 Bill Blake <billb*AT*ydl.net> 1.5-1.ydl6.bdg
- Rebuild for YDL 6.1

---

The formatting of the date is very important and rpmbuild will bitch at you if it's not exactly right.

Also, look at the BuildRequires lines ...

Code: Select all
BuildRequires: SDL_mixer-devel SDL_image-devel SDL_ttf-devel
BuildRequires: ImageMagick desktop-file-utils

If you don't have any of these, the build will fail immediately. Just to make sure you have them:

Code: Select all
yum install SDL_mixer-devel SDL_image-devel SDL_ttf-devel ImageMagick desktop-file-utils

Save your edited megamario.spec file over the old version.

OK ... now ready to start the build process ...

Assuming you're still in the SPECS folder:

Code: Select all
setarch ppc rpmbuild -ba --ppc megamario.spec

(we nearly always want to build for 32-bit ppc, so that's what the setarch ppc and --ppc parts are for ...)

If all goes well, the new RPM should be created in the RPMS/ppc folder ...

Then you can try installing the new RPM by browsing to that folder and double-clicking on it. It should add a new menu item for megamario in Applications -> Games if you're using GNOME or E17. If not, use megamario to launch from terminal or add a Fluxbox menu item with that.

If you look in your BUILD folder you'll see where rpmbuild compiled megamario (in the megamario-1.5 folder). This is just like you had compiled it from source yourself, but the spec file tells rpmbuild how to do it instead. And this is where it pulls the files it needs to package the RPM (it also uses a megamario.desktop file the SRPM installed to your SOURCE folder -- as noted on the Source1 line in the spec file).


First build this rpm and then after you kinda understand what is going on. learn a little more by googling .spec files and building rpms. Some important notes. You may have to build new packages and update some packages in order to build an rpm. When you update some packages it could break others. So be careful and try and test everything installed on the system to make sure the build has not broke anything else. I would post the original spec from this vlc build and then the modified one however vlc is a rather difficult build and could confuse you more then help you.

[EDIT: this is OK, but fixed my email address so it wouldn't be picked up by spammers, hopefully, and also removed the last part of the changelog so email addresses not exposed ... billb]
60GB PS3 (CECHA01) upgraded HDD 160gb, 40" Sony Bravia, Ydl 6 and plenty of other goodies :)
http://www.youtube.com/user/jaybps3
Jaybps3
ydl guru
ydl guru
 
Posts: 458
Joined: 04 May 2008, 11:36

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby uncholowapo » 04 Mar 2009, 12:32

I wouldn't mind seeing it. :D
PS3 40GB has YDL 6.1 running 480i on a piece of $#!% Sanyo 24 incher. Need to go to 1080p.
User avatar
uncholowapo
ydl guru
ydl guru
 
Posts: 687
Joined: 19 Feb 2008, 02:58
Location: Norcross, GA USA

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby Tharbat » 04 Mar 2009, 17:57

Great job Jay!
This vlc version works way better than the default one...

I'm having some issues with external subtitles (srt) not showing up. Vlc seems to recognize that there's a subtitle that needs tobe loaded, but nothing shows up on the screen.
Is there anybody having the same problem?

Cheers!

T.
Tharbat
ydl newbie
ydl newbie
 
Posts: 2
Joined: 25 Feb 2009, 12:15

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby Jaybps3 » 04 Mar 2009, 19:48

I have found 5 problems with the current build that I need to work out, If anyone cares to chime in and help out perhaps we can get a complete vlc build together.

1. Java support is no longer bundled with vlc and requires a seperate build. VLC 0.8.6 package has java bindings built right into the build. So I need to re-incorperate that into vlc 0.9.8a!

2. python bindings are also built in a seperate package now. I need to re-impliment that into the current build.

3. Quicktime support is not working need to figure out a solution to bundle the quicktime support back into vlc-0.9.8!

4. Dvd playback is broken. Need to resolve this issue.

5. VLC now uses QT4 need to remove qt4 and add support for wxWidgets again same as the old vlc.

If these problems can be solved we will have a complete media player fully compatible with all the popular media formats with exellent streams. Anyways thats currently where I am at.
60GB PS3 (CECHA01) upgraded HDD 160gb, 40" Sony Bravia, Ydl 6 and plenty of other goodies :)
http://www.youtube.com/user/jaybps3
Jaybps3
ydl guru
ydl guru
 
Posts: 458
Joined: 04 May 2008, 11:36

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby Jaybps3 » 04 Mar 2009, 20:04

Billb I almost removed that previously prior to posting, Sorry about that man!!!

I'm working hard to get this package built, So I can move on to other things currently my list of of to do's, Include gnash 0.8.4 and swfdec 0.8.4 I would really like to get the latest flash support available to us built.

So the sooner I can get this build corrected the sooner I can get us some better flash support :)
60GB PS3 (CECHA01) upgraded HDD 160gb, 40" Sony Bravia, Ydl 6 and plenty of other goodies :)
http://www.youtube.com/user/jaybps3
Jaybps3
ydl guru
ydl guru
 
Posts: 458
Joined: 04 May 2008, 11:36

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby Noons » 04 Mar 2009, 20:44

I'm working hard to get this package built, So I can move on to other things currently my list of of to do's, Include gnash 0.8.4 and swfdec 0.8.4 I would really like to get the latest flash support available to us built.


A little off topic but, I am currently using swfdec 0.9.2 and I can say that the bloat on the system seem's to be a little much for the PS3 to handle. There is a new release coming out soon.
ydl 6.2 updated many sys files; 720p Epson projector;PS3 video
User avatar
Noons
ydl guru
ydl guru
 
Posts: 286
Joined: 18 Mar 2008, 21:50
Location: Ont. CAN

Re: VLC-0.9.8a-1ydl61.ppc.rpm

Postby billb » 04 Mar 2009, 21:52

Jaybps3 wrote:5. VLC now uses QT4 need to remove qt4 and add support for wxWidgets again same as the old vlc.


I wouldn't mind the QT interface if it wasn't for the blueish png issue ... need to try the lastest Qt 4 and see if it still exists, and if so contact the developers. Even if we're stuck with it, it's not really a big deal as far as vlc is concerned. It's more annoying for PokerTH with the card colors being off.

I've discussed the issue with Qt more over here:
http://pleasantfiction.ipower.com/bodeg ... &sk=t&sd=a
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
User avatar
billb
Site Admin
Site Admin
 
Posts: 5235
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

PreviousNext

Return to Playstation 3

Who is online

Users browsing this forum: No registered users and 1 guest