Jump to content


Photo

Xbox360 Homebrew Media Player?


  • Please log in to reply
151 replies to this topic

#31 Q3A-TaNK

Q3A-TaNK

    X-S X-perience

  • Members
  • PipPip
  • 405 posts
  • Location:USA
  • Xbox Version:v1.1
  • 360 version:v4.0 (jasper)

Posted 28 January 2010 - 09:24 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

#32 hfmls

hfmls

    X-S X-perience

  • Members
  • PipPip
  • 424 posts
  • Interests:BENFICA
  • Xbox Version:v1.6d
  • 360 version:v1 (xenon)

Posted 28 January 2010 - 09:41 AM

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

can u guys check that out?

mplayer would work justtt fine biggrin.gif

pls pls pls

#33 Drefsab

Drefsab

    X-S Senior Member

  • Members
  • PipPip
  • 166 posts

Posted 28 January 2010 - 11:16 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

#34 hfmls

hfmls

    X-S X-perience

  • Members
  • PipPip
  • 424 posts
  • Interests:BENFICA
  • Xbox Version:v1.6d
  • 360 version:v1 (xenon)

Posted 28 January 2010 - 11:48 AM

lol i don't remember 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" ?

#35 Fragreaver

Fragreaver

    X-S Young Member

  • Members
  • Pip
  • 53 posts

Posted 28 January 2010 - 12:19 PM

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...

#36 hfmls

hfmls

    X-S X-perience

  • Members
  • PipPip
  • 424 posts
  • Interests:BENFICA
  • Xbox Version:v1.6d
  • 360 version:v1 (xenon)

Posted 28 January 2010 - 12:24 PM

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

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

#37 joohan

joohan

    X-S Enthusiast

  • Members
  • 19 posts

Posted 28 January 2010 - 02:28 PM

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.

#38 xboxbman

xboxbman

    X-S X-perience

  • Members
  • PipPip
  • 365 posts

Posted 28 January 2010 - 04:39 PM

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

#39 hfmls

hfmls

    X-S X-perience

  • Members
  • PipPip
  • 424 posts
  • Interests:BENFICA
  • Xbox Version:v1.6d
  • 360 version:v1 (xenon)

Posted 28 January 2010 - 05:42 PM

wich language is the x360 homebrew coded?

#40 node21

node21

    X-S X-perience

  • Dev/Contributor
  • PipPip
  • 470 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 28 January 2010 - 05:53 PM

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

wich language is the x360 homebrew coded?


C++

#41 hfmls

hfmls

    X-S X-perience

  • Members
  • PipPip
  • 424 posts
  • Interests:BENFICA
  • Xbox Version:v1.6d
  • 360 version:v1 (xenon)

Posted 28 January 2010 - 05:54 PM

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?

#42 eyric101

eyric101

    X-S Expert

  • Members
  • PipPipPip
  • 549 posts
  • Location:LOST in the USA
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 28 January 2010 - 06:09 PM

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

#43 node21

node21

    X-S X-perience

  • Dev/Contributor
  • PipPip
  • 470 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 28 January 2010 - 06:18 PM

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

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! ;-)

#44 hfmls

hfmls

    X-S X-perience

  • Members
  • PipPip
  • 424 posts
  • Interests:BENFICA
  • Xbox Version:v1.6d
  • 360 version:v1 (xenon)

Posted 28 January 2010 - 06:22 PM

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

Edited by hfmls, 28 January 2010 - 06:23 PM.


#45 miah1269

miah1269

    X-S Enthusiast

  • Members
  • 6 posts
  • Xbox Version:unk
  • 360 version:v3.0 (falcon)

Posted 29 January 2010 - 01:55 AM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users