MediaInfo reports different settings were used

Free video converter, convert from any format to any format, mkv to avi, m2ts to avi, mp4, h264, mts, wmv, mov, DVD, etc.

Moderators: Maggie, ckhouston, JJ, Phil, alexia, Forum admin

User avatar
cedric
VSO Team Member
Posts: 1374
Joined: Fri May 02, 2008 9:31 am
Location: Toulouse-FRANCE

Re: MediaInfo reports different settings were used

Post by cedric »

Can you please post your custom profile file?
You will find it there (a .xml file):
C:\ProgramData\VSO\ConvertXtoVideo Ultimate\1\custom_profiles

Thank you.
windale
Posts: 68
Joined: Fri Oct 17, 2014 10:16 am

Re: MediaInfo reports different settings were used

Post by windale »

cedric wrote:Can you please post your custom profile file?
You will find it there (a .xml file):
C:\ProgramData\VSO\ConvertXtoVideo Ultimate\1\custom_profiles

Thank you.
My Profile.zip
(614 Bytes) Downloaded 422 times
windale
Posts: 68
Joined: Fri Oct 17, 2014 10:16 am

Re: MediaInfo reports different settings were used

Post by windale »

Most of what I reported in this thread still happens in v1.5.0.35.

1) Custom Profile, Rate Control CRF is reset to 26 every time you load the program. (See screenshot on previous page). I did some more testing and it only seems to happen when CRF is set to 20. If you set it to any other value then it saves correctly.

2) Custom Profile, Custom H264 tabs (Motion Estimation & Advanced) are displayed every time you load the program even if a H264 preset (e.g. Very Fast) is selected. If you reselect the preset then the tabs disappear. (See screenshot on previous page).

3) Custom Profile, Software Encoding, when using a H264 preset (e.g. Very Fast) MediaInfo now reports 3 Reference Frames when it should (and used to say on previous versions) 4 Reference Frames. (See screenshot on previous page).

I'm not sure why you asked for my Custom Profile because you never downloaded it.

I don't know if it's worth keeping these H264 Preset Advanced options as they make very little to no difference and may have been the cause of the Custom Profile Settings not saving properly.
H264 Preset Advanced.jpg
H264 Preset Advanced.jpg (20.06 KiB) Viewed 9195 times
Finally, are you adding a De-Interlace filter to all Encodes ? I did some tests with Handbrake with the Yadif Bob De-Interlace Filter ON, and the encoding times are comparable to yours.

Source Clip: MP4 VP9 720p (3m 48s)

Conversion Settings used :
Software Encoding (Custom Profile)
MP4 H264
Very Fast Preset
High 4.1
CRF 20

CXV
3 minutes 2 seconds (37 frames per second)

Handbrake
1 minute 19 seconds (89 FPS Average)

Handbrake (De-Interlace 'Bob' ON)
3 minutes 8 seconds (36 FPS Average)

Can we have an option to turn OFF the De-Interlace filter in Custom Profile please ? There's no point in nearly tripling the encoding time if the clip isn't even Interlaced (Progressive). Thanks.
User avatar
cedric
VSO Team Member
Posts: 1374
Joined: Fri May 02, 2008 9:31 am
Location: Toulouse-FRANCE

Re: MediaInfo reports different settings were used

Post by cedric »

Hello windale,
1) Custom Profile, Rate Control CRF is reset to 26 every time you load the program. (See screenshot on previous page). I did some more testing and it only seems to happen when CRF is set to 20. If you set it to any other value then it saves correctly.
I finally found/fixed this weird problem! In fact, the good factor (CQ/CRF) was really applied to component BUT the caption text was not refreshed...

2) Custom Profile, Custom H264 tabs (Motion Estimation & Advanced) are displayed every time you load the program even if a H264 preset (e.g. Very Fast) is selected. If you reselect the preset then the tabs disappear. (See screenshot on previous page).
Fixed
3) Custom Profile, Software Encoding, when using a H264 preset (e.g. Very Fast) MediaInfo now reports 3 Reference Frames when it should (and used to say on previous versions) 4 Reference Frames. (See screenshot on previous page).
When selecting Veryfast preset, H264 encoder should use 1 ref frame: http://dev.beandog.org/x264_preset_reference.html
Problem fixed. That could explain the encoding speed difference with Handbrake. Do you enabled hardware decoding (dxva2) option?
Can we have an option to turn OFF the De-Interlace filter in Custom Profile please ?
De-interlace filter is only applied for interlaced content, not for progressive video, that would be an useless option.

