arvindchandel / Data-Folder

0 stars 0 forks source link

please help me about encode numpy frame to h264 #1

Open Dr-zhouxuejia opened 3 years ago

Dr-zhouxuejia commented 3 years ago

sorry to bother you, I see your issue in https://github.com/PyAV-Org/PyAV/issues/746, now I have same needs, could you tell me how you solve this problem? just send jpeg or base64? please help me?

arvindchandel commented 3 years ago

Through pyAv, we can't encode jpeg frames that what was finding at that time. My colleague tried with some other way using threads, so u need to explore something apart from PyAv to do this: Encoding thread was creating encoded chunks and decoding thread was decoding chunk to produce original frames. Hope this pointer helps you:)