How to improve throughput
BBDooooog opened this issue · 0 comments
BBDooooog commented
Purpose
Create a microservice using gst1 to split videos into image frames and audio.
question
How to use it to improve throughput?
process
Can GST. init() ->pipeline. init ->pipeline. start ->pipeline. stop ->GST. quit ->GST. deinit()
But every time GST is initialized and destroyed in this way, pipline is also.
optimization
So it was transformed into GST. init()&pipeline. init.
Pass in parameters when calling. Pipline. start ->GST. main()
GST. quit()&pipeline. stop at end or exception
question
Does this method have concurrency issues? What other ways to improve throughput?