Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2024-05-16 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:  (none)
 Type:  defect  |   Status:  open
 Priority:  important   |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+
Comment (by Elliot Lee):

 There are some relevant comments in https://github.com/jellyfin/jellyfin-
 ffmpeg/issues/57

 In particular:
 (a) "One of the major issues is that RFC-8216 is not fully supported in
 FFMPEG

 https://datatracker.ietf.org/doc/html/rfc8216

 #EXT-X-DISCONTINUITY is just one of the things from RFC-8216 that isn't
 supported properly in FFMPEG.
 #EXT-X-DISCONTINUITY-SEQUENCE is also not supported properly either.

 Just look through the RFC and you still see things missing from FFMPEG."
 (github user Protektor-Desura)

 (b) "Now, when it comes to supporting certain TV providers like Pluto,
 simply supporting discontinuity streams is not enough. This is because
 streams from providers like Pluto often break the HLS RFC spec in various
 ways, and a spec-compliant HLS demuxer would reject these streams as well.

 To illustrate, proper support for the #EXT-X-DISCONTINUITY tag requires
 the HLS stream to have an EXT-X-DISCONTINUITY-SEQUENCE header to mark
 which discontinuity sequence the current playlist is in. However, PlutoTV
 manifests may have inconsistent numbers between updates, with values
 jumping from 2 to 0 or 1. According to the RFC, a decreasing number is not
 allowed." (github user gnattu)

 So it seems there is more to untangling this whole ball of yarn than just
 applying the old patch.
-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2024-01-17 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:  (none)
 Type:  defect  |   Status:  open
 Priority:  important   |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+
Comment (by adamvaul):

 I also am working on this issue and would be very grateful for any help in
 getting ffmpeg to recognize and properly output from .m3u8 with
 EXT-X-DISCONTINUITY tags into rtmp.

 We are currently using this command to output to youtube stream:

 ffmpeg -re -protocol_whitelist file,http,https,tcp,tls,crypto
 -live_start_index -9 -i out.m3u8 -acodec copy -vcodec copy -f flv
 "rtmp://a.rtmp.youtube.com/live2/..."
-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2023-02-16 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:  (none)
 Type:  defect  |   Status:  open
 Priority:  important   |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+
Changes (by Sergey):

 * priority:  normal => important

Comment:

 Dear Balling,

 LGTM patch was applied, please help solve this problem!

 thank you
-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2022-02-06 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:  (none)
 Type:  defect  |   Status:  open
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+
Comment (by Balling):

 We need to first apply this LGTM patch
 
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20220128202320.1711694-1-gustav.grus...@gmail.com/

 to even start talking about this issue.
-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2022-02-06 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:  (none)
 Type:  defect  |   Status:  open
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+
Comment (by mrskman):

 I sign this petition +1
-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2021-12-03 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:  (none)
 Type:  defect  |   Status:  open
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+
Comment (by emkowale):

 Could someone please provide instructions on exactly how to apply the
 patch? It sure would be great if this was included in the packaged version
 of ffmpeg.
-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2021-06-23 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:  (none)
 Type:  defect  |   Status:  open
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+
Comment (by luckysk):

 It seems to be on the 2021 petition list, I guess,
 btw,can we at least try to merge some of the above mentioned improved
 patches?
-- 
Ticket URL: 
FFmpeg 
FFmpeg issue tracker___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2021-04-16 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:
 Type:  defect  |   Status:  open
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+

Comment (by hls_downloader):

 When will the patch be finally merged? Stop ignoring the issue please!

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2020-05-04 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:
 Type:  defect  |   Status:  open
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+

Comment (by bhertz):

 Replying to [comment:21 jkoberg]:
 > I have a patch fixing this bug at http://ffmpeg.org/pipermail/ffmpeg-
 devel/2018-March/226706.html

 Thanks for the patch from a user. Had the same problem with an internet
 stream, which issued a series of EXT-X-DISCONTINUITY tags from time to
 time thus making ffmpeg croak ("Non-monotonous DTS in output stream"
 aplenty, finally it stopped producing output). Your patch fixes that,
 partly.

 Partly because vlc, with which I relay the stream on LAN, still
 occasionally complains about timestamps upon remuxing. But now it at least
 recovers autonomously, and no restart is required. Which I previously had
 to do every two hours or so.

 So the patch is of real benefit here, and I specifically registered on
 this site to convey my appreciation.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2020-02-27 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:
 Type:  defect  |   Status:  open
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+

Comment (by Balling):

 Replying to [comment:21 jkoberg]:
 > I have a patch fixing this bug at http://ffmpeg.org/pipermail/ffmpeg-
 devel/2018-March/226706.html
 >
 > Please let me know if it's suitable for merge.
 >
 > Thanks!
 >
 Please resubmit this http://ffmpeg.org/pipermail/ffmpeg-
 devel/attachments/20180316/739542e4/attachment.obj so it will be shown on
 https://patchwork.ffmpeg.org

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2020-02-27 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:
 Type:  defect  |   Status:  open
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+

Comment (by hedgehog90):

 What is the current status of this bug?

 Is there a hacky way around it in ffmpeg version 4.2.2 ?

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2018-05-16 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:
 Type:  defect  |   Status:  open
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+

