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
System_Error has quit [Remote host closed the connection]
phantomics has quit [Ping timeout: 260 seconds]
System_Error has joined #ffmpeg
chair1 has joined #ffmpeg
Guest0 has joined #ffmpeg
phantomics has joined #ffmpeg
UltraFuzzy has joined #ffmpeg
iive has quit [Quit: They came for me...]
<UltraFuzzy>
Howdy y'all. Is there any way to specify times to cli ffmpeg in nanoseconds for options like -ss and -to ? I don't see a way to do this in the docs so I think the answer is no and I know it sounds a bit silly but I'd prefer it if I could take nanosecond timestamps reported by ffprobe and feed them straight into ffmpeg without unnecessary truncation.
Guest0 has quit [Quit: Client closed]
<BtbN>
almost no container tracks timestamps with that much accuracy anyway
KombuchaKip has quit [Remote host closed the connection]
KombuchaKip has joined #ffmpeg
mven9713 has quit [Quit: Goodbye.]
mven9713 has joined #ffmpeg
Rena has quit [Quit: $WITTY_QUIT_MESSAGE]
<furq>
you don't have to truncate it yourself if that's what you're asking
Rena has joined #ffmpeg
Corroddity has quit [Quit: WeeChat 4.3.4]
lutherann has joined #ffmpeg
maxim_d33 has quit [Ping timeout: 252 seconds]
maxim_d33 has joined #ffmpeg
jmcantrell has joined #ffmpeg
jmcantrell has quit [Ping timeout: 268 seconds]
Vonter has joined #ffmpeg
pastelowl has joined #ffmpeg
Hackerpcs has joined #ffmpeg
maxim_d33 has quit [Ping timeout: 272 seconds]
maxim_d33 has joined #ffmpeg
coldfeet has joined #ffmpeg
Fiji has quit [Ping timeout: 260 seconds]
SakuraChan has quit [Ping timeout: 272 seconds]
Sakura`Kinomoto has joined #ffmpeg
softworkz has joined #ffmpeg
Vonter has quit [Ping timeout: 252 seconds]
putacho has joined #ffmpeg
microchip_ has quit [Ping timeout: 248 seconds]
System_Error has quit [Remote host closed the connection]
softworkz has quit [Quit: Leaving]
mrelcee has quit [Quit: Rectum? it damned near Killed 'em!]
FH_thecat has quit [Quit: Leaving]
Richardcavell_ has joined #ffmpeg
System_Error has joined #ffmpeg
coldfeet has quit [Quit: Lost terminal]
Muimi has joined #ffmpeg
FH_thecat has joined #ffmpeg
mrelcee has joined #ffmpeg
YUiNA has quit [Remote host closed the connection]
beneth has joined #ffmpeg
mrelcee has quit [Quit: Rectum? it damned near Killed 'em!]
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
damian101_ has quit [Ping timeout: 252 seconds]
emmanuelux has quit [Quit: Leaving]
<UltraFuzzy>
furq What I meant is that I'm reading timestamps with ffprobe and the json output, which includes entries "start"/"end" which are nanoseconds, and "start_time"/"end_time" which are HH:MM:SS format is truncated to the microsecond. Right now I'm feeding the truncated times back into ffmpeg but I'd rather not have this unnecessary truncation in the middle if there's a way to avoid it.
<UltraFuzzy>
BtbN mkv
anpz has quit [Quit: anpz]
pelotron has quit [Ping timeout: 260 seconds]
pelotron has joined #ffmpeg
<UltraFuzzy>
For context, the timestamps are coming from Blu-ray chapters which are awkwardly specified in 1/45000ths of a second which is close enough to microseconds that I'm thinking those could put me on the wrong side of a frame more than I need to be. And yeah, not hugely important, it just feels nice to be less wrong, y'know?
Blacker47 has joined #ffmpeg
<furq>
did you try just providing non truncated timestamps
linkmauve has left #ffmpeg [Error from remote client]
<furq>
it works for me
<furq>
although if you're splitting by chapters it might be easier to use mkvtoolnix
SuicideShow has quit [Ping timeout: 248 seconds]
SuicideShow has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
chiselfuse has quit [Remote host closed the connection]
softworkz has joined #ffmpeg
chiselfuse has joined #ffmpeg
Sketch has quit [Remote host closed the connection]
manwithluck has quit [Ping timeout: 245 seconds]
softworkz has quit [Read error: Connection reset by peer]
manwithluck has joined #ffmpeg
Sketch has joined #ffmpeg
softworkz has joined #ffmpeg
YuGiOhJCJ has joined #ffmpeg
lusciouslover has quit [Read error: Connection reset by peer]
lusciouslover has joined #ffmpeg
<UltraFuzzy>
I'm also transcoding to flac and ffmpeg seems like a good one-stop-shop for this but I did look at mkvtoolnix too. As far as I can tell, mkvextract can output the chapter metadata but not split the actual content. With ffmpeg, I tried feeding the full nanosecond timestamps from ffprobe into ffmpeg with a "ns" suffix and it didn't work. Or if you're thinking giving it as HH:MM:SS.123456789 then I'll try to test and see if it actually keeps all the
<UltraFuzzy>
decimals.
Shine_ has joined #ffmpeg
<UltraFuzzy>
I tried mkv to mkv in SS.123456789 style and the time I gave was truncated to the millisecond.
<furq>
mkvmerge --split chapters:all
<furq>
it works with mpls as well
<UltraFuzzy>
aaaah
derjanni has quit [Quit: ZNC 1.8.2+deb2ubuntu0.1 - https://znc.in]
martylake has quit [Ping timeout: 252 seconds]
derjanni has joined #ffmpeg
galad has quit [Quit: ZNC 1.9.x-git-230-b1f873df-frankenznc - https://znc.in]
softworkz has quit [Quit: Leaving]
<UltraFuzzy>
yep, after turning video off this is now splitting the audio into chapters and preserving the full nanosecond timestamps, thanks
lavaball has joined #ffmpeg
<UltraFuzzy>
I should also figure out how to use the actual mpls though.
derjanni_ has joined #ffmpeg
derjanni has quit [Ping timeout: 260 seconds]
galad has joined #ffmpeg
softworkz has joined #ffmpeg
monkeystu has quit [Quit: Bye!]
monkeystu has joined #ffmpeg
pookie has quit [Ping timeout: 252 seconds]
Hackerpcs has quit [Ping timeout: 244 seconds]
olspookishmagus has joined #ffmpeg
Hackerpcs has joined #ffmpeg
kasper93 has quit [Ping timeout: 245 seconds]
kasper93 has joined #ffmpeg
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
softworkz_ has joined #ffmpeg
softworkz has quit [Killed (mercury.libera.chat (Nickname regained by services))]
softworkz_ is now known as softworkz
rsx has joined #ffmpeg
sata has joined #ffmpeg
softworkz_ has joined #ffmpeg
softworkz has quit [Killed (calcium.libera.chat (Nickname regained by services))]
softworkz_ is now known as softworkz
softworkz has quit [Read error: Connection reset by peer]
Xaldafax has joined #ffmpeg
softworkz has joined #ffmpeg
putacho is now known as microchip_
linkmauve has joined #ffmpeg
damian101 has joined #ffmpeg
DauntlessOne49 has quit [Read error: Connection reset by peer]
DauntlessOne49 has joined #ffmpeg
megumin has joined #ffmpeg
<megumin>
how to copy an audio stream with metadata and thumbnail?
softworkz has quit [Quit: Leaving]
putacho has joined #ffmpeg
microchip_ has quit [Ping timeout: 265 seconds]
chair1 has quit [Quit: Client closed]
putacho is now known as microchip_
putacho has joined #ffmpeg
putacho has quit [Client Quit]
lolok has quit [Ping timeout: 252 seconds]
putacho has joined #ffmpeg
microchip_ has quit [Ping timeout: 248 seconds]
putacho is now known as microchip_
cantelope has joined #ffmpeg
pastelowl has quit [Quit: WeeChat 4.6.3]
grib has quit [Ping timeout: 248 seconds]
grib has joined #ffmpeg
pastelowl has joined #ffmpeg
jensen1 has joined #ffmpeg
<kepstin>
megumin: ffmpeg will do that by default for formats which it supports. For other formats, you should use external file tagging tools instead.
sata has quit [Ping timeout: 272 seconds]
Fiji has joined #ffmpeg
Everything has quit [Quit: leaving]
sata has joined #ffmpeg
sentriz has quit [Remote host closed the connection]
beastd has joined #ffmpeg
user_oreloznog has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
megumin has left #ffmpeg [#ffmpeg]
<Bombo>
i tried to grab the screen now with kmsgrab: 'ffmpeg -t 10 -f kmsgrab -i - -vf "hwmap=derive_device=drm,hwdownload,format=bgr0" kmsgrabtest.mkv' but it fails: '[kmsgrab @ 0x55b4c8398d80] No handle set on framebuffer: maybe you need some additional capabilities?'
<Bombo>
with sudo: [Parsed_hwmap_0 @ 0x7fdc24002600] Invalid device type. [Parsed_hwmap_0 @ 0x7fdc24002600] Failed to configure output pad on Parsed_hwmap_0'
<Bombo>
[AVHWDeviceContext @ 0x7ff064015100] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed [AVHWFramesContext @ 0x7ff06402d3c0] Failed to create surface from DRM object: 14 (the requested RT Format is not supported).
<BtbN>
In ffmpeg of course. Why would lshw output ffmpeg formats?
<Bombo>
i thought the rgb format could be in lshw verbose output somewhere
lavaball has joined #ffmpeg
<Bombo>
-pix_fmts i guess it is
<BtbN>
won't that just list every last one that exists?
<BtbN>
I'd really read what the log says
<Bombo>
yes for brute forcing every one of them
<BtbN>
there's way too many for that
<BtbN>
Why not just read the log?
<BtbN>
I'm sure it mentions the format somewhere
<Bombo>
isn't this a hint? Stream #0:0: Video: wrapped_avframe, drm_prime, 1366x768, 29.92 tbr, 1000k tbn, Start-Time 1750698577.782s
<Bombo>
wrapped_avframe? drm_prime`?
<BtbN>
no
<BtbN>
the actual pixel format
<Bombo>
if it would know the correct px fmt why would it show 'Invalid output format monow for hwframe download.'
<Bombo>
auto selects monow which seems to not work
<Bombo>
[kmsgrab @ 0x561f5615edc0] Format is x2rgb10le, from DRM format 30335258 modifier 100000000000001.
<Bombo>
is this it
<BtbN>
yeah, that looks right
<BtbN>
There is no auto-negotiation layer for this
<BtbN>
x2rgb10le is what you're looking for
kron has quit [Quit: kron]
kron has joined #ffmpeg
<Bombo>
ok that did record something, but it looks encrypted
<Bombo>
only lines in wrong order
<BtbN>
No idea beyond that sadly
<Bombo>
mkay thx, at least there is some progress ;)
Xaldafax has quit [Quit: Bye...]
KombuchaKip has joined #ffmpeg
Kei_N has joined #ffmpeg
Keshl_ has joined #ffmpeg
tm512` has joined #ffmpeg
tm512` has quit [Changing host]
tm512` has joined #ffmpeg
f0x_30336912710 has joined #ffmpeg
mven97139 has joined #ffmpeg
flotwig_ has joined #ffmpeg
flotwig_ has quit [Changing host]
flotwig_ has joined #ffmpeg
m5zs7k_ has joined #ffmpeg
acidbunn` has joined #ffmpeg
sihloo_ has joined #ffmpeg
faxmodem has joined #ffmpeg
finstern1s has joined #ffmpeg
lusciouslover has quit [*.net *.split]
manwithluck has quit [*.net *.split]
Forza has quit [*.net *.split]
beneth has quit [*.net *.split]
lutherann has quit [*.net *.split]
mven9713 has quit [*.net *.split]
phantomics has quit [*.net *.split]
f0x_3033691271 has quit [*.net *.split]
Naleksuh has quit [*.net *.split]
sihloo has quit [*.net *.split]
troyt has quit [*.net *.split]
ZLima12 has quit [*.net *.split]
Kei_N_ has quit [*.net *.split]
m5zs7k has quit [*.net *.split]
tm512 has quit [*.net *.split]
Keshl has quit [*.net *.split]
Flat has quit [*.net *.split]
faxm0dem has quit [*.net *.split]
UltraFuzzy has quit [*.net *.split]
lockywolf has quit [*.net *.split]
flotwig has quit [*.net *.split]
acidbunny has quit [*.net *.split]
squeaktoy has quit [*.net *.split]
finsternis has quit [*.net *.split]
mven97139 is now known as mven9713
finstern1s is now known as finsternis
manwithluck has joined #ffmpeg
m5zs7k_ is now known as m5zs7k
alexherbo2 has joined #ffmpeg
Forza has joined #ffmpeg
jensen1 is now known as afck
lutherann has joined #ffmpeg
lusciouslover has joined #ffmpeg
phantomics has joined #ffmpeg
troyt has joined #ffmpeg
Naleksuh has joined #ffmpeg
ZLima12 has joined #ffmpeg
Flat has joined #ffmpeg
lockywolf has joined #ffmpeg
squeaktoy has joined #ffmpeg
ZLima12 has quit [Max SendQ exceeded]
troyt has quit [Max SendQ exceeded]
lockywolf has quit [Max SendQ exceeded]
squeaktoy has quit [Max SendQ exceeded]
ZLima12 has joined #ffmpeg
squeaktoy has joined #ffmpeg
lockywolf has joined #ffmpeg
troyt has joined #ffmpeg
iive has joined #ffmpeg
softworkz has joined #ffmpeg
pastelowl has quit [Quit: WeeChat 4.6.3]
phantomics_ has joined #ffmpeg
lusciouslover has quit [*.net *.split]
lutherann has quit [*.net *.split]
phantomics has quit [*.net *.split]
Naleksuh has quit [*.net *.split]
Flat has quit [*.net *.split]
lusciouslover has joined #ffmpeg
Flat has joined #ffmpeg
Naleksuh has joined #ffmpeg
lutherann has joined #ffmpeg
aeonjeffj has joined #ffmpeg
<aeonjeffj>
Howdy, I have a question about how to do a timestamp overlay. I have a time lapse video and I know the wall time it starts and the wall time when it ends. I know how to do a watermark or a text overlay but I can't figure this out. Is there a way to do an overlay like "3:45 AM" but have it increment in a measured fashion so that the timestamp at the end is the end wall time and somehow evenly increments from the start to endpoint? Start and
<aeonjeffj>
end being enable='between(t,8,107)'? at t=8 wall time is "3:45 AM" at t=107 wall time is "3:58 AM".
UltraFuzzy has joined #ffmpeg
Shine_ has quit [Read error: Connection reset by peer]
<aeonjeffj>
I suppose I could do a static overlay with progressing start and end times, in 7.61s increments and just encode it 13 times but that seems a bit ham-handed and I'm guessing someone smarter than me has devised a way to do this.
lutherann has quit [Quit: WeeChat 4.5.2]
<BtbN>
I don't think there is a straight forward way to do that
<BtbN>
You could come up with a formula to convert frame number to hours and minutes
<BtbN>
not sure if you even can do math in the text expression though
<aeonjeffj>
Yeah, so far I could break it up into 13 render sessions with different text and use a different t= start and end times.
kode54 has quit [Quit: Ping timeout (120 seconds)]
kode54 has joined #ffmpeg
Blacker47 has quit [Quit: Life is short. Get a V.90 modem fast!]
coldfeet has joined #ffmpeg
<furq>
might be easier to just create a subtitle file and burn that in
<furq>
you can position/style srt however you want
<aeonjeffj>
hmm... a new feature (to me) to investigate