[FFmpeg-trac] #6541(avformat:new): HLS fMP4 Bug
FFmpeg
trac at avcodec.org
Wed Jul 19 15:34:02 EEST 2017
#6541: HLS fMP4 Bug
----------------------------------+--------------------------------------
Reporter: JohnPi | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-master
Keywords: Fmp4 HLS | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
Hi,
When i try to use "-hls_segment_type fmp4" , ffmpeg detect the option but
continue to encode in .ts file,the headers are good but the segments
aren't in .m4s.
Did i did something wrong ?
Thank you by advance :)
There is the command :
{{{
" ./ffmpeg -y -loglevel debug -re -i
"udp://239.192.0.1:1234?fifo_size=5000000&overrun_nonfatal=1" -c:v mpeg4
-hls_segment_type fmp4 -hls_fmp4_init_filename test.mp4
/var/www/HLS/A.m3u8 "
}}}
and there is the m3u8 playlist :
{{{
"#EXTM3U
#EXT-X-VERSION:7
#EXT-X-TARGETDURATION:3
#EXT-X-MEDIA-SEQUENCE:12
#EXT-X-MAP:URI="test.mp4"
#EXTINF:1.920000,
A12.ts
#EXTINF:1.920000,
A13.ts
#EXTINF:2.240000,
A14.ts
#EXTINF:1.920000,
A15.ts
#EXTINF:1.920000,
A16.ts "
}}}
and there is the ffmpeg -version :
{{{
ffmpeg version N-86789-g4c1aac8 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 6.4.0 (Debian 6.4.0-1) 20170704
configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
--extra-cflags=-I/root/ffmpeg_build/include --extra-
ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-
libass --enable-libfdk-aac --enable-libfreetype --enable-vaapi --enable-
vdpau --enable-libx264 --enable-nvenc --enable-cuvid --enable-nonfree
libavutil 55. 67.100 / 55. 67.100
libavcodec 57.100.104 / 57.100.104
libavformat 57. 75.100 / 57. 75.100
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 95.100 / 6. 95.100
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6541>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list