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
chiselfuse has quit [Remote host closed the connection]
esu has quit [Remote host closed the connection]
chiselfuse has joined #ffmpeg
esu has joined #ffmpeg
lusciouslover has quit [Read error: Connection reset by peer]
Rena has quit [Remote host closed the connection]
lusciouslover has joined #ffmpeg
blb has quit [Ping timeout: 245 seconds]
blb has joined #ffmpeg
Rena has joined #ffmpeg
Suchiman has quit [Quit: Connection closed for inactivity]
crossby1004 has quit [Remote host closed the connection]
minimal has quit [Quit: Leaving]
emanuelespooky is now known as emanuele6
Unit640 has quit [Quit: Leaving]
lucasta has quit [Quit: Leaving]
Vonter has joined #ffmpeg
ops has quit [Ping timeout: 276 seconds]
ops has joined #ffmpeg
StephenLynx has quit [Quit: Leaving]
FlorianBad has quit [Remote host closed the connection]
Nact has quit [Remote host closed the connection]
FlorianBad has joined #ffmpeg
pikapika_lunar has joined #ffmpeg
pikapika_lunar is now known as militantorc
Some_Person has quit [Ping timeout: 255 seconds]
rvalue- has joined #ffmpeg
rvalue has quit [Ping timeout: 248 seconds]
Some_Person has joined #ffmpeg
rvalue- is now known as rvalue
YuGiOhJCJ has joined #ffmpeg
KombuchaKip has quit [Quit: Leaving.]
Some_Person has quit [Ping timeout: 272 seconds]
KombuchaKip has joined #ffmpeg
Some_Person has joined #ffmpeg
NovaHorizon has joined #ffmpeg
MrZeus has quit [Ping timeout: 252 seconds]
FH_thecat has quit [Quit: Leaving]
NovaHorizon0 has joined #ffmpeg
NovaHorizon has quit [Ping timeout: 244 seconds]
NovaHorizon0 is now known as NovaHorizon
xx has joined #ffmpeg
Vonter has quit [Ping timeout: 252 seconds]
Blacker47 has joined #ffmpeg
\\Mr_C\\ has joined #ffmpeg
Krusher has joined #ffmpeg
FH_thecat has joined #ffmpeg
CountPumpkin is now known as CounterPillow
coldfeet has joined #ffmpeg
aaabbb has joined #ffmpeg
zmt00 has joined #ffmpeg
zmt01 has joined #ffmpeg
swamp_ has quit [Ping timeout: 248 seconds]
zmt00 has quit [Ping timeout: 276 seconds]
rossome has quit [Quit: WeeChat 4.4.2]
rossome has joined #ffmpeg
<aaabbb>
if i'm recording video with v4l2 and audio with alsa, how do i ensure the audio and video are in sync
rossome has quit [Client Quit]
<noobaroo>
Does mkv format always say `fps mode: constant` in mediainfo output, even if its actually variable fps ?
<noobaroo>
Like does it just not support this information or something, or maybe its an opt-in choice to declare the mode in some headers upon creation instead of hard-coded detection by the tool... ?
lavaball has joined #ffmpeg
<noobaroo>
aaabbb my experience is that you either adjust afterward with human senses and settle for getting it almost perfect, or you record it at the same time with the same program
<aaabbb>
noobaroo: constant and variable aren't separate things under mkv afaik. i'm not sure how mediainfo gets its information
<aaabbb>
all cfr means for mkv is that each pts is evenly spaced
<aaabbb>
also, i am recording at the same time with the same program, using -f v4l2 for video and -f alsa for audio, simultaneously on the same ffmpeg invocation
<noobaroo>
And you dont think its in sync ?
<aaabbb>
it's never been in sync in any system i've used, usually because the camera has some internal latency
<aaabbb>
i wonder if there's a better way than just estimating the video's lag and then putting adelay in the audio filterchain
NovaHorizon has joined #ffmpeg
crossby1004 has joined #ffmpeg
lexano has joined #ffmpeg
minimal has quit [Quit: Leaving]
squeaktoy has quit [Ping timeout: 252 seconds]
squeaktoy has joined #ffmpeg
yans has joined #ffmpeg
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
dostoyevsky2 has quit [Ping timeout: 252 seconds]
dostoyevsky2 has joined #ffmpeg
ewomer has joined #ffmpeg
Muimi has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
Cheetahze has joined #ffmpeg
rex has quit [Ping timeout: 260 seconds]
rex_victor has joined #ffmpeg
rex_victor is now known as rex
buu_ has quit [Ping timeout: 264 seconds]
buu has joined #ffmpeg
FlorianBad has quit [Remote host closed the connection]
lexano has quit [Remote host closed the connection]
FlorianBad has joined #ffmpeg
militantorc has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
lavaball has joined #ffmpeg
militantorc has joined #ffmpeg
<noobaroo>
aaabbb: did you ever figure it out? I'm guessing the best way would be recording and measuring the amount of milliseconds between a human triggered action, and the resulting sound from it.
militantorc has quit [Max SendQ exceeded]
<noobaroo>
I can't think of what specific programs would work here, but you would need a silent environment (which just means closing any open programs) and then generate a sound by clicking a button and then you can look on the video timestamps when the button got clicked (it would need to visibly indicate being pressed, like changing color or smushing forward) And at the timestamps when the sound occured
Some_Person has quit [Ping timeout: 248 seconds]
<noobaroo>
It should be a relatively easy fix assuming the difference is one constant offset throughout your whole video... Much easier than my problem
Some_Person has joined #ffmpeg
militantorc has joined #ffmpeg
<noobaroo>
I'm trying to correct the timestamps for livestreams that have a bunch of empty space in them. I haven't actually found a solution and I just write the livestreams with streamlink now instead of yt-dlp (which uses ffmpeg). It's more simple and just fails repeatedly, instead of keeping going and making empty timestamp sections
fling has joined #ffmpeg
<noobaroo>
It's the best workaround I've found so far. Basically to avoid the problem in the first place. Not really to fix the problem.
lexano has joined #ffmpeg
<noobaroo>
It should be easy to remove empty sections of videos, but it's not. The only way I have found to do it is by extracting the raw h264 stream and regenerating timestamps completely from scratch with -r 30 or -r 23.976 constant FPS which doesn't preserve the VFR
Some_Person has quit [Ping timeout: 252 seconds]
rsx has quit [Quit: rsx]
Some_Person has joined #ffmpeg
Some_Person has quit [Ping timeout: 276 seconds]
nurupo has quit [Quit: nurupo.ga]
nurupo has joined #ffmpeg
Some_Person has joined #ffmpeg
lucasta has joined #ffmpeg
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Cheetahze has quit [Quit: Connection closed for inactivity]
coldfeet has quit [Remote host closed the connection]
Narrat has joined #ffmpeg
psykose has quit [Remote host closed the connection]
psykose has joined #ffmpeg
Muimi has joined #ffmpeg
StephenLynx has quit [Ping timeout: 260 seconds]
lucasta has quit [Quit: Leaving]
Krusher has quit [Read error: Connection reset by peer]
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
StephenLynx has joined #ffmpeg
KombuchaKip has quit [Quit: Leaving.]
MrZeus has joined #ffmpeg
KombuchaKip has joined #ffmpeg
buu has quit [Ping timeout: 252 seconds]
buu has joined #ffmpeg
dmr104 has quit [Ping timeout: 260 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
dbal has joined #ffmpeg
dbal has quit [Ping timeout: 244 seconds]
minimal has joined #ffmpeg
microlappy has joined #ffmpeg
microlappy has quit [Client Quit]
Juest has quit [Ping timeout: 252 seconds]
Juest has joined #ffmpeg
Juesto has joined #ffmpeg
Juest has quit [Ping timeout: 252 seconds]
Juesto is now known as Juest
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
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.]
MrZeus has quit [Read error: Connection reset by peer]
lucasta has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
luva8889 has joined #ffmpeg
ChocolateArmpits has quit [Ping timeout: 276 seconds]
luva888 has quit [Ping timeout: 276 seconds]
luva8889 is now known as luva888
DauntlessOne has quit [Ping timeout: 248 seconds]
DauntlessOne has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
xx has quit [Ping timeout: 260 seconds]
sentriz has quit [Ping timeout: 252 seconds]
Juesto has joined #ffmpeg
Juest has quit [Ping timeout: 252 seconds]
Juesto is now known as Juest
iive has joined #ffmpeg
Some_Person has quit [Ping timeout: 260 seconds]
SuicideShow has quit [Ping timeout: 276 seconds]
SuicideShow has joined #ffmpeg
MrZeus has joined #ffmpeg
Some_Person has joined #ffmpeg
<aaabbb>
noobaroo: i have not figured it out. i just snapped my fingers and manually calculated the delay and used the adelay filter. but typical webcam recorders deal with this already somehow, without manual adjustment it seems like
<aaabbb>
and each webcam seems to have a different latency so it makes me ask if v4l2 reports the latency somehow? and other programs can take this into account, but ffmpeg doesn't, or at least that information is not being used somehow?