Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th July 2020, 01:05   #1  |  Link
Treaties Of Warp
Registered User
 
Join Date: Apr 2019
Posts: 14
x264 "Lossless" [--qp 0] question

--qp 0 is supposed to be "lossless" as I've read.

So, I can see how the following is "lossless":

Code:
x264 --preset veryslow --qp 0 --no-deblock --profile high444 --sync-lookahead 12
--no-psy --sar 1:1 --qpfile GENERATED_QP_FILE --non-deterministic --range tv
--colormatrix bt470bg --demuxer raw --input-res 720x480 --input-range tv
--input-depth 8 --fps 25/1 --output-csp i444 --output-depth 8 --output
OUTPUTFILE -
But x264 also allows specification with --qp 0, of --output-csp i422 and --output-csp i420.

So, how can i420 be lossless?
Treaties Of Warp is offline   Reply With Quote
Old 18th July 2020, 01:19   #2  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Quote:
Originally Posted by Treaties Of Warp View Post
-

So, how can i420 be lossless?

When the input file is i420, i420 can be lossless.

When the input file is i422, i422 can be lossless.

i444 would not be lossless in those cases (although you could convert it back to the original, if nearest neighbor algorithm was used to upsample and downsample back to i420)
poisondeathray is offline   Reply With Quote
Reply

Tags
i420, i444, lossless, qp 0, x264

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.