[MPlayer-users] Very Rare - mplayer exits immediately with End of file when playing something.

Andy Furniss adf.lists at gmail.com
Sat Feb 15 14:48:47 CET 2014


This is a strange and rare issue I have seen maybe 5 times over the last
6 months.

It doesn't seem related to any particular file type - I have seen it on
mpeg2 avc and just plain wav files, but I go to play the file (I may
have already just played it) and mplayer instantly quits just like it
had got to the end. Trying again has always played OK.

Bit of a useless report really, but I wondered if any one else ever saw
this. I have tried reproducing eg. by deliberately filling memory by
compiling lots of things, but always failed to reproduce other than by
waiting a month for it to happen again. I generally use mplayer at least
several times a day - many more if testing something.

I don't have a -v output, but here's what it looked like on a transport
stream I was testing with today. I had already just played it but
changed the command like slightly (added -demuxer lavf) - it played OK
straight after. First is a latm output I saved a while ago.

I don't think -demuxer lavf is relavent TBH as I've seen it on wav sound
files before and I would never bother to use it on those.

I don't know if it's relevant but I run with a bash alias so mpn is -

alias mpn='/home/andy/Src/Mplayer-svn/mplayer/mplayer -ao alsa,jack
-mixer-channel Master'


So fail latm followed by working then today's "strange" transport stream
tests working (without lavf) - then fail (with) - then working again.

I say strange because I guess not many will ever use a command line like
that with the strange vdpau driver (mesa have just got a new
deinterlacer and it's just that I have to patch to get it to work with
my GPU and I call my version deint)

Of course I have run mplayer with similar commands about 50 times over 
the last couple of days - without issue.

ph4[B5]$ mpn -ao alsa:device=hw=2.3 Bt5th.latm
MPlayer SVN-r36496-4.6.3 (C) 2000-2013 MPlayer Team

Playing Bt5th.latm.
libavformat version 55.19.104 (internal)
libavformat file format detected.
[lavf] stream 0: audio (aac_latm), -aid 0
Load subtitles in ./
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 55.39.100 (internal)
AUDIO: 48000 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->384000)
Selected audio codec: [fflatm] afm: ffmpeg (FFmpeg AAC in LATM)
==========================================================================
[AO_ALSA] Format floatle is not supported by hardware, trying default.
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   0.0 (00.0) of 0.0 (unknown) ??,?%


Exiting... (End of file)
ph4[B5]$ mpn -ao alsa:device=hw=2.3 Bt5th.latm
MPlayer SVN-r36496-4.6.3 (C) 2000-2013 MPlayer Team

Playing Bt5th.latm.
libavformat version 55.19.104 (internal)
libavformat file format detected.
[lavf] stream 0: audio (aac_latm), -aid 0
Load subtitles in ./
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 55.39.100 (internal)
AUDIO: 48000 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->384000)
Selected audio codec: [fflatm] afm: ffmpeg (FFmpeg AAC in LATM)
==========================================================================
[AO_ALSA] Format floatle is not supported by hardware, trying default.
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   6.1 (06.1) of 0.0 (unknown)  0.8%

Exiting... (Quit)

ph4[yadif-adapt-test]$ VDPAU_DRIVER=deint mpn -fs -lavdopts threads=4 
-vo vdpau:deint=3 prog-int.ts
MPlayer SVN-r36764-4.8.2 (C) 2000-2014 MPlayer Team

Playing prog-int.ts.
libavformat version 55.28.101 (internal)
TS file format detected.
VIDEO H264(pid=101) AUDIO AAC LATM(pid=102) NO SUBS (yet)!  PROGRAM N. 17472
FPS seems to be: 25.000000
Load subtitles in ./
Could not find a UTF-8 locale, some keys will not be handled.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.49.101 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->384000)
Selected audio codec: [fflatm] afm: ffmpeg (FFmpeg AAC in LATM)
==========================================================================
[AO_ALSA] Format floatle is not supported by hardware, trying default.
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12  [fs]
A:28581.9 V:28582.6 A-V: -0.686 ct:  0.000   4/  4 ??% ??% ??,?% 0 0
[h264 @ 0x7f9df6b36180]mmco: unref short failure
[h264 @ 0x7f9df6b36180]number of reference frames (0+5) exceeds max (4; 
probably corrupt input), discarding one
A:28608.7 V:28608.3 A-V:  0.418 ct: -1.131 711/711  6% 35%  0.4% 86 0


            ************************************************
            **** Your system is too SLOW to play this!  ****
            ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
   - Try -ao sdl or use the OSS emulation of ALSA.
   - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
   - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
   - Don't try to play a big DVD/DivX on a slow CPU! Try some of the 
