Hi On Tue, Jan 16, 2007 at 10:48:30AM +0100, Emanuele Fumagalli wrote: > >>thanks, in my case I download sequentially the block so (block1, > >>block2...) > >>which are all buffer in memory(or saved as files on disk), what I'm > >>trying > >>to understand is how to start the decoding since I've no full video file > >>but just blocks, do I have to use av_open_input_stream or > >>av_open_input_file? > > >1. implement a URLProtocol > >2. register it > >3. use av_open_input_file() > >4. try to read the source code if you have questions > >5. help improving the documentation > > Thanks a lot! I implemented my own URLProtocol and now I can intercept all > the access to file. > I'm still having some difficulties because sometimes I get on my seek a > call for a > offset=0 and whence=65536 (In this case I just return -1) yes return -1 is ok for these [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have never wished to cater to the crowd; for what I know they do not approve, and what they approve I do not know. -- Epicurus -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070116/a8c19ee3/attachment.pgp>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4