Skip to content

Failed to decode mpeg4 (x264) video #27

@choryuidentify

Description

@choryuidentify

Hello!

I'm using Orange Pi Plus 2 with Arch Linux (mainline 5.3.7-1-ARCH).
I've install libva-v4l2-request-git package.
and run vainfo, it display correct information.

vainfo: VA-API version: 1.5 (libva 2.5.0)
vainfo: Driver version: v4l2-request
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointVLD

so, I've trying decode MPEG4 video using VLC. Video is this file
and got this error (verbose log)

main debug: looking for hw decoder module matching "vaapi": 3 candidates
vaapi_drm error: profile(3) is not supported
main debug: no hw decoder modules matched

and I trying v4l2-request-test, mpeg2 is ok (log), but h264 is failed (log)

h264 preset is disabled some unknown reason, so I've turn on h264 using export CFLAGS=-DV4L2_PIX_FMT_H264_SLICE=1

How can I resolve this problem?
and It's have schedule for support GStreamer? I'm trying to porting OpenAuto to Sunxi boards.
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