Results 1 to 2 of 2

Thread: Test tool for snb h264 encoder in libva git

  1. #1
    Join Date
    Aug 2007
    Posts
    6,631

    Default Test tool for snb h264 encoder in libva git

    About 1 week ago there was this commit:

    http://cgit.freedesktop.org/libva/co...f402d1ee85a8c1

    It adds that new tool:

    $ avcenc
    Usage: avcenc <width> <height> <input_yuvfile> <output_avcfile> [qp]

    Can be tested with

    http://kanotix.com/files/fix/mplayer-vaapi-latest.txt

    I currently just put every test binary in the vainfo package as hack. Now i want to see some results...

  2. #2
    Join Date
    Aug 2007
    Posts
    6,631

    Default

    One Kanotix user did a few tests for me, maybe somebody finds that interesting (avcenc defaults to qp 26):
    Code:
    $ avcenc 1920 1080 video.yuv video.h264
    libva: libva version 0.32.0
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/dri/i965_drv_video.so
    libva: va_openDriver() returns 0
     213/213 ...
    done!
    encode 213 frames in 2.010000 secondes, FPS is 106.0
    
    $ x264 --qp 26 --input-res 1920x1080 --preset superfast --profile main --level 41 -o video.x264 video.yuv
    ...
    encoded 213 frames, 106.92 fps, 4815.67 kb/s
    
    $ x264 --qp 26 --input-res 1920x1080 --preset ultrafast --profile main --level 41 -o video-u.x264 video.yuv
    ...
    encoded 213 frames, 258.76 fps, 6439.22 kb/s
    
    $ ls -l video*
     -rw-r--r-- 1 kanotix kanotix   6857774 May  7 23:46 video-u.x264
     -rw-r--r-- 1 kanotix kanotix  16052356 May  7 22:51 video.h264
     -rw-r--r-- 1 kanotix kanotix   5128683 May  7 23:50 video.x264
     -rw-r--r-- 1 kanotix kanotix 662515200 May  7 22:57 video.yuv

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •