For a university project I need to be able to specify the frame type for all coded frames. The --qpfile option in x264 looks like should do, but I have a few problems. If I try to specify only the qpfile, it complains that I did not specify a rate control method. What's the correct way, then, to invoke x264 so that it respects the contents of the qpfile?
--------------------- 300E Audi A6 F250 Powerstroke 325es 735i
Add a rate control method? Try qp 51 then you know if it hasn't obeyed the qpfile. Granted x264 shouldn't need a rate control method if you specify for every frame the type and quantiser in the file.
Ok, fine. But if those two switches are the only ones that make x264 respect the QPs specified in the qpfile BUT at the same time they make the output unplayable, what switches am I supposed to pass to x264 to have it respect the QPs AND have a playable output file?
Nope. I need to be able to specify, for each frame, its type (intra, inter, b, etc.) and its qp. This is for a research project, so I really need this and not something else. Am I the only one that finds it odd that --qpfile does not disable rate control altogether? Another (semi) correlated question: is x264 capable of hierarchical coding (in the JM sense), or at least is it possible to tell it in which order to encode the frames (I'm not talking about display order but about encoding order)?
--------------------- 1995 M3 (sold) 1997 M3/4 (sold) 2004 GT3 2008 E90 M3 on order -- week 23 build -- DCT and 19's!
-q 1. or any other value besides 0. Yes there's a bug in that it allows you to override qp after selecting lossless, but if I fixed that it still wouldn't do what you want, it would just force lossless. I can't allow no ratecontrol method, because qpfile is an x264cli option, not a libx264 option, and libx264 can't know in advance that you will override every frame. Delaying the error from init time to the first frame that's not overridden would make some frontends like mencoder less happy.