Skip to content

the question in encoding RGBA frame video #831

Description

@lianganwei1994

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions