-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to use custom IO context? #37
Comments
Hi, I learned to use FFmpeg using samples around - Google search engine was my best friend for this ... And I never used IO Context ... And it's not in my top list of priorities ... But It should be great to add this in this lib :) If you think it's related to how ffmpeg binaries are compiled, check how they are built , according your environment: Which environment are you using ? PS: I'm looking for a way to manage incoming RTP paquet directly by FFmpeg to decode Audio and / or Video. It's just in case you know a way to do so ;) |
I'm on Windows environment. It seems they do not say which configure flags they turned on in their builds. |
Take a look also here: |
Another tips: Output example: libavutil 56. 70.100 / 56. 70.100 In my case nothing "important" is disabled. So I guess custom IO context should work with this binaries |
Do you have any news about your try to use custom IO context ? Coud you give me some examples where the use of custom IO context could be helpful ? If you can share some code too I will be glad to take a look. Thx |
Hello,
FFMpeg library has possibility to use custom IO context in order to accept memory buffers as input instead of using files. Does this library has possibility to do so?
Examples from official ffmpeg doc:
https://ffmpeg.org/doxygen/trunk/avio_reading_8c-example.html#a20
https://ffmpeg.org/doxygen/trunk/structAVFormatContext.html#a1e7324262b6b78522e52064daaa7bc87
I've tried to port that functionality in your library but unfortunately System.AccessViolationException thrown when I use custom IO.
Here https://stackoverflow.com/questions/41734219/avformat-open-input-fails-only-with-a-custom-io-context I found that this could be due to missing configuration flag in compilation of ffmpeg. Have you think about support of custom IO context in your library?
Any help will be appreciated)
The text was updated successfully, but these errors were encountered: