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

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th March 2018, 12:57   #22701  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,266
Quote:
Originally Posted by MrGlasspoole View Post
Hi,

i have problems playing 60fps 8bit on a Core i5-6600 Skylake-S.

No matter what hardware acceleration i choose the sound is stuttering.
For example this two HEVC videos:
http://4kmedia.org/sony-surfing-uhd-4k-demo/
http://www.4ktv.de/sony-camp-2016-sdr-version-download/

But also Big Buck Bunny H.264-AVC MPEG-4 [60.000fps][8-35Mbps][8bits] does not play.

There are no dropped frames but Sync Offset is avg -529ms, dev: 450 ms

The videos play fine in this player:
https://mirillis.com/en/products/spl...eo-player.html
What renderer are you using? If it has an OSD (ctrl+j) show it to us. You tried D3D11 native? What OS?
sneaker_ger is offline   Reply With Quote
Old 27th March 2018, 17:37   #22702  |  Link
MrGlasspoole
Registered User
 
Join Date: Mar 2012
Posts: 22
Sorry i did forget some info's.

Win 8.1 - but for testing i did install 10 with the same result.
It's a fresh installation...
EVR custom presenter...

I did forget the renderer and tried EVR and there it seems to work.
I moved the board and CPU from my HTPC into my workstation.
On the HTPC i use madVR but the workstation has no dedicated graphics card.

I thought EVR custom presenter is the first choice?
Does it make sense to use madVR without a dedicated graphics card?
Attached Images
 
MrGlasspoole is offline   Reply With Quote
Old 27th March 2018, 17:42   #22703  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,266
Quote:
Originally Posted by MrGlasspoole View Post
I thought EVR custom presenter is the first choice?
It's default. Doesn't mean it will always be better than other renderers.

Quote:
Originally Posted by MrGlasspoole View Post
Does it make sense to use madVR without a dedicated graphics card?
You can try madVR with native(*) D3D11 decoding. Just can't use any complex algorithms. I don't know how much sense it makes for you. One of the biggest things missing from vanilla EVR is the support for MPC-HC's internal subtitle renderer.



(*):
Quote:
Originally Posted by nevcairiel View Post
Note that the way you select Native/Copy-Back for D3D11 is different than DXVA2. D3D11 will use Native-mode when its set to "Automatic" device choice, and the renderer supports Native mode. If you select a specific device, that forces Copy-Back mode (because for Native to work, the renderer basically selects the device).
sneaker_ger is offline   Reply With Quote
Old 27th March 2018, 18:28   #22704  |  Link
clsid
Registered User
 
Join Date: Feb 2005
Posts: 4,879
The main reason why EVR gives better performance than EVR-CP is because it uses DXVA scaling.

You could try this setting for EVR-CP:
Options > Playback > Output > Resizer > Bilinear (PS 2.0)

Then it will use the GPU for scaling instead of CPU.
clsid is offline   Reply With Quote
Old 27th March 2018, 19:04   #22705  |  Link
MrGlasspoole
Registered User
 
Join Date: Mar 2012
Posts: 22
Bilinear (PS 2.0) makes no difference.

Nobody using a Skylake-S (HD 530)?
The settings should be the same for everybody, shouldn't it?

This is just a workstation and all i need is that the videos play smooth without to much CPU usage. Video quality (madVR) is not that important on this machine.
Oh and it's a 1080p Dell monitor...

