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 Encoder GUIs
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th June 2015, 08:41   #13661  |  Link
mini-moose
Registered User
 
Join Date: Oct 2007
Posts: 385
Quote:
Originally Posted by Atak_Snajpera View Post
So maybe try with 120s chunk then.
Meanwhile I just did the 4mins in one chunk to see how how it turns out using crf 23 1st pass (first pass without defined bitrate).

There is a noticeable difference even without breaking the video into chunks:

http://screenshotcomparison.com/comparison/132941

Maybe simply upscaling the bitrate for 2nd pass isn't that good?
I noticed the first pass bitrate results are considerably smaller 2nd pass target, and I used a relatively low bitrate for 2nd pass (first passes were around 1000, 2nd pass was 3000).

I'm not a big expert, but the stats file seem to include all sorts of stuff that maybe isn't just bitrate related:

cpbdur:2 q:26.11 aq:21.71 tex:273375 mv:20072 misc:1193 imb:534 pmb:2811 smb:175 d:s ref:0

Last edited by mini-moose; 29th June 2015 at 08:55.
mini-moose is offline   Reply With Quote
Old 29th June 2015, 14:49   #13662  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,816
Quote:
Originally Posted by mini-moose View Post
Meanwhile I just did the 4mins in one chunk to see how how it turns out using crf 23 1st pass (first pass without defined bitrate).

There is a noticeable difference even without breaking the video into chunks:

http://screenshotcomparison.com/comparison/132941

Maybe simply upscaling the bitrate for 2nd pass isn't that good?
I noticed the first pass bitrate results are considerably smaller 2nd pass target, and I used a relatively low bitrate for 2nd pass (first passes were around 1000, 2nd pass was 3000).

I'm not a big expert, but the stats file seem to include all sorts of stuff that maybe isn't just bitrate related:

cpbdur:2 q:26.11 aq:21.71 tex:273375 mv:20072 misc:1193 imb:534 pmb:2811 smb:175 d:s ref:0
I really do not see any problem here! It is 100% normal that frames are not 100% the same. What is important is overall complexity of frame. Looking at your screenshots I really can't say whether frame A has more details than B or vice versa. I only see different pattern of the film grain. You must be a super human to notice this subtle difference in motion
Atak_Snajpera is offline   Reply With Quote
Old 30th June 2015, 11:35   #13663  |  Link
mini-moose
Registered User
 
