[FFmpeg-user] Mkv to HLS

Gustavo Trigueiros gustavo_trigueiros at hotmail.com
Mon Mar 23 22:05:48 EET 2020

Hi, i´m new to ffmpeg and i have a question on how to convert an mkv file to hls (packets) ?

I have a mkv containing
a) Video in mp4 format (encoded with h264). 29.970 fps
b) 2 or more audio tracks (encoded as mp3 format)
c) 2 or more subtitles (built with srt or WebVTT format)

I would like to create a playlist in m3u8 containing several small pieces of .ts file that can allow me to stream the video and all it´s multiple audio and multiple subtitles. And all of the different audio and suubtitles mus be stored on their own directories

I tried to follow the commands here : https://kipalog.com/posts/FFMPEG-HLS-ST ... -SUBTITLES<https://kipalog.com/posts/FFMPEG-HLS-STREAM-MULTIPLE-AUDIO-SUBTITLES>
and here: https://www.martin-riedl.de/2018/08/

But i didn´t succeed to make it work.

Can someone help me doing this ? The goal is use a mkv containing the one video and multiple audio and subtitles on the specified formats to be streamed after i upload them on my server.

Thnks in advance

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Dennis Mungai<mailto:dmngaie at gmail.com>
Sent: Monday, March 23, 2020 5:03 PM
To: FFmpeg user questions<mailto:ffmpeg-user at ffmpeg.org>
Subject: Re: [FFmpeg-user] NVENC with transparency

On Mon, 23 Mar 2020 at 21:06, Joshua Grauman <jnfo-c at grauman.com> wrote:

> Hi all,
> I have a GeForce GT 1030/PCIe/SSE2 that supports NVENC and I have ffmpeg
> compiled with nvenc support.
> ./ffmpeg -encoders 2>/dev/null | grep nvenc
>   V..... h264_nvenc           NVIDIA NVENC H.264 encoder (codec h264)
>   V..... nvenc                NVIDIA NVENC H.264 encoder (codec h264)
>   V..... nvenc_h264           NVIDIA NVENC H.264 encoder (codec h264)
>   V..... nvenc_hevc           NVIDIA NVENC hevc encoder (codec hevc)
>   V..... hevc_nvenc           NVIDIA NVENC hevc encoder (codec hevc)
> Am I correct that nvenc could never help accelerate the following command
> and that it can only help encode h264/h265?
> ffmpeg -f rawvideo -pixel_format bgra -video_size $SIZE -framerate $2 -i -
> -vcodec utvideo $1.avi
> Secondarily, is there any way to get h264/h265 to encode with transparency
> (or any way to get the nvenc encoder to encode a video with transparency
> at all)? Thanks!

The GT 1030 does not support NVENC.

ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list