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 > Capturing and Editing Video > New and alternative a/v containers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd November 2016, 08:38   #21241  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
Well, in my experience, Pro-Logic downmixes should be quite compatible to common stereo playback systems. You may not have a really distinct front/back separation, but the phase shifted weighted mix of surround channels into left and right channels still gives an impression of a less clearly located source.

A heavy weight on only one channel is certainly not the expected result, especially not when the source is mostly centered with only little surround impact; the center channel should be mixed equally to left and right if your downmix matrix is correct. Only surround channels should have a chance to get mixed with unequal weights.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 22nd November 2016, 19:14   #21242  |  Link
har3inger
Registered User
 
Join Date: Feb 2014
Posts: 139
That's what I thought expected behavior to be. I'd assume that there is a bug with the way the matrix is being encoded currently? I have tried several samples where the audio clearly shifts to the right (even visible in the LAV sound channel volume tab) when switching from "none" to "pro logic II". Can anyone else reproduce to ensure it's not a config problem on my end?

I'm using matrix encoding for when I plug my computer into my TV with its 5.1 speaker setup, but leave it on for computer-only because of laziness.

Last edited by har3inger; 22nd November 2016 at 19:45.
har3inger is offline   Reply With Quote
Old 22nd November 2016, 21:45   #21243  |  Link
VictorLS
Registered User
 
Join Date: Mar 2009
Location: Russian Crimea
Posts: 335
Quote:
Originally Posted by Nintendo Maniac 64 View Post
I did some quick-and-dirty testing and I think "None" actually doesn't hit my CPU anywhere near as hard as I thought it would
You want to say: despite of "None" in LAV Video decoder some hardware acceleration are active? I think this is impossible.
VictorLS is offline   Reply With Quote
Old 22nd November 2016, 23:59   #21244  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,650
Quote:
Originally Posted by VictorLS View Post
You want to say: despite of "None" in LAV Video decoder some hardware acceleration are active? I think this is impossible.
He means to say that it's well optimized, as Nev has said earlier in the thread software decoding is preferred for most systems.. less issues and performance is very good.
ryrynz is offline   Reply With Quote
Old 23rd November 2016, 08:40   #21245  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
To say it very generally:

Hardware chipset support speeds up the decoding process only if the decoder chip is faster than the CPU. Which is not anymore the default case. The current fast multi-core CPUs with SIMD instruction set extensions are equal or even superior to GPU decoders in many cases. Using hardware support is not generally an "acceleration".
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 23rd November 2016, 09:48   #21246  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
This is totally wrong.

I mean it is dead wrong.

Even from 2011, Intel's Sandybridge iGPU using QuickSync - a dedicated ASIC inside the GPU - was a lot faster than Core i7 CPU in all three codecs supported - H.264, MPEG2, VC-1/WMV3.

And the hardware decoder was present even in Core i3.

Nowadays, Intel's Skylake/Kabylake iGPU and Nvidia's Maxwell GM206/ Pascal have only increased the performance difference from the fastest Core i7 CPUs.

And the hardware decoders of Intel are present and activated even in Celerons/Pentiums since Haswell.

The latest variations of hardware decoders have added HEVC (8bit/10bit) and VP9 (mostly 8bit and Kabylake 8bit/10bit) with resolutions supported up to 8K.

Hardware dedoders are no match even for the fastest CPUs nowadays.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 23rd November 2016, 10:27   #21247  |  Link
VictorLS
Registered User
 
Join Date: Mar 2009
Location: Russian Crimea
Posts: 335
ryrynz, LigH, NikosD
I investigate hardware acceleration by videocards inserted in PCs with very weak CPUs since MPEG2 appeared and I agree with NikosD. On old lap top I'm sure it's must be more visible. It's a pity Nintendo Maniac 64 not answered my questions: Can you provide hardware (model of laptop, CPU, GPU if present) and software (OS and player with renderer you use or tried) configuration?
So I can't tell him what happens.
VictorLS is offline   Reply With Quote
Old 23rd November 2016, 10:29   #21248  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
Okay, my scope in the previous reply was probably wrong. I remembered early Nvidia PureVideo generations being limited to common display framerates, they were an excecption to the generalized opinion that GPU decoding is "always" faster. And just displaying is also a different purpose than converting, where the result of the GPU decoding has to be transferred back to the RAM.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 23rd November 2016, 10:47   #21249  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
It makes no difference how fast a decoder is for realtime playback if all options can play all your videos fast enough, however.

