1. 14 Jun, 2018 1 commit
  2. 27 Feb, 2018 1 commit
  3. 12 May, 2017 1 commit
  4. 20 May, 2016 1 commit
  5. 15 Feb, 2016 1 commit
  6. 02 Feb, 2016 1 commit
  7. 09 Nov, 2015 1 commit
  8. 12 May, 2015 2 commits
    • Gwenole Beauchesne's avatar
      tests: simple-encoder: fix build warnings on 64-bit platforms. · c5756a91
      Gwenole Beauchesne authored
      Add a cosmetic change to replace VAAPI buffer with VA buffer and most
      importantly fix warnings spitted out during build on 64-bit platforms.
      ../../tests/simple-encoder.c:211:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘gssize’ [-Wformat=]
           g_warning ("Invalid VAAPI buffer size (%d)", size);
      ../../tests/simple-encoder.c:217:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘gssize’ [-Wformat=]
           g_warning ("Failed to create output buffer of size %d", size);
    • Víctor Manuel Jáquez Leal's avatar
      tests: add simple-encoder program · be40a1d4
      Víctor Manuel Jáquez Leal authored
      This patch adds a simple-encoder test program that uses libgstvaapi for video
      encoding to elementary (raw) streams. Input stream is raw YUV in the Y4M
      format. That can be from a regular file or standard input when the input
      filename is "-".
      Usage: simple-encoder [options]* <source>
      --output|-o     output file name
      --codec|-c      codec to use for video encoding
      --bitrate|-b    desired bitrate (kbps)
      By default, and as an initial patch, the encoded stream shall conform to the
      minimally supported profile. That is "Constrained Baseline Profile" for H.264
      and "Simple Profile" for MPEG-2. Though, those are the defaults to be
      generated by libgstvaapi.
      You can find Y4M sample files here http://samples.mplayerhq.hu/yuv4mpeg2/Original-patch-by: default avatarChangzhi Wei <changzhix.wei@intel.com>
      * general code clean-up
      * removed the yuv reader thread
      * re-wrote the y4m file parser
      * updated used API fixed some wrong usage
      * fixed a lot of memory leaks
      * added the bitrate setting
      * keep fps' numerator and denominator
      * simplified the thread control
      * removed custom logging and use glib
      Signed-off-by: default avatarVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>