wang-bin / QtAV

A cross-platform multimedia framework based on Qt and FFmpeg. 基于Qt和FFmpeg的跨平台高性能音视频播放框架. Recommand to use new sdk https://github.com/wang-bin/mdk-sdk
http://qtav.org
3.92k stars 1.49k forks source link

filtering video with other thread than videothread #160

Open debosvi opened 10 years ago

debosvi commented 10 years ago

Hi wangbin,

Today I used to register some video filters and it works well. I have unfortunately one filter that takes very long time (close to my frame rate) to process and can't be delayed in another thread due to your actual implementation..

How can I do to set filtering process asynchronously to video thread before sending to output?? In the best way we can have video thread and filters performing in 2 different thread!!

best regards,

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2061272-filtering-video-with-other-thread-than-videothread?utm_campaign=plugin&utm_content=tracker%2F307703&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F307703&utm_medium=issues&utm_source=github).
wang-bin commented 10 years ago

now you can't do it. I have to change the code to support filter thread.