Hi, I am a libavformat noob. Please pardon if my question is stupid. I was trying to modify and run the examples that are provided with ffmpeg. File avio_reading.c shows how to read data into AVIOContext. As I understand this uses pull mode, meaning AVIOContext calls read_packet callback whenever it needs data to process.
I wanted to ask if it is possible to feed data into AVIOContext in push mode. Is it possible to call some method on AVIOContext to push data into it instead of relying on AVIOContext to cal a callback. I tried creating AVIOContext without read_packet callback and used another thread to call avio_write. But that didn't help. I get this error: "Could not open input:-1094995529 Error occurred: Invalid data found when processing input" I am attaching the test code I am using. Any help would be appreciated. Thanks, Gajanan
remuxing.c
Description: Binary data
_______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
