VideoHelp Forum
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. 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
    Quote Quote  
  2. 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.
    Quote Quote  
  3. Originally Posted by shekh View Post
    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.
    x265 can encode 10 bit from 8 bit source so it can be used even with vanilla VirtualDub. (Of course that implies 8 bit processing)

    @lilycarolyn
    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)
    Quote Quote  
  4. If I remember correctly, vanilla VirtualDub cannot output 8 bit rgb either, it forced yuv420, 601 limited range. So completely pointless to encode with anything 10 bit.
    Quote Quote  
  5. 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.
    Quote Quote  
  6. Originally Posted by sneaker View Post
    Originally Posted by shekh View Post
    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.
    x265 can encode 10 bit from 8 bit source so it can be used even with vanilla VirtualDub. (Of course that implies 8 bit processing)

    @lilycarolyn
    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)
    i have 32bit win so x265 10bit supports only 64bit win so the 2nd option --output-depth 10 worked thanks for the help can you pls give me the commandline for ffmpeg x265 10bit encoding when i entered output depth=10 it returns error
    Quote Quote  
  7. Originally Posted by lilycarolyn View Post
    i have 32bit win so x265 10bit supports only 64bit win so the 2nd option --output-depth 10 worked thanks for the help can you pls give me the commandline for ffmpeg x265 10bit encoding when i entered output depth=10 it returns error
    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.
    Quote Quote  
  8. I'm not sure about the ffmpeg command-line. Maybe adding "-pix_fmt yuv420p10le" will work but it would also require an ffmpeg binary compiled with 10 bit support. (I don't think the ones from Zeranoe are.)
    Last edited by sneaker; 6th Jun 2016 at 14:13.
    Quote Quote  
  9. Originally Posted by sneaker View Post
    I'm not sure about the ffmpeg command-line. Maybe adding "-pix_fmt yuv420p10" will work but it would also require an ffmpeg binary compiled with 10 bit support. (I don't think the ones from Zeranoe are.)

    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.
    Quote Quote  
  10. 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.
    Quote Quote  
  11. Originally Posted by sneaker View Post
    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.
    adding 10le didnt work i think the suitable binary files for 10bit from ffmpeg update can fix the problem
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!