Join Date: Oct 2007
Posts: 385
Quote:
Originally Posted by Atak_Snajpera View Post
Looking at your screenshots I really can't say whether frame A has more details than B or vice versa. I only see different pattern of the film grain. You must be a super human to notice this subtle difference in motion
I can see quite a difference in detail (especially in #3), but yeah, if you watch in motion and from a viewing distance, it's unlikely to be as apparent.

It was mostly to demonstrate that cq first pass doesn't give the same reference as real first pass does. Remember this is not split first pass. It was a lot worse when I used 60 seconds chunks.
mini-moose is offline   Reply With Quote
Old 30th June 2015, 19:26   #13664  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,816
Quote:
Originally Posted by mini-moose View Post
I can see quite a difference in detail (especially in #3), but yeah, if you watch in motion and from a viewing distance, it's unlikely to be as apparent.

It was mostly to demonstrate that cq first pass doesn't give the same reference as real first pass does. Remember this is not split first pass. It was a lot worse when I used 60 seconds chunks.
I've noticed the same drops in quality in my 10 min "Drive" sample.
It turns out that default CRF 23 is not accurate enough to estimate chunk's complexity. CRF value increased to 16 seems to be much more accurate.

Screenshot from chunk 6
Normal mode -> http://i.cubeupload.com/hM3KmT.png
DE crf 23 -> http://i.cubeupload.com/uJqdy8.png
DE crf 16 -> http://i.cubeupload.com/1yJNyf.png

And here is explanation why some chunks have poor quality.
Bitrate Distribution for chunks with CRF 23


Bitrate Distribution for chunks with CRF 16


No wonder that chunk 6 has such poor quality if it only gets 0.66 of target bitrate instead of ~1. Also first and last chunk wastes a lot of bitrate budget because when I was comparing those two sections I had not seen any obvious differences in quality.

Try this patch
http://www.mediafire.com/download/gr..._for_1.18.3.7z

Last edited by Atak_Snajpera; 30th June 2015 at 19:29.
Atak_Snajpera is offline   Reply With Quote
Old 30th June 2015, 23:36   #13665  |  Link
mini-moose
Registered User
 
Join Date: Oct 2007
Posts: 385
Quote:
Originally Posted by Atak_Snajpera View Post
I've noticed the same drops in quality in my 10 min "Drive" sample.
It turns out that default CRF 23 is not accurate enough to estimate chunk's complexity. CRF value increased to 16 seems to be much more accurate.
Screeshots look a lot better now.

Did you try any crf values in between too or went straight to 16?

I'll give it a try too. Thanks.
mini-moose is offline   Reply With Quote
Old 1st July 2015, 10:52   #13666  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,816
16 seems to be a good value

Last edited by Atak_Snajpera; 1st July 2015 at 14:49.
Atak_Snajpera is offline   Reply With Quote
Old 1st July 2015, 16:50   #13667  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,816
After further investigation I've noticed that even with higher crf value there are still cases where quality of the frame drops. I guess that .stat file generated using CQ mode is not always compatible in second pass so I decided to restore previous old method with 10 min chunks with constant bitrate for each chunk.

Please re-download again 1.18.3 if you use DE mode with 2-pass. Sorry for this mess. I should have tested this method a little bit more...
Atak_Snajpera is offline   Reply With Quote
Old 1st July 2015, 22:22   #13668  |  Link
slalom
Registered User
 
slalom's Avatar
 
Join Date: Jan 2010
Posts: 456
So the only change is the 10 min chunks?
What if we use 5 minutes?

Is it safe?
slalom is offline   Reply With Quote
Old 1st July 2015, 22:36   #13669  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,816
yes if you can accept less optimal bitrate distribution.
Atak_Snajpera is offline   Reply With Quote
Old 1st July 2015, 22:39   #13670  |  Link
soneca
Registered User
 
Join Date: Feb 2008
Location: Brazil
Posts: 753
I can not create AVCHD discs because Ripbot264 is stopping at the end of the first pass in this latest version. This is happening in my two pc.



Edit: I test using another source but this source has been converted without problems in the CQ mode.

Last edited by soneca; 1st July 2015 at 22:52.
soneca is offline   Reply With Quote
Old 2nd July 2015, 00:09   #13671  |  Link
soneca
Registered User
 
Join Date: Feb 2008
Location: Brazil
Posts: 753
Another source is the same, stopping at the end of the first pass.
soneca is offline   Reply With Quote
Old 2nd July 2015, 02:37   #13672  |  Link
essential
Registered User
 
Join Date: Oct 2005
Posts: 30
I searched first but this is such a long thread it may have been answered but I can't find it. Anyway, how do you use a DTS track in the new versions of Ripbot? Just started doing some encoding again and I remember a couple years ago if I did COPY STREAM I'd get the actual DTS track in my mkv. Now, no matter what I do, loading the MT2S, or muxing the DTS track out and loading it separately, it's converted to FLAC ("converting DTS-MA to FLAC"), and that seems like the highest audio I can get.

Am I missing something, how do you get an untouched DTS track in the encode?

Last edited by essential; 2nd July 2015 at 02:39.
essential is offline   Reply With Quote
Old 2nd July 2015, 04:45   #13673  |  Link
hoju3508
Registered User
 
Join Date: Nov 2007
Location: Austin, TX
Posts: 197
@essential, if your source audio is DTS-HD MA, then chose "core" instead of "flac".
__________________
http://valid.canardpc.com/cache/banner/1756465.png
hoju3508 is offline   Reply With Quote
Old 2nd July 2015, 04:47   #13674  |  Link
hoju3508
Registered User
 
Join Date: Nov 2007
Location: Austin, TX
Posts: 197
Quote:
Originally Posted by soneca View Post
Another source is the same, stopping at the end of the first pass.
No problems here with creating AVCHD with v1.18.2 - no DE, 2-pass.

Are you having issues with v.1.18.3?
__________________
http://valid.canardpc.com/cache/banner/1756465.png

Last edited by hoju3508; 2nd July 2015 at 04:50.
hoju3508 is offline   Reply With Quote
Old 2nd July 2015, 06:22   #13675  |  Link
essential
Registered User
 
Join Date: Oct 2005
Posts: 30
Quote:
Originally Posted by hoju3508 View Post
@essential, if your source audio is DTS-HD MA, then chose "core" instead of "flac".
I'll have to try again from the MT2S but when I load the individually muxed .264 and the .dts (which was how I always did it in the past) I hit the "..." next to audio, select the .dts and the file is automatically converted, I'm not given an option to change anything, or pick CORE. Can you only get DTS if using a MT2S now?

Edit:
DTS/Core selection worked when loading in the MT2S, but doesn't work when loading in the .DTS file directly, that is converted to FLAC automatically, not sure why, but thanks, I'll just work from the MT2S.

Also, has AC3 640 been removed? The highest AC3 stream selectable now (MT2S or .dts) seems to be 256?

Last edited by essential; 2nd July 2015 at 07:41.
essential is offline   Reply With Quote
Old 2nd July 2015, 09:42   #13676  |  Link
mini-moose
Registered User
 
Join Date: Oct 2007
Posts: 385
Quote:
Originally Posted by Atak_Snajpera View Post
After further investigation I've noticed that even with higher crf value there are still cases where quality of the frame drops. I guess that .stat file generated using CQ mode is not always compatible in second pass so I decided to restore previous old method with 10 min chunks with constant bitrate for each chunk.
Did you try the new method but with pre-defined bitrate on first pass instead of CQ?
mini-moose is offline   Reply With Quote
Old 2nd July 2015, 10:51   #13677  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,816
ABR in first pass is not very accurate in estimating chunk's complexity. I tried that before using cq mode.



@soneca
When first pass hangs run process explorer and do screenshot. I need to see what processes started by ripbot264.exe are still running.

Last edited by Atak_Snajpera; 2nd July 2015 at 11:38.
Atak_Snajpera is offline   Reply With Quote
Old 2nd July 2015, 13:01   #13678  |  Link
soneca
Registered User
 
Join Date: Feb 2008
Location: Brazil
Posts: 753
Quote:
Originally Posted by hoju3508 View Post
No problems here with creating AVCHD with v1.18.2 - no DE, 2-pass.

Are you having issues with v.1.18.3?
No problems with 1.18.2, only with the 1.18.3 version using 2 pass.
soneca is offline   Reply With Quote
Old 2nd July 2015, 13:11   #13679  |  Link
soneca
Registered User
 
Join Date: Feb 2008
Location: Brazil
Posts: 753
@Atak


soneca is offline   Reply With Quote
Old 2nd July 2015, 13:15   #13680  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,816
Run manually job6_EncodeAudio1.cmd and show me what you get.
Atak_Snajpera is offline   Reply With Quote
Reply

Tags
264, 265, appletv, avchd, bluray, gui, iphone, ipod, ps3, psp, ripbot264, x264 2-pass, x264 gui, x264_64, x265, xbox360


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 04:23.


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