On 2009-07-02 at 15:26:39 [+0200], V0id <[email protected]> wrote:
> У чт, 2009-07-02 у 14:00 +0200, Stephan Assmus пише:
> 
> > Then after finding a reply in this mailing list for a similar 
> > situation, I tried to setup my own ByteIOContext and AVProdeData. But 
> > unfortunately av_probe_input_format() is not returning an input format 
> > for me.
> 
>   I'm using pretty match the same code and it works for me. One of the
> differences is that I'm passing NULL instead of pointer to 
> AVFormatParameters in av_open_input_stream.
> 
>   Does libavformat ever call your _Read function? How match data does it
> you feed to libavformat until it exit? Maybe you just don't have enough 
> data? Have you tried different files and/or streams?

I am calling _Read() once to fill up 64 KB of data. _Read() is never called 
from within the probing function. I only see the trace output from calling 
it myself when filling the initial probe buffer.

I think I will insert some tracing code in the libavformat code, maybe I 
have compiled the library with wrong options so that there are not even any 
demuxer modules installed...

Thanks for confirming that it should work this way. Oh, and I am using the 
0.5 "release", if that could matter.

Best regards,
-Stephan
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to