Hi, 

thx for help!

> the demuxers work with AVIOContexts not just files, one can create one
> on top of other things (see mplayer/trunk/libmpdemux/demux_lavf.c for
> an example on how to do this.) but first try to pipe it into ffmpeg -i
> - ...
> to make sure it works in principle with your data

I tried a ByteIOContext and implemented the read function. Everything works
well for the first frames. Unfortunately I use fragmented MP4 (because of
the streaming client). So I get a -32 error from av_read_frame when a new
segment(a new moof and mdat box) is started. 
The same file works when I do not use av_open_input_file instead of the
ByteIOContext. 

Can anybody help me? 

Thx!
Stefan

 



_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to