[APP] [15-June-2011] MPlayer for android V2

Search This thread

ajeet17181

Senior Member
Apr 25, 2008
191
145
43
Pune
Hi,

MPlayer for android with source code

MPlayer optimized for neon acceleration

http://www.multiupload.com/FP82PKBHMF

MPlayerV2.apk

http://www.multiupload.com/SZKPWCLOPA

new feature -
RTSP support via browser (MMS/MMSH also)
Fix scaling based on aspect ratio
New GUI
New Audio file selector (need some improvements I will add later)

MPlayer.apk

http://www.multiupload.com/P765ZGOPPD

new features
- Playlist support
- Auto rotate
- Album art
- Neon Acceleration [enable neon acceleration in settings menu]
- Smooth scaling [enable use fine scaler in settings menu]
- Browser streaming support for various protocol (no rtsp support)
for rtsp copy paste URL from browser to open url box



source

http://www.multiupload.com/ZUDXBLOL4A

I will add more details later
 
Last edited:

badbob001

Senior Member
Mar 28, 2005
324
17
Cool. It can even play mms:// streams, but I have to paste the URL into the app. Can you have the app register itself to support mms links? Also, opening a link to an .asx file doesn't do anything.
 

Slekvak

Member
Oct 8, 2010
20
0
Cool. It can even play mms:// streams, but I have to paste the URL into the app. Can you have the app register itself to support mms links? Also, opening a link to an .asx file doesn't do anything.

That would be awesome! The only thing missing for me!

In any case, thanks! Seems to work wll.

Sent from my GT-I9000 using XDA App
 

badbob001

Senior Member
Mar 28, 2005
324
17
Is there anyway to create a shortcut that passes a url to mplayer? I would love to create shortcuts containing something like:
mplayer.exe mms://someurl.com/radio

Something with gscript perhaps? This would get around registering mms links and having the browser open http streaming links.
 

Slekvak

Member
Oct 8, 2010
20
0
Is it possible to register an url format like mplayer://*link* that mplayer would identify when clicked?


Sent from my GT-I9000 using XDA App
 

dmarcato

Member
Apr 1, 2010
24
2
I'm interested in compiling your MPlayer source, but I can't figure out how to do it... I see there are some config files but I don't know how to use them, and I don't know what's the "/android/android-arm/sysroot/" folder that you included...
Can you tell us some instructions about it?

Thanks a lot for your hard work, you are great! :D
 

ajeet17181

Senior Member
Apr 25, 2008
191
145
43
Pune
I'm interested in compiling your MPlayer source, but I can't figure out how to do it... I see there are some config files but I don't know how to use them, and I don't know what's the "/android/android-arm/sysroot/" folder that you included...
Can you tell us some instructions about it?

Thanks a lot for your hard work, you are great! :D

i am thinking of uploading all source to git that will be more easy to compile. Meanwhile you can run conf1.sh to configure and comp.sh to solve dependency (it will build libmplayer.so)
 
  • Like
Reactions: Adolf1994

dmarcato

Member
Apr 1, 2010
24
2
i am thinking of uploading all source to git that will be more easy to compile. Meanwhile you can run conf1.sh to configure and comp.sh to solve dependency (it will build libmplayer.so)

This would be really great! :D
However I don't have a comp.sh file in the source you have posted here...
 

Adolf1994

Senior Member
Jun 2, 2010
411
65
Fertőrákos
mplayer.conf modifications:
Code:
# default things
noslices=1
subfont-text-scale=5
font=/sdcard/mplayer/font/subfont.ttf

# the funny part
# this cache size isn't recommended for streaming
autosync=60
framedrop=1
cache=16392
# change this to 1 if you have av desync
hardframedrop=0

# for unicode sub support
subfont-encoding=unicode
unicode=yes
utf8=yes

hope you'll find this useful :)

EDIT: I'm glad you decided to share this ajeet
 
Last edited:

RotxeD

Senior Member
Jun 25, 2010
113
32
ajeet, the fact is that there are some "local" references for the scripts of your (amazing) project.. first of all, in conf1.sh, this path "/android-arm/sysroot/usr/include/" points to something that you have locally.. can you tell me what it is and how to get it?

also, cos3.sh has some local references, for instance "/home/backup/mplayer/libs/armeabi"..

by the way, your porting is superb. really, a great job m8 :)
 

ajeet17181

Senior Member
Apr 25, 2008
191
145
43
Pune
ajeet, the fact is that there are some "local" references for the scripts of your (amazing) project.. first of all, in conf1.sh, this path "/android-arm/sysroot/usr/include/" points to something that you have locally.. can you tell me what it is and how to get it?

