Opened 13 years ago

Last modified 13 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: no Analyzed by developer: no

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@… 13 years ago.
normal log
mplayer_r31324.log (30.1 KB ) - added by cosoleto@… 13 years ago.
buggy log
r32954.log (3.5 KB ) - added by cosoleto@… 13 years ago.
r32954 log
log_r32977 (12.1 KB ) - added by cosoleto@… 13 years ago.
r32977 log, -v

Download all attachments as: .zip

Change History (13)

by cosoleto@…, 13 years ago

Attachment: mplayer_r31323.log added

normal log

by cosoleto@…, 13 years ago

Attachment: mplayer_r31324.log added

buggy log

comment:1 by cosoleto@…, 13 years ago

comment:2 by cosoleto@…, 13 years ago

Cc: cosoleto@… added

comment:3 by cosoleto@…, 13 years ago

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

comment:4 by reimar, 13 years ago

Resolution: fixed
Status: newclosed

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.

by cosoleto@…, 13 years ago

Attachment: r32954.log added

r32954 log

comment:5 by cosoleto@…, 13 years ago

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

comment:6 by cosoleto@…, 13 years ago

Resolution: fixed
Status: closedreopened

reopen

comment:7 by reimar, 13 years ago

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

by cosoleto@…, 13 years ago

Attachment: log_r32977 added

r32977 log, -v

comment:8 by cosoleto@…, 13 years ago

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 by cosoleto@…, 13 years ago

attachments.mimetype: application/octet-streamtext/x-log
Note: See TracTickets for help on using tickets.