Regards,
windale
Posts: 68
Joined: Fri Oct 17, 2014 10:16 am

Re: MediaInfo reports different settings were used

Post by windale »

cedric wrote:
3) Custom Profile, Software Encoding, when using a H264 preset (e.g. Very Fast) MediaInfo now reports 3 Reference Frames when it should (and used to say on previous versions) 4 Reference Frames. (See screenshot on previous page).
When selecting Veryfast preset, H264 encoder should use 1 ref frame: http://dev.beandog.org/x264_preset_reference.html
Problem fixed. That could explain the encoding speed difference with Handbrake. Do you enabled hardware decoding (dxva2) option?
Can we have an option to turn OFF the De-Interlace filter in Custom Profile please ?
De-interlace filter is only applied for interlaced content, not for progressive video, that would be an useless option.

Regards,
When converting with Handbrake Very Fast Preset, MediaInfo still reports it as 'Reference Frames 4'
Handbrake Very Fast.jpg
I have all Hardware Encoding/Decoding turned off in CXV. Yours is nearly triple the encoding time, thats why I thought about De-Interlacing as it matches yours for the encoding time/frames per second.
User avatar
cedric
VSO Team Member
Posts: 1374
Joined: Fri May 02, 2008 9:31 am
Location: Toulouse-FRANCE

Re: MediaInfo reports different settings were used

Post by cedric »

When converting with Handbrake Very Fast Preset, MediaInfo still reports it as 'Reference Frames 4'
Yes I can see that Handbrake encoding settings ask for 1 ref frame (like it should with veryfast preset) but output file detected as using 4 ref frames...
I don't know if it's an Handbrake problem or a Mediainfos problem...

I will wait for your tests with next beta version (where 1 ref frame will be used) to compare encoding speed.

Regards,
windale
Posts: 68
Joined: Fri Oct 17, 2014 10:16 am

Re: MediaInfo reports different settings were used

Post by windale »

v1.5.0.36

Points 1) and 2) above, seem to be fixed, now it's just problems with point 3).

Used the same clip as before.
High 4.1
Very Fast Preset

It now says 2 Reference Frames, I thought you said you had set it to 1 (which is the correct setting for the Very Fast Preset)
And now the Profile says Main 4.1 when I have it set as High 4.1.
Should be High 4_1.jpg
It's converting a little bit quicker but I can't make a direct comparison until your presets and profile are finally set correctly. Thanks.
User avatar
cedric
VSO Team Member
Posts: 1374
Joined: Fri May 02, 2008 9:31 am
Location: Toulouse-FRANCE

Re: MediaInfo reports different settings were used

Post by cedric »

It now says 2 Reference Frames, I thought you said you had set it to 1 (which is the correct setting for the Very Fast Preset)
That's I do actually. This can explain the problem you got with your handbrake result check: Mediainfo is not able to detect the real ref frames count...
And now the Profile says Main 4.1 when I have it set as High 4.1.
Will try to reproduce tomorrow.

I will add the H264 setting sent to encoder in log too.

Regards,
windale
Posts: 68
Joined: Fri Oct 17, 2014 10:16 am

Re: MediaInfo reports different settings were used

Post by windale »

This is what MediaInfo is reporting your presets as when I use High 4.1 :-

Ultra Fast
Baseline 4.1
No CABAC
1 Reference Frame
(All Same as Handrake)

Super Fast
Main 4.1 (Should be High)
2 Reference Frames (Should be 1)

Very Fast
Main 4.1 (Should be High)
2 Reference Frames (Should be 1)

Faster
Main 4.1 (Should be High)
2 Reference Frames (Same as Handbrake)

Fast
Main 4.1 (Should be High)
2 Reference Frames (Same as Handbrake)

Medium
Main 4.1 (Should be High)
3 Reference Frames (Same as Handbrake)