lavdopts,
     e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
   - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
   - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
   - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A:28627.7 V:28627.7 A-V:  0.037 ct: -1.180 1398/1398 11% 46%  0.4% 567 0
TS_PARSE: COULDN'T SYNC
A:28628.2 V:28629.3 A-V: -1.048 ct: -1.325 1438/1438 11% 45%  0.4% 567 0


Exiting... (End of file)
Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion 
`map->l_init_called' failed!
ph4[yadif-adapt-test]$ VDPAU_DRIVER=deint mpn -fs -demuxer lavf 
-lavdopts threads=4 -vo vdpau:deint=3 prog-int.ts
MPlayer SVN-r36764-4.8.2 (C) 2000-2014 MPlayer Team

Playing prog-int.ts.
libavformat version 55.28.101 (internal)
libavformat file format detected.
[h264 @ 0x7ff051d1d180]non-existing SPS 0 referenced in buffering period
[h264 @ 0x7ff051d1d180]non-existing PPS referenced
[h264 @ 0x7ff051d1d180]non-existing SPS 0 referenced in buffering period
[h264 @ 0x7ff051d1d180]non-existing PPS 0 referenced
[h264 @ 0x7ff051d1d180]decode_slice_header error
[h264 @ 0x7ff051d1d180]non-existing PPS 0 referenced
[h264 @ 0x7ff051d1d180]decode_slice_header error
[h264 @ 0x7ff051d1d180]non-existing PPS 0 referenced
[h264 @ 0x7ff051d1d180]decode_slice_header error
[h264 @ 0x7ff051d1d180]non-existing PPS 0 referenced
[h264 @ 0x7ff051d1d180]decode_slice_header error
[h264 @ 0x7ff051d1d180]non-existing PPS 0 referenced
[h264 @ 0x7ff051d1d180]decode_slice_header error
[h264 @ 0x7ff051d1d180]non-existing PPS 0 referenced
[h264 @ 0x7ff051d1d180]decode_slice_header error
[h264 @ 0x7ff051d1d180]no frame!
[h264 @ 0x7ff051d1d180]non-existing SPS 0 referenced in buffering period
[h264 @ 0x7ff051d1d180]non-existing PPS referenced
[h264 @ 0x7ff051d1d180]non-existing SPS 0 referenced in buffering period
[h264 @ 0x7ff051d1d180]non-existing PPS 0 referenced
[h264 @ 0x7ff051d1d180]decode_slice_header error
[h264 @ 0x7ff051d1d180]non-existing PPS 0 referenced
[h264 @ 0x7ff051d1d180]decode_slice_header error
[h264 @ 0x7ff051d1d180]non-existing PPS 0 referenced
[h264 @ 0x7ff051d1d180]decode_slice_header error
[h264 @ 0x7ff051d1d180]non-existing PPS 0 referenced
[h264 @ 0x7ff051d1d180]decode_slice_header error
[h264 @ 0x7ff051d1d180]non-existing PPS 0 referenced
[h264 @ 0x7ff051d1d180]decode_slice_header error
[h264 @ 0x7ff051d1d180]non-existing PPS 0 referenced
[h264 @ 0x7ff051d1d180]decode_slice_header error
[h264 @ 0x7ff051d1d180]no frame!
[h264 @ 0x7ff051d1d180]mmco: unref short failure
[h264 @ 0x7ff051d1d180]number of reference frames (0+5) exceeds max (4; 
probably corrupt input), discarding one
[mpegts @ 0x7ff051d0e700]Stream #3: not enough frames to estimate rate; 
consider increasing probesize
[mpegts @ 0x7ff051d0e700]Stream #4: not enough frames to estimate rate; 
consider increasing probesize
[mpegts @ 0x7ff051d0e700]Stream #5: not enough frames to estimate rate; 
consider increasing probesize
[mpegts @ 0x7ff051d0e700]Stream #6: not enough frames to estimate rate; 
consider increasing probesize
[mpegts @ 0x7ff051d0e700]Stream #7: not enough frames to estimate rate; 
consider increasing probesize
[NULL @ 0x7ff051d1d180]start time is not set in estimate_timings_from_pts
[NULL @ 0x7ff051d1d180]start time is not set in estimate_timings_from_pts
[NULL @ 0x7ff051d1d180]start time is not set in estimate_timings_from_pts
[NULL @ 0x7ff051d1d180]start time is not set in estimate_timings_from_pts
[mpegts @ 0x7ff051d0e700]PES packet size mismatch
[mpegts @ 0x7ff051d0e700]Could not find codec parameters for stream 4 
(Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' 
options
[mpegts @ 0x7ff051d0e700]Could not find codec parameters for stream 5 
(Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' 
options
[mpegts @ 0x7ff051d0e700]Could not find codec parameters for stream 6 
(Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' 
options
[mpegts @ 0x7ff051d0e700]Could not find codec parameters for stream 7 
(Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' 
options
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac_latm), -aid 0, -alang eng
[lavf] stream 2: audio (aac_latm), -aid 1, -alang eng
[lavf] stream 3: subtitle (dvbsub), -sid 0, -slang eng
LAVF: Program 17472
LAVF: Program 17540
LAVF: Program 17603
LAVF: Program 17664
LAVF: Program 19648
LAVF: Program 20288
VIDEO:  [H264]  1920x1080  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Load subtitles in ./
Could not find a UTF-8 locale, some keys will not be handled.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.49.101 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->384000)
Selected audio codec: [fflatm] afm: ffmpeg (FFmpeg AAC in LATM)
==========================================================================
[AO_ALSA] Format floatle is not supported by hardware, trying default.
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12  [fs]
A:28582.0 V:28582.4 A-V: -0.435 ct:  0.000   0/  0 ??% ??% ??,?% 0 0


Exiting... (End of file)
Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion 
`map->l_init_called' failed!
ph4[yadif-adapt-test]$ VDPAU_DRIVER=deint mpn -fs -demuxer lavf 
-lavdopts threads=4 -vo vdpau:deint=3 prog-int.ts
MPlayer SVN-r36764-4.8.2 (C) 2000-2014 MPlayer Team

