I am decoding H264 packets from an IP Camera. It is working but the CPU load is high and I am trying to use hardware acceleration with VDPAU. I am following the implementations of VDPAUHelper and VDPAUDecoder from libavg ( https://github.com/libavg/libavg/tree/master/src/video)
avcodec_decode_video2 throws this error: [h264_vdpau @ 0x7f65e400e120] decode_slice_header error Some things that I noted: avCodecContext->pix_fmt is always AV_PIX_FMT_NONE vdpau_h264_init from vdpau_h264 is never called. Should be called? ff_vdpau_common_init from vdpau.c is never called. Should be called? This is my FFmpeg version: fmpeg version 2.8 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16) configuration: --enable-shared --enable-hwaccel=h264_vdpau libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 Any idea what I am missing? Thanks, Javier
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