Slow
Main 4.1 (Should be High)
5 Reference Frames (Same as Handbrake)

etc.

I cannot tell the exact settings that CXV is using because it doesn't list them but I am comparing to Handrakes "Encoding Settings" list at the bottom of MediaInfo.
windale
Posts: 68
Joined: Fri Oct 17, 2014 10:16 am

Re: MediaInfo reports different settings were used

Post by windale »

I see you've released an official stable version of 1.5.0.36. Does that mean you've given up on this now and are leaving it broken ?

Just for reference, you previously fixed the format profile displaying Main instead of High in version 1.5.0.32 which is shown on the previous page but now it's broken again.
User avatar
cedric
VSO Team Member
Posts: 1374
Joined: Fri May 02, 2008 9:31 am
Location: Toulouse-FRANCE

Re: MediaInfo reports different settings were used

Post by cedric »

Just for reference, you previously fixed the format profile displaying Main instead of High in version 1.5.0.32 which is shown on the previous page but now it's broken again.
The only thing staying "broken" is the main profile used when high is requested but...I tried to reproduce this problem for one hour but I can't!
Can you try to start with a new fresh custom profile for test?

Like I said the good ref frames count is used for H264 encoding, but Mediainfo doesn't detect it like it should.

It's a really specific problem (and I can't reproduce yet...) :it affect only users creating custom profile with H264 codec and advanced setting so, ~5% of users?).
That's why an official release has been released (fixing most important problems like burning engine or Blu-ray freezing on playback)

Releasing a new official version doesn't mean that I forgot remaining bug(s)...

Regards,

PS: if you install the last official version from VSO web site, you will see all the H264 parameters used in log
windale
Posts: 68
Joined: Fri Oct 17, 2014 10:16 am

Re: MediaInfo reports different settings were used

Post by windale »

I did a clean install of your program and created a new profile but it still gives the same results. As I noted above, you previously fixed the Format Profile displaying Main instead of High when selecting High 4.1 (in MediaInfo) on a previous version but now it's incorrectly set/detected again. It does say High 4.1 in the log but who can tell if that's correct either ?

EDIT: MediaPlayer Classic also detects it as Main instead of High.

The log doesn't say anything about Reference Frames, MediaInfo detects that 2 frames instead of 1 for the Very Fast Preset. Speed tests are a bit faster than when it said 3 Reference Frames but i'm guessing that your program is still setting the wrong value.

Same Clip

Handbrake
1 minute 19 seconds (89 FPS Average)

CXV
2 minutes 31 seconds (45 FPS)
User avatar
cedric
VSO Team Member
Posts: 1374
Joined: Fri May 02, 2008 9:31 am
Location: Toulouse-FRANCE

Re: MediaInfo reports different settings were used

Post by cedric »

Hello windale,

Can you please update your custom profile by checking the "Use 8x8 transform" option in H264 settings?
I should have called this option "Use 8x8 transform (needed for high profiles)", not "Use 8x8 transform (only for high profiles)"

I'm waiting for your feedback...

Regards,
windale
Posts: 68
Joined: Fri Oct 17, 2014 10:16 am

Re: MediaInfo reports different settings were used

Post by windale »

Yes, setting the 'Use 8x8 transform' to ON correctly sets the Format Profile to High. Maybe you should move these three options (Use mixed references, use 8x8 transform and use loop filter) back to the advanced section as they are not really beneficial when using H264 Presets.

It still says 2 reference frames though (on Very Fast and Super Fast Presets), and still twice as slow as Handbrake.

Same Clip

Very Fast Preset

Handbrake
1 minute 19 seconds (89 FPS Average)

CXV
2 minutes 31 seconds (45 FPS)


Faster Preset

Handrake
2 minutes (57 FPS Average)

CXV
3 minutes 55 seconds (28 FPS)
User avatar
cedric
VSO Team Member
Posts: 1374
Joined: Fri May 02, 2008 9:31 am
Location: Toulouse-FRANCE

Re: MediaInfo reports different settings were used

Post by cedric »

Can you check in mediainfo report of Handbrake result how many threads are used? (threads=x)
Do you have same setting in CxV?

