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 > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd September 2011, 14:01   #1141  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Just remux with mkvtoolnix for mkv.
sneaker_ger is offline   Reply With Quote
Old 2nd September 2011, 15:31   #1142  |  Link
Xaurus
Registered User
 
Join Date: Jun 2011
Posts: 288
Quote:
Originally Posted by Xaurus View Post
I am also struggling with 1080i. Using a 570 GTX. The problems arise when there is "scrolling" in the film, for example a great test part is the 1080i version of the last episode of Game of Thrones, around 6-7 minutes when the Stark mother is in the woods and you can see lots of trees scrolling infront of her, from left to right. They are jerky and I have yet to find a proper way of making this smooth.
Quote:
Originally Posted by CruNcher View Post
sample ?
I have now made a sample using tsMuxeR 1.10.6 which I found to be a nice and easy tool to use. Feel free to download the sample and tell me about how your setup tackles the "evil trees".

Download here

29.97, 1080i (if you don't remember our discussion).
Xaurus is offline   Reply With Quote
Old 2nd September 2011, 18:53   #1143  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
I got it smooth

So first im using Aero on Win7 2nd im using Intel HD2000 currently so no Nvidia currently the setup that got me the smoothest motion result is

MPC-HC 64 3706

Lav splitter->Lav Audio->Lav Video->EVR (Normal) all MPC-HC Internal Sync functions disabled



I didn't achieved smooth hardware playback yet
__________________
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; 2nd September 2011 at 19:06.
CruNcher is offline   Reply With Quote
Old 2nd September 2011, 18:58   #1144  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,336
You get 24.27 fps on a 29.97 movie, and you call that exact frame rate?

The file is really tricky though. It seems to have its interlacing or telecine completely screwed up, EVR doesnt manage to deinterlace it properly.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 2nd September 2011 at 19:06.
nevcairiel is offline   Reply With Quote
Old 2nd September 2011, 20:03   #1145  |  Link
Xaurus
Registered User
 
Join Date: Jun 2011
Posts: 288
Quote:
Originally Posted by nevcairiel View Post
You get 24.27 fps on a 29.97 movie, and you call that exact frame rate?

The file is really tricky though. It seems to have its interlacing or telecine completely screwed up, EVR doesnt manage to deinterlace it properly.
Hi nev,

If the file is improperly encoded it would be a shame though...
I mean, if you regard it as unsuitable for deinterlacing/panning tests?
Perhaps something happened in the process of me extracting this part for a small clip.
Is there a way for me to give you these details from the main file? It is 5,4 GB in size...

I can tell you that with CUVID I have absolutely zero combing with the 25/30 fps setting and just no/minor combing with 50/60 setting.

In any case... do you experience the "panning" issue too? The trees "lagging" (I am not sure which word to use) even if there are no frame drops and the rest of the contents are smooth (to the eye at least)?

edit: My setup is added to my signature now.

Last edited by Xaurus; 2nd September 2011 at 20:10.
Xaurus is offline   Reply With Quote
Old 2nd September 2011, 20:22   #1146  |  Link
Xaurus
Registered User
 
Join Date: Jun 2011
Posts: 288
Apparently the signature doesn't get added after a post is made (some boards do this). Signature should be visible now.
__________________
SETUP: Win 10/MPC-HC/LAV/MadVR
HARDWARE: Fractal Design Node 804 | Xeon E3-1260L v5 | Supermicro X11SSZ-TLN4F | Samsung 2x8GB DDR4 ECC | Samsung 850 EVO 1TB | MSI GTX 1650 Super | EVGA G2 750
Xaurus is offline   Reply With Quote
Old 2nd September 2011, 20:52   #1147  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Quote:
Originally Posted by nevcairiel View Post
You get 24.27 fps on a 29.97 movie, and you call that exact frame rate?

The file is really tricky though. It seems to have its interlacing or telecine completely screwed up, EVR doesnt manage to deinterlace it properly.
Yes i know but the tree pan is smooth and it still seems sync (and it goes more towards 25 fps even might be indicating that it was actually recorded @ 25 fps from the start, nothing uncommon to use a 25 fps cam and later convert to 24 or then because of broadcasting to 29) i made a video of it but it's not as smooth as in reality on screen (recording overhead)

But im surprised that i dont get smooth results with the MS DTV-Decoder and DXVA CPU utilization is much lower @ arround 4% but the smoothness is more bad compared to the 10% Cpu Utilization LAV Video needs for this but absolute smooth on the 4 I-5 Cores and Power Consumption isn't that much higher i would have expected even higher latency because of the multithreading but Win7 seems to be very efficient here compared to XP also the Power Config (Balanced) doesn't interfere in anyway Performance wise

@nev
it seems the smoothnes on EVR (normal) compared to EVR Custom comes from the Interlace Flag sending in Lav Video turning it on on EVR causes problems for the tree scene turning it off results in that 24.xx smooth playback though on Evr custom you have to turn it on again and then it fails with smooth playback resulting in some 39.xx fps It's interesting on EVR you dont seem to need to send anything it will get correctly deinterlaced and telecined by the hardware regardless. EVR custom seems to lose that ability currently this could maybe also explain the behavior on my sample.ts (which is also telecined it seems)

Also my major guess is you see those 24.xx fps on EVR because Intels Hardware is doing some good adaptive work here
__________________
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; 2nd September 2011 at 23:40.
CruNcher is offline   Reply With Quote
Old 2nd September 2011, 23:54   #1148  |  Link
Xaurus
Registered User
 
Join Date: Jun 2011
Posts: 288
nevcairiel,

I ran the MPEG2Repair program on the original file just to log it (not repair it):

Sequence Frame 79601(0-I) / Time 0:54:35 :
Info: End of MPEG2 sequence

Sequence Summary:

File Size Processed: 5.13 GB, Play Time: 00h:54m:35s
1920 x 1080, 29.97 fps (24.30 fps Telecine), 18.00 Mbps (12.66 Mbps Average).
Average Video Quality: 63.60 KB/Frame, 0.25 Bits/Pixel.
AC3 Audio: 3/2 Channels (L, C, R, SL, SR) + LFE, 48.0 kHz, 384 kbps.
Dialog Normalization: -24.0 dB, Center Mix Level: -3.0 dB, Surround Mix Level: -3.0 dB
0 of 79601 video frames found with errors.
0 of 102358 audio frames found with errors.
0 corrupted video bytes in file.
0.000000 seconds of video timestamp gaps.
0.000000 seconds of audio timestamp gaps.

End of Log
__________________
SETUP: Win 10/MPC-HC/LAV/MadVR
HARDWARE: Fractal Design Node 804 | Xeon E3-1260L v5 | Supermicro X11SSZ-TLN4F | Samsung 2x8GB DDR4 ECC | Samsung 850 EVO 1TB | MSI GTX 1650 Super | EVGA G2 750
Xaurus is offline   Reply With Quote
Old 3rd September 2011, 03:07   #1149  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Hehe i found a way to get it smooth with Lav Video (Send Interlace Flags) also on EVR Custom being telecined correctly :P this is really funny but forcing DirectVobsub to be loaded makes this possible
__________________
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; 3rd September 2011 at 03:23.
CruNcher is offline   Reply With Quote
Old 3rd September 2011, 07:29   #1150  |  Link
Gleb Egorych
Registered User
 
Join Date: Aug 2008
Posts: 231
Hi, nevcairiel

Regarding deinterlacing issue: I've uploaded a sample -> http://www.mediafire.com/?4cilzfa418ztey5
MediaInfo says it's progressive ("scan type") but it also has "scan order" property.
Gleb Egorych is offline   Reply With Quote
Old 3rd September 2011, 12:12   #1151  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Though i guess for DXVA2 to get this working there would be no other way then to contact Nvidia and Intel and provide them such a sample so they can fix the behavior, i tried everything no go on HD2000 to get this smooth with DXVA2 with any Splitter->Decoder->Renderer combination. In Software Mode this issue fixes itself magically on the HD2000 either on EVR (normal) or as funny as it sounds with DirectVobsub on Evr Custom :P not sure though if that works also for Nvidia.
__________________
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; 3rd September 2011 at 12:15.
CruNcher is offline   Reply With Quote
Old 4th September 2011, 13:48   #1152  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 930
Hi!
After reading the first post its unclear to me, but does cuvid do all of the work on the GPU itself or does it use some separate decoder chip (which I remember dxva using.). Or some sort of combination?
Also does it have the sort of limitations that dxva does? Like that it wouldn't work at all with higher h264 ref frame numbers, or other video filters in the chain. (I see it works with all renderers so that's a plus)

