i have no idea where to ask for ffmpeg help :( guess I'll try here
I created a silent file with ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -t 7 silence.flac
then I tried to put it in between two files by making concat.txt
file 'a.flac'
file 'silence.flac'
file 'b.flac'
and doing ffmpeg -f concat -i input.txt output.flac
however ffmpeg doesn't like that and freaks out with a lot of blocksize 4608 > 4096 decode_frame() failed. it concatenates the two files but not my silence
how do I create a silent file with ffmpeg that has a normal blocksize/will work? (keep in mind that when I looked up 'flac blocksize' the only documentation I could find pointed directly to the ffmpeg source code and I'm not reading that lol)
@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 🫠