goodrobots / vision_landing

Precision landing using visual targets
GNU General Public License v3.0
202 stars 71 forks source link

Using vaapih264enc halves fps #63

Closed fnoop closed 7 years ago

fnoop commented 7 years ago

Running track_targets at 1280x720 without vaapih264enc gets 30fps, with vaapih264enc either to udpsink or filesink only gets 15fps. Filesink to internal mmc on joule, cpu only goes to ~275% so possibly waiting for fs to write/sync.

fnoop commented 7 years ago

Using fakesink through vaapih264enc ups cpu to 375% but still only 20fps. Main problem is in vaapih264enc.

fnoop commented 7 years ago

fps goes up to 25 using vaapih265enc

fnoop commented 7 years ago

Disabling marker drawing doesn't make any difference

fnoop commented 7 years ago

Not much to do about encoder slowdown, use h265.