ChanServ 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.1.1 is released
Dagger has quit [Ping timeout: 244 seconds]
Dagger has joined #ffmpeg
Tano has quit [Quit: WeeChat 4.4.3]
<YUiNA_>
sorry i was afk
<YUiNA_>
but doing -r 25 on the output is what i have been doing and it drops every 2nd frame as desired but playback is jerky
<YUiNA_>
i ended up trying this which produces better results
down200 has quit [Ping timeout: 252 seconds]
<YUiNA_>
"-vf setpts=N/25/TB" && "-r 25" on output still
<YUiNA_>
i don't understand it but chatgpt said it would fixed presentation timestamps :S it seems better
<ppw>
yeah, there's also "select" where you can explicitly specify to select every other frame
YUiNA_ has quit [Remote host closed the connection]
down200 has joined #ffmpeg
Mister_Magister has quit [Quit: bye]
Mister_Magister has joined #ffmpeg
Everything has joined #ffmpeg
minimal has quit [Quit: Leaving]
Mirarora has quit [Quit: Mirarora encountered a fatal error and needs to close]
Mirarora has joined #ffmpeg
Mirarora has quit [Quit: Mirarora encountered a fatal error and needs to close]
^Neo has quit [Ping timeout: 244 seconds]
Everything has quit [Ping timeout: 272 seconds]
Everything has joined #ffmpeg
Mirarora has joined #ffmpeg
Mirarora has quit [Quit: Mirarora encountered a fatal error and needs to close]
maxim_d33 has quit [Ping timeout: 246 seconds]
vincejv has quit [Remote host closed the connection]
maxim_d33 has joined #ffmpeg
<Liver_K>
Hey, can anyone tell me how to properly demux+transcode a CRI Movie 2 (.usm) video?
<Liver_K>
It appears to be a supported container format, but ffmpeg can't find the codec of any streams in the file I give it
bstbul has joined #ffmpeg
Shine_ has joined #ffmpeg
Keshl_ has quit [Read error: Connection reset by peer]
Keshl_ has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
jmcantrell has quit [Quit: WeeChat 4.5.2]
System_Error has joined #ffmpeg
pyre has quit [Remote host closed the connection]
pyre has joined #ffmpeg
bstbul has quit [Quit: Client closed]
twelve has joined #ffmpeg
twelve has quit [Ping timeout: 272 seconds]
JanC has joined #ffmpeg
JanC is now known as Guest7873
Guest7873 has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
Shine_ has quit [Read error: Connection reset by peer]
Jan\ has quit [Ping timeout: 252 seconds]
Jan\ has joined #ffmpeg
MisterMinister has quit [Ping timeout: 252 seconds]
Guest36 has joined #ffmpeg
Guest36 has quit [Client Quit]
lavaball has joined #ffmpeg
emanuele6 has joined #ffmpeg
maki_nori has quit [Quit: Ping timeout (120 seconds)]
maki_nori has joined #ffmpeg
alexherbo2 has joined #ffmpeg
Shuriko has quit [Ping timeout: 245 seconds]
feuerrot has quit [Ping timeout: 248 seconds]
feuerrot has joined #ffmpeg
Shine_ has joined #ffmpeg
vincejv has joined #ffmpeg
jtgd has quit [Quit: WeeChat 4.5.2]
jtgd has joined #ffmpeg
Sketch has quit [Remote host closed the connection]
Sketch has joined #ffmpeg
tomaw has quit [Ping timeout: 610 seconds]
tomaw_ has joined #ffmpeg
Everything has quit [Ping timeout: 276 seconds]
tomaw_ is now known as tomaw
^Neo has joined #ffmpeg
^Neo has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
Shine_ has quit [Read error: Connection reset by peer]
Blacker47 has joined #ffmpeg
SuicideShow has quit [Ping timeout: 276 seconds]
SuicideShow has joined #ffmpeg
^Neo has quit [Ping timeout: 252 seconds]
drew has quit [Ping timeout: 248 seconds]
drew` has joined #ffmpeg
drew` is now known as drew
alexherbo2 has joined #ffmpeg
kasper93 has quit [Remote host closed the connection]
vincejv has quit [Remote host closed the connection]
kasper93 has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
Dagger has quit [Ping timeout: 252 seconds]
twelve has joined #ffmpeg
twelve has quit [Remote host closed the connection]
Dagger has joined #ffmpeg
vincejv has joined #ffmpeg
user_oreloznog has joined #ffmpeg
^Neo has joined #ffmpeg
^Neo has joined #ffmpeg
alexherbo2 has joined #ffmpeg
shrewd has quit [Ping timeout: 245 seconds]
manwithluck has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
tokyovigilante has quit [Ping timeout: 272 seconds]
tokyovigilante has joined #ffmpeg
tokyovigilante has quit [Ping timeout: 245 seconds]
tokyovigilante has joined #ffmpeg
evilscreww has joined #ffmpeg
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
Tano has quit [Quit: WeeChat 4.4.3]
Dagger has quit [Ping timeout: 245 seconds]
Dagger has joined #ffmpeg
five618480339176 has quit [Remote host closed the connection]
five618480339176 has joined #ffmpeg
rvalue- has joined #ffmpeg
rvalue has quit [Ping timeout: 252 seconds]
Dagger has quit [Ping timeout: 265 seconds]
rvalue- is now known as rvalue
Dagger has joined #ffmpeg
emanuele6 has quit [Quit: WeeChat 4.4.3]
Dagger has quit [Ping timeout: 244 seconds]
minimal has quit [Read error: Connection reset by peer]
Dagger has joined #ffmpeg
<spinningCat>
i am extracting keywords from wav file by using vosk model
<spinningCat>
can i do that keyword extraction with ffmpeg?
minimal has joined #ffmpeg
twelve has joined #ffmpeg
YUiNA has joined #ffmpeg
twelve has quit [Remote host closed the connection]
evilscreww has quit [Quit: Leaving]
twelve has joined #ffmpeg
YUiNA has quit [Remote host closed the connection]
Tano has joined #ffmpeg
crossby1004 has joined #ffmpeg
crossby1004 has quit [Quit: leaving]
noobaroo has joined #ffmpeg
Tano has quit [Quit: WeeChat 4.4.3]
Mirarora has joined #ffmpeg
twelve has quit [Ping timeout: 265 seconds]
sihloo_ has joined #ffmpeg
sihloo has quit [Ping timeout: 265 seconds]
lavaball has quit [Remote host closed the connection]
minimal has quit [Remote host closed the connection]
minimal has joined #ffmpeg
Dagger has quit [Ping timeout: 248 seconds]
Dagger has joined #ffmpeg
colona_ has quit [Ping timeout: 245 seconds]
colona has joined #ffmpeg
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
five618480339176 has quit [Remote host closed the connection]
five618480339176 has joined #ffmpeg
crossby1004 has joined #ffmpeg
coldfeet has joined #ffmpeg
coldfeet has quit [Client Quit]
Keshl has joined #ffmpeg
Keshl_ has quit [Ping timeout: 272 seconds]
JanC_ has joined #ffmpeg
JanC is now known as Guest6502
Guest6502 has quit [Killed (copper.libera.chat (Nickname regained by services))]
JanC_ is now known as JanC
YUiNA has joined #ffmpeg
bertieb has quit [Ping timeout: 260 seconds]
lavaball has joined #ffmpeg
<spinningCat>
let me repeat my question
Mirarora has quit [Quit: Mirarora encountered a fatal error and needs to close]
<spinningCat>
i am extracting keywords from wav file by using vosk model can i do that with ffmpeg
bertieb has joined #ffmpeg
drew has quit [Ping timeout: 248 seconds]
drew` has joined #ffmpeg
drew` is now known as drew
crossby1004 has quit [Quit: leaving]
TheSilentLink has quit [Quit: Good Bye! My bouncer has probably crashed or lost connection to the internet...]
lucasta has joined #ffmpeg
lucasta has quit [Client Quit]
TheSilentLink has joined #ffmpeg
coldfeet has joined #ffmpeg
meator has joined #ffmpeg
TheSilentLink has quit [Quit: Good Bye! My bouncer has probably crashed or lost connection to the internet...]
<meator>
Hey. I'm trying to make VAAPI hardware acceleration work with ffmpeg. I have tried some commands I have found on the internet, but they are failing: https://0x0.st/8SmK.txt
<JEEB>
first of all, adding `-v verbose` is generally a good idea as it's the last non-spammy log level while still providing some extra. then second thing is that you will want to check out the output of `vainfo` regarding what it tells about your available VA-API drivers
<JEEB>
yea, with verbose you can see the loaded driver info etc
<JEEB>
while without it that was all not visible
<JEEB>
ahhh
<JEEB>
yea, so it doesn't like the 4:4:4 :)
<JEEB>
which is not surprising, since that's not a thing in any of the relevant profiles that older hardware can do (until quite recently actually)
<meator>
What are my options?
<JEEB>
you will have to get it to 4:2:0 YCbCr at the end of the chain (either nv12 or yuv420p) for the encoder to take it in
<JEEB>
you'll probably have to utilize something like scale_vaapi if that old version of FFmpeg has it
<JEEB>
so something like `hwupload,scale_vaapi=format=nv12`
<JEEB>
if it can upload a bgr0 image
<JEEB>
also when dealing with hardware formats, you really want to start disabling auto-scaling insertion since it does not know hw formats. that may change in the future, but even then it could end up in going backwards and forth
<JEEB>
`-noauto_conversion_filters` would disable automagically inserted conversions in the filter chain
lavaball has quit [Remote host closed the connection]
<meator>
JEEB: This is the output after I've added 'scale_vaapi=format=nv12' (now colorized): https://0x0.st/8Smf.html
<JEEB>
try replacing nv12 with yuv420p
Shine_ has quit [Read error: Connection reset by peer]
<JEEB>
kind of surprising it's not OK with NV12, but the full vainfo output does indeed only show YUV420
<JEEB>
otherwise it's the input side that it doesn't like
<meator>
The order of filters seems to be important. Does hwupload have to be first?
<JEEB>
yes, since I don't think the vaapi scaler works with software frames
bertieb has quit [Read error: Connection reset by peer]
bertieb has joined #ffmpeg
<meator>
JEEB: "if that old version of FFmpeg has it" I can try to obtain the latest version of ffmpeg if it will help.
<obcecado>
hi guys, anyone has experience changing framerate 25 => 29.976 on interlaced content? some time ago someone on this channel suggested to deinterlace the contente, modify framerate and interlace again. this has a better result, but some movements are still a bit janky. any suggestions?
<obcecado>
^thanks for your input
<JEEB>
meator: the filter is there, it's just that most likely bgr0 is a no-go :P
bertieb has quit [Ping timeout: 260 seconds]
TheSilentLink has quit [Quit: Good Bye! My bouncer has probably crashed or lost connection to the internet...]
<meator>
The colors look a bit off though. I think that this is related to the pixel format problems. Here is an extracted frame from the video recorded using the ffmpeg invocation above: https://0x0.st/8SBT.png here is an actual screenshot: https://0x0.st/8SBA.png
<JEEB>
is that with current master or 6.1?
<JEEB>
and yea, that is the case where you let software do the RGB to YCbCr conversion, and then hwupload
<meator>
This is ffmpeg version 7.1 (not the latest version 7.1.1 nor any development version).
<JEEB>
I just have no recollection when 7.1 got branched, if it was before or after the initial swscale improvements
<JEEB>
which added transfer function support etc
<JEEB>
because if it's new enough then you want to set `scale=out_color_matrix=bt709:out_primaries=bt709:out_transfer=gamma22,format=pix_fmts=nv12`
<JEEB>
that should set various color related values that hopefully when you `ffprobe -v verbose -i OUTPUT_FILE` you can see
<meator>
This makes no mention of hwupload, which I assume is necessary. I will do some more experiments tomorrow. Thanks for your help!
<JEEB>
yes, since that was after
<JEEB>
that was just the scale filter part
<JEEB>
well, scale+format that controls the pixel format for the previous filter
<JEEB>
format is basically a meta filter and not one that by itself does something :)
Traneptora has quit [Quit: Quit]
<JEEB>
(it causes the filter before it to get a requirement for that format to be pushed out)
TheSilentLink has quit [Quit: Good Bye! My bouncer has probably crashed or lost connection to the internet...]
lavaball has quit [Remote host closed the connection]
TheSilentLink has joined #ffmpeg
Shuriko has quit [Ping timeout: 252 seconds]
damian101 has joined #ffmpeg
tranzistor8 has joined #ffmpeg
tranzistor has quit [Read error: Connection reset by peer]
tranzistor8 is now known as tranzistor
dubiago has quit [Quit: Gone!]
Traneptora has joined #ffmpeg
Traneptora has quit [Quit: Quit]
Traneptora has joined #ffmpeg
damian101 has quit [Remote host closed the connection]
luva has quit [Quit: Byebye]
luva has joined #ffmpeg
System_Error has quit [Remote host closed the connection]