[Ffmpeg-devel] Read from a buffer instead of a file

Raphael HUCK raphaelh
Tue Dec 13 23:32:36 CET 2005

What do you mean by url protocol ?

Does adding my own url protocol implies modifying the source code of 
libav(codec/format) or is it possible to do without touching it (so 
people with the libavcodec library can use my program without altering 
their library) ?

Btw, did you find some documentation to add your own url protocol ? 
There's not much documentation on libavcodec I could find...

And finally, yes, I am very interested in your code, and I appreciate 
your help very much.



>>is it possible to read video from a buffer instead of a file with 
>>libav(codec/format) ?
>>I have MPEG2-TS video in a buffer, and cannot use 
>>and the "av_read_frame" on a buffer, it only works from a file.
>>Anyone has an idea how to do that ?
> You can add your own url protocol...
> For example I once made something with a bdataio protocol that would 
> read 
> from a BDataIO C++ object.
> Want the code ?
> Fran?ois.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list