[FFmpeg-trac] #8037(avformat:open): Incorrect HLS segment duration after 64350th frame with -hls_init_time
FFmpeg
trac at avcodec.org
Sat Jul 27 23:37:59 EEST 2019
#8037: Incorrect HLS segment duration after 64350th frame with -hls_init_time
-------------------------------------+-------------------------------------
Reporter: DusanBrejka | Owner: stevenliu
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: hls mpegts | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by DusanBrejka):
That's what I did but this patch didn't solve the problem.
Could you please build ffmpeg with more complex setup instead?
{{{
mkdir ffmepg && cd fmpeg
git clone https://github.com/FFmpeg/FFmpeg.git .
wget -O p14065.patch https://patchwork.ffmpeg.org/patch/14065/raw/
patch -p0 -u < p14065.patch
# selected the right file
git diff
# confirmed that the patch was applied properly
./configure --enable-gpl --disable-stripping --enable-avresample
--disable-filter=resample --enable-avisynth --enable-gnutls --enable-
ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libcaca
--enable-libcdio --enable-libcodec2 --enable-libfontconfig --enable-
libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-
libjack --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt
--enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband
--enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex
--enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265
--enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi
--enable-lv2 --enable-openal --enable-opengl --enable-sdl2 --enable-
nonfree --enable-libfdk-aac --enable-libdrm --enable-chromaprint --enable-
frei0r --enable-libx264 --enable-shared
make
mkdir hls
./ffmpeg -v quiet -report -f lavfi -i
testsrc=size=5x5:rate=30:duration=2200 -g 30 -f hls -hls_time 4
-hls_init_time 1 -start_number 540 -hls_segment_filename "hls/%03d.ts"
-t 2160 "hls/master.m3u8"
}}}
I tried this again on newly deployed fresh AWS EC2 instance with the very
same outcome.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8037#comment:13>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list