Edit:
I tried the "madVR low-end preset for low-end GPUs such as Intel built-in GPUs" settings from LAV Filters Megamix (https://anime.my/tutorials/watching-...uda/#checklist) - which should be madVR default anyway.
Dropped frames all over the place...
Even on 4K H.264-AVC MPEG-4 [29.970fps][19Mbps][8bits]...

Last edited by MrGlasspoole; 27th March 2018 at 19:46.
MrGlasspoole is offline   Reply With Quote
Old 27th March 2018, 22:14   #22706  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,266
Quote:
Originally Posted by MrGlasspoole View Post
I tried the "madVR low-end preset for low-end GPUs such as Intel built-in GPUs" settings from LAV Filters Megamix (https://anime.my/tutorials/watching-...uda/#checklist) - which should be madVR default anyway.
Dropped frames all over the place...
Even on 4K H.264-AVC MPEG-4 [29.970fps][19Mbps][8bits]...
I answered in the madvr thread:
https://forum.doom9.org/showthread.p...34#post1837634
sneaker_ger is offline   Reply With Quote
Old 28th March 2018, 00:28   #22707  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 414
Quote:
Originally Posted by sneaker_ger View Post
Yes, some old 4:4:4 profile x264 encodes are broken. Old ffmpeg matched old behavior, new ffmpeg matches new/fixed behavior. If LAV sees x264's old custom SEI (the one you see in MediaInfo with the x264 info) it falls back to the old behavior.

For lossless files: simply re-encode with e.g. old ffmpeg decoder but newest x264 (in the future you may activate --no-8x8dct for compatibility with old and new decoders, but currently it is forced off anyways).
What does ffmpeg have to do with this? I don't use it and all my encodes are broken.

Last edited by kuchikirukia; 28th March 2018 at 00:33.
kuchikirukia is offline   Reply With Quote
Old 28th March 2018, 00:30   #22708  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,266
LAV Filters are based on ffmpeg.
sneaker_ger is offline   Reply With Quote
Old 28th March 2018, 00:40   #22709  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 414
So how is it fixed if it was working before but now it's broken?
kuchikirukia is offline   Reply With Quote
Old 28th March 2018, 00:42   #22710  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,606
Your files do not conform to the H.264 standard, because x264 4:4:4 lossless encoding was buggy, so you have to re-encode them if you want it truely fixed.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 28th March 2018, 00:45   #22711  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 414
These aren't lossless. It's bugging out on ordered chapters/linked mkvs.

Last edited by kuchikirukia; 28th March 2018 at 00:47.
kuchikirukia is offline   Reply With Quote
Old 28th March 2018, 00:46   #22712  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,266
Lossy 4:4:4+CABAC is also affected.
sneaker_ger is offline   Reply With Quote
Old 28th March 2018, 00:47   #22713  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,606
Hi444PP is a lossless profile, but I suppose one could use it without using lossless coding? But all the same anyway, you need to re-encode them to fix it forever.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 28th March 2018, 00:56   #22714  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 414
Why does it only break if ordered chapters/linked mkvs are used? If I take those out it plays fine.
kuchikirukia is offline   Reply With Quote
Old 28th March 2018, 01:00   #22715  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,266
Every part plays fine for itself?
Provide sample.
sneaker_ger is offline   Reply With Quote
Old 28th March 2018, 01:11   #22716  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,606
Try with tomorrows nightly build (in ~3 hours or so), maybe that helps. Although you're screwed if you mix old and new files in one timeline, but who would ever do that.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 28th March 2018, 01:12   #22717  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 414
https://nofile.io/f/NbE7BTMX2ZY/New+folder.torrent

That has ordered chapters. The OP and ED play fine since they don't have chapters, and the main plays fine if you remove the chapters.

Though I just noticed that attempting to split the mkvs ruins what comes after the split.
So it works fine with no ordered chapters, it'll stay fine through a complete remux, but if you add ordered chapters or split it it's now screwed.

Last edited by kuchikirukia; 28th March 2018 at 01:17.
kuchikirukia is offline   Reply With Quote
Old 28th March 2018, 01:19   #22718  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,266
If you split the file using mkvtoolnix only the first part will have the information about the x264 encoder revision used because x264 stores it in the front. That's why only the first part will play fine if you attempt that.

The other thing should hopefully be fixed with the nightly as nevcairiel said. I could also reproduce the issue - it was a bug after all.
sneaker_ger is offline   Reply With Quote
Old 28th March 2018, 01:33   #22719  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 414
Quote:
Originally Posted by sneaker_ger View Post
If you split the file using mkvtoolnix only the first part will have the information about the x264 encoder revision used because x264 stores it in the front. That's why only the first part will play fine if you attempt that.

The other thing should hopefully be fixed with the nightly as nevcairiel said. I could also reproduce the issue - it was a bug after all.
Ah, so if any 4:4:4 ordered chapter encode was made by splitting the output h.264 instead of encoding them in separate pieces then it would be screwed?
I don't think I've ever done that so I should be good there.
kuchikirukia is offline   Reply With Quote
Old 28th March 2018, 01:35   #22720  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,266
Quote:
Originally Posted by kuchikirukia View Post
Ah, so if any 4:4:4 ordered chapter encode was made by splitting the output h.264 instead of encoding them in separate pieces then it would be screwed?
No, as long as the very first mkv file has the x264 information even the splitted parts should work fine as a part of ordered chapters with the upcoming nightly. But if you try to play the splitted parts by themselves (without the very first part/without ordered chapters) then it will not work correctly because LAV has no way of knowing an old x264 version was used.
sneaker_ger is offline   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter

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 19:37.


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