the question in encoding RGBA frame video #848
Unanswered
lianganwei1994
asked this question in
1. Help
Replies: 1 comment
-
i have the same question,how you solve it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I'm using pyav to encode a mov video with rgba frames:
self.container = av.open('temp.mov', mode='w',format = 'mov')
self.stream = self.container.add_stream('prores_ks', rate=self.fps)
self.stream.framerate = self.fps
self.stream.pix_fmt = "yuva444p10le"
self.stream.width = 1920
self.stream.height = 1080
but I found that the encoding speed is to low, only 200ms per frame and the generate file is too large
Is there any method to improve enconding speed or any other codec can be used?
self.stream.bit_rate = 200000
the other question is even i set the bit_rate it seem invalid
thanks
Beta Was this translation helpful? Give feedback.
All reactions