Opened 4 years ago

Closed 4 years ago

#4756 closed defect (invalid)

[ffplay] failed to stop playing encrypted m3u8 manifest when it's buffering

Reported by: remitamine Owned by:
Priority: normal Component: ffplay
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
when i play encrypted(EXT-X-KEY) m3u8 manifests with ffplay and stop the player when it's requesting for the a segment it keep asking for the rest of the segments untill the last segment the same happen in mpv but i think it's a ffmpeg bug.
the log is long and the only change is the number of the segment, i skipped the repeated part.
How to reproduce:

ffplay http://akmd.shahid.net/media/ak/2fda1d3fd7ab453cad983544e8ed70e4/b20cecd0a9314a34a4c2b2e57e35bc80/e203eaf1132345f4850afa2c5d229cba/bab_al_hara_s07_e01_vod.mpegts/playlist-07926345921010a59a1e26e8fa0af90d4bc1d74a.m3u8
ffplay version 2.7.2 Copyright (c) 2003-2015 the FFmpeg developers
  built with gcc 5.2.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-shared --enable-version3 --enable-x11grab
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 41.100 / 56. 41.100
  libavformat    56. 36.100 / 56. 36.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, hls,applehttp, from 'http://akmd.shahid.net/media/ak/2fda1d3fd7ab453cad983544e8ed70e4/b20cecd0a9314a34a4c2b2e57e35bc80/e203eaf1132345f4850afa2c5d229cba/bab_al_hara_s07_e01_vod.mpegts/playlist-07926345921010a59a1e26e8fa0af90d4bc1d74a.m3u8':
  Duration: 00:46:30.44, start: 9.953556, bitrate: 0 kb/s
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 190 kb/s
[crypto @ 0x7f174448b200] Unable to open resource: http://akmedia.shahid.net/media/2fda1d3fd7ab453cad983544e8ed70e4/b20cecd0a9314a34a4c2b2e57e35bc80/e203eaf1132345f4850afa2c5d229cba/bab_al_hara_s07_e01_vod.mpegts/playlist2.ts
[hls,applehttp @ 0x7f1744004ac0] Failed to open segment of playlist 0
[crypto @ 0x7f174448b200] Unable to open resource: http://akmedia.shahid.net/media/2fda1d3fd7ab453cad983544e8ed70e4/b20cecd0a9314a34a4c2b2e57e35bc80/e203eaf1132345f4850afa2c5d229cba/bab_al_hara_s07_e01_vod.mpegts/playlist3.ts
[hls,applehttp @ 0x7f1744004ac0] Failed to open segment of playlist 0
[crypto @ 0x7f174448b200] Unable to open resource: http://akmedia.shahid.net/media/2fda1d3fd7ab453cad983544e8ed70e4/b20cecd0a9314a34a4c2b2e57e35bc80/e203eaf1132345f4850afa2c5d229cba/bab_al_hara_s07_e01_vod.mpegts/playlist4.ts
[hls,applehttp @ 0x7f1744004ac0] Failed to open segment of playlist 0
...
[crypto @ 0x7f174448b200] Unable to open resource: http://akmedia.shahid.net/media/2fda1d3fd7ab453cad983544e8ed70e4/b20cecd0a9314a34a4c2b2e57e35bc80/e203eaf1132345f4850afa2c5d229cba/bab_al_hara_s07_e01_vod.mpegts/playlist276.ts
[hls,applehttp @ 0x7f1744004ac0] Failed to open segment of playlist 0
[crypto @ 0x7f174448b200] Unable to open resource: http://akmedia.shahid.net/media/2fda1d3fd7ab453cad983544e8ed70e4/b20cecd0a9314a34a4c2b2e57e35bc80/e203eaf1132345f4850afa2c5d229cba/bab_al_hara_s07_e01_vod.mpegts/playlist277.ts
[hls,applehttp @ 0x7f1744004ac0] Failed to open segment of playlist 0
[crypto @ 0x7f174448b200] Unable to open resource: http://akmedia.shahid.net/media/2fda1d3fd7ab453cad983544e8ed70e4/b20cecd0a9314a34a4c2b2e57e35bc80/e203eaf1132345f4850afa2c5d229cba/bab_al_hara_s07_e01_vod.mpegts/playlist278.ts
[hls,applehttp @ 0x7f1744004ac0] Failed to open segment of playlist 0
[mpegts @ 0x7f174403a240] PES packet size mismatch

Change History (4)

comment:1 Changed 4 years ago by cehoyos

Is this issue reproducible with current FFmpeg git head?
How do you stop FFplay?

comment:2 Changed 4 years ago by cehoyos

  • Priority changed from important to normal

comment:3 Changed 4 years ago by remitamine

i will compile it now from the master branch and test if it reproducible.
for stoping. in the video window i click on q key to stop the playback.

comment:4 Changed 4 years ago by remitamine

  • Resolution set to invalid
  • Status changed from new to closed
  • Version changed from 2.7 to git-master

i coudn't reproduce it.
sorry this the first time, next time i will try the git master branch before reporting any issue.

Note: See TracTickets for help on using tickets.