kurosu has quit [Quit: Connection closed for inactivity]
Marth64 has joined #ffmpeg
ZedHedTe1 is now known as ZedHedTed
<Marth64>
Hi good evening. I have a weird issue that I noticed in 6.1 and latest master, but not in 6.0. Summary: When stream copying to MKV and setting colorspace metadata (e.g. -color_primaries, and so on), ffmpeg gives a warning that the metadata is not used for any stream. Yet, the metadata is still applied and the warning didn't appear in 6.0 versions. Did the arguments usage change? Command & context: https://paste.debian.net/1298534/
<Marth64>
(I only expect the metadata to be applied to the container, and it is, but strange the warning is appearing when it hadn't before)
whupdup has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Capstan has quit [Ping timeout: 250 seconds]
mackies has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 276 seconds]
gust82 has quit [Remote host closed the connection]
thilo has quit [Ping timeout: 268 seconds]
gust82 has joined #ffmpeg
navi has quit [Quit: WeeChat 4.0.4]
gchound has joined #ffmpeg
thilo has joined #ffmpeg
ecapi_ has joined #ffmpeg
ecapi_ has quit [Ping timeout: 256 seconds]
EmleyMoor has joined #ffmpeg
gchound has quit [Quit: Leaving]
gust82 has quit [Remote host closed the connection]
EmleyMoor has quit [Ping timeout: 256 seconds]
gust82 has joined #ffmpeg
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 255 seconds]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 256 seconds]
EmleyMoor has joined #ffmpeg
lexano has quit [Ping timeout: 264 seconds]
Bombo has quit [Ping timeout: 252 seconds]
EmleyMoor has quit [Ping timeout: 252 seconds]
Bombo has joined #ffmpeg
Bombo has joined #ffmpeg
Bombo has quit [Changing host]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 255 seconds]
Lead has quit [Quit: Leaving]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 255 seconds]
EmleyMoor has joined #ffmpeg
lemourin has quit [Read error: Connection reset by peer]
lemourin9 has joined #ffmpeg
lemourin9 is now known as lemourin
EmleyMoor has quit [Ping timeout: 256 seconds]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 256 seconds]
MisterMinister has joined #ffmpeg
maxim_d33 has quit [Ping timeout: 276 seconds]
EmleyMoor has joined #ffmpeg
maxim_d33 has joined #ffmpeg
<aaabbb>
is there any downside to "-vsync cfr -vf setpts=N/FR/TB" as a way to get rid of non-monotonous dts timestamps in output files when transcoding vfr inputs? (it's vfr but the framerate doesn't vary much at all from 30fps)
hightower3 has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 264 seconds]
hightower2 has quit [Ping timeout: 252 seconds]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 255 seconds]
<furq>
not other than the obvious one
<aaabbb>
furq: what's the obvious one?
<furq>
that you'll lose audio sync if the average framerate isn't almost exactly 30
<aaabbb>
isn't FR the average framerate?
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 255 seconds]
<aaabbb>
furq: is there a better way to get rid of the non-monotonous dts? -vsync passthrough and -vsync vfr do not work
<furq>
FR is undefined for vfr
<furq>
at least according to the docs
<aaabbb>
it seems to use be using tbr
<furq>
that's one of those errors that nobody ever replies to in here because it can have a million different causes and solutions
<furq>
you can try -fflags +igndts
<aaabbb>
i don't know the cause, because the source video comes from a cell phone recording or something, it's just the way i got the videos
<furq>
i take it the output video actually has issues that need to be fixed
<aaabbb>
it does. it has non-monotonous timestamps that some players are having a hard time with
EmleyMoor has joined #ffmpeg
<aaabbb>
when i add +igndts, with -vsync passthrough, it's passing the non-monotonous timestamps ("Non-monotonous DTS in output stream"), when i do -vsync vfr there are a large number of "Past duration 0.682823 too large" warnings
<aaabbb>
which is the same as when i don't have +ignts
<aaabbb>
duplicate timestamps eg "previous: 6144, current: 6144; changing to 6145". the resulting file skips on some players, and ffmpeg -i in.mp4 -f null - has many lines like "Application provided invalid, non monotonically increasing dts to muxer in stream 0: 14 >= 14"
EmleyMoor has quit [Ping timeout: 255 seconds]
<aaabbb>
furq: how do i find more information about the problem so that i can troubleshoot more effectively?
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 255 seconds]
<aaabbb>
or alternately, is there a "proper" way to get average framerate so i can manually put it in the setpts?
<aaabbb>
would the value "avg_frame_rate" in -show_streams be correct for that use?
EmleyMoor has joined #ffmpeg
Vonter_ has quit [Remote host closed the connection]
Vonter has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 255 seconds]
EmleyMoor has joined #ffmpeg
durandal_1707 has quit [Ping timeout: 255 seconds]
durandal_1707 has joined #ffmpeg
\\Mr_C\\ has quit [Remote host closed the connection]
EmleyMoor has quit [Ping timeout: 256 seconds]
EmleyMoor has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 256 seconds]
<aaabbb>
doing setpts using avg_frame_rate makes sure it is exactly the same length, but the "Past duration too large" warnings continue, and several frames are dropped
EmleyMoor has joined #ffmpeg
lusciouslover has quit [Ping timeout: 276 seconds]
<aaabbb>
whereas doing it using r_frame_rate (which i think is what FR is) and setting cfr causes the video duration to change slightly so i assume that results in audio going out of sync like you mentioned, but it also causes there to be no dropped frames, or warnings
Ogobaga has quit [Read error: Connection reset by peer]
Ogobaga has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 256 seconds]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 256 seconds]
EmleyMoor has joined #ffmpeg
dgcampea-2 has joined #ffmpeg
dgcampea has quit [Killed (NickServ (Forcing logout dgcampea -> dgcampea))]
dgcampea-2 is now known as dgcampea
EmleyMoor has quit [Ping timeout: 256 seconds]
qqq has joined #ffmpeg
EmleyMoor has joined #ffmpeg
beaver has quit [Remote host closed the connection]
<aaabbb>
furq: i might have solved it. instead of using setpts, taking the average framerate and setting that with "-vf fps=", and using "-vsync vfr" creates a file that has an identical duration, and i don't notice any problems with it
EmleyMoor has quit [Ping timeout: 255 seconds]
<aaabbb>
i think it would basically be cfr, but the -vsync vfr prevents it from duplciating 2 frames at the beginning, and instead setting the start pts to 2
ecapi_ has joined #ffmpeg
EmleyMoor has joined #ffmpeg
<aaabbb>
doing "-fflags +genpts -r $avg_frame_rate" also seems to work
ecapi_ has quit [Ping timeout: 255 seconds]
EmleyMoor has quit [Ping timeout: 252 seconds]
FH_thecat has quit [Quit: Leaving]
EmleyMoor has joined #ffmpeg
YuGiOhJCJ has joined #ffmpeg
dgcampea has quit [Remote host closed the connection]
dgcampea has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 255 seconds]
jagannatharjun has joined #ffmpeg
Suchiman has quit [Quit: Connection closed for inactivity]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 256 seconds]
<MisterMinister>
Greetings! Is there an option to add blank SCTE-35 data PID type 0x86 please, similar to what specified in tsduck?
EmleyMoor has joined #ffmpeg
darkapex has quit [Ping timeout: 268 seconds]
darkapex has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 252 seconds]
waleee has quit [Ping timeout: 255 seconds]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 255 seconds]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 256 seconds]
EmleyMoor has joined #ffmpeg
madoff has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 256 seconds]
madoff has quit [Quit: Leaving]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 256 seconds]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 264 seconds]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 255 seconds]
EmleyMoor has joined #ffmpeg
derpydoo has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 255 seconds]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 255 seconds]
<aaabbb>
furq: haha, remuxing it to mkv with stream copy before doing transcoding with -vfr passthrough solves the issue!
Buster__ has joined #ffmpeg
zsoltiv_ has quit [Ping timeout: 256 seconds]
zsoltiv_ has joined #ffmpeg
FH_thecat has joined #ffmpeg
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg
rv1sr has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
robobub has quit [Quit: Connection closed for inactivity]
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg
Buster__ has quit [Ping timeout: 264 seconds]
AbleBacon has quit [Read error: Connection reset by peer]
kurosu has joined #ffmpeg
vlm has joined #ffmpeg
Shuriko has quit [Ping timeout: 268 seconds]
MoC has joined #ffmpeg
Vonter has quit [Ping timeout: 255 seconds]
Vonter has joined #ffmpeg
zsoltiv_ has quit [Quit: Left]
flom84 has joined #ffmpeg
zsoltiv_ has joined #ffmpeg
ivanich has joined #ffmpeg
kepstin has quit [Remote host closed the connection]
kepstin has joined #ffmpeg
ivanich has quit [Remote host closed the connection]
dgcampea has quit [Remote host closed the connection]
dgcampea has joined #ffmpeg
diniboy has joined #ffmpeg
b50d has joined #ffmpeg
Capstan has joined #ffmpeg
lavaball has joined #ffmpeg
navi has joined #ffmpeg
waleee has joined #ffmpeg
Suchiman has joined #ffmpeg
deus0ww has quit [Ping timeout: 255 seconds]
zsoltiv_ has quit [Ping timeout: 264 seconds]
deus0ww has joined #ffmpeg
bitbinge has joined #ffmpeg
a0z has joined #ffmpeg
ivanich has joined #ffmpeg
<aaabbb>
noob question: other than making it harder on players to seek, being harder to edit without much generation loss, and being more vulnerable to corruption like when streaming, is there any downside to keyint=-1 (infinite gop) for x265?
MisterMinister has quit [Ping timeout: 256 seconds]
<aaabbb>
with scenecut detection on of course
emmanuelux has quit [Read error: Connection reset by peer]
emmanuelux has quit [Read error: Connection reset by peer]
ecapi has quit [Remote host closed the connection]
ecapi has joined #ffmpeg
emmanuelux has joined #ffmpeg
Nik- has joined #ffmpeg
swing has quit [Read error: Connection reset by peer]
swing has joined #ffmpeg
nemesit has joined #ffmpeg
nemesit has quit [Client Quit]
luna has joined #ffmpeg
luna has left #ffmpeg [#ffmpeg]
nemesit has joined #ffmpeg
ivanich has quit [Remote host closed the connection]
bitbinge has joined #ffmpeg
Shine_ has joined #ffmpeg
dgcampea has quit [Remote host closed the connection]
dgcampea has joined #ffmpeg
taupiqueur_shiny has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
lavaball has joined #ffmpeg
b50d has quit [Remote host closed the connection]
lavaball has quit [Remote host closed the connection]
lavaball has joined #ffmpeg
Tano has quit [Quit: WeeChat 4.0.4]
EmleyMoor has joined #ffmpeg
LuKaRo_ has quit [Ping timeout: 255 seconds]
LuKaRo has joined #ffmpeg
MolassesLover has quit [Quit: MolassesLover]
maeve has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 252 seconds]
Tano has joined #ffmpeg
rsx has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
lavaball has joined #ffmpeg
waleee has joined #ffmpeg
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 252 seconds]
lusciouslover has joined #ffmpeg
bitbinge has quit [Ping timeout: 240 seconds]
EmleyMoor has joined #ffmpeg
maeve has quit [Quit: maeve]
maeve has joined #ffmpeg
maeve has quit [Remote host closed the connection]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
EmleyMoor has quit [Ping timeout: 264 seconds]
EmleyMoor has joined #ffmpeg
NaviTheFairy has quit [Quit: Oh no. A thing broke.]
EmleyMoor has quit [Ping timeout: 252 seconds]
EmleyMoor has joined #ffmpeg
NaviTheFairy has joined #ffmpeg
raini_ok has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 252 seconds]
EmleyMoor has joined #ffmpeg
luva6 has quit [Ping timeout: 252 seconds]
EmleyMoor has quit [Ping timeout: 255 seconds]
EmleyMoor has joined #ffmpeg
luva6 has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 264 seconds]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 256 seconds]
EmleyMoor has joined #ffmpeg
minimal has joined #ffmpeg
Lead has joined #ffmpeg
Lead has quit [Changing host]
Lead has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 255 seconds]
taupiqueur_shiny has quit [Ping timeout: 250 seconds]
EmleyMoor has joined #ffmpeg
taupiqueur_shiny has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 256 seconds]
EmleyMoor has joined #ffmpeg
qqq has quit [Remote host closed the connection]
EmleyMoor has quit [Ping timeout: 264 seconds]
EmleyMoor has joined #ffmpeg
cdsloif^ has joined #ffmpeg
bitbinge has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 264 seconds]
EmleyMoor has joined #ffmpeg
hwm4rgs has quit [Quit: Bye.]
hwm4rgs has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 264 seconds]
raini_ok has quit [Quit: Leaving]
EmleyMoor has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 252 seconds]
bitbinge has quit [Ping timeout: 240 seconds]
EmleyMoor has joined #ffmpeg
Capstan has quit [Ping timeout: 250 seconds]
EmleyMoor has quit [Ping timeout: 252 seconds]
EmleyMoor has joined #ffmpeg
<kepstin>
aaabbb: that "harder to seek" think is a pretty big deal, but it you really don't need seeking... it's not like there's a quality cost, you don't even need scenecut detection, the codec can mix in intra blocks into predicted frames as needed.
taupiqueur_shiny has quit [Remote host closed the connection]
<kepstin>
scenecut detection is mostly a bitrate optimization for when you have periodic keyframes enabled - it makes it so you don't have a scene change (encoded mostly as intra blocks) and a keyframe (all intra blocks) right beside each-other, using a lot of bits.
<kepstin>
if it detects a scene change, it decides (weighted based on how far away it is from the next keyframe and potentially other things) whether or not to make the gop shorter by move the next keyframe to the spot of the scene change.
Nik- has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg
cdsloif^ has quit [Ping timeout: 252 seconds]
cdsloif^ has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
foul_owl has quit [Ping timeout: 256 seconds]
rsx has quit [Quit: rsx]
lexano has joined #ffmpeg
Ischwitch has joined #ffmpeg
Ingvix has quit [Ping timeout: 268 seconds]
Ischwitch is now known as Ingvix
deltab has quit [Ping timeout: 240 seconds]
deltab has joined #ffmpeg
swing has quit [Read error: Connection reset by peer]
swing has joined #ffmpeg
Capstan has joined #ffmpeg
\\Mr_C\\ has joined #ffmpeg
foul_owl has joined #ffmpeg
deltab has quit [Ping timeout: 255 seconds]
deltab has joined #ffmpeg
derpydoo has quit [Ping timeout: 264 seconds]
iderik has joined #ffmpeg
bitbinge has joined #ffmpeg
___nick___ has joined #ffmpeg
___nick___ has quit [Client Quit]
___nick___ has joined #ffmpeg
darkapex has quit [Remote host closed the connection]
darkapex has joined #ffmpeg
five6184803 has joined #ffmpeg
five618480 has quit [Ping timeout: 255 seconds]
five6184803 is now known as five618480
five6184806 has joined #ffmpeg
ivanich has joined #ffmpeg
five618480 has quit [Ping timeout: 255 seconds]
five6184806 is now known as five618480
boxrick has joined #ffmpeg
<boxrick>
Hello folks! Maybe this isn't the one for here, but I am looking to re-encode a HDR bluray rip into some semi usable size ( think 15-30gb from the current 80gb ). I wish to retain the original audio and re-encode it to a good standard without it taking longer than say 24 hours on a modern 8 core CPU.
<boxrick>
Would the following settings be sensible?
<BtbN>
That message looks unrelated to that, and probably means your input is somewhat broken
___nick___ has joined #ffmpeg
bitbinge has quit [Ping timeout: 240 seconds]
___nick___ has quit [Ping timeout: 256 seconds]
gvg_ has joined #ffmpeg
gvg has quit [Ping timeout: 246 seconds]
Nik- has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nik- has joined #ffmpeg
<Marth64>
Hi, any thoughts on this one? >> When stream copying to MKV and setting colorspace metadata (e.g. -color_primaries, and so on), ffmpeg 6.1/latest master gives a warning that the metadata is not used for any stream. Yet, the metadata is still applied and the warning didn't appear in 6.0 versions. Did the arguments usage change? Command & context: https://paste.debian.net/1298534/
Estrella has quit [Quit: No Ping reply in 180 seconds.]
<BtbN>
I don't think muxers care about that info? So without any encoding happening, i'd expect it to do nothing
Estrella has joined #ffmpeg
thilo has quit [Ping timeout: 255 seconds]
<Marth64>
Thanks BtbN. I initially thought the same but I did check. But the muxer is reacting to the flags, i.e. visibly changing the metadata on the stream to the values I provide (after I review in mkvtoolnix). So it's doing something but logging a seemingly innocent warning that wasn't there in 6.0. Not a huge issue just seems strange.
<Marth64>
I'll try to trace it back to a commit or change, it's definitely a behavior difference
<Marth64>
Just wanted to make sure I didn't screw up the command e.g. new usage. :D
thilo has joined #ffmpeg
iderik has quit [Quit: WeeChat 3.8]
bitbinge has joined #ffmpeg
vlm has quit [Remote host closed the connection]
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg
yazooq has joined #ffmpeg
bitbinge has quit [Ping timeout: 240 seconds]
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
Buster__ has quit [Ping timeout: 264 seconds]
Capstan has quit [Ping timeout: 250 seconds]
HarshK23 has quit [Quit: Connection closed for inactivity]
qqq has joined #ffmpeg
flom84 has joined #ffmpeg
MisterMinister has joined #ffmpeg
navi has quit [Quit: WeeChat 4.0.4]
Nik- has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Marth64 has quit [Quit: Leaving]
intrac has quit [Quit: Konversation terminated!]
intrac has joined #ffmpeg
Shine_ has quit [Read error: Connection reset by peer]
DonTrackMe has quit [Remote host closed the connection]
DonTrackMe has joined #ffmpeg
bitbinge has joined #ffmpeg
MoC has quit [Quit: Konversation terminated!]
DonTrackMe has quit [Remote host closed the connection]
DonTrackMe has joined #ffmpeg
Ogobaga has quit [Quit: Konversation terminated!]
Ogobaga has joined #ffmpeg
Shuriko has joined #ffmpeg
DonTrackMe has quit [Read error: Connection reset by peer]
Teukka has quit [Read error: Connection reset by peer]