also, cos3.sh has some local references, for instance "/home/backup/mplayer/libs/armeabi"..

by the way, your porting is superb. really, a great job m8 :)

you can get all lib from apk file and arm/sysroot/usr/include is not required only for sdl you need pelya sdl headers , you can download them from commander genius git . if you find difficulty in this let me know i will upload them also.
 

Slekvak

Member
Oct 8, 2010
20
0
yes it is possible, i will try to figure out exact steps. meanwhile if you have any idea how to do this let me know

It's called URI schemes, and it seems to be a matter of defining one in the manifest file.

http://stackoverflow.com/questions/2448213/how-to-implement-my-very-own-uri-schema-on-android

Don't know how that would work when doing mplayer://mms://file.vmw?, maybe theres some way to do parse it..

This would in any case be great. This way I for example could develop my webTV app to link to mplayer://mms://file.vmw, and it would open directly and start playing in mplayer! :)
 

Gusar321

Senior Member
May 5, 2011
404
71
Wow, the awesome MPlayer compiled for Android.

I only briefly tried it, it scaled the picture to fill the screen. Is this normal? Is there way to make it actually read the aspect from the file and scale according to that?

Someone mentioned problems with .asx files... They're playlists. You need to tell MPlayer that. On the command-line, this would be
Code:
$ mplayer -playlist mms://somewhere.com/blah.asx
No idea how this Android version deals with that.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 26
    Hi,

    MPlayer for android with source code

    MPlayer optimized for neon acceleration

    http://www.multiupload.com/FP82PKBHMF

    MPlayerV2.apk

    http://www.multiupload.com/SZKPWCLOPA

    new feature -
    RTSP support via browser (MMS/MMSH also)
    Fix scaling based on aspect ratio
    New GUI
    New Audio file selector (need some improvements I will add later)

    MPlayer.apk

    http://www.multiupload.com/P765ZGOPPD

    new features
    - Playlist support
    - Auto rotate
    - Album art
    - Neon Acceleration [enable neon acceleration in settings menu]
    - Smooth scaling [enable use fine scaler in settings menu]
    - Browser streaming support for various protocol (no rtsp support)
    for rtsp copy paste URL from browser to open url box



    source

    http://www.multiupload.com/ZUDXBLOL4A

    I will add more details later
    1
    I'm interested in compiling your MPlayer source, but I can't figure out how to do it... I see there are some config files but I don't know how to use them, and I don't know what's the "/android/android-arm/sysroot/" folder that you included...
    Can you tell us some instructions about it?

    Thanks a lot for your hard work, you are great! :D

    i am thinking of uploading all source to git that will be more easy to compile. Meanwhile you can run conf1.sh to configure and comp.sh to solve dependency (it will build libmplayer.so)
    1
    run make before cos3.sh

    i have started working on git. my site is up after some cleanup i will provide you the url
    that will be very easy to compile
    1
    How do you get full screen video with the new UI?

    you have to touch upper half of the screen
    1
    Any chance we will ever see the full source code (including the java-part)?

    I assume not... and i have to say, i don't like that...
    There are plenty of android players out there that only work because there's some great pieces of open-source software out there that can be used (namley ffmpeg). NONE of those ffmpeg-based (which includes mplayer) players provides any source of the actual java-part.
    As a matter of fact quite some of them even are pretty expensive paid apps.

    I'm glad VLC-Player ist getting better and better as it will pretty sure make all other players obsolete...
    And please don't state anything like "do one yourself", i do not have the time to develop another app in my sparetime...

    Anyways, I'd really appreciate if you may rethink your strategy and provide the full source of your player.
    Open-Source doesn't work if everyone just "takes it and builds something closed around it" or even charges money for the little work he actually had to do (compared to developing ffmpeg/mplayer, providing a JNI-Interface & GUI for android ist really just a VERY small part). This ist simply NOT what Open-Source is meant to be.

    And yes, i am pretty disappointed by that fact...

    For the record:
    I am the developer of "dreamDroid", an application, allowing to remote-control Dreamboxes (which are Linux-Based Set-Top-Boxes). I developed the backend running on the dreamboxes, too.
    For the android app you can get the source here: https://github.com/sreichholf/dreamDroid/
    The source for the backend-side is also available, but i think it's of no use for anyone around here.

    And that's pretty much the reason why I am looking for a player capable of playing the streams a dreambox provides (which is true dvb-based mpeg-ts).
    Currently that's only the mplayer provided here (which is pretty unstable atm, but that's nothing that can't be fixed) and vplayer, which is simply disproportionaly expensive.