[MPlayer-users] Mplayer not launching M3U playlist from a local file, but works from network file

Vincent Lambert vincent.lambert at supinfo.com
Sun Apr 10 22:45:30 CEST 2016


Hello,

I've created a stackoverflow topic with correct coloration and
description of my problem, you can answer here or in the topic as you
prefer.

http://stackoverflow.com/questions/36534875/mplayer-not-launching-m3u-playlist-from-a-local-file-but-works-from-network-fil   


I have two identical .m3u files, one on my current directory and another
hosted on a web server on my LAN.

If I try:

    -bash-4.1# mplayer -quiet -input file=/tmp/mplayer-control playlist.m3u

It results:

MPlayer 1.0rc2.atmel.1-4.3.5 (C) 2000-2007 MPlayer Team
CPU: ARM

Playing playlist.m3u.


Exiting... (End of file)

And nothing happen. Okai. In another hand if I try:

    -bash-4.1# mplayer -quiet -input file=/tmp/mplayer-control
http://192.168.0.101:8000/playlist.m3u

Here is the result:

MPlayer 1.0rc2.atmel.1-4.3.5 (C) 2000-2007 MPlayer Team
CPU: ARM

Playing http://192.168.0.101:8000/playlist.m3u.
Connecting to server 192.168.0.101[192.168.0.101]: 8000...
Cache size set to 320 KBytes


Playing
http://192.168.0.101:8000/BertycoX%20-%20New%20Day%20%28E-SHINE%20Remix%29.mp3.
Connecting to server 192.168.0.101[192.168.0.101]: 8000...
Cache size set to 320 KBytes
Cache fill:  5.00% (16384 bytes)  
Audio file file format detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

I was a bit curious about this, I've checked everything (permissions,
cache, ...) tried to host the webserver on my computer instead of LAN...
But it appear that everything is fine when the .m3u is loaded from LAN,
regardless the playlist elements are HTTP links pointing to local or LAN
files.

I really need the previous parameters. But I decided to come back to
basic with:

    -bash-4.1# mplayer -playlist playlist.m3u

And as you can see, everything is fine

MPlayer 1.0rc2.atmel.1-4.3.5 (C) 2000-2007 MPlayer Team
CPU: ARM

Playing http://192.168.0.101:8000/BertycoX%20-%20New%20Day.mp3.
Connecting to server 192.168.0.101[192.168.0.101]: 8000...
Cache size set to 320 KBytes
Cache fill:  5.00% (16384 bytes)  
Audio file file format detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   0.4 (00.3) of -2.7 (unknown) 92.7% 77%

Do you have any idea why my local file is not loaded when used with the
needed parameters, and works just fine if loaded from LAN (even without
-playlist parameter)?


-- 

*Vincent Lambert*
Développeur informatique



More information about the MPlayer-users mailing list