Using avformat_find_stream_info with custom IO

Any other question that don't fit into the other support categorizes.
Post Reply
Posts: 1
Joined: Sun Sep 04, 2011 1:35 pm

Using avformat_find_stream_info with custom IO

Post by benjysmith »

I am using avformat_find_stream_info to get stream information about a file containing raw h.264.
First I use avformat_open_input to the file then I call avformat_find_stream_info and it detects the single stream correctly.

However when I use a custom IO handler in the call to avformat_open_input, avformat_find_stream_info does not detect the streams (it returns -1).

Can you help me understand why?
Is there another way to detect the stream when using customer IO?


Post Reply