Announcement

Collapse
No announcement yet.

VA-API encoding

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Just because Transmageddon / gstreamer has loaded your va-api driver doesn't mean its being used and in your case it won't be getting used because you have transcoded to ogg.

    To encode in a format that should use vaapi, choose AVI for the output format then it should choose h264 as the default codec.

    However, there is no point in trying unless you have the required gstreamer encoding plugins. What distro are you running and what output do you get when you run:

    Code:
    gst-inspect-1.0 | grep vaapi
    Also, make sure you are running at least Transmageddon 1.3. It seems your previous test used 1.2 and 1.3 fixed a bug that disabled vaapi.
    Last edited by danboid; 12 August 2014, 03:24 AM.

    Comment


    • #12
      Originally posted by danboid View Post
      Just because Transmageddon / gstreamer has loaded your va-api driver doesn't mean its being used and in your case it won't be getting used because you have transcoded to ogg.

      To encode in a format that should use vaapi, choose AVI for the output format then it should choose h264 as the default codec.

      However, there is no point in trying unless you have the required gstreamer encoding plugins. What distro are you running and what output do you get when you run:

      Code:
      gst-inspect-1.0 | grep vaapi
      Also, make sure you are running at least Transmageddon 1.3. It seems your previous test used 1.2 and 1.3 fixed a bug that disabled vaapi.
      I use matroska + h264 and vaapi and omx works fine.
      How do you explain the difference in time and CPU load on screenshots?
      Special video for you, look carefully at what happens after 0.49s-0.50s


      Any questions?

      Comment


      • #13
        Hi there, I'm a newbie 'nix user that is very keen to abandon Windows, the one issue being Intel Quicksync support. I encode a lot for a website I run so having the speed and quality offered by my Haswell is a god send. The issue is, I really don't want to be tied to Windows.

        I have tried various settings and installs with regards to Transmaggedon. One thing that I quickly learnt was not to mess with Gstreamer, because as soon as I do I break all format support and hardware decoding as a result. This has resulted in numerous re-installs.

        I have managed to get Transmaggedon to use the hardware, but with incredibly poor quality; nothing like what has been shown off in this thread. Can anyone help out a Linux Newbie using Ubuntu 14.04 on an Intel? Pentium(R) CPU G3258 @ 3.20GHz ? 2 I am willingly to donate to anyone who can spend the time explaining this to me. Thank you!

        Comment


        • #14
          vague update

          Hi Dexterp91

          I've been meaning to update this thread for months, just never got round to it. I did get HW encoding working under Transmageddon in the end but under Arch instead of Ubuntu. I just had to install the Intel GPU driver from AUR then Transmageddon VAAPI encoding (using the version in the official Arch repos) 'just worked'. I've not used it in a while but IIRC it was something like 4/5x faster than encoding in software so I was quite happy with that.

          I've never tried Quicksync but I've heard its both faster and better quality than VAAPI. Unfortnately I expect there is little you can do to improve the encoding quality other than wait for the Intel devs to improve VAAPI encoding. However, if there is anyone outside Intel who does know how to improve the situation there is a very good chance they read these forums so you asked in the right place.

          Comment


          • #15
            Mistake in my first post

            I don't think I have ever had HW acceleration working in Ubuntu, I just mistook the option h26n ITU as it. It was stupidly quick but gave nothing great for quality. I can't find much to explain what that option what/is either.

            Thank you for the reply. I'll try in Manjaro (I'm scared of pure Arch as they don't seem to care about posting system breaking updates)

            Comment

            Working...
            X