Replies: 3 comments 7 replies
-
Interesting proposal. Some thoughts from my side:
I should also add that I will be on a long summer vacation. I probably wouldn't have time to work on any of this until end of august. |
Beta Was this translation helpful? Give feedback.
-
Hi @lukasf All very good points. I completely forgot about the ffmpeg build with the decoders. This is an excellent point, thank you for bringing it up. I envision the following milestones for this:
Enjoy your summer vacation. I doubt I will be ready by the time you're back anyway. I will probably take one myself towards the end of July. Somewhere cold. I was thinking Antarctica or Norway. |
Beta Was this translation helpful? Give feedback.
-
I have some good and some bad news for you. I just managed to build ffmpeg with x264 and x265. The issues I had back then (requiring patches) seem to be resolved in latest ffmpeg. Not sure yet how to make this configurable, so it could take a while to make a PR. But during this, I noticed that both x264 and x265 are GPL. So the two most important encoders would require devs to open source the app. I guess this will be a deal breaker for many or most devs interested in the transcoding feature. SVT-AV1 encoder is BSD. But it is a multitude slower than x264 and x265 on the encoder side (decoding is fast). AV1 is mainly for content producers and distributors, but rarely used by end users, due to the performance characteristics. libvpx is BSD as well, which allows VP1 encoding. Not sure how performance is on that one. There is also Cisco openh264 encoder (LGPL). |
Beta Was this translation helpful? Give feedback.
-
Every now and again it comes a question on how to use transcoding with this library.
And every single time we tell people to use the winRT APIs.
While it is true that covers most of the usual transcoding needs, it is still not as powerful as FFMPEG.
I have looked over the sample here
https://ffmpeg.org/doxygen/trunk/transcoding_8c_source.html
It shouldn't be too difficult to wrap this into a reusable class and adapt it to use winRT/UWP streams instead of file paths.
This is the way I see it:
What do you think @lukasf ?
Beta Was this translation helpful? Give feedback.
All reactions