Edit: do you have any hardware acceleration enabled in Handbrake?

Regards,
windale
Posts: 68
Joined: Fri Oct 17, 2014 10:16 am

Re: MediaInfo reports different settings were used

Post by windale »

Handbrake
threads=6
(Is the Default: 1.5 * logical CPUs detected ? I read this somewhere)
http://forum.doom9.org/showthread.php?t=146667

I have QuickSync Decoding on in Handbrake, I turned it off and the result was a couple of seconds quicker !

CXV
threads=4

Is this the problem ? CXV can only use a maximum of 4 threads for encoding/decoding ?
My processor is a Core i5 4200M (Dual Core, Hyperhreaded).
Last edited by windale on Sat Mar 28, 2015 11:00 am, edited 1 time in total.
User avatar
JJ
VSO Moderators
Posts: 6343
Joined: Thu Sep 14, 2006 1:25 pm
Location: Finland

Re: MediaInfo reports different settings were used

Post by JJ »

One CPU core can handle one thread, hyperthreaded CPU can handle two threads.
Dual Core hyperthreaded can handle 2*2 threads, so maximum is four threads.
-------------------------------------------------------
http://www.click2give4free.com/val.php?v=739
This link is just for spammers, don't click!
windale
Posts: 68
Joined: Fri Oct 17, 2014 10:16 am

Re: MediaInfo reports different settings were used

Post by windale »

So why did you change a new setting (fast p-skip)? The encodes are now completely broken. It's just a mash of square blocks and the file size (when I used my test clip) has gone from 60+ MB down to 4.5 MB.

According to the old website link I posted http://forum.doom9.org/showthread.php?t=146667 it says the default for X264 threads is :-

number of cores *3/2
or
number of cores *1.5

That's why Handbrake says "threads=6". I have 4 cores *3/2 = 6.

CXV just says "threads=4" and converts twice as slow as a result.
User avatar
cedric
VSO Team Member
Posts: 1374
Joined: Fri May 02, 2008 9:31 am
Location: Toulouse-FRANCE

Re: MediaInfo reports different settings were used

Post by cedric »

Hello windale,
So why did you change a new setting (fast p-skip)? The encodes are now completely broken. It's just a mash of square blocks and the file size (when I used my test clip) has gone from 60+ MB down to 4.5 MB.
The problem was not the fast P-skip setting, but an error in vbv parameters computation:
http://bugs.vso-software.fr/view.php?id=9664
According to the old website link I posted http://forum.doom9.org/showthread.php?t=146667 it says the default for X264 threads is :-
number of cores *3/2
or
number of cores *1.5
This is the default Handbrake/x264 setting, not the CxV default.
Like ConvertXtoVideo can convert more than one title in same time (when Handbrake convert titles one after the other), this "nb. cores *2/3" equation can't be applied.
I updated this setting by allowing 2x core(s) count as maximum:
http://bugs.vso-software.fr/view.php?id=9667

Regards,
windale
Posts: 68
Joined: Fri Oct 17, 2014 10:16 am

Re: MediaInfo reports different settings were used

Post by windale »

cedric wrote:Hello windale,
So why did you change a new setting (fast p-skip)? The encodes are now completely broken. It's just a mash of square blocks and the file size (when I used my test clip) has gone from 60+ MB down to 4.5 MB.
The problem was not the fast P-skip setting, but an error in vbv parameters computation:
http://bugs.vso-software.fr/view.php?id=9664
According to the old website link I posted http://forum.doom9.org/showthread.php?t=146667 it says the default for X264 threads is :-
number of cores *3/2
or
number of cores *1.5
This is the default Handbrake/x264 setting, not the CxV default.
Like ConvertXtoVideo can convert more than one title in same time (when Handbrake convert titles one after the other), this "nb. cores *2/3" equation can't be applied.
I updated this setting by allowing 2x core(s) count as maximum:
http://bugs.vso-software.fr/view.php?id=9667

Regards,
So will this work regardless of how many simultaneous encodes I have set ? I only have 1 clip encoding at the same time as I think it's pointless having more.

So if I have 4 cores (Dual Core, Hyperthreading), it will set 8 threads ?
Post Reply