ChanServ 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.1.1 is released
YUiNA has joined #ffmpeg
wiitux has joined #ffmpeg
Shuriko has joined #ffmpeg
ackyshake has quit [Quit: Soupy Twist!]
Shine_ has joined #ffmpeg
Fiji has joined #ffmpeg
Fiji_ has joined #ffmpeg
Fiji has quit [Remote host closed the connection]
Shine_ has quit [Read error: Connection reset by peer]
KombuchaKip has quit [Quit: Leaving.]
marcj has joined #ffmpeg
upekkha has quit []
upekkha has joined #ffmpeg
_whitelogger has joined #ffmpeg
<johnjaye> hmm. i thought av1 was a unique codec successor to vp9
maxim_d33 has quit [Ping timeout: 248 seconds]
<johnjaye> but i swear when i have ffprobe display an mp4 file it says it's AV1 based on x264
<aaabbb> av1 based on x264? huh?
<johnjaye> oh it says avc1
<johnjaye> as in Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive),
<aaabbb> that makes more sense. H.264 is AVCf
<aaabbb> *AVC
maxim_d33 has joined #ffmpeg
user_oreloznog has joined #ffmpeg
JanC has quit [Ping timeout: 248 seconds]
JanC has joined #ffmpeg
Fiji_ has quit [Ping timeout: 244 seconds]
pikapika_lunar_a has joined #ffmpeg
pikapika_lunar has quit [Read error: Connection reset by peer]
hackkitten has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
hackkitten has joined #ffmpeg
JanC has quit [Ping timeout: 248 seconds]
JanC has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
JanC has quit [Ping timeout: 252 seconds]
JanC has joined #ffmpeg
System_Error has joined #ffmpeg
cantelope has quit [Quit: Connection closed for inactivity]
jmcantrell has quit [Quit: WeeChat 4.6.3]
Jan\ has quit [Ping timeout: 244 seconds]
Jan\ has joined #ffmpeg
xx has joined #ffmpeg
damian101 has quit [Ping timeout: 260 seconds]
lavaball has joined #ffmpeg
emmanuelux has quit [Quit: au revoir]
ahc has quit [Quit: Leaving]
Kei_N_ has joined #ffmpeg
Kei_N has quit [Ping timeout: 252 seconds]
WaKaN has joined #ffmpeg
SuicideShow has quit [Ping timeout: 272 seconds]
JanC has quit [Killed (tantalum.libera.chat (Nickname regained by services))]
JanC has joined #ffmpeg
SuicideShow has joined #ffmpeg
Blacker47 has joined #ffmpeg
rsx has joined #ffmpeg
Shine_ has joined #ffmpeg
SuicideShow has quit [Ping timeout: 248 seconds]
SuicideShow has joined #ffmpeg
Sketch has quit [Remote host closed the connection]
putacho has joined #ffmpeg
microchip_ has quit [Ping timeout: 276 seconds]
Sketch has joined #ffmpeg
YUiNA has quit [Ping timeout: 248 seconds]
K900 has quit [Remote host closed the connection]
K900 has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
microlappy has joined #ffmpeg
omegatron has joined #ffmpeg
microlappy has quit [Quit: Konversation terminated!]
microlappy has joined #ffmpeg
sfan5 has joined #ffmpeg
<sfan5> how do I debug which kind of pixel format the libplacebo filter outputs? it outputs hardware frames, right?
<sfan5> because I'm trying to encode it on gpu and all I get is [hevc_vulkan @ 0x556ae55633c0] Pixel format yuv420p of input frames not supported!
microlappy has quit [Quit: Konversation terminated!]
<haasn> It can output both hw and sw frames depending on what you request
<haasn> But to answer your question, vf_showinfo is usually helpful
<sfan5> [Parsed_showinfo_1 @ 0x7f3d4c005340] n: 0 pts: 0 pts_time:0 duration: 41 duration_time:0.041 fmt:vulkan cl:topleft sar:1/1 s:3840x2160 i:P iskey:1 type:I checksum:00000000 plane_checksum:[00000000] mean:[] stdev:[]
<sfan5> [Parsed_showinfo_1 @ 0x7f3d4c005340] color_range:tv color_space:bt709 color_primaries:bt709 color_trc:bt709
<sfan5> I assume the hardware itself has a pixel format and hevc_vulkan doesn't like it? can I convert that without a cpu-roundtrip?
<sfan5> the hardware frame*
<sfan5> appending to "format=nv12,hwupload" to my filter chain makes it work but that means converting it on the cpu
<sfan5> haha nvm I just need to add "format=nv12" to libplacebo
YUiNA has joined #ffmpeg
Kei_N_ has quit [Read error: Connection reset by peer]
Kei_N has joined #ffmpeg
five618480339176 has quit [Remote host closed the connection]
five618480339176 has joined #ffmpeg
<haasn> ah yeah
<haasn> I was working on a patchset for making ffmpeg better at negotiating hwframe swfmts but it got lost in the aether
<haasn> mostly because of hwupload being stupid and overloaded to do two different things
<JEEB> also the format meta-filter could be extended to be able to set both hw and sw format
<JEEB> or just extend it so that in case of the thing before being a hw format, it'd compare against or set the sw format instead, but that may get messy
cantelope has joined #ffmpeg
zzarr has joined #ffmpeg
relue has joined #ffmpeg
dkh has quit [Quit: Ping timeout (120 seconds)]
dkh has joined #ffmpeg
NotWarcop has quit [Remote host closed the connection]
function1 has quit [Quit: ZNC 1.8.2 - https://znc.in]
wyatt8740 has quit [Quit: ZNC got killed or something else has gone wrong, probably.]
function1 has joined #ffmpeg
Warcop has joined #ffmpeg
wyatt8740 has joined #ffmpeg
lavaball has joined #ffmpeg
user_oreloznog has quit [Quit: https://quassel-irc.org]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
minimal has joined #ffmpeg
zzarr has quit [Quit: Leaving]
Fiji_ has joined #ffmpeg
user_oreloznog has joined #ffmpeg
jiffy__ has joined #ffmpeg
Fiji_ has quit [Read error: Connection reset by peer]
Guest6754 has joined #ffmpeg
Kruppt has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
Guest6754 has quit [Quit: Client closed]
Kruppt has quit [Quit: Leaving]
<sfan5> apparently AMD's encoder doesn't like it when you set -b_depth and produces broken output without a single warning https://0x0.st/8xfX.jpg
stolen has joined #ffmpeg
KombuchaKip has joined #ffmpeg
rsx has quit [Quit: rsx]
cantelope has quit [Quit: Connection closed for inactivity]
damian101 has joined #ffmpeg
jiffy__ has quit [Ping timeout: 276 seconds]
lavaball has joined #ffmpeg
xx has quit [Remote host closed the connection]
xx has joined #ffmpeg
jmcantrell has joined #ffmpeg
omegatron has quit [Quit: Power is a curious thing. It can be contained, hidden, locked away, and yet it always breaks free.]
ocrete has quit [Quit: The Lounge - https://thelounge.chat]
ndufresne has quit [Quit: The Lounge - https://thelounge.chat]
putacho has quit [Quit: There is no spoon!]
ocrete has joined #ffmpeg
ndufresne has joined #ffmpeg
microchip_ has joined #ffmpeg
robobub has joined #ffmpeg
coldfeet has joined #ffmpeg
user_oreloznog has quit [Ping timeout: 245 seconds]
user_oreloznog has joined #ffmpeg
jmcantrell has quit [Ping timeout: 252 seconds]
jmcantrell has joined #ffmpeg
rvalue- has joined #ffmpeg
rvalue has quit [Ping timeout: 252 seconds]
damian101 has quit [Remote host closed the connection]
damian101 has joined #ffmpeg
rvalue- is now known as rvalue
ishan has quit [Remote host closed the connection]
ishan has joined #ffmpeg
stolen has quit [Quit: Connection closed for inactivity]
jmcantrell has quit [Ping timeout: 276 seconds]
microchip_ has quit [Ping timeout: 244 seconds]
microchip_ has joined #ffmpeg
kasper93 has quit [Ping timeout: 252 seconds]
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
Shine_ has quit [Read error: Connection reset by peer]
coldfeet has quit [Quit: Lost terminal]
kasper93 has joined #ffmpeg
xx has quit [Ping timeout: 264 seconds]
f0x_3033691271 has quit [Read error: Connection reset by peer]
f0x_3033691271 has joined #ffmpeg
YuGiOhJCJ has joined #ffmpeg
sihloo has quit [Read error: Connection reset by peer]
sihloo has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 248 seconds]
<Trel> What combination of loglevel and stats will get me progress and errors, but nothing else?
sihloo has quit [Quit: ZNC 1.9.1 - https://znc.in]
sfan5 has left #ffmpeg [q]
Traneptora has quit [Quit: Quit]
<furq> -stats -v error
sihloo has joined #ffmpeg
<johnjaye> since you're here can i ask a follow up. i tried testing out the select filter and it's confusing to me
<johnjaye> my goal is to just delete frames or drop them in a time interval without splitting the file. just with a filter.
<johnjaye> but select filter it just deletes the frame visually but the file keeps playing
<johnjaye> like if i delete frames from 5-10 seconds i think it just freezes the image for 5 sec
<Trel> furq: thanks, is -v an alias for -loglevel or do they behave differently?
<BtbN> you'll need to fix the timestamps of all following frames, else there's just a gap
<furq> it's just an alias
m5zs7k has quit [Ping timeout: 252 seconds]
<johnjaye> BtbN: is there any filter which simply achieves deletion completely? e.g. ffmpeg -i input.mp4 -ss 0 -t 5 file1.mp4; ffmpeg -i input.mp4 -ss 10 file2.mp4; ffmpeg -i file1.mp4 file2.mp4 concat fileout.mp4
<BtbN> what the select filter does _is_ just deleting
<BtbN> but you seem to want more than just deletion
<furq> probably easier to select the segments you do want, rebase the timestamps and concat
<BtbN> select filter and just a setpts after might work
<johnjaye> even if i just want to cut out 2 seconds in a single place/
<BtbN> if there's also audio, it gets messy though
<johnjaye> yes there was audio
<johnjaye> do i need to specify select and aselect separately?
<furq> yes
<BtbN> You'll have to come up with an equivalent set of audio filters then
<BtbN> and video and audio frames likely won't align perfectly
<furq> if you do it with the demuxer then you can potentially not have to reencode
<furq> which is the most important thing if you can avoid it
<johnjaye> ah ok if i use select and aselect together i think it works
<johnjaye> when i said just select=blah it basically just froze the video for that time while the audio played over it
<johnjaye> which i guess is the fact there's no video frames but there was audio frames
user_oreloznog has quit [Quit: https://quassel-irc.org]
<johnjaye> so what i do is select=1-between(t,5,10) and aselect=1-between(t,5,10) and it deletes from 5 to 10 seconds
<johnjaye> i found Iain Richardson's book on h264. hopefully if i read it i'll understand what ffmpeg is doign better
<furq> that shouldn't work
<furq> but i guess if it plays then whatever
<johnjaye> here's my full command: https://dpaste.com/E4KKU2AJM
<furq> probably try it in another player before calling it done though
<furq> check the duration of the output file
<johnjaye> oh i see what you mean. vlc does just freeze the output for those 5 seconds while a still image shows
<furq> what player did it work in
<johnjaye> ffplay
<johnjaye> that's what i use
<furq> sounds broken but i guess i don't know what should happen if a frame has a duration of .04 seconds but then there's a five-second gap
<johnjaye> can you just run the command yourself and have ffprobe say what happened
<furq> i was going to suggest something like "segment=timestamps=5|10[x][y][z];[y]nullsink;[z]setpts=PTS-STARTPTS[a];[x][a]concat"
<furq> and the same with asegment/asetpts
<johnjaye> i see
<furq> i'm not sure how you would modify the timestamps otherwise without needing to know it's cfr and what the framerate is
<furq> and that sucks
<johnjaye> using ffmpeg version 7.0.1-full_build-www.gyan.dev on windows here btw
<furq> i assume ffplay is just busted
<johnjaye> so for segment i would have to repeat all that stuff but for asegment?
<furq> yeah except concat
<furq> and then concat=a=1
<johnjaye> right
<BtbN> I wonder why the equation parser has nothing akin to "global information state", that'd contain stuff provided by the demuxer and decoder
<BtbN> well, "global" for that stream
<furq> "select='1-between(t,5,10)',setpts='if(gt(T,5),PTS-5/TB,PTS)'"
<furq> i guess that's easier
<furq> obviously that will get ugly fast if you need to cut two segments out
<johnjaye> right
<johnjaye> the whole point of it is if i wanted to cut several segments in a single command. e.g. 5-10, 17-19, and 30-31
<furq> probably stick with segment then
<johnjaye> maybe this feature is too similar to what a GUI would do. so there's never been a reason to have it
<furq> well there's a bunch of ways to do it
<furq> they're all just kind of ugly
<furq> but that doesn't seem to be a major concern of the lavfi devs
<johnjaye> wait libav or whatever is not maintaind by ffmpeg?
<furq> they're all under the same control but people seem to focus on particular parts
<johnjaye> ok. you said it in a way like it was a separate group
lavaball has quit [Remote host closed the connection]
m5zs7k has joined #ffmpeg
jmcantrell has joined #ffmpeg
f0x_3033691271 has quit [Read error: Connection reset by peer]
f0x_3033691271 has joined #ffmpeg
lucasta has joined #ffmpeg
relue has quit [Ping timeout: 252 seconds]
relue has joined #ffmpeg
EmleyMoor has joined #ffmpeg
jiffy__ has joined #ffmpeg
f0x_3033691271 has quit [Read error: Connection reset by peer]
f0x_3033691271 has joined #ffmpeg
ossifrage has quit [Quit: Leaving]
<Trel> furq: I finally got to test it `-loglevel error -stats` gives more than progress and errors, there's a whole bunch of codec infos that gets printed too.
yans has quit [Ping timeout: 260 seconds]
ossifrage has joined #ffmpeg
<furq> x265 has its own loglevel parameter
<furq> -x265-params log-level=error
<furq> maybe other codecs have something similar
kasper93_ has joined #ffmpeg
kasper93 has quit [Killed (tungsten.libera.chat (Nickname regained by services))]
kasper93_ is now known as kasper93
jprjr has quit [Read error: Connection reset by peer]
jprjr has joined #ffmpeg
_whitelogger has joined #ffmpeg
YUiNA_ has joined #ffmpeg