Re: [FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Peter White
On Tue, Mar 09, 2021 at 07:38:09AM +0100, Anders Degerberg wrote: > On Tue, Mar 9, 2021 at 4:52 AM Peter White wrote: > > > Just an aside, you need to specifiy the -sws_flags like this: > > -sws_flags bilinear+print_info > > Thanks Peter, > unfortunately it does not seem to improve the yuv

Re: [FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Anders Degerberg
On Tue, Mar 9, 2021 at 4:52 AM Peter White wrote: > Just an aside, you need to specifiy the -sws_flags like this: > -sws_flags bilinear+print_info Thanks Peter, unfortunately it does not seem to improve the yuv conversion speed, still at about 0.6x. Some output below: - snip - [graph 0 input

[FFmpeg-user] 'fieldmatch' to pass non-telecined sequences -- Possible?

2021-03-08 Thread Mark Filipak (ffmpeg)
I'm looking for a way to separate telecined sequences from the rest of a video. The following is one idea. The 'fieldmatch' filter favors telecined sequences [1]. I want it to drop telecined sequences and pass the remaining frames (i.e. that are not telecined). Is there any way to do that?

Re: [FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Peter White
On Mon, Mar 08, 2021 at 09:46:22PM +0100, Anders Degerberg wrote: > Hi, see output below: > $ ffmpeg -loglevel verbose -f decklink -raw_format rgb10 -i "DeckLink > 8K Pro (1)" -sws_flags bilinear -sws_flags print_info -c:v hevc_nvenc > -an -b:v 30M -f null - Just an aside, you need to specifiy

Re: [FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Carl Eugen Hoyos
Am Mo., 8. März 2021 um 23:32 Uhr schrieb Anders Degerberg : > > On Mon, Mar 8, 2021 at 10:44 PM Carl Eugen Hoyos wrote: > > > Just to make sure that our assumption that this would need > > changes in libswscale is correct, please also test the following: > > -pix_fmt yuv444p16 -vcodec rawvideo

Re: [FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Anders Degerberg
On Mon, Mar 8, 2021 at 10:44 PM Carl Eugen Hoyos wrote: > Just to make sure that our assumption that this would need > changes in libswscale is correct, please also test the following: > -pix_fmt yuv444p16 -vcodec rawvideo -an -f null - > -i "Decklink ..." -an -f null - > and compare the speed

[FFmpeg-user] 2 errors on https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

2021-03-08 Thread Anton Hartwich
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu has two instructions in libdav1d and libvmaf resulting in error like: meson.build:1:0: ERROR: The value of the 'bindir' option is '/home/user/bin' which must be a subdir of the prefix '/home/user/ffmpeg_build'. Obvious fix

Re: [FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Carl Eugen Hoyos
Am Mo., 8. März 2021 um 21:46 Uhr schrieb Anders Degerberg : > > Hi, see output below: > $ ffmpeg -loglevel verbose -f decklink -raw_format rgb10 -i "DeckLink > 8K Pro (1)" -sws_flags bilinear -sws_flags print_info -c:v hevc_nvenc > -an -b:v 30M -f null - Just to make sure that our assumption

Re: [FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Anders Degerberg
Hi, see output below: $ ffmpeg -loglevel verbose -f decklink -raw_format rgb10 -i "DeckLink 8K Pro (1)" -sws_flags bilinear -sws_flags print_info -c:v hevc_nvenc -an -b:v 30M -f null - ffmpeg version N-101405-g2570663 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 10 (GCC)

Re: [FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Dennis Mungai
On Mon, 8 Mar 2021 at 17:49, Anders Degerberg wrote: > Hi, > > I've come across a problem I really can't figure out when trying to stream > realtime a RGB 10-bit Decklink input, as YUV444 10-bit HEVC in 25fps. > In a 1920x1080 resolution on the Decklink input, it all works very well, > using

Re: [FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Peter White
On Mon, Mar 08, 2021 at 07:58:44PM +0100, Anders Degerberg wrote: > Hi Peter, > > On Mon, 8 Mar 2021 at 19:18, Peter White wrote: > > Try: > > > > ffmpeg -i input_file -sws_flags show_info ... output_file > '-sws_flags print_info' gives: > [swscaler @ 0x4752f00] bicubic scaler, from gbrp10le to

Re: [FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Anders Degerberg
Hi Peter, On Mon, 8 Mar 2021 at 19:18, Peter White wrote: > Try: > > ffmpeg -i input_file -sws_flags show_info ... output_file '-sws_flags print_info' gives: [swscaler @ 0x4752f00] bicubic scaler, from gbrp10le to yuv444p16le using MMXEXT > Do you really have to use RGB on the Decklink? Seems

Re: [FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Peter White
On Mon, Mar 08, 2021 at 03:19:46PM +0100, Anders Degerberg wrote: > Hi, > > I've come across a problem I really can't figure out when trying to stream > realtime a RGB 10-bit Decklink input, as YUV444 10-bit HEVC in 25fps. > In a 1920x1080 resolution on the Decklink input, it all works very

[FFmpeg-user] 4K RGB->YUV realtime conversion.

2021-03-08 Thread Anders Degerberg
Hi, I've come across a problem I really can't figure out when trying to stream realtime a RGB 10-bit Decklink input, as YUV444 10-bit HEVC in 25fps. In a 1920x1080 resolution on the Decklink input, it all works very well, using hevc_nvenc codec on a Nvidia GPU. Auto_scaler kicks in converting

[FFmpeg-user] Default thread_queue_size value

2021-03-08 Thread KRISHNAKUMAR N K
Hi Guys I am converting a udp input to a rtmp output, during playback, i could see the live feed is delayed by almost 5 minutes, i am not sure if *thread_queue_size* is causing this delay. Can anyone help me in getting the default value for *thread_queue_size. *Any recommendations on tuning the

[FFmpeg-user] ffmpeg Swiss army knife -- mixed content (e.g. "Making of" documentaries)

2021-03-08 Thread Mark Filipak (ffmpeg)
I'm well on my way to creating a single, non-cosmetic, filter complex that will transcode any video found on DVDs & BDs with excellent results and with zero combing & zero judder. The filters are purely mechanical -- no blend, no blur, no yadif -- and with results that are far better than