avafinger / ffmpeg-3.3.4_cedrus264

ffmpeg 3.3.4 with cedrus264 HW encoder
19 stars 11 forks source link

How to allow multiple instance of cedus264 encoder ? #2

Open harshil1991 opened 5 years ago

harshil1991 commented 5 years ago

I am getting below error, when I am trying to call avcodec_open2 second time.

[cedrus264 @ 0x25d8370] VE Open error.

In ffmpeg code, I found that it internally calls open() system call on /dev/cedar_dev, so if I call 2nd time then it will fail to open device. So my question is, Does cedrus264 supports multiple process to do encoding?

@avafinger please help me on this issue.