Questions tagged [libx265]

C/C++ library that encode video streams into H.265/HEVC format

It provides an C++ implementation for Linux, Windows and OSX to encode video streams in format.

libx265 official site is videolan and the source is available from the repository http://hg.videolan.org/x265.

81 questions
1
vote
3 answers

FFmpeg: Multiple x265-params are not recognized

I'm using ffmpeg in x265 and I want to use multiple x265-params in one encoding. When I use more than one parameter, ffmpeg does not recognize them. My script is: ffmpeg -s:v 1440x1080 -r 25 -i incident_10d_1440x1080_25.yuv -c:v rawvideo \ -pix_fmt…
zinon
  • 4,427
  • 14
  • 70
  • 112
1
vote
1 answer

Shell script is not running in ubuntu

I have the following script in a bash script encode.sh. echo "1 configuration out of 936" x265 incident_10d_384x288_25.yuv --input-res 384x288 --fps 25 str/incident_10d_384x288_25_QP_0_ON_B0.bin --tune psnr --psnr --preset medium --max-merge 5…
zinon
  • 4,427
  • 14
  • 70
  • 112
1
vote
0 answers

a duplicate video finder: need to know what encoder preset was used

this script looks for duplicate videos by filename. Filenames are all formatted Video Title (YEAR#) other info.mkv. @echo off for /f "delims=" %%v in ('dir /b /a-d') do set "compare=%cd%\%%v" & call :action exit /b :action :: if already moved do…
Bricktop
  • 533
  • 3
  • 22
1
vote
0 answers

CBR libx265, constant bitrate with HEVC

I was trying to use FFmpeg and libx265, but actually, I can't find any working solution for HEVC and Constant bitrate *ffmpeg -i "D:\video\Mixer test.mp4" -c:v libx265 -x264-params "nal-hrd=cbr:force-cfr=1" -b:v 1M -minrate 1M -maxrate 1M -bufsize…
user1722669
  • 488
  • 2
  • 6
  • 22
1
vote
1 answer

Disabling thread pools in libx265

I am using libavcodec to encode a YUV to h265. libx265 creates its own thread-pool based on the number of cores available. I want to run h265 entirely on a single core for performance test. Is there a way to do it using av_opt_set. I have tried…
1
vote
1 answer

FFmpeg error loading shared libraries libx265.so.113

I recently installed libx265, I dont know what happened, but when I execute ffmpeg command I got this error : ffmpeg: error while loading shared libraries: libx265.so.113: cannot open shared object file: No such file or directory I google it but…
asendjasni
  • 963
  • 1
  • 16
  • 36
1
vote
1 answer

What is difference between delta QP and simple QP?

In context of video coding (especially HEVC), what is difference between delta qp and simple qp values?
1
vote
0 answers

Implementing new intra prediction modes in hevc x265

i'm a graduate student currently working on extending modern image and video compression codecs to achieve better performance. I'm currently working on modifying BPG(Better Portable Graphics) and x265 (an HEVC/H.265 implementation). My current…
1
vote
3 answers

Why does google and the Alliance for Open Media make their own video codec, when there are open source encoders for h265

I read that google and the Alliance for Open Media are making their own codecs (vp9/av1) because of outrageous licencing costs for h265, but i saw that there are open source x265 encoders, that are licenced under gpl v2, so that makes x265 free to…
Frederik Baetens
  • 781
  • 1
  • 9
  • 20
1
vote
0 answers

libx265 motion compensation and CU traverse

I'm trying to play with the H.265 motion compensation and search (HEVC- libx265 implementation from here: https://bitbucket.org/multicoreware/x265/downloads). I need to slightly extend the edge extension search, and fill the macro block with…
user1196937
1
vote
0 answers

FFMPEG Motion Compensation and Search

I'm trying to modify the motion detection part of FFMPEG. What I want to do is to extend the search space, so that whenever the macroblock hit the right most edge of the frame, I need it to still move the block towards the left-most as if they are…
Tina J
  • 4,983
  • 13
  • 59
  • 125
1
vote
1 answer

How to get encoding time per frame using x265 v1.7?

Using -log-level 4 on x265 v1.4 I get encoding time and elapsed time per frame. Now using v1.7 I don't get these values in csv. Instead I get DecideWait (ms), Row0Wait (ms), Wall time (ms), Ref Wait Wall (ms), Total CTU time (ms), Stall Time…
zinon
  • 4,427
  • 14
  • 70
  • 112
1
vote
1 answer

x265 cross compilation for arm

I tried to build x265 for arm using different variants of the following script cmake -D CMAKE_SYSTEM_NAME="Linux" -D CMAKE_SYSTEM_VERSION=1 -D CMAKE_SYSTEM_PROCESSOR="armv7" -D CMAKE_FIND_ROOT_PATH="/usr/arm-linux-gnueabi/" -D…
nomem
  • 1,568
  • 4
  • 17
  • 33
1
vote
1 answer

x265 Encoder: order of values in 'planes' array

During the encoding process with x265 encoder (https://x265.readthedocs.org/en/default/api.html) I want to write image pixel values (specifically values of Y channel) into .txt file after a new image is encoded (not important why). For that, I'm…
user2208392
  • 105
  • 1
  • 8
1
vote
1 answer

x265 encoder, convert yuv to x265_picture

I'm writing an application in C++ and I want to convert a yuv picture that I get from the webcam to an x265_picture, so that it can be encode to hevc. I followed the tutorial on http://x265.readthedocs.org/en/default/api.html#introduction. But there…
jdb
  • 51
  • 7