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
__jmcantrell__ has joined #ffmpeg
jmcantrell is now known as Guest2459
Guest2459 has quit [Killed (copper.libera.chat (Nickname regained by services))]
__jmcantrell__ is now known as jmcantrell
jmcantrell_ has joined #ffmpeg
rex has quit [Ping timeout: 244 seconds]
rex has joined #ffmpeg
minimal has quit [Quit: Leaving]
emmanuelux has joined #ffmpeg
lucasta has quit [Quit: Leaving]
iive has quit [Quit: They came for me...]
wziko has quit [Ping timeout: 244 seconds]
wziko has joined #ffmpeg
wziko has quit [Max SendQ exceeded]
wziko has joined #ffmpeg
xx has quit [Ping timeout: 264 seconds]
gchound has joined #ffmpeg
wziko has quit [Ping timeout: 252 seconds]
\\Mr_C\\ has quit [Remote host closed the connection]
yans has joined #ffmpeg
Magissia has quit [Ping timeout: 244 seconds]
Vonter has joined #ffmpeg
Suchiman has quit [Quit: Connection closed for inactivity]
Vonter has quit [Quit: WeeChat 4.4.3]
bitbinge has quit [Remote host closed the connection]
lolok has joined #ffmpeg
Vonter has joined #ffmpeg
bitbinge has joined #ffmpeg
gchound has quit [Quit: WeeChat 4.1.1]
bitbinge has quit [Ping timeout: 264 seconds]
rex has quit [Ping timeout: 248 seconds]
rex has joined #ffmpeg
fling has quit [Remote host closed the connection]
fling has joined #ffmpeg
StephenLynx has quit [Quit: Leaving]
emanuele6 has joined #ffmpeg
Vonter has quit [Quit: WeeChat 4.4.4]
wziko has joined #ffmpeg
faxm0dem has joined #ffmpeg
faxmodem has quit [Ping timeout: 260 seconds]
wziko has quit [Ping timeout: 265 seconds]
emanuele6 has left #ffmpeg [WeeChat 4.4.3]
rv1sr has joined #ffmpeg
KombuchaKip has quit [Quit: Leaving.]
KombuchaKip has joined #ffmpeg
yans has quit [Ping timeout: 252 seconds]
shiriru has joined #ffmpeg
shiriru has quit [Quit: Leaving]
emmanuelux has quit [Quit: au revoir]
low-key has quit [Remote host closed the connection]
low-key has joined #ffmpeg
acidbunny has quit [Remote host closed the connection]
wziko has joined #ffmpeg
wziko has quit [Ping timeout: 272 seconds]
litheum has quit [Ping timeout: 248 seconds]
EmleyMoor has quit [Ping timeout: 244 seconds]
EmleyMoor has joined #ffmpeg
litheum has joined #ffmpeg
luc4 has joined #ffmpeg
Suchiman has joined #ffmpeg
chiselfuse has quit [Ping timeout: 264 seconds]
Magissia has joined #ffmpeg
theobjectivedad has quit [Quit: ZNC - https://znc.in]
theobjectivedad has joined #ffmpeg
jmcantrell has quit [Ping timeout: 244 seconds]
jmcantrell_ is now known as jmcantrell
rv1sr has quit [Ping timeout: 260 seconds]
rv1sr has joined #ffmpeg
Sketch has quit [Remote host closed the connection]
Sketch has joined #ffmpeg
lolok has left #ffmpeg [#ffmpeg]
lol has joined #ffmpeg
crossby1004 has joined #ffmpeg
lavaball has joined #ffmpeg
Lynne has quit [Read error: Connection reset by peer]
xx has joined #ffmpeg
j45 has quit [Ping timeout: 248 seconds]
j45 has joined #ffmpeg
wziko has joined #ffmpeg
wziko has quit [Ping timeout: 252 seconds]
justaguy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
justaguy has joined #ffmpeg
wziko has joined #ffmpeg
Blacker47 has joined #ffmpeg
wziko has quit [Ping timeout: 260 seconds]
jprjr has quit [Ping timeout: 276 seconds]
jprjr has joined #ffmpeg
makidoll1 has joined #ffmpeg
makidoll has quit [Ping timeout: 264 seconds]
makidoll1 is now known as makidoll
minimal has joined #ffmpeg
bananicorn has joined #ffmpeg
<bananicorn> Hi there! I am using filters for the first time and noticed that the frame rate of the input video does not seem to be preserved. The input file is 30fps, the output is 120fps for some reason
<bananicorn> Audio seems fine, only video is affected. I use `-vf` with a "select" filter, followed by "scale" and finally "setpts" to correct the output frame times.
<bananicorn> Will make a paste with the exact options, any advice is appreciated
<bananicorn> ffprobe shows input as 4k 30fps, output as 1080p 120fps
lavaball has quit [Remote host closed the connection]
<kepstin> bananicorn: need to see the ffmpeg command output to see what's going on.
yans has joined #ffmpeg
Lynne has joined #ffmpeg
Lynne has quit [Remote host closed the connection]
Lynne has joined #ffmpeg
<bananicorn> This is the full output, with "-t 60" since my laptop takes ages to encode
<bananicorn> The video in the output file is significantly sped up (I assume 4x faster since we went from 30fps->120fps), audio is normal speed
minimal has quit [Quit: Leaving]
<putacho> bananicorn: use setpts=in-fps/out-fps*PTS (change in-fps and out-fps accordingly, eg 23.976/25*PTS) and set fps=fps=25 (change accordingly)
<putacho> bananicorn: you may also want -r 25 (change accordingly)
<putacho> oh yeah, scratch the fps filter, don't use it
<putacho> just setpts
lol has quit [Quit: lol]
lavaball has joined #ffmpeg
StephenLynx has joined #ffmpeg
luc4 has quit [Quit: Konversation terminated!]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
wziko has joined #ffmpeg
wziko has quit [Max SendQ exceeded]
<bananicorn> putacho: I don't want to change fps, my in-fps is 30 and my out-fps is 30 so that setpts filter would do nothing I think? And it does not take into account that PTS needs to be shifted after the select filter
wziko has joined #ffmpeg
wziko has quit [Max SendQ exceeded]
wziko has joined #ffmpeg
wziko has quit [Max SendQ exceeded]
wziko has joined #ffmpeg
sentriz has quit [Ping timeout: 252 seconds]
coldfeet has joined #ffmpeg
fling has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
fling has joined #ffmpeg
sentriz has joined #ffmpeg
Dagger has quit [Ping timeout: 265 seconds]
Dagger has joined #ffmpeg
nrg has quit [Quit: ZNC - https://znc.in]
Traneptora has quit [Quit: Quit]
System_Error has quit [Remote host closed the connection]
wziko has quit [Ping timeout: 252 seconds]
nrg has joined #ffmpeg
\\Mr_C\\ has joined #ffmpeg
<kepstin> bananicorn: it looks like the issue is that the setpts filter isn't able to accurately determine the input framerate for some reason, so you're going to have to manually specify it (replace "FR" with the actual framerate)
<kepstin> alternatively, use "settb=1/30,setpts=N" to get rid of the odd 1/120 timebase.
System_Error has joined #ffmpeg
<kepstin> keep in mind that if the video is actually variable framerate, you might run into issues. The fix for that is to add an "fps=30" filter _before_ your select filter.
sentriz has quit [Ping timeout: 248 seconds]
<bananicorn> kepstin: Neither the first nor the second suggestion worked, so the video must actually have a variable framerate, which I did not anticipate!
<bananicorn> I will retry with fps=30
<bananicorn> Is there an easy way to see whether a video has VFR?
<kepstin> depends on the format, but for many formats the answer is "not really, you'd have to read through and check the timestamps on every video frame"
<kepstin> what's the source of this video? If i had to guess... phone camera? less likely, a desktop pc screen capture?
sentriz has joined #ffmpeg
<bananicorn> Phone camera 😬
<bananicorn> With the fps filter all is well, thanks for the debugging help :)
<bananicorn> Lesson learned, phone camera does not produce video with a stable frame rate
signalhunter has quit [Quit: Ping timeout (120 seconds)]
signalhunter has joined #ffmpeg
crossby1004 has quit [Quit: leaving]
Jiggy has quit [Remote host closed the connection]
Jiggy has joined #ffmpeg
SupaGamer2017 has joined #ffmpeg
luser1 has quit [Quit: The Lounge - https://thelounge.chat]
low-key has quit [Ping timeout: 244 seconds]
luser1 has joined #ffmpeg
low-key has joined #ffmpeg
Sakura`Kinomoto has quit [Remote host closed the connection]
Sakura`Kinomoto has joined #ffmpeg
markizano has joined #ffmpeg
FlorianBad has quit [Remote host closed the connection]
FlorianBad has joined #ffmpeg
Muimi has joined #ffmpeg
rv1sr has quit []
rv1sr has joined #ffmpeg
wziko has joined #ffmpeg
__jmcantrell__ has joined #ffmpeg
jmcantrell is now known as Guest8945
Guest8945 has quit [Killed (copper.libera.chat (Nickname regained by services))]
__jmcantrell__ is now known as jmcantrell
jmcantrell_ has joined #ffmpeg
wziko has quit [Ping timeout: 244 seconds]
robobub has quit [Quit: Connection closed for inactivity]
Narrat has joined #ffmpeg
Tano has joined #ffmpeg
chandash has joined #ffmpeg
minimal has joined #ffmpeg
archsommar has joined #ffmpeg
archsommar has quit [Quit: WeeChat 4.4.4]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
jemius has joined #ffmpeg
ShadowJK has joined #ffmpeg
chandash has quit [Quit: WeeChat 4.4.2]
wziko has joined #ffmpeg
yans has quit [Remote host closed the connection]
wziko has quit [Ping timeout: 245 seconds]
yans has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
yans has quit [Client Quit]
coldfeet has quit [Quit: Lost terminal]
rv1sr has quit [Ping timeout: 260 seconds]
anticw_ has joined #ffmpeg
rv1sr has joined #ffmpeg
anticw has quit [Ping timeout: 248 seconds]
finsternis has quit [Read error: Connection reset by peer]
jmcantrell has quit [Ping timeout: 244 seconds]
jmcantrell_ is now known as jmcantrell
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
EmleyMoor has quit [Ping timeout: 246 seconds]
klaxa has joined #ffmpeg
EmleyMoor has joined #ffmpeg
JanC has quit [Ping timeout: 244 seconds]
jemius has quit [Quit: Leaving]
JanC has joined #ffmpeg
wziko has joined #ffmpeg
wziko has quit [Max SendQ exceeded]
wziko has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
todi has quit [Quit: ZNC - https://znc.in]
wziko has quit [Ping timeout: 248 seconds]
archsommar has joined #ffmpeg
archsommar has quit [Client Quit]
System_Error has joined #ffmpeg
archsommar has joined #ffmpeg
archsommar has quit [Client Quit]
chiselfuse has joined #ffmpeg
archsommar has joined #ffmpeg
<archsommar> :q
YuGiOhJCJ has joined #ffmpeg
archsommar has quit [Client Quit]
gchound has joined #ffmpeg
wziko has joined #ffmpeg
YuGiOhJCJ has quit [Remote host closed the connection]
YuGiOhJCJ has joined #ffmpeg
JanC has joined #ffmpeg
JanC is now known as Guest7775
Guest7775 has quit [Killed (mercury.libera.chat (Nickname regained by services))]
wziko has quit [Ping timeout: 248 seconds]
SuicideShow has quit [Ping timeout: 248 seconds]
SuicideShow has joined #ffmpeg
wziko has joined #ffmpeg
JanC has quit [Ping timeout: 252 seconds]
JanC has joined #ffmpeg
__jmcantrell__ has joined #ffmpeg
jmcantrell is now known as Guest1761
Guest1761 has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
__jmcantrell__ is now known as jmcantrell
jmcantrell_ has joined #ffmpeg