BtbN changed the topic of #ffmpeg to: Welcome to the FFmpeg USER support channel | Development channel: #ffmpeg-devel | Bug reports: https://ffmpeg.org/bugreports.html | Wiki: https://trac.ffmpeg.org/ | This channel is publically logged | FFmpeg 7.0 is released
ossifrage_ is now known as ossifrage
Everything has quit [Quit: leaving]
lavaball has quit [Remote host closed the connection]
xx has quit [Ping timeout: 260 seconds]
Catisio5 has left #ffmpeg [WeeChat 4.1.1]
iive has quit [Quit: They came for me...]
kus has quit [Read error: Connection reset by peer]
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg
Some_Person has quit [Ping timeout: 276 seconds]
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg
Some_Person has joined #ffmpeg
lemourin has quit [Quit: Ping timeout (120 seconds)]
lemourin has joined #ffmpeg
jarthur has quit [Quit: jarthur]
lucasta has quit [Quit: Leaving]
Lynne has quit [Remote host closed the connection]
michaelni has quit [Ping timeout: 252 seconds]
michaelni has joined #ffmpeg
thomasross has joined #ffmpeg
Traneptora has quit [Quit: Quit]
Keshl_ has quit [Read error: Connection reset by peer]
Keshl__ has joined #ffmpeg
ZLima12 has quit [Ping timeout: 276 seconds]
ZLima12 has joined #ffmpeg
minimal has quit [Quit: Leaving]
ewomer has quit [Quit: WeeChat 4.4.3]
Suchiman has quit [Quit: Connection closed for inactivity]
nrg has quit [Ping timeout: 248 seconds]
ThePendulum has joined #ffmpeg
nrg has joined #ffmpeg
<ThePendulum>
'lo, I was wondering if someone could help me improve a script that extracts frames from a video, processes them with imagemagick and saves them as jpeg.
<ThePendulum>
my original version had ffmpeg save the images as png and then imagemagick would run on the output directory, but I'm hoping there's a way to pipe directly from ffmpeg to magick
<ThePendulum>
this is what I have atm https://www.pastery.net/fgcpny/, but mogrify complains "mogrify: unable to open image 'PNG': Invalid or incomplete multibyte or wide character @ error/blob.c/OpenBlob/3596."
<ThePendulum>
I should probably strip out the actual filters a bit so it's just the pipe, the filters on both do what they're supposed to do, they just don't link properly
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ffmpeg
lucasta has quit [Quit: Leaving]
<h-m-h>
I am looking at this example for filtering: https://ffmpeg.org/doxygen/trunk/decode_filter_video_8c-example.html Is it possible to use a filter like scale_cuda or scale_npp and obtain the resulting frame without using hwdownload so that it can be directly passed to h264_nvenc? I want to prevent the extra overhead of GPU <-> CPU transfers.
<JEEB>
yes, if your whole filter chain is HW-only then you get HW AVFrames out of it
alexherbo2 has quit [Remote host closed the connection]
<JEEB>
and as long as that encoder also takes in that HW format, bob's your uncle
<JEEB>
and nvenc stuff supports CUDA and D3D11 HW pix_fmts , so as long as you're dealing with one of those it should take it in
<h-m-h>
Thanks, do I have to specify AV_PIX_FMT_CUDA as format for the buffersink?
<JEEB>
oh, and one thing you will want to set...
<JEEB>
avfilter_graph_set_auto_convert and to NONE
<JEEB>
since hw pixel formats do not jazz well with the scale filter that avfilter will try to match things with
Magissia has joined #ffmpeg
averne has quit [Quit: quit]
averne has joined #ffmpeg
<h-m-h>
av_buffersink_get_frame then expects an hw allocated frame, correct?
<JEEB>
the links are checked at initialization stage
<JEEB>
so if the previous filter says it outputs something else, it should error out
Sakura`Kinomoto has quit [Remote host closed the connection]
Some_Person has quit [Ping timeout: 260 seconds]
Sakura`Kinomoto has joined #ffmpeg
Juesto has joined #ffmpeg
Juest has quit [Ping timeout: 252 seconds]
Magissia has quit [Ping timeout: 255 seconds]
Juesto is now known as Juest
lavaball has quit [Remote host closed the connection]
lavaball has joined #ffmpeg
darkapex has quit [Remote host closed the connection]
darkapex has joined #ffmpeg
Some_Person has joined #ffmpeg
realies1 has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
alexherbo2 has joined #ffmpeg
System_Error has joined #ffmpeg
realies1 has quit [Quit: ~]
realies1 has joined #ffmpeg
realies has joined #ffmpeg
alexherbo2 has quit [Ping timeout: 256 seconds]
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
Krusher has quit [Read error: Connection reset by peer]
Everything has joined #ffmpeg
jemius has quit [Ping timeout: 248 seconds]
mark4o has joined #ffmpeg
markh has quit [Ping timeout: 276 seconds]
mark4o is now known as markh
realies1 has quit [Quit: ~]
Sakura`Kinomoto has quit [Ping timeout: 260 seconds]
realies1 has joined #ffmpeg
Sakura`Kinomoto has joined #ffmpeg
System_Error has quit [Ping timeout: 260 seconds]
kasper93_ has joined #ffmpeg
kasper93 has quit [Ping timeout: 252 seconds]
kasper93_ has quit [Ping timeout: 272 seconds]
realies has quit [Quit: ~]
realies1 is now known as realies
System_Error has joined #ffmpeg
alexherbo2 has joined #ffmpeg
jtgd has quit [Quit: WeeChat 4.4.3]
jtgd has joined #ffmpeg
Sakura`Kinomoto has quit [Ping timeout: 272 seconds]
SakuraChan has joined #ffmpeg
puff has quit [Ping timeout: 246 seconds]
lucasta has joined #ffmpeg
Everything has quit [Quit: leaving]
SakuraChan has quit [Ping timeout: 265 seconds]
SuicideShow has quit [Ping timeout: 244 seconds]
SuicideShow has joined #ffmpeg
Dagger has quit [Ping timeout: 252 seconds]
lavaball has quit [Remote host closed the connection]
Sakura`Kinomoto has joined #ffmpeg
ewomer has quit [Read error: Connection reset by peer]
alexherbo2 has quit [Remote host closed the connection]