Opened 5 months ago

Closed 5 months ago

#10757 closed defect (fixed)

Commit "all: Don't set AVClass.item_name to its default value" breaks hls

Reported by: Mitzsch01 Owned by:
Priority: normal Component: avcodec
Version: unspecified Keywords: HLS hls
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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! :)

Change History (2)

comment:2 by Mitzsch01, 5 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.