Closed mihelich closed 5 months ago
I would love external contributions through PRs ! However I may not accept and merge all proposed changes since I may feel they don't fit in this lib properly. The best would be to submit small dedicated PRs for changes you're proposing and we'll go from there 👍
I believe this is now possible with either Packet.FromData() and a proper decoder, or with a demuxer with custom io.
I'll close this issue for now, but feel free to reopen it if necessary 👍
Thanks for this package! I'm encoding video with input from an external camera driver, and I need to populate frame buffers (managed by FFmpeg in the C heap) in code. I have a rough version of this working but needed to add capabilities:
av_frame_make_writable
.f.c.data
pointers without copying.For development and working around inevitable gaps, I also find it useful to have getters for the underlying C structs (as
unsafe.Pointer
, which I can cast to*C.struct_AVFrame
in my own code).Are you open to external contributions? I'm happy to send PRs as I come across stuff I need.