mplayer : Error while parsing chunk header
Contexte
En lançant mplayer, l’exécution se termine prématurément. L’erreur “Error while parsing chunk header” apparait dans les messages de l’application :
user@machine:~ $ mplayer http://www.example.net/videos/xxxxx.asx
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing http://www.example.net/videos/xxxxx.asx.
Resolving www.example.net for AF_INET...
Connecting to server www.example.net: 80...
STREAM_ASF, URL: http://www.example.net/videos/xxxxx.asx
Resolving www.example.net for AF_INET...
Connecting to server www.example.net: 80...
size_confirm mismatch!: 22611 20047
Error while parsing chunk header
Failed, exiting.
Resolving www.example.net for AF_INET...
Connecting to server www.example.net: 80...
Cache size set to 1024 KBytes
Cache fill: 0.02% (230 bytes)
Exiting... (End of file)
user@machine:~ $
Résolution
L’url ne pointe pas sur un flux vidéo mais sur une playlist. Il faut donc l’indiquer à mplayer :
user@machine:~ $ mplayer -playlist http://www.example.net/videos/xxxxx.asx