Page 1 of 1

Software conversion speed painfully SLOW & other, please fix

Posted: Fri Feb 27, 2015 5:45 pm
by windale
Test clip 7m 36s long, 84.8mb, 720p, VP9 Codec

Handbrake Settings
-----------------------
MP4 H264
Constant Framerate
Preset - Very Fast
H264 Profile - High
H264 Level - 4.1
Constant Quality RF 20

The clip took 2m 33s to convert, resulting size 122mb


ConvertXtoVideo Settings (Custom Profile)
--------------------------------------------------
MP4 H264
Preset - Very Fast
H264 Profile - High
H264 Level - 4.1
Constant Quality RF 20

Software Mode
The clip took 7m 1s to convert !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Resulting size 122mb
(MediaInfo reported it as 'H264 Profile - Main' instead of High which I selected.

NVENC Hardware
The clip took 1m 36s to convert, resulting size 301mb !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Quicksync
ConvertXtoVideo gave an error before converting and wouldn't convert.
Quicksync Encoding Failed.jpg
Conclusion
=========
Why is handbrake a lot lot lot lot lot lot faster than your converter at software encoding?

Why is the NVENC conversion such a big filesize ?

Why doesn't QuickSync work ?

Please fix these annoying problems, Handbrake is FREE.

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 04, 2015 11:48 am
by windale
Your converter is a complete mess. Sorry to say that but it's the truth. When first starting the program

QuickSync doesn't work when using

Custom Profile MKV H264 CRF
Custom Profile AVI H264 CRF
Custom Profile MP4 H264 CRF
etc.

If I switch the Rate Control to Constant Quantizer and then go back to CRF it works.




These are results for a clip "3m 48s, 44.6mb ,MP4 VP9" (720p)
Using these settings for all (Custom Profile) :-

MP4 H264
Constant Framerate
Preset - Very Fast
H264 Profile - High
H264 Level - 4.1
Constant Quality RF 20

ConvertXtoVideo Software Encoding took 3m36s to convert.
CX2V Software (3m36s).jpg
ConvertXtoVideo QuickSync Encoding took 4m20s to convert. (Took longer than Software !!! lol)
CX2V QuickSync (4m20s).jpg
Handbrake took 1m21s to convert.
Handbrake (1m21s).jpg

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 04, 2015 12:48 pm
by JJ
How about comparing EXACTLY same settings?
You can clearly see that they are not.
Any comparison without same settings is totally useless, oranges are not apples.

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 04, 2015 12:54 pm
by cedric
Hello windale,
Your converter is a complete mess. Sorry to say that but it's the truth. When first starting the program
Please, before creating a post like this one be sure that you're comparing exactly the same things...
You missed an important setting disabled in Handbrake, but enabled in ConvertXtoVideo with Very fast preset.

The deblocking filter is disabled by default is Handbrake and you should try your test conversions with this option enabled...
This filter is always enabled in ConvertXtoVideo because it increase the video quality (reduce video blocks)

It also seems that you're focused on conversion speed but... what can you say about the video quality in your comparison tests?

For the NVENC output size, you need to know that hardware encoding are not as good as software encoding so, if the result is too big for you, you must use software encoding: we can't do anything more

For the QuickSync not working, I will try to reproduce today, but I will need your log files and your Intel CPU specifications.

Regards,

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 04, 2015 1:26 pm
by windale
JJ wrote:How about comparing EXACTLY same settings?
You can clearly see that they are not.
Any comparison without same settings is totally useless, oranges are not apples.
For your information I used exactly the same settings (that are visibly changeable).

ConvertXtoVideo SOFTWARE converting (custom profile) reports the H264 profile as MAIN even though I have it set on HIGH, yet another bug.

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 04, 2015 1:31 pm
by cedric
For your information I used exactly the same settings (that are visibly changeable).
For sure not... do you read my posts?
If yes, you should see that deblocking filter need to be enabled in Handbrake to do real comparison tests.
Handbrake disable it by default, ConvertXtoVideo enable it. It's only a choice and you missed this setting.

What about video quality?

I will check the H264 profile issue too.

Regards,

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 04, 2015 1:33 pm
by windale
cedric wrote:Hello windale,
Your converter is a complete mess. Sorry to say that but it's the truth. When first starting the program
Please, before creating a post like this one be sure that you're comparing exactly the same things...
You missed an important setting disabled in Handbrake, but enabled in ConvertXtoVideo with Very fast preset.

The deblocking filter is disabled by default is Handbrake and you should try your test conversions with this option enabled...
This filter is always enabled in ConvertXtoVideo because it increase the video quality (reduce video blocks)

It also seems that you're focused on conversion speed but... what can you say about the video quality in your comparison tests?

For the NVENC output size, you need to know that hardware encoding are not as good as software encoding so, if the result is too big for you, you must use software encoding: we can't do anything more

For the QuickSync not working, I will try to reproduce today, but I will need your log files and your Intel CPU specifications.

Regards,
Maybe you should add a deblocking filter option to the Custom Profile after all it is a "Custom Profile". I'll try some comparisons with the filter. Maybe you could also add Variable Framerate to the custom profile as this reduces file size ? I'll sort out a log soon.

Edit: The post above was replied to JJ not you.

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 04, 2015 2:03 pm
by windale
I converted the same clip (3m48s) with Handbrake using the same settings as before but included 'Deblocking' set to 5.

1 minute 21 seconds (No Deblocking)
6 minutes 15 seconds (Deblocking set to 5) !!!!!

I don't know how much deblocking your program sets at but it adds a HUGE amount of extra time and to be honest I can't tell the difference in quality so can you give the option to turn OFF deblocking in the Custom Profile please ? You can see why I thought your converter is slow because you have hidden settings with no option to turn them off.

So to summarize, can you add the following to Custom Profile please :-

Deblocking option
Variable Framerate
More information in MediaInfo on what settings were used (like Handbrake).

Can you fix the following :

H264 profile incorrectly set to Main when High is selected.
QuickSync not working properly.

Thanks.
QuickSync Crash Log.zip
(2.01 KiB) Downloaded 388 times

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 04, 2015 2:47 pm
by cedric
can you give the option to turn OFF deblocking in the Custom Profile
Deblocking filter setting is a part of H264 presets.
That mean setting Very fast preset causes Deblocking filter ON.
I will check with VSO staff if deblocking filter can be independent of H264 presets.
You can use the Super fast preset where deblocking filter is disabled...

I'm working on your other problem reports...

Regards,

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 04, 2015 5:35 pm
by windale
cedric wrote:
can you give the option to turn OFF deblocking in the Custom Profile
Deblocking filter setting is a part of H264 presets.
That mean setting Very fast preset causes Deblocking filter ON.
I will check with VSO staff if deblocking filter can be independent of H264 presets.
You can use the Super fast preset where deblocking filter is disabled...

I'm working on your other problem reports...

Regards,
But Handbrake doesn't enable deblocking on any H264 preset.

Ideally, the Handbrake program as a whole should be your Custom Profile feature with added extras. :)

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 04, 2015 6:21 pm
by JJ
windale wrote:
JJ wrote:How about comparing EXACTLY same settings?
You can clearly see that they are not.
Any comparison without same settings is totally useless, oranges are not apples.
For your information I used exactly the same settings (that are visibly changeable).

