[Libav-user] Fragmented mp4 with audio stream issue
explomaster at gmail.com
Sun Dec 10 17:32:10 EET 2017
I am streaming fragmented MP4 into browser video tag via
websocket.On the browser side I use MSE to accept and process fragments.
Now,as long as I stream only video,without adding AAC audio stream,it works
But it doesn;t work with audio at all.No video and and the sound playback
gets played only for the first second or two.
I was originally using :
"empty_moov+frag_custom" flags and flushed the fragment
to the stream with :
Then I also tried
But this one also doesn't help. if I write the whole stream not to the
a file,it plays fine both video and audio.So what could be the difference
when using byte stream intead?Is it related still to a sync between audio
and video packets?But if it was
the case,the fragmented mp4 that I write into file would also be screwed
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user