Skip to content
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

how does it perform compared to ffmpeg-python ? #24

Open
zzc-master opened this issue Dec 10, 2018 · 4 comments
Open

how does it perform compared to ffmpeg-python ? #24

zzc-master opened this issue Dec 10, 2018 · 4 comments

Comments

@zzc-master
Copy link

Hi,
I am wondering how does it perform compared to ffmpeg-python ?
https://github.com/kkroening/ffmpeg-python

@dukebw
Copy link
Owner

dukebw commented Dec 10, 2018

Hi, Lintel is different from ffmpeg-python because Lintel directly links to the libav libraries, whereas ffmpeg-python pipes commands to FFmpeg through stdio. I found that piping through stdio caused performance issues with too much parallelism (threads or processes).

@zzc-master
Copy link
Author

Hi, Lintel is different from ffmpeg-python because Lintel directly links to the libav libraries, whereas ffmpeg-python pipes commands to FFmpeg through stdio. I found that piping through stdio caused performance issues with too much parallelism (threads or processes).

Thanks, I see.
Here is another question. If I install OpenCV library with FFmpeg support, I can use videocapture to read videos. How does it perform compared to Lintel?

@dukebw
Copy link
Owner

dukebw commented Dec 14, 2018

I think Lintel would definitely be no slower than OpenCV, and there might be some overhead (due to all the OO) in OpenCV that makes Lintel a bit faster. But I doubt it, they are probably the same speed because they are doing the same thing (calling libav APIs). I think OpenCV only supports an ancient version of FFmpeg, and doesn't use the send/receive_frame API, last time I checked.

@dukebw
Copy link
Owner

dukebw commented Dec 14, 2018

I would certainly welcome any profiling to compare the two :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants