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
guanzo has quit [Quit: Client closed]
Marth64 has quit [Quit: Leaving]
Icedream has quit [Quit: A lol made me boom.]
Icedream has joined #ffmpeg
sihloo has joined #ffmpeg
sihloo has quit [Client Quit]
sihloo has joined #ffmpeg
iive has quit [Quit: They came for me...]
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
StephenLynx has quit [Ping timeout: 265 seconds]
DPA has quit [Ping timeout: 265 seconds]
StephenLynx has joined #ffmpeg
StephenLynx has quit [Ping timeout: 265 seconds]
DPA has joined #ffmpeg
five618480339172 has joined #ffmpeg
five61848033917 has quit [Ping timeout: 265 seconds]
five618480339172 is now known as five61848033917
Suchiman has quit [Quit: Connection closed for inactivity]
Sketch has quit [Ping timeout: 252 seconds]
noobaroo has joined #ffmpeg
<noobaroo> i downloaded a livestream with yt-dlp and its like 1min30secs duration but they had bad internet I guess and its very choppy, seems like its only like 5 or 6 frames the whole time
<noobaroo> I used ffmpeg to make it into rawh264 and then from there back into mp4 but the duration is the same
<noobaroo> I think to save space I could just extract 6 frames and then remux that back into a container with the same duration and it would be way smaller file size but look like exactly the same thing
<noobaroo> I guess since its a livestream they put new keyframes at regular intervals even if it's a duplicate frame, so that people who join in the middle can still watch
Sketch has joined #ffmpeg
deus0ww_ has joined #ffmpeg
deus0ww has quit [Ping timeout: 248 seconds]
<noobaroo> I think I can figure it out
<noobaroo> I think its actually easier to do this than to just regenerate timestamps for the whole video
<noobaroo> To regenerate timestamps for the whole video, like if there are completely missing pieces in between (not duplicate frames) where it skips directly from 09:00 to 23:00
<noobaroo> The only way I found to fix is by extracting to raw h264 first, then using -r 30 as input option on the raw h264 and usually also +genpts but not sure if thats really needed.
<noobaroo> It would be nice if i could do this without the middleman
<noobaroo> ive also tried -fps_mode cfr, -fps_mode vfr, and -fps_mode drop and it doesnt seem to have any effect
SuRGeoNix has joined #ffmpeg
lusciouslover has quit [Ping timeout: 276 seconds]
lusciouslover has joined #ffmpeg
<SuRGeoNix> Hi, I've notice a difference between 5.1 and 7.1 with key frames. Mainly at the beginning of a video the first frame will not be marked as keyframe while it actually is. Generally, would be normal to consider that after a flushing the decoders and providing a packet key that would expect a key frame from the decoders?
MisterMinister has quit [Ping timeout: 252 seconds]
Forza has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Forza has joined #ffmpeg
deus0ww has joined #ffmpeg
deus0ww_ has quit [Ping timeout: 252 seconds]
Cheetahze has joined #ffmpeg
five618480339175 has joined #ffmpeg
five61848033917 has quit [Ping timeout: 252 seconds]
five618480339175 is now known as five61848033917
Traneptora has joined #ffmpeg
FlorianBad has quit [Remote host closed the connection]
FlorianBad has joined #ffmpeg
Some_Person has quit [Ping timeout: 276 seconds]
Some_Person has joined #ffmpeg
SuRGeoNix has quit [Quit: Client closed]
billchenchina- has joined #ffmpeg
billchenchina- has quit [Remote host closed the connection]
cbsrobot has joined #ffmpeg
mven97 has quit [Ping timeout: 276 seconds]
mven97 has joined #ffmpeg
pyre has quit [Remote host closed the connection]
pyre has joined #ffmpeg
wobbol has quit [Ping timeout: 252 seconds]
rv1sr has joined #ffmpeg
Tano has quit [Quit: WeeChat 4.4.2]
Cheetahze has quit [Quit: Connection closed for inactivity]
emmanuelux has quit [Quit: au revoir]
Muimi has joined #ffmpeg
Muimi has quit [Client Quit]
cbsrobot has quit [Ping timeout: 265 seconds]
<noobaroo> Im really confused, mkvtoolnix GUI works, but I cant get ffmpeg to handle timestamps right even though ive tried at least 100 times
<noobaroo> I have like 8 mpegts streams and I want to combine them and I did it with mkvtoolnix effortlessly, no special configuration or anything
<noobaroo> With mkvtoolnix the resulting length of the combined video is 22mins which is good. Ffmpeg is giving me crazy results though. Concat demuxer makes a video of 9hours length. And concat protocol makes a video of almost 2 hours length
<noobaroo> I've tried -avoid_negative_ts make_zero, -copytb 0, -copytb 1, -fflags +genpts, nothing works
<noobaroo> Please help, i do this a lot lately and I really would like not to depend on mkvtoolnix GUI software
<noobaroo> I know i can convert it to raw h264 and raw aac first and thats what i Usually do, but I know this isn't the proper way, this is a crappy workaround, and it also won't work at all in this case because the video is 14 FPS variable framerate
x_x has joined #ffmpeg
j45 has quit [Ping timeout: 276 seconds]
HarshK23 has joined #ffmpeg
celmor has joined #ffmpeg
Suchiman has joined #ffmpeg
Blacker47 has joined #ffmpeg
Traneptora has quit [Quit: Quit]
cbsrobot has joined #ffmpeg
lavaball has joined #ffmpeg
alexherbo2 has joined #ffmpeg
microlappy has joined #ffmpeg
microlappy has quit [Client Quit]
x_x has quit [Remote host closed the connection]
cbsrobot has quit [Remote host closed the connection]
ewomer has quit [Read error: Connection reset by peer]
lavaball has quit [Remote host closed the connection]
x_x has joined #ffmpeg
ewomer has joined #ffmpeg
Unit640 has joined #ffmpeg
dilaver_ has quit [Quit: Ping timeout (120 seconds)]
dilaver_ has joined #ffmpeg
marcj has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
Tips|Cloud has quit [Ping timeout: 252 seconds]
meinside has quit [Ping timeout: 264 seconds]
meinside has joined #ffmpeg
Tips|Cloud has joined #ffmpeg
<snoriman> hi, with SwsContext is there a way to "force" the output stride to be -not- aligned?
<DeHackEd> as in, not need to over-allocate space?
<snoriman> yes
<DeHackEd> it would have to be much less optimized code. the reason for the large overallocation is that the CPU might use vector instructions for performance which may pull more data than is actually part of the image
<DeHackEd> those vector instructions are very good. you want them. it's a cost worth paying.
<snoriman> yeah I understand; though sadly, I have to pass the data into another function which does not except a stride and assumes tightly packed RGBA values
ewomer has quit [Quit: WeeChat 4.4.2]
celmor has quit [Quit: Client closed]
StephenLynx has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
minimal has joined #ffmpeg
j45 has joined #ffmpeg
alexherbo2 has joined #ffmpeg
noobaroo has quit [Quit: noobaroo]
nrg has quit [Quit: ZNC - https://znc.in]
nrg has joined #ffmpeg
rv1sr has quit [Ping timeout: 276 seconds]
Exa has quit [Quit: see ya!]
Exa has joined #ffmpeg
<snoriman> I noticed that SwsContext sometimes aligns on 64 byte boundaries and sometimes on 32 byte boundaries for the same video but on different PCs; I guess that SWS checks the CPU features to pick an alignment or is something else?
ewomer has joined #ffmpeg
Marth64 has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
<snoriman> ah, ff_get_cpu_max_align_x86() holds the answer I tink
rv1sr has joined #ffmpeg
Teraii has quit [Read error: Connection reset by peer]
Teraii has joined #ffmpeg
nitrix-or-treats is now known as nitrix
ewomer has quit [Read error: Connection reset by peer]
alexherbo2 has joined #ffmpeg
ewomer has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
lavaball has joined #ffmpeg
rv1sr has quit []
Teraii has quit [Read error: Connection reset by peer]
Teraii_ has joined #ffmpeg
Teraii_ is now known as Teraii
lucasta has joined #ffmpeg
rv1sr has joined #ffmpeg
crossby1004 has joined #ffmpeg
marcj has joined #ffmpeg
crossby1004 has quit [Ping timeout: 252 seconds]
crossby1004 has joined #ffmpeg
crossby1004 has quit [Remote host closed the connection]
billchenchina- has joined #ffmpeg
jemius has joined #ffmpeg
ewomer has quit [Ping timeout: 260 seconds]
<kmikita> I have problems with building ffmpeg --enable-sdl2 --enable-libplacebo (both latest git)
ewomer has joined #ffmpeg
<kmikita> add #include "libavutil/vulkan.h" to fftools/ffplay_renderer.o
<kmikita> returns:
<kmikita> fftools/ffplay_renderer.o: In function `create_vk_by_hwcontext':
<kmikita> ffplay_renderer.c:(.text+0x6b3): undefined reference to `pl_vulkan_num_recommended_extensions'
<kmikita> ffplay_renderer.c:(.text+0x6cd): undefined reference to `pl_vulkan_recommended_extensions'
<kmikita> any suggestions?
<JEEB> does libavfilter build (which has the libplacebo video filter?
<another|> <kmikita> add #include "libavutil/vulkan.h" to fftools/ffplay_renderer.o
<another|> wdym by that?
<kmikita> JEEB, yes, only on fflay stops
<JEEB> then if it is that linker error only, for whatever reason libplacebo linker flags are not added to ffplay linking? `make V=1` should print the build and link lines
<kmikita> another|, because something wrong, look at log
MisterMinister has joined #ffmpeg
ewomer has quit [Read error: Connection reset by peer]
<BtbN> SDL and ffmpeg having configure-directive collisions is weird
<BtbN> and probably will cause breakage if SDL enables something ffmpeg expects to be disabled
<JEEB> also for the record, if whatever you're hitting would be a common issue in BtbN's auto-builds
<JEEB> it would also show up
<JEEB> so something funky's going on :P
<kmikita> --disable-sdl2 : "libplacebo" builds ok, but no -vf libplacebo and ffplay
<JEEB> vf libplacebo should build just fine without sdl2
<JEEB> ffplay requires SDL2, so that's not surprising that it doesn't exist under that configuration
<BtbN> Getting the dependencies for Vulkan-Stuff right is quite complicated
<BtbN> with shaderc/gslang and friends
<BtbN> +l
<kmikita> BtbN: what Vulkan-* must have for success?
<kmikita> Vulkan-Headers not enough?)
emanuele6 has quit [Ping timeout: 255 seconds]
<another|> kmikita: I did look at the log. That doesn't explain what you mean by "add". Are you building a custom patched version?
<kmikita> another|, at log vanilla 7.1 version
<kmikita> I use #include "libavutil/vulkan.h" to suppress errors
<kmikita> I think its not good idea, but I research)
sonicrules1234 has quit [Remote host closed the connection]
<kmikita> hm... libavutil/vulkan.o missed
<kmikita> some kind of madness
<kmikita> will trying instal/reinstall vulkan staff
sonicrules1234 has joined #ffmpeg
<kmikita> thank you for help)
iive has joined #ffmpeg
<BtbN> You're not one of those folks who replace the build system with meson, and then wonder why stuff breaks?
<BtbN> For vulkan you need either shaderc or glslang, and all their numerous dependencies
emanuele6 has joined #ffmpeg
Muimi has joined #ffmpeg
minimal has quit [Quit: Leaving]
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
darkapex has quit [Ping timeout: 246 seconds]
darkapex has joined #ffmpeg
emanuele6 has quit [Ping timeout: 248 seconds]
emanuele6 has joined #ffmpeg
Vonter has quit [Quit: WeeChat 4.4.2]
hightower2 has joined #ffmpeg
Juesto has joined #ffmpeg
Juest has quit [Ping timeout: 246 seconds]
Juesto is now known as Juest
x_x has quit [Remote host closed the connection]
x_x has joined #ffmpeg
Tano has joined #ffmpeg
TheSilentLink has quit [Ping timeout: 252 seconds]
TheSilentLink has joined #ffmpeg
kasper93_ is now known as kasper93
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
jtgd has quit [Quit: WeeChat 4.4.2]
coldfeet has joined #ffmpeg
jtgd has joined #ffmpeg
StephenLynx has quit [Ping timeout: 246 seconds]
jemius has quit [Quit: Leaving]
nd has quit [Ping timeout: 252 seconds]
nd has joined #ffmpeg
<kmikita> BtbN, it would be nice to add tests in configurator to check supported by libplacebo.so functions.
emmanuelux has joined #ffmpeg
<BtbN> what do you mean?
<BtbN> configure already check for libplacebo
<kmikita> I mean not existing checkm but compile short example
<BtbN> Why?
<kmikita> because me libplacebo.so work well with mpv, and ffmpeg approve, but compilation failed
<BtbN> Then it's just a wrong version check?
<BtbN> Though your errors did not look libplacebo related, but more like something else being very messed up with vulkan/sdl stuff
<kmikita> my libplacebo builded without glslang and shaderc and it is reason to reject configuration
<kmikita> I will spend this night compiling and tell you later what was not enough in my system. :)
prekk has joined #ffmpeg
StephenLynx has joined #ffmpeg
prekk has quit [Remote host closed the connection]
prekk has joined #ffmpeg
Juesto has joined #ffmpeg
Juest has quit [Ping timeout: 252 seconds]
<ePirat> kmikita, libplacebo without glslang or shaderc is mostly useless if you want to use vulkan
<ePirat> also on your configure invocation for ffmpeg you probably want --enable-vulkan too
Juesto is now known as Juest
Juesto has joined #ffmpeg
billchenchina- has quit [Remote host closed the connection]
Juest has quit [Ping timeout: 252 seconds]
Juesto is now known as Juest
coldfeet has quit [Remote host closed the connection]
lavaball has quit [Remote host closed the connection]
SuicideShow has quit [Ping timeout: 265 seconds]
SuicideShow has joined #ffmpeg
rv1sr has quit []
Marth64 has quit [Quit: Leaving]
minimal has joined #ffmpeg
five61848033917 has quit [Remote host closed the connection]
five61848033917 has joined #ffmpeg
ewomer has joined #ffmpeg
x_x has quit [Ping timeout: 260 seconds]
meklu has quit [Quit: Because I can.]
meklu has joined #ffmpeg
Some_Person has quit [Ping timeout: 252 seconds]
Some_Person has joined #ffmpeg