The key point is that even CPUs these days are plenty fast for FullHD H264 playback without any serious CPU usage, without requiring some i7 high-end CPU, so software decoding is a valid and viable option for a lot of people. Only if you go 4k or exorbitantly high bitrates it may no longer work - but thats far from what the majority actually plays.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 23rd November 2016, 11:57   #21250  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
Latest NV CUvid with 375.xx drivers support P016 output and HEVC 12 bit decoding(not tested yet).
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 23rd November 2016, 12:00   #21251  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by Aleksoid1978 View Post
Latest NV CUvid with 375.xx drivers support P016 output and HEVC 12 bit decoding(not tested yet).
They would need to release an updated SDK to make that properly available. We'll see if/when they do that.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 23rd November 2016, 12:06   #21252  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
even a 39 mbit BD doesn't need more than 22 % CPU usages on an old I3 4130 and the i3 isn't even using it highest clock speed.
huhn is offline   Reply With Quote
Old 23rd November 2016, 12:10   #21253  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
Quote:
Originally Posted by nevcairiel View Post
They would need to release an updated SDK to make that properly available. We'll see if/when they do that.
I tested(do modify LAVVideo) - perfect working P016(decoding HEVC 10 bit) output with MadVR using CUVID.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 23rd November 2016, 12:36   #21254  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
H.264 codec is going to an end.

It has been replaced by VP9 in Youtube, which means that probably 80% of Internet's video traffic uses that codec now.

Also, FullHD is the minimum nowadays for almost everything.

Bluray UHD is obviously UHD (2160p) and it uses H.265 10bit and YouTube along with other online services use 4K and even has started testing 8K (!)

Generally speaking, we shouldn't talk so much about H.264 but H.265 and VP9 and a little more of UHD than FullHD.

VP9 and HEVC are a lot more demanding than H.264

We are on late 2016 afterall.

All of these cases are handled a lot better by hardware decoders which are necessary (probably a requirement) when we talk about laptops.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 23rd November 2016, 12:43   #21255  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
the number of UHD screen and the number of UBD players on the market is still super low.

UHD is not important yet!

and about youtube and VP9 80% traffic just no: http://appleinsider.com/articles/16/...-apples-itunes
huhn is offline   Reply With Quote
Old 23rd November 2016, 13:19   #21256  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
You are really unlucky because Netflix is moving to 4K and HEVC 10bit of course:

http://arstechnica.com/gadgets/2016/...-edge-browser/

I have to repeat myself and I hate that.

The world is moving to VP9/HEVC and to larger than 1080p resolutions.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 23rd November 2016, 13:26   #21257  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
no they are going back to mpeg2...

UHD will be important sometime in the future.
just read your own link and they got the specs wrong too...

Quote:
And then there's the browser: 4K streaming only works in Microsoft Edge, because it's the only browser that supports PlayReady DRM. Basically, streaming 4K Netflix on a PC requires a CPU that's in barely any devices right now (desktop chips aren't expected until sometime in 2017), the latest version of Windows 10, and using an unpopular browser, making it a largely useless feature.
huhn is offline   Reply With Quote
Old 23rd November 2016, 13:35   #21258  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
I'm not trying to convince anyone that he clearly doesn't want to.

I'm just saying that hardware decoding is a lot faster than CPU decoding and it is necessary for codecs like VP9 and HEVC that are more and more used everyday, especially for resolutions above 1080p.

Just facts.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 23rd November 2016, 13:41   #21259  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
nevcairiel
Bug in YUV 12bit 444 ->RGB conversion.

yuv2rgb.cpp -> yuv2rgb_convert_pixels() finction.
Code:
    // Shift to 12 bit
    if (shift > 4) {
      xmm1 = _mm_srli_epi16(xmm0, shift-4);
      xmm3 = _mm_srli_epi16(xmm2, shift-4);
    } else if (shift < 4) {
      xmm1 = _mm_slli_epi16(xmm0, 4-shift);
      xmm3 = _mm_slli_epi16(xmm2, 4-shift);
    }
forgot about shift == 4.
fix:
Code:
    else {
      xmm1 = xmm0;
      xmm3 = xmm2;
    }
Short sample - https://yadi.sk/i/u8pggKFqzJLcR
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 23rd November 2016, 14:44   #21260  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Quote:
Originally Posted by NikosD View Post
I'm not trying to convince anyone that he clearly doesn't want to.

I'm just saying that hardware decoding is a lot faster than CPU decoding and it is necessary for codecs like VP9 and HEVC that are more and more used everyday, especially for resolutions above 1080p.

Just facts.
an I5 (2nd Generation) is still very capable of playing back HEVC 10 Bit 4K at lower complexity (WEB VOD) without any Hardware support even at 60 FPS if done right.

And it becomes really interesting to see how close H.265 and VP9 get then at this merging point of complexity

The only area where CPU is not enough anymore is very High IPTV requirements and Higher Complexity Broadcast and partly 360 Video, especially when you have all the DRM overhead coming into play additionally.

And VP9 is a little less complex in decoding requirements overall.

From a Content Provider view it would be rather dumb not to catchup this wider reach possibility

Though obviously you more energy efficient on Nvidias or AMDs current IP even on the complete card overhead side to around 11-15W then pushing 4 cores to around 95W/65W, and try to get that stable with magic draining the batteries in no time
And then there is Hybrid which can be usefull depending on the Scenario supporting and lowering the overall drain a little further
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004

Last edited by CruNcher; 23rd November 2016 at 16:46.
CruNcher is offline   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter


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


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