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 av_opt_set(encCtx->priv_data, "pools", "none", 0) and av_opt_set(encCtx->priv_data, "numa-pools", "none", 0); But no effect. I have set encCtx->thread_count as 1.
Disabling thread pools in libx265
1.6k Views Asked by TheSeriousJoker At
1
There are 1 best solutions below
Related Questions in FFMPEG
- Extract bytes of specific stream from mpegts file using ffmpeg
- running ffmpeg command in java Process hangs in waitFor()
- ffmpeg stream rtsp to mpegts
- Android receive RTP/UDP audio stream from VLC/ffmpeg
- error - /usr/bin/ld: cannot find -lavutil in ubuntu 15.04
- webcam displayed on LAN not to the internet
- ffserver - invalid codec name libvpx
- ffmpeg to extract a video one frame per second?
- how to extract audio from video in c using ffmpeg library?
- How to extract audio form video using ffmpeg in C++?
- ffmpeg to validate video format is genune and store error into string
- FFMPEG concat videos
- Why so many partial content requests in Firefox when streaming mp4 video on Apache?
- FFServer streaming H.264 from Logitech C920 without re-encoding
- Fragment shader does not show any colour when compiled with vs2013
Related Questions in LIBAVCODEC
- error - /usr/bin/ld: cannot find -lavutil in ubuntu 15.04
- JavaFX Media Player crashes when opening MP3s even though libav 53 libraries are present?
- undefined reference to 'av_rdft_init(int, RDFTransformType)'
- FFMPEG - AVFrame to per channel array conversion
- How to extract key-frames closest to given frame numbers from H264 video with ffmpeg
- FFmpeg - MJPEG decoding gives inconsistent values
- Unmet dependency when installing vlc on ubuntu 14.04
- Sending metadata per frame with libavcodec
- Compiling FFMPEG in Visual Studio 2013
- Android Encode h264 using libavcodec for ARGB
- How to load an image with libavcodec functions of ffmpeg?
- OpenCV's VideoCapture::open Video Source Dialog
- Convert from NV12 to RGB/YUV420P using libswscale
- using ffmpeg libavcodec encode video stream to H264, why duration is zero
- Using FFmpeg within a python application: ffmpeg tool or libav* libraries?
Related Questions in LIBX265
- Free and open-source lib to decode x.265 (HEVC) stream in a C project?
- x265: Will I get smaller file size with frame-threads=1?
- ffmpeg generates random length video when using libx265
- 2-pass rate control in HEVC encoder or x265
- How to use the --abr-ladder from x265 on ffmpeg
- How to get encoding time per frame using x265 v1.7?
- FFmpeg build error pkg-config can't find x265 /usr/bin/ld: cannot find -lnuma: No such file or directory
- Convert 16bit Grayscale PNG to HEVC/x265
- ffmpeg convert from H.264 (High 4:4:4 Profile) to H.265 (Main Profile)
- Disabling thread pools in libx265
- ffmpeg: Cannot open libx265 encoder. Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0
- Fastest seek speed and decoding with ffmpeg and x265 < ProRes
- x265: I don't get full statistics per frame during encoding process
- how to install libx265 for ffmpeg build on centos 7
- x265: Why do P and B frames have different encoding time?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Thanks. I found the answer. It has to be done using "av_opt_set(encCtx->priv_data, "x265-params", AVDICT, 0)", where AVDICT is "--pools=none, --numa-pools=none". Reference: "http://x265.readthedocs.io/en/default/cli.html"