Playing prog-int.ts.
libavformat version 55.28.101 (internal)
libavformat file format detected.
[h264 @ 0x7ff06557b180]non-existing SPS 0 referenced in buffering period
[h264 @ 0x7ff06557b180]non-existing PPS referenced
[h264 @ 0x7ff06557b180]non-existing SPS 0 referenced in buffering period
[h264 @ 0x7ff06557b180]non-existing PPS 0 referenced
[h264 @ 0x7ff06557b180]decode_slice_header error
[h264 @ 0x7ff06557b180]non-existing PPS 0 referenced
[h264 @ 0x7ff06557b180]decode_slice_header error
[h264 @ 0x7ff06557b180]non-existing PPS 0 referenced
[h264 @ 0x7ff06557b180]decode_slice_header error
[h264 @ 0x7ff06557b180]non-existing PPS 0 referenced
[h264 @ 0x7ff06557b180]decode_slice_header error
[h264 @ 0x7ff06557b180]non-existing PPS 0 referenced
[h264 @ 0x7ff06557b180]decode_slice_header error
[h264 @ 0x7ff06557b180]non-existing PPS 0 referenced
[h264 @ 0x7ff06557b180]decode_slice_header error
[h264 @ 0x7ff06557b180]no frame!
[h264 @ 0x7ff06557b180]non-existing SPS 0 referenced in buffering period
[h264 @ 0x7ff06557b180]non-existing PPS referenced
[h264 @ 0x7ff06557b180]non-existing SPS 0 referenced in buffering period
[h264 @ 0x7ff06557b180]non-existing PPS 0 referenced
[h264 @ 0x7ff06557b180]decode_slice_header error
[h264 @ 0x7ff06557b180]non-existing PPS 0 referenced
[h264 @ 0x7ff06557b180]decode_slice_header error
[h264 @ 0x7ff06557b180]non-existing PPS 0 referenced
[h264 @ 0x7ff06557b180]decode_slice_header error
[h264 @ 0x7ff06557b180]non-existing PPS 0 referenced
[h264 @ 0x7ff06557b180]decode_slice_header error
[h264 @ 0x7ff06557b180]non-existing PPS 0 referenced
[h264 @ 0x7ff06557b180]decode_slice_header error
[h264 @ 0x7ff06557b180]non-existing PPS 0 referenced
[h264 @ 0x7ff06557b180]decode_slice_header error
[h264 @ 0x7ff06557b180]no frame!
[h264 @ 0x7ff06557b180]mmco: unref short failure
[h264 @ 0x7ff06557b180]number of reference frames (0+5) exceeds max (4; 
probably corrupt input), discarding one
[mpegts @ 0x7ff06556c700]Stream #3: not enough frames to estimate rate; 
consider increasing probesize
[mpegts @ 0x7ff06556c700]Stream #4: not enough frames to estimate rate; 
consider increasing probesize
[mpegts @ 0x7ff06556c700]Stream #5: not enough frames to estimate rate; 
consider increasing probesize
[mpegts @ 0x7ff06556c700]Stream #6: not enough frames to estimate rate; 
consider increasing probesize
[mpegts @ 0x7ff06556c700]Stream #7: not enough frames to estimate rate; 
consider increasing probesize
[NULL @ 0x7ff06557b180]start time is not set in estimate_timings_from_pts
[NULL @ 0x7ff06557b180]start time is not set in estimate_timings_from_pts
[NULL @ 0x7ff06557b180]start time is not set in estimate_timings_from_pts
[NULL @ 0x7ff06557b180]start time is not set in estimate_timings_from_pts
[mpegts @ 0x7ff06556c700]PES packet size mismatch
[mpegts @ 0x7ff06556c700]Could not find codec parameters for stream 4 
(Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' 
options
[mpegts @ 0x7ff06556c700]Could not find codec parameters for stream 5 
(Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' 
options
[mpegts @ 0x7ff06556c700]Could not find codec parameters for stream 6 
(Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' 
options
[mpegts @ 0x7ff06556c700]Could not find codec parameters for stream 7 
(Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' 
options
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac_latm), -aid 0, -alang eng
[lavf] stream 2: audio (aac_latm), -aid 1, -alang eng
[lavf] stream 3: subtitle (dvbsub), -sid 0, -slang eng
LAVF: Program 17472
LAVF: Program 17540
LAVF: Program 17603
LAVF: Program 17664
LAVF: Program 19648
LAVF: Program 20288
VIDEO:  [H264]  1920x1080  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Load subtitles in ./
Could not find a UTF-8 locale, some keys will not be handled.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.49.101 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->384000)
Selected audio codec: [fflatm] afm: ffmpeg (FFmpeg AAC in LATM)
==========================================================================
[AO_ALSA] Format floatle is not supported by hardware, trying default.
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12  [fs]
A:28582.1 V:28582.6 A-V: -0.502 ct: -0.008   0/  0 ??% ??% ??,?% 0 0
[h264 @ 0x7ff06557b180]mmco: unref short failure
[h264 @ 0x7ff06557b180]number of reference frames (0+5) exceeds max (4; 
probably corrupt input), discarding one
A:28610.6 V:28610.1 A-V:  0.493 ct: -0.490   0/  0  8% 36%  0.6% 173 0


            ************************************************
            **** Your system is too SLOW to play this!  ****
            ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
   - Try -ao sdl or use the OSS emulation of ALSA.
   - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
   - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
   - Don't try to play a big DVD/DivX on a slow CPU! Try some of the 
lavdopts,
     e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
   - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
   - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
   - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A:28628.2 V:28629.1 A-V: -0.848 ct: -0.591   0/  0 11% 45%  0.6% 564 0
[h264 @ 0x7ff06557b180]error while decoding MB 105 58, bytestream (-5)
[h264 @ 0x7ff06557b180]concealing 1144 DC, 1144 AC, 1144 MV errors in B 
frame
A:28628.2 V:28629.4 A-V: -1.208 ct: -0.623   0/  0 11% 45%  0.6% 564 0


Exiting... (End of file)
Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion 
`map->l_init_called' failed!



More information about the MPlayer-users mailing list