Comment (by jkoberg):

 I have a patch fixing this bug at http://ffmpeg.org/pipermail/ffmpeg-
 devel/2018-March/226706.html

 Please let me know if it's suitable for merge.

 Thanks!

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2018-04-25 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:
 Type:  defect  |   Status:  open
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+

Comment (by boehmi):

 Any plans on fixing this bug? I'm encountering it too with a self-written
 playlist as input that switches between two sources with
 EXT-X-DISCONTINUITY depending on availability.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2017-08-12 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:
 Type:  defect  |   Status:  open
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+

Comment (by moraleda):

 What is the current state of this bug? Are there plans to add support for
 the EXT-X-DISCONTINUITY tag? I am trying to produce a summary version of a
 playlist by removing some segments from a continuous playlist and adding
 EXT-X-DISCONTINUITY tags in the place of the removed segments, but the
 player does not realize the jump in pts and just sits showing the last
 frame for the duration of the removed segments. Thank you.

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2017-02-28 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:
 Type:  defect  |   Status:  open
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+

Comment (by Sylvain228):

 Here is a 24x7 linear test stream with frequent discontinuities.
 No solution found to manage discontinuities until now
 https://www.djing.com/tv/live.m3u8

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac


Re: [FFmpeg-trac] #5419(avformat:open): HLS EXT-X-DISCONTINUITY tag is not supported

2017-02-04 Thread FFmpeg
#5419: HLS EXT-X-DISCONTINUITY tag is not supported
+
 Reporter:  xyq204101   |Owner:
 Type:  defect  |   Status:  open
 Priority:  normal  |Component:  avformat
  Version:  git-master  |   Resolution:
 Keywords:  hls |   Blocked By:
 Blocking:  |  Reproduced by developer:  1
Analyzed by developer:  1   |
+
Changes (by cehoyos):

 * status:  new => open


Comment:

 A real-world stream that allows to reproduce this was posted on the
 youtube-dl bug tracker.
 The following works as expected, playback continues after the
 discontinuity that can be seen in the status line after ten seconds:
 {{{
 $ ffplay -ss 120 http://ipad-
 
streaming.cbsnews.com/media/mpx/2016/12/11/830443587743/60_1211_FullEpisode_1199010_5000/60_1211_FullEpisode_1199010_5000.m3u8
 }}}
 The following produces only ten seconds output, I stopped transcoding
 after no frames were written for several seconds, output continues after
 some time but shows horrible A/V desync:
 {{{
 $ ffmpeg -ss 120 -i http://ipad-
 
streaming.cbsnews.com/media/mpx/2016/12/11/830443587743/60_1211_FullEpisode_1199010_5000/60_1211_FullEpisode_1199010_5000.m3u8
 -qscale 2 out.avi
 ffmpeg version N-83412-g8b80feb Copyright (c) 2000-2017 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil  55. 46.100 / 55. 46.100
   libavcodec 57. 75.100 / 57. 75.100
   libavformat57. 66.101 / 57. 66.101
   libavdevice57.  2.100 / 57.  2.100
   libavfilter 6. 72.100 /  6. 72.100
   libswscale  4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc54.  2.100 / 54.  2.100
 Input #0, hls,applehttp, from 'http://ipad-
 
streaming.cbsnews.com/media/mpx/2016/12/11/830443587743/60_1211_FullEpisode_1199010_5000/60_1211_FullEpisode_1199010_5000.m3u8':
   Duration: 00:43:55.58, start: 1.40, bitrate: 0 kb/s
   Program 0
 Metadata:
   variant_bitrate : 0
 Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p,
 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
 Metadata:
   variant_bitrate : 0
 Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz,
 stereo, fltp
 Metadata:
   variant_bitrate : 0
 Please use -q:a or -q:v, -qscale is ambiguous
 Output #0, avi, to 'out.avi':
   Metadata:
 ISFT: Lavf57.66.101
 Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080 [SAR
 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
 Metadata:
   variant_bitrate : 0
   encoder : Lavc57.75.100 mpeg4
 Side data:
   cpb: bitrate max/min/avg: 0/0/20 buffer size: 0 vbv_delay: -1
 Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, stereo, fltp,
 192 kb/s
 Metadata:
   variant_bitrate : 0
   encoder : Lavc57.75.100 ac3
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
   Stream #0:1 -> #0:1 (aac (native) -> ac3 (native))
 Press [q] to stop, [?] for help
 frame=  328 fps= 16 q=2.0 Lsize=7911kB time=00:00:11.14
 bitrate=5815.0kbits/s speed=0.538x
 video:7629kB audio:256kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.318705%
 }}}
 The issue also manifests itself for the following command line, that
 produces output starting 140 seconds after the discontinuity:
 {{{
 $ ffmpeg -ss 140 -i http://ipad-
 
streaming.cbsnews.com/media/mpx/2016/12/11/830443587743/60_1211_FullEpisode_1199010_5000/60_1211_FullEpisode_1199010_5000.m3u8
 -qscale 2 out.avi
 }}}

--
Ticket URL: 
FFmpeg 
FFmpeg issue tracker
___
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac