Quantcast
Viewing all articles
Browse latest Browse all 130

netStream in data generation mode and h264/aac

Hello,

 

I have a flv file with h264/aac encoded with ffmpeg and i put the metadata with flvmdi.

 

I'm using a netstream in data generation mode and appendBytes to read it. The video plays well but i have an issue :

When i seek (using appendBytesAction(NetStreamAppendBytesAction.RESET_SEEK); and then pushing data from the corresponding keyframe), the video seek well but there is no sound anymore!

 

Any idea? Or maybe someone has an exemple of flv/mp4 file with h264/aac playable AND seekable with appendBytes method ?

 

Maybe it is the flv container that isn't appropriate? but i read online that mp4 container isn't supported with this method, and according to my tests, it seems true (even with moov atom moved to the beggining)...

 

Thanks


Viewing all articles
Browse latest Browse all 130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>