[DEV] Porting mplayer to Dream

hashish69

New member
May 21, 2008
1
0
0
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.
 

ashleyglassel

Member
May 22, 2008
29
6
0
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
 

bastards

Senior Member
Nov 20, 2009
84
0
0
Berlin
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.