xboxscene.org forums

Pages: 1 2 [3] 4 5 ... 10

Author Topic: Xbox360 Homebrew Media Player?  (Read 962 times)

Q3A-TaNK

  • Archived User
  • Full Member
  • *
  • Posts: 160
Xbox360 Homebrew Media Player?
« Reply #30 on: January 28, 2010, 01:24:00 AM »

What about looking into MPlayer sourcecode? They ported more than one verison of it on the Wii with great success, especially the Christmas Edition with YouTube support. Its not XBMC but I say its probally still worth it for SAMBA sharing, Basic Youtube, etc video playback, hell even Shoutcast! TAKE THAT LAST.FM and Zune Marketplace!  biggrin.gif
Logged

hfmls

  • Archived User
  • Sr. Member
  • *
  • Posts: 347
Xbox360 Homebrew Media Player?
« Reply #31 on: January 28, 2010, 01:41:00 AM »

yes i noticed that too, works really well in WII.

can u guys check that out?

mplayer would work justtt fine (IMG:style_emoticons/default/biggrin.gif)

pls pls pls
Logged

Drefsab

  • Archived User
  • Full Member
  • *
  • Posts: 132
Xbox360 Homebrew Media Player?
« Reply #32 on: January 28, 2010, 03:16:00 AM »

Isnt that how XBMC on the old xbox came out about? They wrapped a nice front end around mplayer and then added features bit by bit to give an awsome dash? smile.gif
Logged

hfmls

  • Archived User
  • Sr. Member
  • *
  • Posts: 347
Xbox360 Homebrew Media Player?
« Reply #33 on: January 28, 2010, 03:48:00 AM »

lol i don't remember (IMG:style_emoticons/default/smile.gif)
if so, that's the way to go.
anyone in the mood to pickup mediaplayer and compile it for xbox360?

should be "easy" ?
Logged

Fragreaver

  • Archived User
  • Newbie
  • *
  • Posts: 43
Xbox360 Homebrew Media Player?
« Reply #34 on: January 28, 2010, 04:19:00 AM »

Could the wii sources provide any help with that? Since it's basically the same arch?
tmbinc ported Snes9x from Wii/GC to XeLL quite fast...
Logged

hfmls

  • Archived User
  • Sr. Member
  • *
  • Posts: 347
Xbox360 Homebrew Media Player?
« Reply #35 on: January 28, 2010, 04:24:00 AM »

yes i noticed that too. some WII stuff is "similar" to xbox360.
should be no problem.

mkv+dts+.srt here we go smile.gif
Logged

joohan

  • Archived User
  • Newbie
  • *
  • Posts: 15
Xbox360 Homebrew Media Player?
« Reply #36 on: January 28, 2010, 06:28:00 AM »

QUOTE(hfmls @ Jan 28 2010, 12:24 PM) View Post

yes i noticed that too. some WII stuff is "similar" to xbox360.
should be no problem.

mkv+dts+.srt here we go smile.gif


Sure, Mplayer can be compiled to ppc64 with gcc with minimum effort.
But you can not create xex with gcc. You need the microsoft compiler which don't implement C99.
And sure, you could patch away all C99 specifics manually (a couple of hundred patches at least) but then you will be stuck in that exakt version of mplayer/libavcodec or whatever.

My initial thought was to simply just "compile libavcodec with VS2005", but it turned out to be something different.

BTW, libavcodec is a big part of mplayer.

So right now I am thinking of either making a script that fixes most of the C99 stuff ( With some help, thanks biggrin.gif ).

Or some compile "magic", compile libavcodec with llvm-gcc, and then use the "c-backend" of llvm and output generic c-code that VS2005 should understand

Or a different trick, compile libavcodec with gcc for powerpc64 and just load it into memory from a xex compiled with vs2005. This will require some "glue" code to be able to call functions between VS2005 compiled code and gcc. I have not researched anything on the details about this, specifically the calling conventions for functions might be a problem.
Logged

xboxbman

  • Archived User
  • Full Member
  • *
  • Posts: 154
Xbox360 Homebrew Media Player?
« Reply #37 on: January 28, 2010, 08:39:00 AM »

QUOTE(joohan @ Jan 28 2010, 08:28 AM) View Post

Sure, Mplayer can be compiled to ppc64 with gcc with minimum effort.
But you can not create xex with gcc. You need the microsoft compiler which don't implement C99.
And sure, you could patch away all C99 specifics manually (a couple of hundred patches at least) but then you will be stuck in that exakt version of mplayer/libavcodec or whatever.

My initial thought was to simply just "compile libavcodec with VS2005", but it turned out to be something different.

BTW, libavcodec is a big part of mplayer.

So right now I am thinking of either making a script that fixes most of the C99 stuff ( With some help, thanks biggrin.gif ).

Or some compile "magic", compile libavcodec with llvm-gcc, and then use the "c-backend" of llvm and output generic c-code that VS2005 should understand

Or a different trick, compile libavcodec with gcc for powerpc64 and just load it into memory from a xex compiled with vs2005. This will require some "glue" code to be able to call functions between VS2005 compiled code and gcc. I have not researched anything on the details about this, specifically the calling conventions for functions might be a problem.


i think i mght be able to assist.  Unlike the rest of these slackjawed gawkers with their hands out, I have years of coding experience, and am willing to roll up my sleeves and do some work to contribute to scene.  Let me know some specifics of what needs to get done, and I can do my best to help out.

I have heard rumor there is a patch out that will get the sdk working with vs2008, I'll see if I can track it down.  If we can get that, it should make our lives a little easier.   In the mean time, let's figure out a definitive direction to work.  It's nice to have options, but it is best to focus.

rant
To the 2 pages of people asking why this isn't out yet, and when is it being released, or how the progress is:  Pick up a fuckin book and learn how to contribute.  Asking when something will be released is not helping the scene.  Learning how to code will.  I acknowledge I have not released anything, but I am at least trying.  I started coding when the xbox1 first got hacked, because i wanted to contribute.  Put down the controllers and pick up coding book. /rant
Logged

hfmls

  • Archived User
  • Sr. Member
  • *
  • Posts: 347
Xbox360 Homebrew Media Player?
« Reply #38 on: January 28, 2010, 09:42:00 AM »

wich language is the x360 homebrew coded?
Logged

node21

  • Archived User
  • Sr. Member
  • *
  • Posts: 385
Xbox360 Homebrew Media Player?
« Reply #39 on: January 28, 2010, 09:53:00 AM »

QUOTE(hfmls @ Jan 28 2010, 11:42 AM) View Post

wich language is the x360 homebrew coded?


C++
Logged

hfmls

  • Archived User
  • Sr. Member
  • *
  • Posts: 347
Xbox360 Homebrew Media Player?
« Reply #40 on: January 28, 2010, 09:54:00 AM »

lame question... studying C++
when i "learn" C++, C++ type of coding , i assume is the same in all plataforms? PC, xbox360, wii, etc etc?

only compilers change?

code is the same?
Logged

eyric101

  • Archived User
  • Sr. Member
  • *
  • Posts: 283
Xbox360 Homebrew Media Player?
« Reply #41 on: January 28, 2010, 10:09:00 AM »

QUOTE(hfmls @ Jan 28 2010, 11:54 AM) View Post

lame question... studying C++
when i "learn" C++, C++ type of coding , i assume is the same in all plataforms? PC, xbox360, wii, etc etc?

only compilers change?

code is the same?

well the library files and how to use them change
Logged

node21

  • Archived User
  • Sr. Member
  • *
  • Posts: 385
Xbox360 Homebrew Media Player?
« Reply #42 on: January 28, 2010, 10:18:00 AM »

QUOTE(eyric101 @ Jan 28 2010, 12:09 PM) *

well the library files and how to use them change


Not only that...there is a huge leap from raw C++ to event driven programming...and once you grok that, you have to figure out Microsoft's whole framework and the way they use macros all over the place to create code behind the scenes...  That being said, there are enough working tutorials out there to assist greatly.

Then, there's the details like direct 3d, and XUI.  Are we having fun yet?  Yes?  Now go learn about multi-threading!  ;-)
Logged

hfmls

  • Archived User
  • Sr. Member
  • *
  • Posts: 347
Xbox360 Homebrew Media Player?
« Reply #43 on: January 28, 2010, 10:22:00 AM »

i'm gonna go watch PORN.
i got shot before i started to walk heheh, u guys keep up the goodwork

This post has been edited by hfmls: Jan 28 2010, 06:23 PM
Logged

miah1269

  • Archived User
  • Newbie
  • *
  • Posts: 3
Xbox360 Homebrew Media Player?
« Reply #44 on: January 28, 2010, 05:55:00 PM »

I have taken 3 semesters of C++  an feel that I have a pretty good grip on the Basics but I am far from a seasoned coding veteran. If you don't mind holding my hand a little I would love to help. Just let me know.
Logged
Pages: 1 2 [3] 4 5 ... 10