Opened 4 years ago

Last modified 4 years ago

#3359 new enhancement

ffplay does not support hw acceleration, is not documented

Reported by: pdknsk Owned by:
Priority: wish Component: ffplay
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

This is a feature request, but also a minor bug report.

The feature request is to have ffplay support hardware acceleration. Already described in this GSOC 2013 suggestion.

http://wiki.multimedia.cx/index.php?title=FFmpeg_Summer_of_Code_2013#Hardware_Acceleration_.28hwaccel.29_API_v2

  • Integrate hardware acceleration into ffplay
    • Create a video-output (VO) infrastructure to ffplay
    • Port the SDL renderer to the new VO infrastructure
    • Add support for VA-API: VA renderer through vaPutSurface(), add -hwaccel -- option to select "vaapi" renderer
    • Add support for VDPAU (optional): VDPAU renderer through VdpPresentationQueueDisplay?()

IMO it is reasonable to expect that ffplay already does so. Certainly ffplay reports that _vaapi or _vdpau is supported. However a search for such an option in the long list of command line options remains fruitless. Maybe this could be documented with a small warning in -h to spare users from trying to figure out why it doesn't work.

Change History (1)

comment:1 Changed 4 years ago by cehoyos

  • Priority changed from minor to wish
  • Version changed from unspecified to git-master

I wonder how this would be implemented as long as ffplay is limited to sdl.

Note: See TracTickets for help on using tickets.