Hi, i am trying to implement a video streaming, where mp4 container is fetched frame-by-frame and then fed into SourceBuffer of MediaSource element, but experiencing some problems in webkit family of browsers without clear understanding why.
All what i get from chrome://media-internals is
"Append: stream parsing failed. Data size=65488 append_window_start=0 append_window_end=inf"
where 65488 is the size of first mp4 actual frame, first [moof mdat] pair after [ftyp moov] header.
All moof/mdat frames in the file are 1 second long, consisting of 24 video samples @ 24 fps.
The --enable-logging=stderr --v=2 options did not revealed any additional information.
Notably, the same file plays fine when not fetched chunk-by-chunk, but rather placed directly in <video/> tag.
Also, it plays fine in firefox both in plain <video/> and chunked progression.
No errors about the file structure were reported by any of following programs: mplayer, ffmpeg, vlc and mp4file --dump
Please advise, how to get more detailed information on why it refuses to parse frame-chunked video.
In case it helps, i am attaching sample video file and sample.html with js that loads and tries to play the video from local filesystem via input file selector (wasn't able to find a way to play it without input file dialog at all; also note that on default security settings you might be forbidden to play mediasource when html was fetched directly from local filesystem, so you might need some dummy http-server like "python2 -m SimpleHTTPServer" serving current directory content via http/8000 or use a --allow-file-access-from-files switch)