cainmagi/FFmpeg-Encoder-Decoder-for-Python

Explain use

Opened this issue · 3 comments

good job!

I want to try his example but I can not execute it!
Can you tell me how to install your library, where should I put the .pyd file?

I am sorry for replying to you so late! Maybe the early Github versions do not support notifications, so I have not noticed your issue.

This project was previously worked out for experimental applications. At that time, I was a new student. I have not treated this project very carefully. But recently, because I need to wrap up related projects, I get back on this project and finish the first released version. Now I think this project could be used for industrial practices.

I have to admit that I have not explained the usage, especially for the installation part clearly. So I write the detailed documentation and upload this project to PyPI. Now installing this project will become much easier, and you could check the guides and API references in the docs:

https://cainmagi.github.io/FFmpeg-Encoder-Decoder-for-Python/

Thank you for your question! I hope this belated explanation could still help you!
cainmagi

Thanks, I want to test if your project is useful to embed a klv inside a video, I have done a lot of tests and I don't know if this project can help me or give me an idea. Here is my draft https://gist.github.com/All4Gis/509fbe06ce53a0885744d16595811e6f

I am sorry that this project will not meet your requirements, because it only supports video frames processing. If a video contains anything frames other than video frames (i.e. audio frames or meta-data frames), these frames will be dropped automatically as if there are only video frames in the file/stream.


Edited:

I have not processed KLV data before, but it seems that the FFMpeg C APIs could deal with the KLV data (see here). If I want to implement this feature in mpegCoder, I need to learn how to get the binary KLV data first. In your codes, I find that we could get format it as bytes object. That sounds promising for integrating it with mpegCoder. Thank you for reporting this requirement. Since I am planning to add the audio processing in the next version, I will check whether it is possible to add this KLV data, too.

This issue will be remained open until I get the conclusion of the feasibility study.