--qpfile usage >> Main Dishes >> Forum
Forum
  Search   Users   Registration   Entrance
Today: 19.07.2025 - 04:55:27
Pages:  1  

--qpfile usage

Advertising

CROWD links from forums - 0,9 USD


MessageAuthor

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

crosbo

main-users




Statistics:
Messages: 82
Registration: 11.14.2002
29.05.24 - 08:10:21
Message # 1
RE: --qpfile usage

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.

---------------------
Don Cepek Jr.

1highbeam

main-users




Statistics:
Messages: 737
Registration: 09.12.2002
29.05.24 - 08:21:22
Message # 2
RE: --qpfile usage

x264 requires a ratecontrol method even if that method is intended to be completely overridden by --qpfile.

---------------------

JAlfredPrufrock

main-users




Statistics:
Messages: 2,128
Registration: 08.28.2003
29.05.24 - 08:25:41
Message # 3
RE: --qpfile usage

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?

---------------------

BlauM3

main-users




Statistics:
Messages: 226
Registration: 05.27.2001
29.05.24 - 08:30:19
Message # 4
RE: --qpfile usage

Use a bitrate instead?

---------------------

Transporter

main-users




Statistics:
Messages: 200
Registration: 05.17.2003
29.05.24 - 08:38:01
Message # 5
RE: --qpfile usage

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!

ArcticFox

main-users




Statistics:
Messages: 2,104
Registration: 12.13.2001
29.05.24 - 08:44:42
Message # 6
RE: --qpfile usage

I meant, use a bitrate as a rate control method to keep x264 happy, which would then be overriden by the qp file. Yes, it is screwy to me though.

---------------------
Patrick Spikes Guinness, not just for breakfast anymore

tigruppe

main-users




Statistics:
Messages: 48
Registration: 09.30.2002
29.05.24 - 08:55:29
Message # 7
RE: --qpfile usage

-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.

---------------------

KidCorrado

main-users




Statistics:
Messages: 677
Registration: 03.07.2003
29.05.24 - 09:04:09
Message # 8
RE: --qpfile usage
where is the tap tempo funtion on protools 6.9??? : Previous topicNext topic: Whats my engine number??/
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants