I concat two files (ffmpeg version N-56125-gb4e1630 Copyright (c) 2000-2013, Windows 7 x64):
ffmpeg -i "concat:file1.ogg|file2.ogg" -c copy result.ogg
if I try to convert result.ogg to flac
ffmpeg -i result.ogg result.flac
I get the warning:
[flac @ 000000000259eb60] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 278204 >= 278204
So actually I don't need flac, I need correct result.OGG. This warning is only the symptom that result.ogg is NOT OK. For example if I try to play it in crome browser it stops at some point suddenly (though other players/browsers may play it ok).
So the question is there a way to fix this file?
I believe the workaround can be concat it to mp3
ffmpeg -i "concat:file1.ogg|file2.ogg" result.mp3
and after that convert it to OGG, but is there some other way to fix the problem.