[FFmpeg-user] Overlaying subtitles using overlay_cuda filter

2022-01-16 Thread Andy Sheimo
Using the following command with ffmpeg: ffmpeg -loglevel debug -stats -ss 0 -t 5187.893 -hwaccel cuda -hwaccel_output_format cuda -i .mkv -filter_complex [0:0][0:4]overlay_cuda[v] -map [v] -c:v hevc_nvenc -b:v 4000k -maxrate:v 12000k -bufsize:v 12000k -color_primaries:v bt709 -color_trc:v bt709 -

[FFmpeg-user] error during conversion

2020-12-11 Thread Andy Sheimo
Trying to transcode a file and perform a pixel conversion from 8 to 10 bit. The transcode errors with Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scaler_0' Error reinitializing filters! Failed to inject frame into filter network: Function n

Re: [FFmpeg-user] Compilation Guide / MSVC on Wiki

2020-12-02 Thread Andy Sheimo
Adding on to what Gyan stated, if you really want to build your own there are several projects on github that work well and could help you further your education. https://github.com/rdp/ffmpeg-windows-build-helpers https://github.com/m-ab-s/media-autobuild_suite good luck ___

Re: [FFmpeg-user] Uninstalling ffmpeg

2020-12-02 Thread Andy Sheimo
> > > i just don't get the stupidity of the OP which can be solved by a little > child within 2 minutes of thinking in case of a slow brain > > having a static binary somewhere is a no-brainer - period > Actually having a static binary is not a no brainer. I know that I use a static binary and I c

[FFmpeg-user] HW 8bit to 10bit conversion

2020-11-22 Thread Andy Sheimo
Is it possible in a full hardware pipeline i.e. -hwaccel either nvidia or intel(qsv) to convert a video from 8bit to 10bit. Currently we get errors: Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scaler_0' Error reinitializing filters! Failed

[FFmpeg-user] Fwd: Yadif_cuda and Pix_fmt

2020-09-14 Thread Andy Sheimo
I sent this message a couple times with zero response. Is there anyone that can help with using NVDEC for decoding, converting 8bit to 10bit on the GPU, then using NVENC to encode the video? If I understand correctly, you want to first convert to 10 bit and then > upload > to cuda (and nvenc).

Re: [FFmpeg-user] Yadif_cuda and Pix_fmt

2020-08-31 Thread Andy Sheimo
If I understand correctly, you want to first convert to 10 bit and then > upload > to cuda (and nvenc). I am trying to keep the transcode completely on the GPU using CUDA to decode then NVENC to encode, avoiding sending the data to the cpu and back again. > The "pix_fmt" option will try to con

Re: [FFmpeg-user] Yadif_cuda and Pix_fmt

2020-08-25 Thread Andy Sheimo
> > If I understand correctly, you want to first convert to 10 bit and then > upload > to cuda (and nvenc). I am trying to keep the transcode completely on the GPU using CUDA to decode then NVENC to encode, avoiding sending the data to the cpu and back again. > The "pix_fmt" option will try to

Re: [FFmpeg-user] Yadif_cuda and Pix_fmt

2020-08-25 Thread Andy Sheimo
Apologies for forgetting the command and output ffmpeg -loglevel debug -stats -hwaccel cuda -i "F:\\Remuxed\\Robin Hood Special Edition 2013\\Oo-de-lally Disney Sing-Along Song-featurette.mkv" -map 0:0 -filter:v "yadif_cuda=deint=interlaced" -c:v hevc_nvenc -pix_fmt:v p010le -b:v 1500k -maxrate:v

[FFmpeg-user] Yadif_cuda and Pix_fmt

2020-08-24 Thread Andy Sheimo
I'm trying to use yadif_cuda during a transcode along with converting from 8bit to 10bit. The process errors out: Impossible to convert between the formats supported by the filter 'Parsed_yadif_cuda_0' and the filter 'auto_scaler_0' Error reinitializing filters! Failed to inject frame into filter

Re: [FFmpeg-user] question about fps filter

2020-05-27 Thread Andy Sheimo
The output file is how I noticed the issue it was reporting original frame rate as 24000/1001 and current frame rate as 3/1001. On Wed, May 27, 2020 at 1:43 AM Edward Park wrote: > Hi, > > I found this in the debug output and am not sure why it sees what was > > passed by the command line bu

Re: [FFmpeg-user] question about fps filter

2020-05-26 Thread Andy Sheimo
Thanks for the info Moritz that is helpful to me. I'll keep looking at things and see if my issue goes away in the next couple weeks. -Andy On Tue, May 26, 2020 at 2:27 AM Moritz Barsnick wrote: > Hi Andy, > > On Mon, May 25, 2020 at 20:43:03 -0400, Andy Sheimo wrote: > >

Re: [FFmpeg-user] question about fps filter

2020-05-25 Thread Andy Sheimo
How can I check if this version contains the changes you reference? On Fri, May 22, 2020 at 9:07 PM Andy Sheimo wrote: > using this version created today using > https://github.com/rdp/ffmpeg-windows-build-helpers > > ffmpeg.exe -version > ffmpeg version N-97877-g1e8ed181e3-ffmpe

Re: [FFmpeg-user] yadif-cuda issues

2020-05-23 Thread Andy Sheimo
Thanks for looking into this. On Sat, May 23, 2020 at 12:12 AM Kyle Schwarz wrote: > I worked with Rodger to address this, and it's been resolved in his > patch 'compat/cuda/ptx2c: fix BSD sed compatibility' > > It's sitting in the devel list, but hopefully it'll be committed soon > to fix this.

Re: [FFmpeg-user] question about fps filter

2020-05-22 Thread Andy Sheimo
gai wrote: > On Sat, 23 May 2020 at 01:07, Andy Sheimo wrote: > > > I am using the command line seen here but the fps filter is being > ignored. > > > > ffmpeg.exe -loglevel debug -stats -hwaccel cuda -hwaccel_output_format > cuda > > -i "Evanescence - Anywh

[FFmpeg-user] question about fps filter

2020-05-22 Thread Andy Sheimo
I am using the command line seen here but the fps filter is being ignored. ffmpeg.exe -loglevel debug -stats -hwaccel cuda -hwaccel_output_format cuda -i "Evanescence - Anywhere but Home.mkv" -map 0:0 -filter:v yadif_cuda=deint=interlaced,fps=24000/1001 -c:v h264_nvenc -b:v 2000k -maxrate:v 6000k

Re: [FFmpeg-user] yadif-cuda issues

2020-05-22 Thread Andy Sheimo
I've been trying those scripts and been getting errors which I have a ticket open on. On Fri, May 22, 2020 at 11:43 AM Kyle Schwarz wrote: > On Fri May 22 2020 at 06:44:40 Andy Sheimo wrote: > > I tried to report this issue to Zeranoe's forums but they have since >

Re: [FFmpeg-user] yadif-cuda issues

2020-05-21 Thread Andy Sheimo
ose builds out of luck? Thanks On Mon, Apr 20, 2020 at 6:12 PM Andy Sheimo wrote: > OK will report. Thanks! > > On Mon, Apr 20, 2020 at 6:11 PM Dennis Mungai wrote: > >> On Tue, 21 Apr 2020, 00:59 Andy Sheimo, wrote: >> >> > Here is the output fro

Re: [FFmpeg-user] yadif-cuda issues

2020-04-20 Thread Andy Sheimo
OK will report. Thanks! On Mon, Apr 20, 2020 at 6:11 PM Dennis Mungai wrote: > On Tue, 21 Apr 2020, 00:59 Andy Sheimo, wrote: > > > Here is the output from nvidia-smi: > > Mon Ap

Re: [FFmpeg-user] yadif-cuda issues

2020-04-20 Thread Andy Sheimo
-static On Mon, Apr 20, 2020 at 5:51 PM Dennis Mungai wrote: > On Tue, 21 Apr 2020 at 00:31, Andy Sheimo wrote: > > > I'm trying to use the yadif_cuda deinterlace but I have not been able to > > get it to work. Every option I.ve tried fails, I'm pretty sure I'm >

[FFmpeg-user] yadif-cuda issues

2020-04-20 Thread Andy Sheimo
I'm trying to use the yadif_cuda deinterlace but I have not been able to get it to work. Every option I.ve tried fails, I'm pretty sure I'm getting something wrong so I'm looking for some advice. Here is my version: ffmpeg version git-2020-04-17-889ad93 Copyright (c) 2000-2020 the FFmpeg developer

Re: [FFmpeg-user] Issue with hwaccel cuvid

2020-04-08 Thread Andy Sheimo
Dennis, Thank you. Lesson learned, check latest builds before submitting questions. Using the latest static build has resolved the issue. Cheers, -Andy On Wed, Apr 8, 2020 at 12:14 PM Dennis Mungai wrote: > On Wed, 8 Apr 2020 at 19:04, Andy Sheimo wrote: > > > This still produ

Re: [FFmpeg-user] Issue with hwaccel cuvid

2020-04-08 Thread Andy Sheimo
Is the process still completely in hardware? Do you think this is a limitation of the cuvid decoder? Thanks for your help. -Andy On Wed, Apr 8, 2020 at 11:36 AM Dennis Mungai wrote: > On Wed, 8 Apr 2020 at 17:57, Andy Sheimo wrote: > > > I keep getting an error on some files and it appears

[FFmpeg-user] Issue with hwaccel cuvid

2020-04-08 Thread Andy Sheimo
I keep getting an error on some files and it appears to be due to a scaler being inserted but I don't know how to fix it. Any help would be appreciated. logging below: K:\Video\GAMERA THE BRAVE>ffmpeg -loglevel verbose -hwaccel cuvid -hwaccel_output_format yuv420p -c:v mpeg2_cuvid -i "l:\welter_or