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
2
votes
1 answer

Does libx265 and libx264 libraries implement a decoder?

I have one question about these 2 codec library developped by videolan. Does x265(libx265) implements a decoder? Same question for x264(libx264). Thank you for your answers.
user6684929
2
votes
2 answers

x265: Why do P and B frames have different encoding time?

I'm using x265 encoder for HEVC. I have 3 different configurations. Have 4 B frames (B4) 2 B frames (B2) 0 B frames (B0 - all P frames) Their encoding times are different. B4 and B2 need much less encoding time than B0 that contains only P…
zinon
  • 4,427
  • 14
  • 70
  • 112
2
votes
2 answers

how to install libx265 for ffmpeg build on centos 7

When I try to compile ffmpeg with libx265 (./configure --enable-gpl --enable-libx265), it is getting error as: (ERROR: x265 not found using pkg-config). How to install libx265 and get configure with ffmpeg.
krishna
  • 31
  • 2
  • 4
2
votes
1 answer

Looking for technical details about X265 encoding and decoding

I'am working on x265, Is there some one who can you share with me how did I encode yuv using x265 codec? I Need to know how do you get pixel encoded from picture_out structure, And can you tell me if this code is good ? Hope get solution from you!…
Sitoumbaz
  • 61
  • 4
1
vote
2 answers

Why are the actual QP values in block-level in minus 3 from the initial QP with CQP mode in x265?

I am encoding a video with different initial QP values using the x265 encoder. I am surprised when I checked the bitstream to see the actual QP values for every block across frames are not exactly the same as the given initial QP value.…
Alearner
  • 25
  • 2
  • 10
1
vote
1 answer

x264/x265 options for fast decoding while preserving quality

I want to encode some videos in H264 and H265, and I would like to ask for help in order to chose the adequate options in x264/x265. My first priority is video quality. Lossless would be the best quality for example My second priority is fast…
1
vote
0 answers

FFMPEG SCREEN RECORDING: How to get H265 (libx265) recording using ffmpeg with xorg?

I really would appreciate all the help I can get here. I'm trying to use the libx265 codec for recording an xorg dummy screen. The command that currently works for H264 (libx264 codec) is: ffmpeg -y -v info -f x11grab -draw_mouse 0 -r 30 -s…
Ryan
  • 11
  • 6
1
vote
0 answers

FFMPEG libx265 encoding leaves memory unfreed after avcodec_free_context

I am working on H265 encoding software and, in my unit tests, I have some weird memory leaks. To found them, I have modified the encode_video.c example from FFMPEG documentation. I have changed the resolution to correspond at a 4K video, I have…
ahugeat
  • 51
  • 6
1
vote
1 answer

How to make Django scan all directories including those that are not in static files directory to search media files

I'm trying to build a local video streaming web application with Django as its backend. I'm not looking to host the application online, its always going to remain in localhost. Now the problem I'm facing is Django only detects video files that are…
1
vote
2 answers

cmake installation of x265 for ffmpeg on Cygwin - executable location different from other codecs

TL;DR (with expected vs. real) For a Cygwin build of ffmpeg, I'm installing x265, and it seems to me that the executable ends up in the wrong place. I'll show some basic directory structure, then I'll show the tree outputs for expected and real,…
bballdave025
  • 1,347
  • 1
  • 15
  • 28
1
vote
1 answer

How to set proper bitrate for ffmpeg with hevc_nvenc?

When I transcode video to H265 with following command, I get a bitrate about 600K and the quality is almost the same as the original. ffmpeg -i data2.mp4 -c:v libx265 -c:a copy d2.mp4 However when I use the hevc_nvenc, I get a very high bitrate…
seaguest
  • 2,510
  • 5
  • 27
  • 45
1
vote
0 answers

Export dynamic metadata using x265

I am working on ffmpeg and x265 for video encoding. From the release note of x265: HDR10+ supported. Dynamic metadata may be either supplied as a bitstream via the userSEI field of x265_picture, or as a json jile that can be parsed by x265 and…
nam
  • 11
  • 1
1
vote
0 answers

Fastest seek speed and decoding with ffmpeg and x265 < ProRes

I'm trying to optimize seek speed with x265. No matter what encoding settings I try, ProRes still seeks more quickly/gracefully. This makes sense since it was built for editing, but I'm sure there's got to be something I'm missing to better improve…
1
vote
0 answers

how to get motion vector by HEVC method?

I want to get the motion vector between two frames. I want to use the motion estimation method in x265. But I don't know how to do? Anyone can help me? Thank you!!! I used to download the source code of x265, but it is too difficult to understand…
Gary
  • 823
  • 1
  • 8
  • 14
1
vote
1 answer

Why codecs x264/x265 ignores pts and dts of input frame?

I'm trying to encode images from a webcam with libx265 (libx264 tried earlier) ...The webcam can not shoot with stable FPS because of the different amount of light entering the matrix and, as a result, different delays. Therefore, I count the fps…
Iceman
  • 365
  • 1
  • 3
  • 17