Skip to content

How to improve decode performance? #326

@gemfield

Description

@gemfield

The hardware platform info: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz (48 processors) & 251G RAM.
The input is RTMP protocol with h264 video format and aac audio format.
And the PyAV is compiled with the latest source code cloned from this Repo.

Now, after demux the packet from RTMP protocol, I do following operation:
for frame in packet.decode()
and the decode() API cost about 0.03 seconds(for video).

So, here are the 2 questions:
1, is 0.03 seconds reasonable? (If not reasonable, then what should it be on such platform?)
2, how to improve the decode performance(for video part)?

Thanks very much.

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