Re: [FFmpeg-user] Decklink input extra filter inserted

2021-01-20 Thread Bartosz Ziemski
Regarding changing Decklink output -> it is not configurable. scale_npp=format=yuv444p is here because I tried to explicitly force the first scaling to happen on cuda -> did not know that this format is required by hw_upload, I thought it might be the yadif requirement. But it did not help and

Re: [FFmpeg-user] Decklink input extra filter inserted

2021-01-18 Thread Carl Zwanzig
On 1/18/2021 9:57 AM, Bartosz Ziemski wrote: Do you have any idea how to omit this scaling and get frames uploaded to cuda device? hwupload_cuda, scale_npp=format=yuv444p, (why is that there?) yadif_cuda, scale_npp=w=1280:h=720:interp_algo=lanczos:format=yuv420p I'm certainly not

Re: [FFmpeg-user] Decklink input extra filter inserted

2021-01-18 Thread Carl Zwanzig
On 1/18/2021 9:57 AM, Bartosz Ziemski wrote: Do you have any idea how to omit this scaling and get frames uploaded to cuda device? That (pix format) _may_ be configurable on the Decklink, but I can't check that at the moment. z! ___ ffmpeg-user

Re: [FFmpeg-user] Decklink input extra filter inserted

2021-01-18 Thread Bartosz Ziemski
Thank you. Do you have any idea how to omit this scaling and get frames uploaded to cuda device? It seems that hw_upload_cuda needs yuv444p but maybe there exists another way to do it without the initial scaling performed on CPU and do the scaling before next filters already on GPU. Best regards,

Re: [FFmpeg-user] Decklink input extra filter inserted

2021-01-17 Thread Carl Zwanzig
I think this may be the reason (and I may be wrong)- [2021-01-15T10:32:56.818] [auto_scaler_0 @ 0x5654058cefc0] w:1920 h:1080 fmt:uyvy422 sar:0/1 -> w:1920 h:1080 fmt:yuv444p sar:0/1 If the decklink is emitting uyvy422- Stream #0:1, 2, 1/100: Video: rawvideo, 1 reference frame (UYVY /

Re: [FFmpeg-user] Decklink input extra filter inserted

2021-01-17 Thread Bartosz Ziemski
The filter "auto_scaler_0" according to the following logs fragment: [2021-01-15T10:32:56.817] [auto_scaler_0 @ 0x5654058cefc0] Setting 'flags' to value 'bicubic' [2021-01-15T10:32:56.817] [auto_scaler_0 @ 0x5654058cefc0] w:iw h:ih flags:'bicubic' interl:0 [2021-01-15T10:32:56.817]

Re: [FFmpeg-user] Decklink input extra filter inserted

2021-01-17 Thread Carl Eugen Hoyos
Am Do., 14. Jan. 2021 um 18:43 Uhr schrieb Bartosz Ziemski : > I am trying to save the Decklink input as a video file (applying specified > below filters) and I am wondering why the extra filter is inserted. Which filter? Carl Eugen ___ ffmpeg-user

Re: [FFmpeg-user] Decklink input extra filter inserted

2021-01-15 Thread Bartosz Ziemski
Command: ffmpeg -f decklink -i decklink1 -map 0:v -vf "hwupload_cuda,scale_npp=format=yuv444p,yadif_cuda,scale_npp=w=1280:h=720:interp_algo=lanczos:format=yuv420p" -b:v 1k -vcodec h264_nvenc -delay 0 -preset llhq -g 5 -r 25 -map 0:a -c:a:0 aac -loglevel debug -f tee "[f=hls:

Re: [FFmpeg-user] Decklink input extra filter inserted

2021-01-14 Thread Carl Zwanzig
On 1/14/2021 9:14 AM, Bartosz Ziemski wrote: You can find the logs enclosed. Please put the logs in the body of the email, including the complete command used. (And remember not to top-post on this list.) z! ___ ffmpeg-user mailing list

[FFmpeg-user] Decklink input extra filter inserted

2021-01-14 Thread Bartosz Ziemski
Hi, I am trying to save the Decklink input as a video file (applying specified below filters) and I am wondering why the extra filter is inserted. You can find the logs enclosed. I would be really grateful if you could explain why the filter is auto inserted there and if there is any option to