Opened 8 years ago

Last modified 8 years ago

#1841 reopened defect

[Regression] MPlayer r31324 stops playing network streams after pausing a few of minutes (lavf demuxer)

Reported by: cosoleto@… Owned by: reimar
Priority: normal Component: demuxer
Version: unspecified Severity: normal
Keywords: Cc: cosoleto@…
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

I can reproduce this problem always following these steps:

1) mplayer http://address.org/file.mp4
2) PAUSE (5 minutes)
3) PLAY

and MPlayer will stop playing quickly.

This change introduced the bug:


r31324 | reimar | 2010-06-05 18:00:49 +0200(sab, 05 giu 2010) | 3 lines
Percorsi cambiati:

M /trunk/libmpdemux/demux_lavf.c

Di not do a stream_reset on seeking backwards, the seek itself should
do whatever is best/necessary, this method will just drop cached data.


Logs attached.

Attachments (4)

mplayer_r31323.log (224.8 KB) - added by cosoleto@… 8 years ago.
normal log
mplayer_r31324.log (30.1 KB) - added by cosoleto@… 8 years ago.
buggy log
r32954.log (3.5 KB) - added by cosoleto@… 8 years ago.
r32954 log
log_r32977 (12.1 KB) - added by cosoleto@… 8 years ago.
r32977 log, -v

Download all attachments as: .zip

Change History (13)

Changed 8 years ago by cosoleto@…

normal log

Changed 8 years ago by cosoleto@…

buggy log

comment:1 Changed 8 years ago by cosoleto@…

comment:2 Changed 8 years ago by cosoleto@…

  • Cc cosoleto@… added

comment:3 Changed 8 years ago by cosoleto@…

  • Summary changed from [Regression] MPlayer r31324/HEAD stops playing after pause on stream (lavf demuxer) to [Regression] MPlayer r31324 stops playing network streams after pausing a few of minutes (lavf demuxer)

comment:4 Changed 8 years ago by reimar

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

This worked before only out of pure luck (and wasted a huge amount of network bandwidth), if you had been playing e.g. a MPEG-TS file it would never have worked.
Anyway this should be implemented (closer to) properly in SVN r32954.

Changed 8 years ago by cosoleto@…

r32954 log

comment:5 Changed 8 years ago by cosoleto@…

Thanks for taking care of this bug. Unfortunately it doesn't look fixed yet (r32954).

comment:6 Changed 8 years ago by cosoleto@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

reopen

comment:7 Changed 8 years ago by reimar

Please try again with 32977, the previous approach wasn't really reliable (basically it mostly only worked with -nocache).

Changed 8 years ago by cosoleto@…

r32977 log, -v

comment:8 Changed 8 years ago by cosoleto@…

It works now. There is only a little side effect in the initial phase: mplayer prints a dozen of "nop_streaming_read error : Bad file descriptor" warning after an unnecessary HTTP GET request to the server that returns with a "Request Range Not Satisfiable" error. Log attached.

comment:9 Changed 8 years ago by cosoleto@…

  • attachments.mimetype changed from application/octet-stream to text/x-log
Note: See TracTickets for help on using tickets.