Topic - Mplayer "-loop 0" freezes with MKV



Reply to this topic

Topic Starter theLured - Posted on Tuesday, April 7 2009 10:37:50 AM
Hello. I am using Ubuntu Intrepid(8.10) and MPlayer 1.0rc2-4.3.2.
I have noticed that when playing an MKV video with the command
mplayer my-hime-ed.mkv -loop 0
The video plays fine unless you try to skip forward when the video is at the end. It seems to try and play the video past it's end. MPlayer is still functional, it just doesn't play video.

To try this, go to http://jfs.itcamefromjapan.net/kara/ and get my-hime-ed.mkv(6.4MB) and chobits-ed2.mkv(8.5 MB)

http://jfs.itcamefromjapan.net/kara/files/chobits-ed2.mkv
http://jfs.itcamefromjapan.net/kara/files/my-hime-ed.mkv

This command works fine.
mplayer -loop 0 my-hime-ed.mkv


Also this command will play the first file normally, but will crash on the last one.
mplayer my-hime-ed.mkv chobits-ed2.mkv -loop 0


I have tried this on other MKV videos and still get the problem. AVI and MPEG seem unaffected.

From using -v I can see the error with just the eof incrementing
loop_times = 0, eof = 195.799 ct: 0.100 47/ 47 ??% ??% ??,?% 0 0
ds_fill_buffer: EOF reached (stream: audio) ###This line repeats 5 times
loop_times = 0, eof = 195.942 ct: 0.100 47/ 47 ??% ??% ??,?% 0 0
ds_fill_buffer: EOF reached (stream: audio) ###Again repeats 5 times

When using -nosound
loop_times = 0, eof = 1% ??,?% 0 0
ds_fill_buffer: EOF reached (stream: video) ###Just the one line
loop_times = 0, eof = 1% ??,?% 0 0
ds_fill_buffer: EOF reached (stream: video) ###Just the one line


I am using Ubuntu Intrepid(8.10) and MPlayer 1.0rc2-4.3.2