FORUMS
Remove All Ads from XDA
H10 Turbo

[DEV] Porting mplayer to Dream

1 posts
Thanks Meter: 0
 
By hashish69, Junior Member on 23rd November 2009, 02:29 AM
Post Reply Email Thread
I was very interested to see a thread in the Hero section on cross-compiling the excellent linux mplayer application

In this thread, http://forum.xda-developers.com/showthread.php?t=575500 some work has been done to get mplayer to work which may throw some interest to people who are interested in getting mplayer going on the Dream.

I have tried the binary on the Dream and am not getting any sound out but am having most **success** with "-ao pcm:file=/dev/msm_pcm_out -v" halts MPlayer with the line "Increasing filtered audio buffer size from 0 to 65536".

I do get flashing video; which is unwatchable but at least a start.
 
 
23rd November 2009, 03:09 AM |#2  
soulife's Avatar
Senior Member
Thanks Meter: 45
 
More
i got it on my tomtom, which uses arm too...

http://www.opentom.org/Build_MPlayer

its a start, not a cure
23rd November 2009, 09:04 AM |#3  
Junior Member
Thanks Meter: 6
 
More
A Q, what does 'mplayer -ao help' come back with?

Might gives clues about the audio driver to use.
30th November 2009, 08:53 AM |#4  
Junior Member
Thanks Meter: 6
 
More
installed mplayer myself in /data and running mplayer gives:

================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
Failed to initialize audio driver 'oss'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


also running 'mplayer -ao help' gives:

bash-3.2# /data/mplayer -ao help
Cannot find HOME directory.
MPlayer SVN-r29814-4.4.1 (C) 2000-2009 MPlayer Team
Available audio output drivers:
oss OSS/ioctl audio output
mpegpes DVB audio output
v4l2 V4L2 MPEG Audio Decoder output
null Null audio output
pcm RAW PCM/WAVE file writer audio output

no idea how this can work
8th January 2010, 07:22 PM |#5  
Member
Flag Berlin
Thanks Meter: 0
 
More
The ones available are the ones mplayer was compiled with. You have to change the devices in the mplayer-framebuffer source for video, I guess you have to do the same for the audio, which is a bit more complicated I think. MPlayer is definitely on my ToDo though.
Post Reply Subscribe to Thread

Tags
linux port, media player, mplayer, music player

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes