Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#1664 closed defect (fixed)

mplayer freezes while playingback a theora video file

Reported by: brot+mplayerbugzilla@… Owned by: r_togni@…
Priority: normal Component: vd
Version: HEAD Severity: normal
Keywords: Cc: timo.lindfors@…
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:


I used ffmpeg2theora to reencode an mpeg2 video with theora. When i try to play the resulting file with mplayer, the video always freezes at the same position. However, the same file plays fine with vlc and the xine-based kaffeine.

The oggz-validate tool says the file is fine. I asked in the #theora irc channel and they said:

<bemasc> so, using oggz-dump <file> | grep serialno
<bemasc> I see that the point at which mplayer stops is the point at which there are zero-byte packets
<bemasc> and then immediately following is
<bemasc> serialno 1185899114, granulepos 1777|0, packetno 304: 101.547 kB
<brot> so that means that mplayer doesnt handle zero-byte packets right?
<bemasc> maybe
<bemasc> oggz-dump says
<bemasc> 00:01:10.880: serialno 1185899114, calc. gpos 1773|0, packetno 300: 304 bytes
<bemasc> 00:01:10.920: serialno 1185899114, granulepos 1773|1, packetno 301: 0 bytes
<bemasc> 00:01:10.960: serialno 1185899114, calc. gpos 1773|2, packetno 302: 0 bytes
<bemasc> 00:01:11.000: serialno 1185899114, granulepos 1773|3, packetno 303: 0 bytes
<bemasc> I believe the changing between "granulepos" and "calc. granpos" indicates that there's a whole page with only zero byte packets
<bemasc> which could be the special case mplayer can't handle

I used oggz-chop to extract the position. The file can be found here:

Change History (2)

comment:1 Changed 10 years ago by reimar

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by SVN r30878 and 30879.

comment:2 Changed 9 years ago by timo.lindfors@…

  • Cc timo.lindfors@… added

Sorry for the delay, I can now confirm that the bug has been fixed. (Tested with mplayer 2:1.0~rc4.dfsg1-1 that just entered debian unstable amd64 recently.)

Note: See TracTickets for help on using tickets.