@genevieve are you trying to do it without resampling / re-encoding ?
Honestly in my experience ffmpeg just does this sometimes. I use it quite a bit and I've never found any real solutions to these bugs / issues. I've had errors like this when concatting videos and also when trying to compress a single video.
I don't like it but the only solution I've found that works involves resampling. Sometimes if I convert the videos(s) or resample them, I can get it to work. If they are really high quality to start you might not notice the difference from it being re-encoded an extra time
@genevieve maybe you could try generating the silence in a different way, like by recording silence and converting it to flac, or something. Or maybe if it was very quiet but not quite silent it might help
@genevieve I love ffmpeg but its so annoying to use sometimes 🫠
@forestjohnson no I don't mind re-encoding in this case! (just did it with zrhythm, which was overkill but worked lol)
I actually didn't know the way I was doing it was avoiding re-encoding, would you mind telling me why that's the case?
and yeah i relate to the rest of your thread haha, even if i'm still a complete noob with ffmpeg
@genevieve I don't know the details and could be wrong in the case of flac audio but for a lot of formats, ffmpeg is able to concatenate / trim / cut the media without re encoding it, that's a large part of what makes it so special I think. It tries to do that by default unless you tell it to do something that requires re encoding
> "How do you maintain audiovisual materials? Proper care. First, wash and dry your hands thoruffly. Then, use ffmpeg."
@genevieve sometimes I have to use a different program to resample / convert them 1stin order to make it work. For example I had this with a screen capture video on Mac osx. It was 300mb and I wanted to compress it properly using ffmpeg. But it would crash like this if I tried to convert it directly.
I tried to convert it using apples built in video program but it had a slider for the quality level and the lowest quality was way too high ( I don't think it was using variable bit-rate, so it was very bad at compressing screencasts). So it was like 70mb in the end.
After that I exported it at high quality via the built in video program, then tried to compress it properly from there with ffmpeg. It worked and I got it down to ~5mb before it started losing too much quality.
Might have been a bit better if it was only re encoded once but it worked out for what I wanted.