[FFmpeg-user] How to hls without DTS error

Hisli Termos hislitermos at hotmail.com
Wed Oct 17 20:46:42 EEST 2018

Objective: Hls stream (without transcode) of media files inside a directory
OS: Ubuntu 18.04 bionic
FFmpeg version:
[CODE]ffmpeg version N-92190-gb2adc31 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.3.0-27ubuntu1~18.04)
  configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-vaapi --enable-libx264 --enable-libx265 --enable-nonfree
Input: Multiple mp4 files with different dar,sar values
Output: Http - HLS
Codecs: Copy (video,audio,data)
Problem: When first video is come to an end, stream stops due to position of I frame etc.
I do not wish to choose transcode commands as it's cpu and time consuming process.
Would you please let me know what you recommend? May I accomplish this in ffmpeg?


More information about the ffmpeg-user mailing list