[FFmpeg-trac] #10757(avcodec:new): Commit "all: Don't set AVClass.item_name to its default value" breaks hls

FFmpeg trac at avcodec.org
Sun Dec 24 11:41:37 EET 2023


#10757: Commit "all: Don't set AVClass.item_name to its default value" breaks hls
-----------------------------------+---------------------------------------
             Reporter:  Mitzsch01  |                     Type:  defect
               Status:  new        |                 Priority:  normal
            Component:  avcodec    |                  Version:  unspecified
             Keywords:  HLS hls    |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+---------------------------------------
 After the commit "all: Don't set AVClass.item_name to its default value"
 hls streams are broken...

 When an hls stream is played in mpv (in my case through an application
 called Plex HTPC) the app crashes.
 With the commit
 (https://github.com/FFmpeg/FFmpeg/commit/0c6203c97a99f69dbaa6e4011d48c331e1111f5e)
 reverted everything is fine again.

 Log output:

 {{{
 [   8.674][w][ffmpeg] mime type is not rfc8216 compliant
 [   8.675][v][lavf] Found 'hls' at score=100 size=2048.
 [   8.678][d][ffmpeg] tcp: Starting connection attempt to xxx.xx.xx.153
 port 443
 [   8.684][d][ffmpeg] tcp: Successfully connected to xxx.xx.xx.153 port
 443
 [   9.528][v][ffmpeg/demuxer] hls: Skip ('#EXT-X-VERSION:3')
 [   9.528][v][ffmpeg/demuxer] hls: Opening
 'https://epg.provider.plex.tv/xxxxxxxxxxxxxxxx' for reading
 [   9.528][d][ffmpeg] tcp: Starting connection attempt to xxx.xx.xx.153
 port 443
 [   9.545][d][ffmpeg] tcp: Successfully connected to xxx.xx.xx.153 port
 443
 [  10.322][v][ffmpeg/demuxer] hls: Skip ('#EXT-X-VERSION:6')
 [  10.322][v][ffmpeg/demuxer] hls: Skip ('#EXT-X-DISCONTINUITY-
 SEQUENCE:0')
 [  10.322][v][ffmpeg/demuxer] hls: Skip ('#EXT-X-PROGRAM-DATE-
 TIME:2023-12-22T20:17:04.362320861Z')
 }}}


 Thanks! :)
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10757>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list