Announcement

Collapse
No announcement yet.

Test tool for snb h264 encoder in libva git

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

  • Kano
    replied
    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

    Leave a comment:


  • Kano
    started a topic Test tool for snb h264 encoder in libva git

    Test tool for snb h264 encoder in libva git

    About 1 week ago there was this commit:



    It adds that new tool:

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

    Can be tested with



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