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
le_patenteux has joined #ffmpeg
aus has joined #ffmpeg
Haxxa has quit [Ping timeout: 260 seconds]
aus has quit [Ping timeout: 252 seconds]
aaabbb has joined #ffmpeg
KombuchaKip has quit [Quit: Leaving.]
waleee has quit [Quit: WeeChat 4.1.2]
KombuchaKip has joined #ffmpeg
waleee has joined #ffmpeg
e^pi-1 has quit [Quit: WeeChat 4.2.2]
talismanick has quit [Ping timeout: 260 seconds]
foul_owl has quit [Ping timeout: 255 seconds]
e^pi-1 has joined #ffmpeg
<le_patenteux>
oh for the love of god! how do I get the chromakey filter to work with the VAAPI encoder output? I tried many approach without success
pyre_ has quit [Remote host closed the connection]
pyre has joined #ffmpeg
Warcop has joined #ffmpeg
<another|>
I don't think you run soft filters on hw frames
Icedream has quit [Quit: A lol made me boom.]
Icedream has joined #ffmpeg
five61848033 has quit [Remote host closed the connection]
five61848033 has joined #ffmpeg
aus has joined #ffmpeg
foul_owl has quit [Ping timeout: 255 seconds]
MisterMinister has quit [Ping timeout: 255 seconds]
MisterMinister has joined #ffmpeg
foul_owl has joined #ffmpeg
<aaabbb>
i'm using the audio filter, silenceremove with stop_duration=5. i am using this as vad (voice activity detection) and using amix to mix in silence when silenceremove stops outputting due to detecting silence. however even with stop_duration=5 it seems to be that it will stop outputting immediately when silence is detected
<aaabbb>
specifically i am using: silenceremove=stop_periods=-1:stop_duration=10:stop_threshold=-50dB
Tinos has joined #ffmpeg
Vonter has joined #ffmpeg
Suchiman has quit [Quit: Connection closed for inactivity]
SystemError has quit [Remote host closed the connection]
SystemError has joined #ffmpeg
evilscreww has joined #ffmpeg
evilscreww has quit [Client Quit]
evilscreww has joined #ffmpeg
evilscreww has quit [Quit: Leaving]
evilscreww has joined #ffmpeg
telgareith has joined #ffmpeg
<aaabbb>
it's even happening when i use apad (which didn't seem to be emitting silence)
<evilscreww>
aaabbb, sup.
<aaabbb>
hi
<le_patenteux>
hi
<aaabbb>
"silenceremove=stop_periods=-1:stop_duration=2:stop_threshold=-30dB,apad" doesn't work for vad either, it just stops outputting the stream immediately when sound drops below -30dB
aus has quit [Ping timeout: 272 seconds]
<aaabbb>
instead of outputting sound unchanged for 2 seconds and then pure silence
aus has joined #ffmpeg
aus has quit [Ping timeout: 272 seconds]
NaviTheFairy has quit [Excess Flood]
SystemError has quit [Remote host closed the connection]
SystemError has joined #ffmpeg
NaviTheFairy has joined #ffmpeg
AbleBacon has quit [Read error: Connection reset by peer]
lucasta has quit [Quit: Leaving]
trillion_exabyte has quit [Ping timeout: 260 seconds]
trillion_exabyte has joined #ffmpeg
vampirefrog has quit [Ping timeout: 255 seconds]
FH_thecat has quit [Quit: Leaving]
jagannatharjun has joined #ffmpeg
evilscreww has quit [Quit: Leaving]
aus has joined #ffmpeg
evilscreww has joined #ffmpeg
aus has quit [Ping timeout: 255 seconds]
Tinos has quit [Remote host closed the connection]
rvalue has quit [Read error: Connection reset by peer]
MisterMinister has quit [Ping timeout: 246 seconds]
aus has quit [Ping timeout: 255 seconds]
Tinos has joined #ffmpeg
coldfeet has joined #ffmpeg
aus has joined #ffmpeg
aus has quit [Ping timeout: 268 seconds]
e^pi-1 has quit [Ping timeout: 268 seconds]
todi has joined #ffmpeg
rv1sr has joined #ffmpeg
lavaball has joined #ffmpeg
aus has joined #ffmpeg
e^pi-1 has joined #ffmpeg
ivanich has joined #ffmpeg
evilscreww has joined #ffmpeg
evilscreww has quit [Client Quit]
SystemError has quit [Remote host closed the connection]
SystemError has joined #ffmpeg
beaver has quit [Remote host closed the connection]
beaver has joined #ffmpeg
e^pi-1 has quit [Quit: WeeChat 4.2.2]
beaver has quit [Ping timeout: 260 seconds]
beaver has joined #ffmpeg
aus has quit [Quit: Ping timeout (120 seconds)]
aus has joined #ffmpeg
e^pi-1 has joined #ffmpeg
aus has quit [Ping timeout: 255 seconds]
beaver has quit [Quit: à pluche]
aus has joined #ffmpeg
five618480338 has joined #ffmpeg
five61848033 has quit [Remote host closed the connection]
five618480338 is now known as five61848033
Narrat has joined #ffmpeg
Some_Person has quit [Ping timeout: 252 seconds]
Some_Person has joined #ffmpeg
Tano has quit [Quit: WeeChat 4.2.1]
Tinos has quit [Remote host closed the connection]
j45 has quit [Ping timeout: 260 seconds]
j45 has joined #ffmpeg
raccct has joined #ffmpeg
aaabbb has quit [Remote host closed the connection]
aus has quit [Ping timeout: 272 seconds]
Tano has joined #ffmpeg
kts has joined #ffmpeg
e^pi-1 has quit [Quit: WeeChat 4.2.2]
mrelcee has quit [Quit: I want Waffles!]
e^pi-1 has joined #ffmpeg
mrelcee has joined #ffmpeg
beaver has joined #ffmpeg
jagannatharjun has quit [Quit: Connection closed for inactivity]
kts has quit [Ping timeout: 268 seconds]
aus has joined #ffmpeg
kts has joined #ffmpeg
aus has quit [Ping timeout: 255 seconds]
beaver has quit [Ping timeout: 260 seconds]
Narrat has quit [Quit: They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.]
beaver has joined #ffmpeg
kts has quit [Ping timeout: 272 seconds]
kts has joined #ffmpeg
minimal has joined #ffmpeg
jagannatharjun has joined #ffmpeg
Suchiman has joined #ffmpeg
Ram-Z has quit [Ping timeout: 240 seconds]
Ram-Z has joined #ffmpeg
Ram-Z has quit [Ping timeout: 268 seconds]
waleee has joined #ffmpeg
deus0ww has quit [Ping timeout: 256 seconds]
Tinos has joined #ffmpeg
deus0ww has joined #ffmpeg
aus has joined #ffmpeg
Ram-Z has joined #ffmpeg
aus has quit [Ping timeout: 240 seconds]
<le_patenteux>
i read conflicting informations online about Vp8 encoding... some say it was in ffmpeg as far back as 2017 and other say it does not exist...
<le_patenteux>
(I mean hardware encoding)
<le_patenteux>
I tried on AMD, with VAAPI, nothing there... I am investigating Intel as it is supposet to be included in VAAPI, but it does not seem to be built in ffmpeg...
<le_patenteux>
but if the feature exists, why is it not simply built into ffmpeg?
rv1sr has quit [Ping timeout: 272 seconds]
<JEEB>
le_patenteux: never believe until you see it in someone's actual vainfo output :P
<JEEB>
also FFmpeg contains stuff that people cared enough to add, it's not like code magically appears
<le_patenteux>
I have been on this till midnight yesterday... I have an Intel Laptop that should be able through QuickSync according to tha blog post and some further reading... It just bogles my mind that it is not simply built with ffmpeg if it truly works
<le_patenteux>
And I think you are wrong... I did not write any code, and yet, code exists.. If it is not magic, I can't tell what it is!
<jkqxz>
What sort of Intel? Older ones have VP8 encode and decode, but encode got removed in the more recent generations.
<le_patenteux>
What? Why??? That is bonkers!
<jkqxz>
Everything in the last few years has VP9 both encode and decode.
<jkqxz>
Because noone cares about VP8 any more, and it costs chip area?
<le_patenteux>
It is a i5-10210U
<le_patenteux>
VP8 I get it... but VP9 ?
<jkqxz>
That has hardware for VP8 and VP9, both encode and decode.
<le_patenteux>
(I know my previous message was about Vp8, but I meant Vp8/Vp9... the webm codecs)
<le_patenteux>
so... do you know how to make it work?
<le_patenteux>
What spells do I need to invoke in the terminal to make this work?
<le_patenteux>
because vainfo just lists decoding, not encoding
<jkqxz>
Hmm. You have the iHD driver, presumably?
<le_patenteux>
I am on Linux, with Mesa
<le_patenteux>
(Pop!_OS)
<jkqxz>
When they switched to that Intel did not bring forward the VP8 and VP9 encoding for the older platforms.
<le_patenteux>
also, what is your source for VP8 VP9 capabilities on hardware? I searched a lot yesterday and found conflicting information there too
<jkqxz>
It is there, but making it work is probably a big pain. You would want to get the old driver (<https://github.com/intel/intel-vaapi-driver>) which does have the encode support, but I'm not sure it will know about the newer gen9 platforms.
<le_patenteux>
okay, but is it the same for Linux and Windows? Just so I dont fall in too deep of a rabit hole!
<BtbN>
They abandoned the feature as far as I'm aware
<BtbN>
Best to just consider vpX hwencoding to be nonexistent
<jkqxz>
VP9 encode works on newer things.
<BtbN>
I don't think it was particularily good either, so might as well just use avc
<le_patenteux>
That is crazy... I really don't understand why they would abandon code that enables a feature that would push them in front of Apple Hardware!
<BtbN>
Because it's work to maintain it
<BtbN>
Specially if better alternatives exist
kts has quit [Ping timeout: 246 seconds]
<le_patenteux>
because the hardware is capable, it is just a matter of driver support!
<le_patenteux>
can you tell me more about better alternatives please?
<BtbN>
AV1 exists now
<BtbN>
And drivers don't write themselves
<le_patenteux>
My needs are video (any format!) with alpha channel capabilities and hardware acceleration.... that's it!
<le_patenteux>
Does AV1 have alpha channel?
<BtbN>
yesn't
<BtbN>
I think it's done the exact same hacky way there, i.e. separate stream
<BtbN>
but software support is spotty at best
<BtbN>
Like, I tested hevc_nvenc alpha channel encoding again. It works, but absolutely nothing I tested can reproduce it. Including ffmpeg itself.
<le_patenteux>
Man... I can't believe that... VPx is the only format that accepts alpha, but it is the least supported video format on the planet!
<jkqxz>
AV1 has no alpha support at all.
<le_patenteux>
(I know technically apple's implementation oh HEVC does support it, but I don't own I stuff)
<le_patenteux>
my other trail was to use h264 or hevc with hardware encoding and replacing the background with a solid color for easier keeing in software, but I could not get the chromakey filter to work wit an hardware encoded output
<le_patenteux>
if someone knows how to use a cpu filter than pass it to the gpu for final encoding, I am all ears!
coldfeet has quit [Remote host closed the connection]
HarshK23 has quit [Quit: Connection closed for inactivity]
jagannatharjun has quit [Quit: Connection closed for inactivity]
hightower3 has joined #ffmpeg
jokoon has joined #ffmpeg
<jokoon>
hello: is ffmpeg+cuda mature enough? isn't it widespread?
<jokoon>
I mean I would imagine this would make encoding much faster?
hightower4 has quit [Ping timeout: 260 seconds]
<BtbN>
CUDA is not utilized for encoding and is not in any way helpful for it
<BtbN>
nvenc is, but it's nost just a magic "make encoding fast" switch either, it's a dedicated hardware encoder
<jokoon>
do you mean it doesn't really plug itself very well with how ffmpeg work?
<BtbN>
I don't understand the question
<BtbN>
CUDA is just not useful for video encoding of the common codecs
<BtbN>
GPUs in general aren't
<BtbN>
I think you are confusing CUDA with hardware encoders? All modern GPUs bring one, but they don't use the GPU for encoding. It's a dedicated hwenc
<BtbN>
With all its drawbacks and advantages.
<jokoon>
I admit I don't know enough about video algorithm... I thought video compression encoding would be something that can be parallelized easily
<BtbN>
no, video encoding is something that parallelizes very poorly
<jokoon>
oh really
<BtbN>
and parallelizing it hurts the quality
<jokoon>
so the only real way to make encoding faster, is SSE things, or CPU things dedicated to video encoding?
aus has joined #ffmpeg
<BtbN>
Well, hardware encoders exist
<BtbN>
they go bloody fast, but are worse in all other aspects
<jokoon>
are those HW encoder featured in general desktop/laptop CPUs? does that mean hardware encoders might get better in the future?
<BtbN>
Like I said, every half modern GPU brings one
<jokoon>
I would imagine those HW encoder are present in smartphone, and explain the bad compression
<BtbN>
And no, hwencs by principle won't beat software encoding for quality
<BtbN>
they are far less shit than in the past for sure, but a good software encoder will always be able to beat the best hwenc at pure quality per bitrate
<another|>
<BtbN> they go bloody fast, but are worse in all other aspects
<jokoon>
I wish I could learn how those algo work to understand why it's not parallelizable... I understand a bit about image compression, vector things, keyframe and so on. I lack a high level computer science education haha
<another|>
not all aspects. power consumption is also quite good
<BtbN>
That depends on the hardware in question
<BtbN>
Having something like a 4080 or 4090 up its clock... vs sw encoding on a Laptop CPU... I'm not sure what wins
zombean has quit [Read error: Connection reset by peer]
<BtbN>
If you want to build an encoding server, and the focus is power efficiency and you don't care about quality, putting hwencs in there is better for sure though
zombean has joined #ffmpeg
AbleBacon has joined #ffmpeg
<another|>
But does it have to up it's clock?
<BtbN>
The nvenc asic shares its clock with the GPU, yeah
<another|>
hm.. bummer
<BtbN>
So it'll very much have to go out of any low power state it may have, and if you want max performance, will have to go all the way up
MisterMinister has joined #ffmpeg
coldfeet has joined #ffmpeg
vlm has joined #ffmpeg
jagannatharjun has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
coldfeet has joined #ffmpeg
Ram-Z has joined #ffmpeg
<jokoon>
how important is SSE for video encoding? maybe my previous question came as ignorant, and I don't really know what would the latest SSE things improve.
telgareith has joined #ffmpeg
<jokoon>
I also saw AMD had SSE5, I thought it stopped at SSE4
<galad>
the newest x86_64 simd extensions are called avx
johnjaye has quit [Ping timeout: 260 seconds]
<furq>
the sse5 stuff got renamed years ago and then mostly dropped also years ago
johnjaye has joined #ffmpeg
<furq>
simd stuff in general is pretty important for video
<furq>
but more or less any amd64 cpu ever made will have most of the big performance gains
HarshK23 has quit [Quit: Connection closed for inactivity]
zombean has quit [Ping timeout: 256 seconds]
beaver has quit [Remote host closed the connection]
beaver has joined #ffmpeg
zombean has joined #ffmpeg
MisterMinister has quit [Ping timeout: 255 seconds]
delthas_cc0 has quit [Read error: Connection reset by peer]
mven97 has quit [Quit: Goodbye.]
delthas_cc0 has joined #ffmpeg
mven97 has joined #ffmpeg
aus has quit [Ping timeout: 255 seconds]
Ox7C5 has joined #ffmpeg
coldfeet has quit [Quit: Lost terminal]
coldfeet has joined #ffmpeg
beaver_ has joined #ffmpeg
gvg_ has joined #ffmpeg
gvg has quit [Ping timeout: 252 seconds]
beaver has quit [Remote host closed the connection]
billchenchina has quit [Remote host closed the connection]
aus has joined #ffmpeg
aus has quit [Ping timeout: 256 seconds]
BtbN has quit [Remote host closed the connection]
BtbN has joined #ffmpeg
minimal has quit [Quit: Leaving]
tobias has quit [Read error: Connection reset by peer]
BtbN has quit [Ping timeout: 260 seconds]
aus has joined #ffmpeg
BtbN has joined #ffmpeg
xx has quit [Ping timeout: 260 seconds]
coldfeet has quit [Remote host closed the connection]
beaver_ has quit [Remote host closed the connection]
averne has quit [Quit: quit]
lavaball has quit [Remote host closed the connection]
averne has joined #ffmpeg
jagannatharjun has quit [Quit: Connection closed for inactivity]
Ox7C5 has quit [Quit: Lost terminal]
jokoon has quit [Quit: Leaving]
vlm has quit [Ping timeout: 264 seconds]
aus has quit [Ping timeout: 255 seconds]
aus has joined #ffmpeg
Dotz0cat has quit [Ping timeout: 255 seconds]
todi has quit [Ping timeout: 252 seconds]
SystemError has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 260 seconds]
SystemError has joined #ffmpeg
Dotz0cat has joined #ffmpeg
e^pi-1 has joined #ffmpeg
averne_ has joined #ffmpeg
averne has quit [Read error: Connection reset by peer]
averne_ is now known as averne
sarpnt has joined #ffmpeg
lucasta has joined #ffmpeg
SuicideShow has quit [Ping timeout: 260 seconds]
SuicideShow has joined #ffmpeg
iconoclast_hero has joined #ffmpeg
<iconoclast_hero>
i have `ffmpeg -i "$1" 2> ".tmp$stamp"` in a script and it's worked fine to get me a list of chapters...
<iconoclast_hero>
this particular file is giving me some errors:
<iconoclast_hero>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x63cf2ede7580] stream 0, timescale not set
<iconoclast_hero>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x63cf2ede7580] Attached picture on stream 1 has invalid size, ignoring
<iconoclast_hero>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x63cf2ede7580] Could not find codec parameters for stream 1 (Video: png (png / 0x20676E70), none, 225x225): unspecified pixel format
<iconoclast_hero>
it's m4b with about 1/2 a dozen chapters and this error might be preventing ffmpeg from dispalying the chapters.
<tomb^>
hi, i'm trying to figure out how to overlay 2 images on top of video, I tried "-i video.mp4 -i image1.png -i image2.png -filter_complex"[1][0]scale2ref=oh*mdar:ih*0.13[logo][video];[2][0]scale2ref=oh*mdar:i*0.13[watermark][video];video][logo]overlay=(main_w-overlay_w):0;[video][watermark]overlay=(main_w-overlay_w):0", doesn't work.. what am i doing wrong?
psykose has quit [Remote host closed the connection]
zombean has quit [Read error: Connection reset by peer]