NVENC with transparency

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

NVENC with transparency

Joshua Grauman
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!

Josh
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: NVENC with transparency

Carl Eugen Hoyos-2
Am Mo., 23. März 2020 um 19:06 Uhr schrieb Joshua Grauman <[hidden email]>:

> 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?

Yes.

> 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!

It was defined but never implemented.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: NVENC with transparency

Brainiarc7
In reply to this post by Joshua Grauman
On Mon, 23 Mar 2020 at 21:06, Joshua Grauman <[hidden email]> 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
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Mkv to HLS

Gustavo Trigueiros
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
Guga

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

From: Dennis Mungai<mailto:[hidden email]>
Sent: Monday, March 23, 2020 5:03 PM
To: FFmpeg user questions<mailto:[hidden email]>
Subject: Re: [FFmpeg-user] NVENC with transparency

On Mon, 23 Mar 2020 at 21:06, Joshua Grauman <[hidden email]> 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
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".