Marth64 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 is released
<LikWidChz> vlt, thanks, let me poke at it a couple
rvalue has quit [Ping timeout: 252 seconds]
yans has quit [Ping timeout: 265 seconds]
ferreum has quit [Quit: bye]
Traneptora has joined #ffmpeg
ferreum has joined #ffmpeg
Sakura`Kinomoto has joined #ffmpeg
emmanuelux has joined #ffmpeg
ferreum has quit [Quit: bye]
ferreum has joined #ffmpeg
crossby1004 has joined #ffmpeg
intrac has quit [Remote host closed the connection]
function1 has quit [Quit: ZNC 1.8.2 - https://znc.in]
function1 has joined #ffmpeg
intrac has joined #ffmpeg
wziko has joined #ffmpeg
wziko has quit [Ping timeout: 248 seconds]
MisterMinister has joined #ffmpeg
intrac has quit [Quit: Konversation terminated!]
System_Error has quit [Remote host closed the connection]
intrac has joined #ffmpeg
ttys000 has joined #ffmpeg
talismanick has joined #ffmpeg
System_Error has joined #ffmpeg
Sakura`Kinomoto has quit [Remote host closed the connection]
Sakura`Kinomoto has joined #ffmpeg
crossby1004 has quit [Quit: leaving]
Vonter has joined #ffmpeg
talismanick has quit [Remote host closed the connection]
Muimi has joined #ffmpeg
minimal has quit [Quit: Leaving]
Muimi has quit [Quit: Going offline, see ya! (www.adiirc.com)]
kasper93 has quit [Ping timeout: 265 seconds]
kasper93 has joined #ffmpeg
duderonomy has joined #ffmpeg
a0z has quit [Quit: Leaving]
sonicrules1234 has quit [Remote host closed the connection]
lolok has quit [Quit: lolok]
YuGiOhJCJ has joined #ffmpeg
clever has joined #ffmpeg
<clever> i'm looking into something and finding a surprising lack of clear answers online, how do you fix an mp4 file that wasnt finished properly?
<furq> with difficulty
<furq> i think this is the recommended way
<clever> furq: just what is wrong with mp4 that it breaks so easily?
sonicrules1234 has joined #ffmpeg
duderonomy has quit [Ping timeout: 272 seconds]
duderonomy_ has joined #ffmpeg
<furq> the moov atom contains a bunch of headers you need to play back the file
<furq> you can't write a complete moov atom until you know the lengths of the streams, and you can't reliably write half of one at the beginning of the file and fill it in at the end because it's not constant length
<furq> so usually you just write it at eof which is fine as long as that happens cleanly
<furq> but it's fine it's not as though all consumer recording devices default to mp4 or anything
<furq> and i'm sure those will never go wrong in any way
<clever> furq: i'm sure the display-port cable wont just randomly eject itself from a monitor, and cause the entire system to crash, lol
<clever> and if the moov atom isnt constant length, how are these tools able to even fix it? and how can you inject one into a file when ending?
<furq> you can write it at any point in the file
<clever> ah, is there a pointer to it in the header?
<furq> well the bulk of most mp4s is the mdat atom which contains all the streams
<furq> it'll either be before or after that so you can just search from the start or end
<clever> 00000020 00 00 00 08 66 72 65 65 00 00 00 00 6d 64 61 74 |....free....mdat|
<clever> i do see an mdat within the first 0x30 bytes of the file
<furq> yeah so the moov would have been at the end
<clever> what kinds of parameters does the moov atom contain?
<clever> i'm assuming the variable size is due to the seek table?
<furq> everything there that's not in ftyp or mdat
<furq> also that's only a three minute file
<clever> furq: and who's brilliant idea was it to make a video format this fragile? lol
<clever> what format would you recommend for obs, to avoid this in the future?
<furq> if you want something unbreakable then mpegts
<furq> but that will be maybe 10% bigger than mp4 or mkv
<furq> mkv is robust enough to at least usually be recoverable without this much hassle
<furq> and it's actually usable without having to remux it to get a seek index
<clever> ah
<another|> fragmented mp4 might be another option
averne_ has joined #ffmpeg
averne has quit [Ping timeout: 264 seconds]
averne_ is now known as averne
wziko has joined #ffmpeg
<ePirat> clever, furq, yeah what another| pointed out is possible in recent OBS versions https://obsproject.com/kb/hybrid-mp4
wziko has quit [Ping timeout: 265 seconds]
<furq> that's a neat approach
<furq> i'd still prefer to not use mp4 at all though
wziko has joined #ffmpeg
yuckey2d0 has quit [Read error: Connection reset by peer]
StephenLynx has quit [Remote host closed the connection]
yuckey2d0 has joined #ffmpeg
rvalue has joined #ffmpeg
jprjr has quit [Ping timeout: 276 seconds]
jprjr has joined #ffmpeg
MisterMinister has quit [Ping timeout: 276 seconds]
coldfeet has joined #ffmpeg
lolok has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
wziko has quit [Ping timeout: 246 seconds]
wziko has joined #ffmpeg
yawkat has quit [Ping timeout: 248 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
yawkat has joined #ffmpeg
wziko has quit [Ping timeout: 260 seconds]
wziko has joined #ffmpeg
wziko has quit [Max SendQ exceeded]
makidoll has quit [Quit: https://maki.cafe]
makidoll has joined #ffmpeg
wziko has joined #ffmpeg
wziko has quit [Ping timeout: 265 seconds]
jprjr has quit [Ping timeout: 252 seconds]
evilscreww has joined #ffmpeg
jprjr has joined #ffmpeg
iliv has quit [Ping timeout: 252 seconds]
coldfeet has joined #ffmpeg
Sketch has quit [Remote host closed the connection]
Sketch has joined #ffmpeg
jemius has joined #ffmpeg
olndrxyz has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
l4yer has quit [Ping timeout: 252 seconds]
l4yer has joined #ffmpeg
evilscrewws has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
evilscreww has quit [Ping timeout: 250 seconds]
coldfeet has quit [Remote host closed the connection]
lavaball has joined #ffmpeg
bananicorn has quit [Remote host closed the connection]
bananicorn has joined #ffmpeg
coldfeet has joined #ffmpeg
Everything has joined #ffmpeg
coldfeet has quit [Quit: leaving]
Some_Person has quit [Quit: ZNC 1.8.2 - https://znc.in]
Some_Person has joined #ffmpeg
coldfeet has joined #ffmpeg
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg
earthwormjim has joined #ffmpeg
coldfeet has quit [Ping timeout: 252 seconds]
coldfeet has joined #ffmpeg
HarshK23 has joined #ffmpeg
yans has joined #ffmpeg
wziko has joined #ffmpeg
earthwormjim has quit [Quit: Toodles]
Ingvix has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
wziko has quit [Ping timeout: 248 seconds]
Ingvix has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
bryanodonoghue has quit [Quit: The Lounge - https://thelounge.chat]
bryanodonoghue has joined #ffmpeg
olndrxyz has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
coldfeet has quit [Quit: leaving]
coldfeet has joined #ffmpeg
mixfix41 has joined #ffmpeg
mixfix41 has left #ffmpeg [#ffmpeg]
duderonomy_ has quit [Ping timeout: 246 seconds]
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
ttys000_ has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
coldfeet has joined #ffmpeg
ttys000 has quit [Ping timeout: 276 seconds]
ttys000_ has quit [Client Quit]
StephenLynx has joined #ffmpeg
evilscrewws has quit [Quit: Leaving]
blb has quit [Ping timeout: 248 seconds]
blb has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
arkanoid has quit [Ping timeout: 265 seconds]
blb has quit [Ping timeout: 276 seconds]
blb has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
rsx has joined #ffmpeg
arkanoid has joined #ffmpeg
jemius has quit [Quit: Leaving]
l4yer has quit [Ping timeout: 252 seconds]
iliv has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
elvis_a_presley has quit [Quit: smoke-bomb ; grapple-hook]
olndrxyz has joined #ffmpeg
elvis_a_presley has joined #ffmpeg
arkanoid has quit [Ping timeout: 252 seconds]
l4yer has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
jemius has joined #ffmpeg
Everything has quit [Quit: leaving]
minimal has joined #ffmpeg
rsx has quit [Quit: rsx]
wziko has joined #ffmpeg
wziko has quit [Max SendQ exceeded]
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
wziko has joined #ffmpeg
beastd has quit [Quit: KVIrc 5.2.4 Quasar http://www.kvirc.net/]
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
chiselfuse has quit [Remote host closed the connection]
beastd has joined #ffmpeg
chiselfuse has joined #ffmpeg
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
coldfeet has joined #ffmpeg
wziko has quit [Ping timeout: 248 seconds]
lavaball has quit [Remote host closed the connection]
lavaball has joined #ffmpeg
lavaball has quit [Client Quit]
lavaball has joined #ffmpeg
StephenLynx has quit [Ping timeout: 252 seconds]
bananicorn has quit [Remote host closed the connection]
bananicorn has joined #ffmpeg
Tano has quit [Quit: WeeChat 4.4.2]
olndrxyz has quit [Read error: Connection reset by peer]
olndrxyz has joined #ffmpeg
rossome has quit [Ping timeout: 272 seconds]
rossome has joined #ffmpeg
olndrxyz has quit [Quit: Quit]
StephenLynx has joined #ffmpeg
nitroxis has quit []
nitroxis has joined #ffmpeg
duskmoss has joined #ffmpeg
wziko has joined #ffmpeg
wziko has quit [Ping timeout: 246 seconds]
lusciouslover has quit [Ping timeout: 248 seconds]
duderonomy has joined #ffmpeg
markizano has quit [Quit: Poweroff]
Everything has joined #ffmpeg
vincejv has quit [Remote host closed the connection]
lavaball has quit [Remote host closed the connection]
lavaball has joined #ffmpeg
vincejv has joined #ffmpeg
coldfeet has quit [Remote host closed the connection]
<drew> I am trying to concat two flac files with 90s of silence in between. I did https://superuser.com/a/579110/347779 to generate silence.flac and then I tried -ffmpeg -f concat -i concat.txt -codec copy 'concated.flac' but when I play the file I get '[ffmpeg/audio] flac: switching bps mid-stream is not supported'
jtgd has quit [Quit: WeeChat 4.5.1]
<drew> when I do ffprobe on the files, I see that the first .flac file and silence.flac are Stream #0:0: Audio: flac, 44100 Hz, stereo, s16 but the second .flac is Stream #0:0: Audio: flac, 48000 Hz, stereo, s32 (24 bit), could that be it?
jtgd has joined #ffmpeg
<drew> I tried ffmpeg -i second_clip.flac -sample_fmt s16 -ar 48000 output.flac and then updated concat.txt, but now I'm getting [ffmpeg/audio] flac: blocksize 4608 > 4096
lusciouslover has joined #ffmpeg
<furq> that is it but it's flac so it's simpler to just reencode it
<furq> ffmpeg -i a.flac -i b.flac -lavfi "anullsrc=d=90[s];[0:a][s][1:a]concat=n=3:v=0:a=1" -compression_level 10 out.flac
<furq> that will just resample everything to match the first input
Tano has joined #ffmpeg
EmleyMoor has quit [Ping timeout: 265 seconds]
EmleyMoor has joined #ffmpeg
chandash has joined #ffmpeg
gvg has quit [Ping timeout: 252 seconds]
EmleyMoor has quit [Ping timeout: 248 seconds]
jemius has quit [Quit: Leaving]
chandash has quit [Quit: WeeChat 4.4.2]
EmleyMoor has joined #ffmpeg
lavaball has quit [Remote host closed the connection]
Everything has quit [Quit: leaving]
wziko has joined #ffmpeg
wziko has quit [Ping timeout: 265 seconds]
SuicideShow has quit [Ping timeout: 265 seconds]
YuGiOhJCJ has joined #ffmpeg
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SuicideShow has joined #ffmpeg
Brazhh has joined #ffmpeg