Open alexandrucancescu opened 4 years ago
The two asynchronous read calls will likely end up on two different threads which each call av_read_frame. This is not supported by FFmpeg hence perhaps we could usefully protect against it. Please could you give me more information about what your difficulty with using await is? Since there can be only one thread in the underlying code I'd like to understand where you think the problem lies.
Using:
Nodejs proccess finishes with
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
Using await I cannot read enough frames from a demuxerStream, so I can't stack them using multiple promises.