Also what's the minimum recommended GPU? I'm thinking of replacing my 2600xt. I was thinking something like a gts450. (Not sure if its already the mentioned VP4 or hw or not)
mzso is offline   Reply With Quote
Old 4th September 2011, 13:54   #1153  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Ok update i measured now the Power Consumption difference of Mpeg-2 Playback Intels Decoder (Hardware DXVA2) vs Lav Video (Software Multithreading) (on Core I5-2400)
and at least for Mpeg-2 i came to the conclusion that the Playback Problems that are mostly caused due to Hardware decoding aren't worth the hassle with @ best 1W save Sandy Bridge is very efficient here on the cpu part (nothing to cheer about obviously comparing to a real SOC neither the Intel Decoder result)

so 1080p with full 60 fps Deinterlacing takes approx 13W (idle 5W + decoding 8W (includes Parser,Aero, Audio (Lav Audio) and Renderer (EVR Custom) overhead)) on Sandy Bridge and Intels Decoder (tested via Microsoft-DTV-Decoder and Intels own Mpeg-2 Decoder both are mostly identical when it comes to DXVA2, still trying to find out how to get software mode working for both forcing renderer change is no good solution for constant measuring results) doesn't do much better with DXVA2 12W (7W) :/

Im using Ben Waggoners TallShip sample for measuring if someone has a more heavier sample it would be nice to see it (but please something that occured in AVG user life not PRO and also non Studio 4:2:2)

General
ID : 0 (0x0)
Complete name : H:\theislandoriginal\TallShip_1080i_ATSC.ts
Format : MPEG-TS
File size : 777 MiB
Duration : 5mn 35s
Overall bit rate : 19.4 Mbps

Video
ID : 4096 (0x1000)
Menu ID : 1 (0x1)
Format : MPEG Video
Format version : Version 2
Format profile : Main@High
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Codec ID : 2
Duration : 5mn 35s
Bit rate : 18.0 Mbps
Maximum bit rate : 18.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.289
Stream size : 719 MiB (93%)

Audio
ID : 4097 (0x1001)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : 129
Duration : 5mn 35s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 17.9 MiB (2%)
Language : English
__________________
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; 4th September 2011 at 14:36.
CruNcher is offline   Reply With Quote
Old 4th September 2011, 14:12   #1154  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by mzso View Post
Hi!
After reading the first post its unclear to me, but does cuvid do all of the work on the GPU itself or does it use some separate decoder chip (which I remember dxva using.). Or some sort of combination?
It uses the same decoding unit as DXVA, but the GPU itself for deinterlacing IIRC.

Quote:
Originally Posted by mzso View Post
Also does it have the sort of limitations that dxva does? Like that it wouldn't work at all with higher h264 ref frame numbers, or other video filters in the chain. (I see it works with all renderers so that's a plus)
It doesn't rely on a DXVA compatible renderer and it works fine with up to 16 ref frames. (But 16 ref frames also work fine on DXVA - at least on Vista/7, for pretty much every Nvidia Card and all ATI cards HD4xxx and newer)
sneaker_ger is offline   Reply With Quote
Old 4th September 2011, 14:51   #1155  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Jep the difference is roughly 1 Watt and without Audio overhead and with default EVR (0.5W-1W still optimizing measuring) we are @ 5W (Intel Decoder) and 6W (Lav Video) (though if you calculate all the issues with DXVA2 into that with different renderer special adoption of Splitter ect i find this 1W very acceptable

http://software.intel.com/en-us/arti...y-checker-sdk/ <- Really rocks
__________________
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; 4th September 2011 at 15:02.
CruNcher is offline   Reply With Quote
Old 4th September 2011, 14:51   #1156  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,336
MPEG-2 is a rather trivial format, compare H264 instead.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 4th September 2011, 15:18   #1157  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Hehe yeah there it looks much different but i want to improve measuring first
__________________
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
CruNcher is offline   Reply With Quote
Old 4th September 2011, 17:13   #1158  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 930
Quote:
Originally Posted by sneaker_ger View Post
It uses the same decoding unit as DXVA, but the GPU itself for deinterlacing IIRC.



It doesn't rely on a DXVA compatible renderer and it works fine with up to 16 ref frames. (But 16 ref frames also work fine on DXVA - at least on Vista/7, for pretty much every Nvidia Card and all ATI cards HD4xxx and newer)
OK. Thanks for the enlightenment. I never thought that the ref frame limit might be video card specific...
mzso is offline   Reply With Quote
Old 4th September 2011, 21:55   #1159  |  Link
jmone
Registered User
 
Join Date: Dec 2007
Posts: 652
Out of interest and given there is nothing in the tracker, is LAV CUVID "done", "stable" and feature complete (eg V1.0)?
jmone is offline   Reply With Quote
Old 4th September 2011, 22:44   #1160  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by CruNcher View Post
not sure though if that works also for Nvidia.
Hi crunch. I made tests on 3840*1080 SBS file.

Here is my HW:

intel 540 on H55 (Clarkdale)
2*2GB RAM (1600 Mhz)
Geforce GTX 550 Ti

SW:

Seven 32 Pro, SP1 Build 7601
nVidia drivers 280.19

And here are my test results:

Splitters:

Haali,
Gabest,
LAV

Video decoders:

ffdshow video dxva,
lav CUVID

Renderer:

EVR Custom.

Avarage CPU usage is around 20%.




With same splitters and video decoders if i use MadVR as renderer, CPU usage climbs to 40% as expected since Madshi says:

Quote:
Originally Posted by madshi View Post
[known problems / limitations:

- hardware accelerated video decoding (DXVA) is currently not supported
- hardware accelerated deinterlacing (DXVA) is currently not supported


EDIT: If you ask me "have you given it a go with MadVR only; as decoder+renderer?": YES, the result never changed.
_ _ _ _ _

Last edited by rica; 4th September 2011 at 23:50.
rica is offline   Reply With Quote
Reply

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


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