Log in

View Full Version : need some help encoding 10 bit x264 from a few pngs


spacediver
2nd November 2015, 00:25
I want to turn about eight 1920x1200 16 bit pngs into an uncompressed 10 bit video file that can be played back using madVR.

I downloaded the 10 bit x264.exe file, and looked through the options using the -h switch, but the documentation is pretty meaningless to me.

So far, I'm thinking I need to incorporate this:

x264 --qp 0 -o <output> <input>

because that's what the help documentation gives as an example for losless compression. I don't know what qp stands for, but according to the documentation, lower integers mean more lossless compression, with 0 being lossless. So the next thing is, how do I properly specify the output and input, given my goal? And do I need to specify frame rate? I can't find a switch for that. And suppose I find that switch. Where in the command do I insert that string. Before the <output> part? Will bit depth automatically be 10 bit?

Can someone lend me some guidance here?

spacediver
2nd November 2015, 03:07
think i partially figured it out using a 10 bit build of ffmpeg. Problem is, I haven't yet figured out how to make it lossless. Getting there. Will report back if and when I find a solution.

kolak
4th November 2015, 18:36
ffmpeg -i input -c:v libx264 -preset veryslow -qp 0 .....
You may need to set profile to high444.