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
System_Error has quit [Remote host closed the connection]
grufwub has quit [Remote host closed the connection]
lucasta has joined #ffmpeg
System_Error has joined #ffmpeg
Some_Person has quit [Ping timeout: 260 seconds]
Some_Person has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
grufwub has joined #ffmpeg
ewomer has quit [Read error: Connection reset by peer]
Kei_N_ has joined #ffmpeg
Kei_N has quit [Ping timeout: 244 seconds]
Some_Person has quit [Ping timeout: 260 seconds]
Some_Person has joined #ffmpeg
ewomer has joined #ffmpeg
Sketch has quit [Quit: ZNC - http://znc.in]
Sketch has joined #ffmpeg
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg
System_Error has quit [Client Quit]
System_Error has joined #ffmpeg
shibboleth has quit [Quit: shibboleth]
Unit640 has quit [Quit: Leaving]
NotWarcop has quit [Remote host closed the connection]
peppi has joined #ffmpeg
<peppi> hello
<aaabbb> hi
<peppi> I kinda asked before but has anyone here ever gotten ffmpeg to output to pipewire?
tux97 has joined #ffmpeg
<aaabbb> maybe with -f alsa
<peppi> isn't alsa audio?
System_Error has quit [Remote host closed the connection]
<aaabbb> i assumed you meant outputting audio
<peppi> negative video actually my bad, should have clarified
System_Error has joined #ffmpeg
lucasta has quit [Quit: Leaving]
StephenLynx has quit [Quit: Leaving]
peppi^ has joined #ffmpeg
<peppi^> gphoto2 --stdout --set-config liveviewsize=0 --capture-movie | ffmpeg -f mjpeg -i pipe:0 -c:v rawvideo -pix_fmt yuv420p -r 25 -threads 0 -f v4l2 -s:v 1920x1080 /dev/video0
fling_ has joined #ffmpeg
fling has quit [Ping timeout: 260 seconds]
theracermaster2 has joined #ffmpeg
fling_ is now known as fling
BtbN has quit [Ping timeout: 272 seconds]
BtbN has joined #ffmpeg
<znf> ffmpeg -v verbose -i "file.mkv" -map 0:0 -map 0:1 -muxdelay 0 -muxpreload 0 -movflags +faststart -c:v copy -c:a copy -f hls -hls_time 10 -hls_playlist_type vod -hls_flags independent_segments -hls_segment_type mpegts out.m3u8
<znf> ^ any ideas why this doesn't properly split into segments?
<znf> it only creats 0.ts
<znf> I'm assuming the file is somehow broken
<znf> but I can't figure out how/why
<peppi> znf, have to run, but have some ideas
<peppi> how long is the video?
<peppi> ffmpeg -i "file.mkv" what does that look like? can you paste the output?
<peppi> dos: ffmpeg -i "file.mkv" -t 10 -c copy test.ts work?
<peppi> keyframes: ffmpeg -i "file.mkv" -vf showinfo -f null -
<peppi> Look for keyframe flags in the log and note how frequently they occur.
<peppi> try this: ffmpeg -v verbose -i "file.mkv" -map 0:0 -map 0:1 -muxdelay 0 -muxpreload 0 -movflags +faststart -c:v copy -c:a copy -f hls -hls_time 10 -hls_playlist_type vod -hls_segment_type mpegts out.m3u8
<peppi> gotta run
Marth64 has quit [Quit: Leaving]
<znf> hmm, the original file is ~27min
<znf> but when doing a copy, it "breaks" at 11 minutes
Marth64 has joined #ffmpeg
Suchiman has quit [Quit: Connection closed for inactivity]
stolen has joined #ffmpeg
l4yer has joined #ffmpeg
Marth64 has quit [Quit: Leaving]
zsoltiv_ has quit [Ping timeout: 252 seconds]
compn has joined #ffmpeg
markizano has quit [Ping timeout: 252 seconds]
markizano has joined #ffmpeg
YuGiOhJCJ has joined #ffmpeg
FH_thecat has quit [Quit: Leaving]
rvalue- has joined #ffmpeg
Some_Person has quit [Ping timeout: 252 seconds]
rvalue has quit [Ping timeout: 260 seconds]
louipc has joined #ffmpeg
rvalue- is now known as rvalue
Some_Person has joined #ffmpeg
Krusher has joined #ffmpeg
coldfeet has joined #ffmpeg
MetaNova has quit [Ping timeout: 276 seconds]
xx has joined #ffmpeg
stolen has quit [Quit: Connection closed for inactivity]
Suchiman has joined #ffmpeg
tux97 has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #ffmpeg
FH_thecat has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
alexherbo2 has quit [Remote host closed the connection]
Rena has quit [Ping timeout: 272 seconds]
tux97 has joined #ffmpeg
peppi_ has joined #ffmpeg
peppi^ has quit [Read error: Connection reset by peer]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
Dotz0cat has quit [Ping timeout: 255 seconds]
lavaball has joined #ffmpeg
vlm has quit [Ping timeout: 272 seconds]
MetaNova has joined #ffmpeg
j45 has quit [Ping timeout: 260 seconds]
j45 has joined #ffmpeg
vlm has joined #ffmpeg
rsx has joined #ffmpeg
arbitercoin has joined #ffmpeg
Blacker47 has joined #ffmpeg
Unit640 has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
Blacker47 has joined #ffmpeg
coldfeet has joined #ffmpeg
Wulf has quit [Ping timeout: 260 seconds]
Wulf has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
coldfeet has quit [Remote host closed the connection]
function1_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
lavaball has joined #ffmpeg
lavaball has quit [Quit: lavaball]
j45 has quit [Ping timeout: 260 seconds]
j45 has joined #ffmpeg
ewomer has quit [Read error: Connection reset by peer]
lavaball has joined #ffmpeg
lucasta has joined #ffmpeg
ewomer has joined #ffmpeg
lucasta has quit [Quit: Leaving]
Some_Person has quit [Ping timeout: 260 seconds]
Some_Person has joined #ffmpeg
Some_Person has quit [Ping timeout: 244 seconds]
Some_Person has joined #ffmpeg
StephenLynx has joined #ffmpeg
minimal has joined #ffmpeg
alexherbo2 has joined #ffmpeg
Some_Person has quit [Ping timeout: 260 seconds]
Sketch has quit [Ping timeout: 252 seconds]
Some_Person has joined #ffmpeg
Sketch has joined #ffmpeg
yans has quit [Quit: Let us play... Hide and Slay!]
manwithluck has quit [Remote host closed the connection]
manwithluck has joined #ffmpeg
rvalue- has joined #ffmpeg
rvalue has quit [Ping timeout: 248 seconds]
stolen has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
rvalue- is now known as rvalue
Sketch has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ffmpeg
minimal has quit [Quit: Leaving]
Marth64 has joined #ffmpeg
Sketch has joined #ffmpeg
JEEB has quit [Quit: leaving]
lucasta has joined #ffmpeg
<znf> BtbN, tried the latest firmware, still freezing, no-go for Intel for me, I guess
lavaball has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
microlappy has joined #ffmpeg
microlappy has quit [Client Quit]
JEEB has joined #ffmpeg
Sketch has quit [Ping timeout: 272 seconds]
Sketch has joined #ffmpeg
<noobaroo_> Who is the ones that was trying to help me and told me about `-metadata:s:0 DURATION=` ? i forgot your name and im looking through but dont recognize it
<noobaroo_> Who is the ones that was trying to help me and told me about `-metadata:s:0 DURATION=` ? i forgot your name and im looking through but dont recognize it
mven97 has quit [Quit: Goodbye.]
noobaroo_ has left #ffmpeg [#ffmpeg]
noobaroo has joined #ffmpeg
<noobaroo> Who is the ones that was trying to help me and told me about `-metadata:s:0 DURATION=` ? i forgot your name and im looking through but dont recognize it
<noobaroo> Im having IRC client struggles so sorry for spam
mven97 has joined #ffmpeg
<Marth64> i think that was me
<noobaroo> Oh okay, thank you by the way, do you remember who else was helping ?
<Marth64> furq probably
<Marth64> didd it actually work?
<noobaroo> I think the consensus about the per-stream metadata fields (shown by ffprobe) is that ffmpeg doesnt put any metadata, its the muxer, specifically the mkv muxer. I just learned about `-fflags +bitexact -flags:v +bitexact -flags:a +bitexact` and from my understanding it should prevent the mkv muxer from adding them but it doesnt
<noobaroo> Nah it wasnt furq, i know and remember his name. It was a name that was longer than both of yours put together
<noobaroo> also furq, mkvmerge doesn't use move the cues to front, and i dont think there is any setting to enable this either
<Marth64> I am not so sure about that because I recall an instance where SubtitleEdit choked on my matroska file without cues_to_front
<Marth64> mkvmerge definitely does something differently that led to more compatibility there
<Marth64> (i.e. I muxed the same file with mkvmerge and it worked fine)
Krusher has quit [Read error: Connection reset by peer]
<noobaroo> I beg to differ because im seeing the info from mkvmerge's noob-friendly GUI tool, it should be hard for me to mess up here
<galad> Are there some video available of VDD 2024 talks?
lucasta has quit [Quit: Leaving]
<noobaroo> The first is made with mkvmerge, the second is same 3 files made with ffmpeg -cues_to_front true https://0x0.st/XDWc.webp https://0x0.st/XDWT.webp
<noobaroo> Note that ffmpeg would look the same by default, the cues only get moved to front with the added flag
<noobaroo> Im also learning the different subtitle codec IDs, very unfamiliar here, but im trying to find out what my TV supports. So far it seems to only support subtitles in mkv in S_TEXT/UTF8 (.srt) format. It ignores mov_text subtitles in mp4 files
<noobaroo> For a few days now I've kind of understood that ffmpeg and mkvmerge mux the .vtt subtitles differently, but i just discovered an old forum that says "ffmpeg seems to support (D_WEBVTT/…) is an old and outdated work-in-progress paper by the WebM project"
<noobaroo> From 2016! I vaguely saw yesterday when Googling why mkvmerge wont remux subtitles into a .webm video , that they only support the new format ID specifications, but I had no idea just how old, "old", was
yans has joined #ffmpeg
<noobaroo> Like, i thought "new" actually meant new. But the old way (ffmpeg's current method) was called old back in 2016
JanC has quit [Ping timeout: 276 seconds]
JanC has joined #ffmpeg
rsx has quit [Quit: rsx]
System_Error has quit [Remote host closed the connection]
<zayd> why do i keep getting "[ffmpeg/audio] ape: packet size is not a multiple of 4. extra bytes at the end will be skipped." in both mpv playback and ffmpeg decoding? is that normal or did i do something wrong?
<BtbN> znf: next guess would be drivers. If they're also 3+ years old, that'd also be a good explanation.
Rena has joined #ffmpeg
System_Error has joined #ffmpeg
<znf> BtbN, you mean the mesa stuff?
<znf> Intel's stuff is very confusing to me
<BtbN> more like the kernel side and vaapi driver
<BtbN> mesa is not overly involved in vaapi, like I said
<znf> I'm on 6.8, that's march 2024
<noobaroo> Ive kind of given up on this, but since you guys are talking about drivers, vp9_qsv and vp9_vaapi dont work for me, im on i5 rocket lake, it says its supported in vainfo, but the output is a mangled screen with green and various rainbow colors
<znf> I'm wondering if the issue is only present with i915, maybe `xe` could work?
<JEEB> noobaroo: dec or enc? and is the slice dec/enc thing visible in vainfo for the format/profile?
<noobaroo> dec works, its enc
<noobaroo> Yeah its visible, according to intel github, enc only works with GuC enabled, but i have it enabled since forever ago
<JEEB> I guess the order of stuff is that you verify that you have the newest available vaapi driver, and possibly test out something else that might have support for VP9 VAAPI encoding. not sure if gstreamer has it?
<noobaroo> Ive given up but its a shame because vp9 is kind of the only encoder that is painfully slow. Since svtav1 came out, even av1 is like 500x faster for the same quality level (not mathemetical)
<noobaroo> I didnt even know gstreamer did anything different than ffmpeg
<noobaroo> Most stuff just uses ffmpeg under the hood
<JEEB> they have their own modules for hwdec things like v4l2 requests etc
<JEEB> or certain separate library decoders etc
<JEEB> so that they don't go through avcodec
<noobaroo> Also i have a stream downloading right now, not with ffmpeg but with streamlink, and it keeps changing resolutions midstream, is there a way to easily separate the resolutions ?
<znf> gonna try `i915.force_probe=!56a5 xe.force_probe=56a5` later tonight
<noobaroo> I tried setting resolution in the mkvtoolnix-gui hoping it would force it to a constant resolution, but it still changes while playing and the window moves all around, makes it hard to follow
<noobaroo> An easy work around is just playing it in fullscreen
<znf> what's streamlink?
<znf> are you downloading DASH or Adaptive-HLS?
<noobaroo> I could probably change something in mpv settings i guess but it would only fix it on this device
<znf> Are you also decrypting DRM stuff?
<noobaroo> I have no idea, i wonder the same myself, it says its mp4 with brand "iso5" but everything else with same tool downloads as mpegts
<noobaroo> All other m3u8 links download as mpegts format with this tool, except this one website that m3u8 links download as mp4 and the timestamps will start at 38min or whatever , since the livestream first began
<noobaroo> All i know is that its not DRM and its a m3u8 url
<znf> open up the m3u8, if you see multiple bitrates...
<znf> (and resolutions)
<znf> that means it's adaptive hls
<znf> as in, download the file, open it up with notepad, or cat the file, or whatever your preferred way
<noobaroo> I dont see multiple resolutions
<noobaroo> I downloaded .mp4 file from inside the .m3u8 manually with wget and its not playable, and `file` command just says "Data"
Rena has quit [Ping timeout: 276 seconds]
ewomer has quit [Ping timeout: 252 seconds]
stolen has quit [Quit: Connection closed for inactivity]
ewomer has joined #ffmpeg
ChocolateArmpits has joined #ffmpeg
Some_Person has quit [Ping timeout: 276 seconds]
MrZeus_ has joined #ffmpeg
MrZeus__ has joined #ffmpeg
Some_Person has joined #ffmpeg
MrZeus_ has quit [Ping timeout: 244 seconds]
<znf> Oh, there's an intel-i915-dkms
<znf> Version: 1.24.6.12.240823.13+i14-1
System_Error has quit [Remote host closed the connection]
JanC has quit [Ping timeout: 245 seconds]
System_Error has joined #ffmpeg
JanC has joined #ffmpeg
wobbol has quit [Ping timeout: 252 seconds]
halvut has quit [Ping timeout: 276 seconds]
duskmoss has quit [Ping timeout: 252 seconds]
Sketch has quit [Ping timeout: 252 seconds]
wobbol has joined #ffmpeg
duskmoss has joined #ffmpeg
ewomer has quit [Read error: Connection reset by peer]
TheSilentLink has quit [Ping timeout: 252 seconds]
TheSilentLink has joined #ffmpeg
wobbol has quit [Ping timeout: 245 seconds]
wobbol has joined #ffmpeg
Sketch has joined #ffmpeg
minimal has joined #ffmpeg
alexherbo2 has joined #ffmpeg
ewomer has joined #ffmpeg
EmleyMoor has joined #ffmpeg
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ffmpeg
JanC has joined #ffmpeg
JanC is now known as Guest3452
Guest3452 has quit [Ping timeout: 260 seconds]
EmleyMoor has quit [Ping timeout: 260 seconds]
Marth64 has quit [Quit: Leaving]
lavaball has quit [Remote host closed the connection]
iconoclasthero has joined #ffmpeg
arbitercoin has quit [Ping timeout: 252 seconds]
Keshl has quit [Ping timeout: 276 seconds]
Rena has joined #ffmpeg
<iconoclasthero> is there some way to suspend ffplay on linux after calling `$ ffplay -nodisp zmq:tcp://localhost:5555 -loglevel debug` other than `pkill -SIGSTOP ffplay` ? ^Z doesn't do anything.
Sketch has quit [Ping timeout: 252 seconds]
ChocolateArmpits has quit [Ping timeout: 246 seconds]
\\Mr_C\\ has joined #ffmpeg
lucasta has joined #ffmpeg
EmleyMoor has joined #ffmpeg
System_Error has quit [Ping timeout: 260 seconds]
Sketch has joined #ffmpeg
JanC has quit [Ping timeout: 260 seconds]
lullerhaus has quit []
JanC has joined #ffmpeg
lullerhaus has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
puff has joined #ffmpeg
System_Error has joined #ffmpeg
<compn> iconoclasthero, i cant remember, does ffplay have an input pipe
<compn> then you could just throw a keyboard command at that pipe
<compn> i know mplayer does
<compn> iconoclasthero, does running ffplay with -autoexit work if you kill the tcp stream? maybe not
<compn> or does q / ctrl c work ?
JanC has quit [Ping timeout: 252 seconds]
a0z has joined #ffmpeg
yans has quit [Quit: Let us play... Hide and Slay!]
System_Error has quit [Remote host closed the connection]
JanC has joined #ffmpeg
Dotz0cat has joined #ffmpeg
<iconoclasthero> compn: i'm not looking to end ffplay, just was expecting ^Z to suspend and it didn't.
<iconoclasthero> i'm not sure what happens with -autoexit
System_Error has joined #ffmpeg
vlm has quit [Ping timeout: 260 seconds]
vlm has joined #ffmpeg
tokyovigilante has quit [Ping timeout: 276 seconds]
tokyovigilante has joined #ffmpeg
<compn> oh suspend i'm thinking something else
<iconoclasthero> btw -autoexit didn't work when i told mpd to disable the zmq output which effectively ends it on the server side.
<iconoclasthero> it didn't actually kill the ssh tunnel i use though
tux97 has quit [Read error: Connection reset by peer]
<puff> Good afternoon. I'm helping an artist friend by batch rescaling and cropping several hundred small videos using ffmpeg. While googling on some command details, I saw somebody refer to shutterencoder as "A GUI for ffmpeg". I'm wondering ifI ought to steer my artist friend towards shutterencoder, has anybody used it?
<puff> I guess in particular the question of whether shutterencoder is good for batch stuff.
<compn> use whatever works. if its open source then its better.
<compn> i havent heard of shutterencoder though
<puff> I.e. I'm writing simple shell scripts to feed a couple hundred files into ffmpeg, one at a time.
<compn> there are programs to batch ffmpeg runs , too
<puff> Yoiks, cropdetect is taking a while.
<compn> im not a huge fan of java frontends but if you like it , go for it
<puff> Thanks.
noobaroo has quit [Ping timeout: 264 seconds]
<compn> at least its a gui. a lot of people have difficulties with command line
robobub has joined #ffmpeg
noobaroo has joined #ffmpeg
<puff> Hm... I have these videos with black bars on either side, trying to figure out the right crop size to remove them. Kinda hard to count black pixels.
Traneptora has quit [Quit: Quit]
<compn> the old cropdetect conundrum!
<puff> Yup.
<puff> Well, the trick is that I need to crop more than just the black bars. I need to crop the righthand black bar plus 15 pixels, for artsy reasons.
<puff> Hm, that's interesting. [Parsed_cropdetect_0 @ 0x74b97867c1c0] x1:411 x2:1508 y1:0 y2:1079 w:1088 h:1072 x:416 y:4 pts:40300 t:13.433333 crop=1088:1072:416:4
<puff> The 4 at the end, specifically, implies that ffmpeg things there's a 4 pixel black bar at the top.
<puff> Although I don't think there's supposed to be one, and I don't see it in the vidoe.
Tano has joined #ffmpeg
<compn> cropdetect is full of arcane magic that i never fully understood.
<puff> Me neither.
SuicideShow has quit [Ping timeout: 245 seconds]
noobaroo_ has joined #ffmpeg
noobaroo has quit [Ping timeout: 244 seconds]
SuicideShow has joined #ffmpeg
xx has quit [Ping timeout: 260 seconds]
Unit640 has left #ffmpeg [Leaving]
alexherbo2 has quit [Remote host closed the connection]
shibboleth has joined #ffmpeg
emanuele6 has quit [Ping timeout: 244 seconds]
emanuele6 has joined #ffmpeg
minimal has quit [Quit: Leaving]
<iconoclasthero> @puff personally, if I can write a script to feed stuff into ffmpeg, I'm better off than trying to screw around with a GUI.
<iconoclasthero> especially if I'm trying to do a large batch, but I automated the conversion of indexed m4b files to indexed opus files. though a bunch of steps, several of which require ffmpeg for e.g., splitting, conveting, concatenating.
<iconoclasthero> (the splitting out is probably not strictly necessary, but it takes advantage of parallel conversion)