Open Makio64 opened 1 year ago
same here, seems ffmpeg bug?
Does it repro if you use mp4 as a container instead of webm?
Hi, I've been through this and in my case it was an issue related to the audio track in the input file having a small negative padding. When you probe the input file you'll see the audio track negative timestamp
My way of "fixing" this is having audio encoded in a separate ouput file, and the video output file having no audio mapped. After applying this fix my media played without any issues. Just encode the video file with -an in ffmpeg.
Not sure if this is related but I had a similar problem (unrelated to shaka) and it turns out the ffmpeg encoder for webm+opus sometimes mucks up the order of the SimpleBlocks by timestamp. Chrome and Firefox both seem to play webm files like this no problem, but for Chrome MSE (appendBuffer) calls, it crashes out with Got a block with a timecode before the previous block
error mentioned above.
If I re-order the SimpleBlocks to be in correct timestamp order before appendBuffer
it plays just fine.
System info
Operating System: MacOS 13.2 Shaka Packager Version: v2.6.1 - latest
Issue and steps to reproduce the problem
(1) encoded vp9 with ffmpeg 6.0, command argument bellow `
(2) Fragment it with shaka classic command
What is the expected result? No problem fragmenting like with
ffmpeg 5.x.x
What happens instead?
Packaging Error: 8 (PARSER_FAILURE)