ConvertXtoVideo SOFTWARE converting (custom profile) reports the H264 profile as MAIN even though I have it set on HIGH, yet another bug.
Check on Format settings, CABAC and ReFrames are different. That is enough to invalidate any speed comparison.

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 04, 2015 6:40 pm
by windale
JJ wrote:
windale wrote:
JJ wrote:How about comparing EXACTLY same settings?
You can clearly see that they are not.
Any comparison without same settings is totally useless, oranges are not apples.
For your information I used exactly the same settings (that are visibly changeable).

ConvertXtoVideo SOFTWARE converting (custom profile) reports the H264 profile as MAIN even though I have it set on HIGH, yet another bug.
Check on Format settings, CABAC and ReFrames are different. That is enough to invalidate any speed comparison.
You're comparing ConvertXtoVideo's quicksync settings (which can't be changed because its a Hardware encoder) to Software presets. I only added Quicksync to the comparisons to show that it isn't working properly (is Slower than Software encoding).

QuickSync (or nVidia) doesn't support the settings I set because they are Hardware acceleration.

Re: Software conversion speed painfully SLOW & other, please

Posted: Thu Mar 05, 2015 5:58 pm
by windale
Are you going to add an option to turn off Deblocking in Custom Profile ? I don't see it in v1.5.0.30. Handbrake doesn't use Deblocking on any H264 preset, it gives you a choice so why doesn't yours ? Thanks.

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 11, 2015 4:53 pm
by cedric

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 11, 2015 5:33 pm
by windale
Your converter keeps REMUXING the video even when I have it turned off.

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 11, 2015 6:54 pm
by JJ
What do you want?
Able to do something to video without remuxing it? - ok, you can RENAME the file, delete or copy it.
Any action you take on video or audio stream, even just changing them from container to another without processing, keeping originals requires remuxing them to new container.

Re: Software conversion speed painfully SLOW & other, please

Posted: Wed Mar 11, 2015 7:24 pm
by windale
JJ wrote:What do you want?
Able to do something to video without remuxing it? - ok, you can RENAME the file, delete or copy it.
Any action you take on video or audio stream, even just changing them from container to another without processing, keeping originals requires remuxing them to new container.
Please read what I wrote correctly.

The custom profile in the latest version keeps remuxing the video even if you turn the option off. It won't re-encode.

Re: Software conversion speed painfully SLOW & other, please

Posted: Thu Mar 12, 2015 6:57 am
by JJ
I updated to latest beta and tried to convert old mp2 to H264 - no problems,demuxes, decodes, encodes and remuxes just fine video from mpg2 to H264, audio from mp2 to AAC.

Re: Software conversion speed painfully SLOW & other, please

Posted: Thu Mar 12, 2015 9:36 am
by cedric
The custom profile in the latest version keeps remuxing the video even if you turn the option off. It won't re-encode.
Problem reproduced and fixed, thank your for reporting.

@JJ: I think that the video track has been reencoded / no remuxed inyour case because the source file codec was not compatible/remuxable with the select output container.

The new beta version will be published today...

Regards,

Re: Software conversion speed painfully SLOW & other, please

Posted: Thu Mar 12, 2015 6:08 pm
by JJ
cedric wrote:@JJ: I think that the video track has been reencoded / no remuxed inyour case because the source file codec was not compatible/remuxable with the select output container.
Yes, I selected files that clearly must be re-encoded. OP just claimed that it will not re-encode. I proved that it does re-encode.
With conversion log we would have seen what his original files are and what is his target, and that way eliminate some possible causes for this problem.

As remuxing is simply process to combine audio and video streams into target container, it is done every time with every conversion.