Opened 14 years ago
Last modified 14 years ago
#1841 reopened defect
[Regression] MPlayer r31324 stops playing network streams after pausing a few of minutes (lavf demuxer)
Reported by: | 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)
Change History (13)
by , 14 years ago
Attachment: | mplayer_r31323.log added |
---|
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Cc: | added |
---|
comment:3 by , 14 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 , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → 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.
comment:5 by , 14 years ago
Thanks for taking care of this bug. Unfortunately it doesn't look fixed yet (r32954).
comment:7 by , 14 years ago
Please try again with 32977, the previous approach wasn't really reliable (basically it mostly only worked with -nocache).
comment:8 by , 14 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 , 14 years ago
attachments.mimetype: | application/octet-stream → text/x-log |
---|
normal log