Hardware h264 video encoding with libav (openmax IL)

I have done some tests it works great !
I download a DVD sample file in mpeg2 format and convert it to h264 mp4 video.
Encoding resultuts :

  • software encoding : ~20 frames per second
  • hardware encoding : ~145 frames per second
    So it works great !
    I have a problem with HD Videos is it not fast but I know why !
    In avconv command I can set the encoder codec but I don’t know if I can setup a video decoder codec.
    I explain when it encode the video the frames are decoded but using sofware decoding …
    I don’t know if it is a way to set it ?
    Have anyone an idea ?