It's too goddamn early in the morning (1:22pm) to deal with ffmpeg
-
my problem was that I was using concat when I should probably just use concat instead. the only problem is that concat (not concat) requires a filter-complex invocation that may literally involve sacred geometry
-
and the complexity scales with how many files you're adding.
it's like 7-8 characters with 2, 64 characters with 3, and I have 3490 files to concat -
@foone As someone with the correct concat notation in my examples file, I wonder if you're understating the complexity here..
-
the fundamental problem, I think, is that I have 3487 files in one consistent format, and 3 that are differently formatted.
concat can handle that, but concat (which I was using) can't. (and concat? don't get me started)
-
so I either need to switch to using concat only, or convert those files so that they can all use the same format and thus be concatted with concat (but not concat, because that will corrupt mp4 files)
-
@trini which concat? #1, #2, or #3?
(filter, demux, or protocol) -
@foone Er, #4 , input type? Works on H264, H265 I need to convert back to .ts files then convert (and for my needs I was able to ignore audio there and combine video only + audio only later).
-
actually now that I'm looking at this and it's not 4am, the first concat might not be that hard, assuming ffmpeg (and windows) don't have a problem with me writing, uh, 55kb arguments? not counting the other arguments, which'll add up to another 87kb
-
Ben Lubar (any pronouns)replied to Foone🏳️⚧️ last edited by
@foone were you passing three thousand filenames on the command line foone
-
Foone🏳️⚧️replied to Ben Lubar (any pronouns) last edited by
@ben no of course not.
but I might soon -
realistically I probably won't do it this way.
I'll batch it up. Merge a hundred videos into one lossless master, then merge one lossless master with 100 more videos into lossless master #2, then repeat until I run out of videos
-
but I'm probably going to reencode those 3 Weird Videos anyway just so I have more control over how they're added.
one of them is 4:3, the rest are 16:9: clearly I should handle that myself and not just let ffmpeg pick some silly default for merging 4:3 content into a 16:9 stream -
@foone You can provide arguments via files IIRC.
-
@gudenau I think that's only for concat, not concat, which I'm using
-
@trini I'm not sure how that one works. do you just list multiple inputs and they get magically muxed?
-
ugh. I've written down the incantation to get lossless huffyuv but I wrote it down on my twitter, which google seems to no longer index.
-
probably a good sign I should get rid of that and archive it elsewhere
-
okay mass-converting them all to the same format.
all 3490 files. this'll take a while -
@foone Is it this one? https://twitter.com/Foone/status/1261463170725507073
-
@foone I’m just waiting for you to post “remember not to do this on a laptop” in an hour like you have had to every week