hi, i have been encoding movies with ffmpeg x265 using simple command line (below) but default it is using 8bit is there a command to include 10bit
ffmpeg -i input -c:v libx265 -preset medium -x265-params crf=18 -c:a aac -strict experimental -b:a 160k output
and facing same problem with virtualdub external encoder
--crf 18 --preset medium --input-res %(width)x%(height) --fps %(fps) -o "%(tempvideofile)" -
pls guide me about including bit depth in both the encoders and setting specific height and width in virtualdub resize filter failed Thank you
+ Reply to Thread
Results 1 to 12 of 12
What kind of virtualdub you have?
afaik only my version can possibly do what you ask. See here: https://sourceforge.net/p/vdfiltermod/wiki/format_changes/
Down the page are example profiles which work. Never tried x265 10bit.
VirtualDub. (Of course that implies 8 bit processing)
You can either:
a.) Use an x265 binary that does only 10 bit. Then you don't need to change the command. (e.g. from https://encoder.pw ) or
b.) Use a multi-bit-depth binary and add parameter for output bitdepth (http://x265.readthedocs.io/en/default/cli.html#cmdoption--output-depth)
ffmpeg x265 is limited and ignore most of x265 settings... sadly i must say.
Read https://forum.videohelp.com/threads/378767-FFMPEG-12bit-hevc-encoding you can pipe from ffmpeg to x265 but to perform 10 bit encoding you need to compile own x265 32 bit build i assume, side to this do not forget about 32 bit windows limitation - in 32 bit OS application is 32 bit and it can allocate maximum 2GB RAM unless PAE used then maximum 3GB (and as such this will limit significantly x265 resolution).
Not sure if creating own x265 10 bit is possible with 32 bit but you can try http://msystem.waw.pl/x265/
Maybe qsv encoder will work for you but still i assume 32 bit OS can be serious limitation. For any serious work on h.265 10 bit 64 bit OS seem to be unavoidable.
It can avoid banding even with such 8 bit YUV input. Of course OP didn't say anything about why he wants to encode 10 bit so we don't know if it makes sense.
using the above command in ffmpeg still getting 8bit included clean builds x265-10b.exe (32bit) + libx265_main.dll + libx265_main12.dll http://forum.doom9.org/showthread.php?t=168814&page=170 i used ffmpeg -i input -c:v libx265 -preset medium -an -pix_fmt yuv420p -x265-params crf=18 -c:a aac -strict experimental -b:a 160k output help out
Last edited by lilycarolyn; 6th Jun 2016 at 13:32.
I meant -pix_fmt yuv420p10le. We can't omit the 10le part because that would be just 8 bit. You'd still need a suitable ffmpeg binary, though.