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
0
votes
0 answers

how to get the ref infomation for B frame and P frame in h265 codec , can ffprobe do this?

how to get the reference infomation for B frames and P frames in h265 video codec , can ffprobe or ffmpeg do this without build & complie? I use ffprobe -show frames , but I can not find the reference informaiton. any suggestion?
陈昱翔
  • 1
  • 1
0
votes
1 answer

How to extract all HEVC i-frame images from a x265 video?

I need to drop all the B-frames and P-frames, only keeping the I-frames to be saved as images.
2474101468
  • 328
  • 2
  • 9
0
votes
1 answer

FFmpeg build error pkg-config can't find x265 /usr/bin/ld: cannot find -lnuma: No such file or directory

I am trying to build ffmpeg with custom libraries from source code. Every package in my script builds as it should but when it gets time to run the ffmpeg build using all of the packages it fails with a weird error code shown at the bottom of the…
slyfox1186
  • 301
  • 1
  • 13
0
votes
0 answers

Where to find specification of the jvet/HM and/or the x265 H.265/HEVC encoders?

I'm interested in implementations of H.265/HEVC encoders, which can be used in practice. Since the H.265/HEVC standard only defines the decoder, finding good syntax elements is the job of the encoder. However, I guess finding the optimal syntax…
0
votes
1 answer

ffmpeg convert from H.264 (High 4:4:4 Profile) to H.265 (Main Profile)

How can I convert a video from H.264 (High 4:4:4 Profile) to H.265 (Main Profile 4:2:0) using ffmpeg? I can't do that with this command: ffmpeg -i input.mkv -c:v hevc_nvenc -c:a copy output2.mkv That'd return an error, does not recognize the source…
0
votes
0 answers

Lossless x265 encoding - YUV420 colorspace

I have a png bgr24 image that is encoded to mp4 with x265 encoder in a lossless way. I am aware that bgr to yuv420p conversion is lossy. I am trying to get the bit-exact reconstruction of a encoded image compared to an image that went to the…
dajuric
  • 2,373
  • 2
  • 20
  • 43
0
votes
0 answers

Integrate Dolby Vision 8.4 Metadata into streams encoded by x265

I have the original video captured by iPhone 13 Pro, with Dolby Vision profile 8.4, HLG. Is there a way I can compress it with x265, so that I can get almost the same quality in a far smaller size. An image from Dolby Vision official website: Dolby…
Bobby
  • 21
  • 1
0
votes
1 answer

Get a HLS stream for a HVEC/h265 video

What I want to do? Generate HVEC (h265) HLS of a mp4 file. What I already have tried? I came across this post https://superuser.com/a/1416549/1084556. It first asks to convert h264 video to h265 format and then do the HLS packaging`. So I ran ffmpeg…
dravit
  • 553
  • 6
  • 16
0
votes
0 answers

2-pass rate control in HEVC encoder or x265

I want to use 2-pass rate control in the HEVC encoder reference code but I do not know if there is a configuration setting to do it. My goal is to encode an original sequence in the 1st-pass rate control and encode a filtered sequence of the…
Alearner
  • 25
  • 2
  • 10
0
votes
1 answer

x265: Will I get smaller file size with frame-threads=1?

According to the x265 Command Line Options Documentation about the -F / --frame-threads option: Using a single frame thread gives a slight improvement in compression, since the entire reference frames are always available for motion compensation,…
For Fun
  • 23
  • 6
0
votes
1 answer

Free and open-source lib to decode x.265 (HEVC) stream in a C project?

I'm doing a project in C which requires playing an incoming stream of HEVC content to the user. My understanding is that I need a library that gives me an API to a HEVC decoder (not and encoder, but a decoder). Here are my options so far: The x265…
Ashkan Kh. Nazary
  • 21,844
  • 13
  • 44
  • 68
0
votes
1 answer

how to stream h265 video from ffmpeg to amazon s3?

I am trying to stream h265 video to aws s3 from ffmpeg, here is the command that i use: ffmpeg -f gdigrab -i desktop -r 1 -vframes 5 -c:v libx265 -crf 40 -f mp4 pipe:1 | aws s3 cp - s3://videosbuket-009212/d5.mp4 and error information: [mp4 @…
herb
  • 139
  • 8
0
votes
1 answer

Unable to build GStreamer pipeline; no element x265enc in Android

I am trying to implement H265 using the x265enc encoder in an android application using GStreamer. I have constructed the pipeline which works when using the terminal and gst-launch-1.0 and videotestsrc. However, when trying to execute the pipeline…
0
votes
0 answers

HEVC (x265) encoding in Instagram videos?

Is Instagram using x265 as an encoding format to further compress and reformat the uploaded videos for mobile devices? I tried doing ffprobe on the video downloaded (after sniffing the https traffic and getting the url from the GET body), but it…
Arpit Singh
  • 101
  • 6
0
votes
0 answers

I can't use libx265 or hevc with ffmpeg in nginx

exec_push /usr/bin/ffmpeg -re -i rtmp://10.254.20.186:1935/$app/$name ar 44100 -vcodec libx264 -g 25 -f flv rtmp://10.254.20.186/live/$name_hi; I can use this code in my nginx server. this is code running but dont run while write libx264 instead…
Hakan Murat Aksüt
  • 17
  • 1
  • 2
  • 10