[FFmpeg-trac] #9193(undetermined:new): Invalid initialization segment with HLS FMP4 encoder
FFmpeg
trac at avcodec.org
Tue May 4 16:20:58 EEST 2021
#9193: Invalid initialization segment with HLS FMP4 encoder
-------------------------------------+-------------------------------------
Reporter: Jason | Owner: (none)
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: hls | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by steffend):
Reverting
https://github.com/FFmpeg/FFmpeg/commit/b5ca8f2c66954614d81579082025f580efc0cffc
(coming from https://trac.ffmpeg.org/ticket/8636) fixes this issue for me.
Possibly fixes the other issue (https://trac.ffmpeg.org/ticket/9205) too.
You can try this with a simple
{{{
git revert b5ca8f2c66954614d81579082025f580efc0cffc
}}}
on the latest master branch.
I've come across this when trying to play an HLS-fmp4 stream generated
with the latest FFmpeg using ffplay:
{{{
ffplay version 4.4 Copyright (c) 2003-2021 the FFmpeg developers
built with Apple clang version 12.0.0 (clang-1200.0.32.29)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.4_1 --enable-shared
--enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-
cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl
--enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame
--enable-libopus --enable-librav1e --enable-librubberband --enable-
libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora
--enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid
--enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r
--enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq
--enable-libzimg --disable-libjack --disable-indev=jack --enable-
videotoolbox
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[hls @ 0x7fc42d05f600] Skip ('#EXT-X-VERSION:7')
[hls @ 0x7fc42d05f600] Opening '7858485ed5a3afab23523f6de39a215e-1.mp4'
for reading
[hls @ 0x7fc42d05f600] Opening '7858485ed5a3afab23523f6de39a215e0.mp4' for
reading
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc42d80c200] invalid size 0 in stsd
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc42d80c200] error reading header
main.m3u8: Invalid data found when processing input
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9193#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list