[FFmpeg-trac] #10353(avformat:closed): HLS Handling Error from Commit 6b1f68ccb04d791f0250e05687c346a99ff47ea1
FFmpeg
trac at avcodec.org
Fri Jun 30 18:09:03 EEST 2023
#10353: HLS Handling Error from Commit 6b1f68ccb04d791f0250e05687c346a99ff47ea1
-------------------------------------+-------------------------------------
Reporter: QFox | Owner: Michael
| Niedermayer
Type: defect | Status: closed
Priority: normal | Component: avformat
Version: git-master | Resolution: fixed
Keywords: hls | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by duckweed):
This commit broke a use case where I have an script that downloads a m3u8
file, removes the ad segments in the m3u8 file before passing it as a data
uri to mpv.
{{{
> ffprobe
mpegurl;base64,I0VYVE0zVQojRVhULVgtVkVSU0lPTjozCiNFWFQtWC1UQVJHRVREVVJBVElPTjozMAojRVhUSU5GOjMwLApodHRwczovL2Rvd25sb2FkLnNhbXBsZWxpYi5jb20vbXA0L3NhbXBsZS0zMHMubXA0
ffprobe version N-109961-gad17e29224 Copyright (c) 2007-2023 the FFmpeg
developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
configuration: --logfile=../ffmpeg.log --prefix=/opt/HOME/build/local
--pkg-config=/ucrt64/bin/pkgconf --enable-d3d11va --enable-dxva2 --enable-
fontconfig --enable-gmp --enable-gpl --enable-openssl --enable-nonfree
--enable-openal --enable-pic --enable-postproc --enable-runtime-cpudetect
--enable-shared --enable-swresample --enable-version3 --enable-zlib
--disable-debug --disable-static --disable-doc --enable-libaom --enable-
libass --enable-libbluray --enable-libcaca --enable-libcelt --enable-
libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libspeex --enable-libsrt
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265
--enable-libxvid --enable-libvpx --enable-libwebp --enable-libxml2
--enable-libfribidi --enable-librsvg --enable-librubberband --enable-
libsoxr --enable-libzimg
libavutil 58. 3.100 / 58. 3.100
libavcodec 60. 6.100 / 60. 6.100
libavformat 60. 4.100 / 60. 4.100
libavdevice 60. 2.100 / 60. 2.100
libavfilter 9. 4.100 / 9. 4.100
libswscale 7. 2.100 / 7. 2.100
libswresample 4. 11.100 / 4. 11.100
libpostproc 57. 2.100 / 57. 2.100
[hls @ 00000185a83ff680] Skip ('#EXT-X-VERSION:3')
[hls @ 00000185a83ff680] Opening 'https://download.samplelib.com/mp4
/sample-30s.mp4' for reading
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000185a84265c0] stream 0, offset 0x30:
partial file
[hls @ 00000185a83ff680] Could not find codec parameters for stream 0
(Video: h264 (avc1 / 0x31637661), none, 1920x1080, 5569 kb/s): unspecified
pixel format
Consider increasing the value for the 'analyzeduration' (0) and
'probesize' (5000000) options
Input #0, hls, from
'data:application/x-mpegurl;base64,I0VYVE0zVQojRVhULVgtVkVSU0lPTjozCiNFWFQtWC1UQVJHRVREVVJBVElPTjozMAojRVhUSU5GOjMwLApodHRwczovL2Rvd25sb2FkLnNhbXBsZWxpYi5jb20vbXA0L3NhbXBsZS0zMHMubXA0':
Duration: N/A, bitrate: 5696 kb/s
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Video: h264 (avc1 / 0x31637661), none, 1920x1080, 5569
kb/s, 7680 tbr, 15360 tbn (default)
Metadata:
variant_bitrate : 0
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.44.100
Stream #0:1: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 126
kb/s (default)
Metadata:
variant_bitrate : 0
}}}
{{{
> ffprobe
mpegurl;base64,I0VYVE0zVQojRVhULVgtVkVSU0lPTjozCiNFWFQtWC1UQVJHRVREVVJBVElPTjozMAojRVhUSU5GOjMwLApodHRwczovL2Rvd25sb2FkLnNhbXBsZWxpYi5jb20vbXA0L3NhbXBsZS0zMHMubXA0
ffprobe version N-111282-g6ff95758e6 Copyright (c) 2007-2023 the FFmpeg
developers
built with clang version 16.0.5
configuration: --logfile=../ffmpeg.log --prefix=/opt/HOME/build/local
--cc=/ucrt64/bin/clang --pkg-config= --windres=/usr/bin/windres --enable-
d3d11va --enable-dxva2 --enable-fontconfig --enable-gmp --enable-gpl
--enable-openssl --enable-nonfree --enable-openal --enable-pic --enable-
postproc --enable-runtime-cpudetect --enable-shared --enable-swresample
--enable-version3 --enable-zlib --disable-debug --disable-static
--disable-doc --enable-libaom --enable-libass --enable-libbluray --enable-
libcaca --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-
libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-
libopenjpeg --enable-libopus --enable-librtmp --enable-libspeex --enable-
libsrt --enable-libtheora --enable-libvorbis --enable-libx264 --enable-
libx265 --enable-libxvid --enable-libvpx --enable-libwebp --enable-libxml2
--enable-libfribidi --enable-librsvg --enable-librubberband --enable-
libsoxr --enable-libzimg
libavutil 58. 13.101 / 58. 13.101
libavcodec 60. 21.100 / 60. 21.100
libavformat 60. 9.100 / 60. 9.100
libavdevice 60. 2.100 / 60. 2.100
libavfilter 9. 8.102 / 9. 8.102
libswscale 7. 3.100 / 7. 3.100
libswresample 4. 11.100 / 4. 11.100
libpostproc 57. 2.100 / 57. 2.100
Not detecting m3u8/hls with non standard extension and non standard mime
type
Last message repeated 9 times
data:application/x-mpegurl;base64,I0VYVE0zVQojRVhULVgtVkVSU0lPTjozCiNFWFQtWC1UQVJHRVREVVJBVElPTjozMAojRVhUSU5GOjMwLApodHRwczovL2Rvd25sb2FkLnNhbXBsZWxpYi5jb20vbXA0L3NhbXBsZS0zMHMubXA0:
Invalid data found when processing input
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10353#comment:28>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list