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 1st September 2011, 18:43   #5161  |  Link
Xaurus
Registered User
 
Join Date: Jun 2011
Posts: 288
Quote:
Originally Posted by mzso View Post
How much are hardware deinterlacers better? (and why?) By the way, if ffdshow has yadif couldn't LAV too?
Just my 2 cents:

There is a world of difference between hardware deinterlacing and YADIF. For example, with LAV CUVID I get no combing or artefacts what so ever and it's smooth as silk except for a few panning issues (which applies to both methods). I would never go back to software deinterlacing.
Xaurus is offline   Reply With Quote
Old 1st September 2011, 19:10   #5162  |  Link
Stephen R. Savage
Registered User
 
Stephen R. Savage's Avatar
 
Join Date: Nov 2009
Posts: 327
Quote:
Originally Posted by Xaurus View Post
Just my 2 cents:

There is a world of difference between hardware deinterlacing and YADIF. For example, with LAV CUVID I get no combing or artefacts what so ever and it's smooth as silk except for a few panning issues (which applies to both methods). I would never go back to software deinterlacing.
Imo, there's still nothing that beats (Q)TGMC, which can even be run in realtime at up to 720p with marginally reduced quality. Unlike other deinterlacing methods, motion-compensation processes can actually recover "lost" information from adjacent frames.

@nevcairel: I want to ask r.e. the new colorspace conversions, are they free from issues with hue shift like the ones in ffdshow for 10-bit --> 8-bit conversion? I have some 10-bit H.264 encodes that were created with dithertools, and presumably free from 8->10 errors.

Edit: Never mind, downconversion is bit-exact between ffdshow and LAV, leaving the source of the ever-present hue shift still unknown.

Last edited by Stephen R. Savage; 1st September 2011 at 19:26.
Stephen R. Savage is offline   Reply With Quote
Old 1st September 2011, 19:40   #5163  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Quote:
Originally Posted by Stephen R. Savage View Post
Imo, there's still nothing that beats (Q)TGMC, which can even be run in realtime at up to 720p with marginally reduced quality. Unlike other deinterlacing methods, motion-compensation processes can actually recover "lost" information from adjacent frames
The only interlaced content i watch are Blu-rays, which are 1080i, and the hardware deinterlacer is the only high-quality adaptive algorithm that works in realtime on those.
It does actually do some sort of motion compensation, but the vendors are not too keen on disclosing implementation details.

Quote:
Originally Posted by Stephen R. Savage View Post
Edit: Never mind, downconversion is bit-exact between ffdshow and LAV, leaving the source of the ever-present hue shift still unknown.
Right now it is the same as ffdshows, the next version (thats when those new conversions actually make it in) will have mathematically perfect conversion from 10 to 8 (plain down-shift with dithering)
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 1st September 2011 at 19:46.
nevcairiel is offline   Reply With Quote
Old 2nd September 2011, 08:47   #5164  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
can you get this one always to play fine? http://www.mediafire.com/?8y4afgs2yf20td6 (sample of South Pacific BBC 1080i25 VC-1)

seems to be acting up sometimes, not sure whether due to splitter, WMV DMOdecoder or maybe LAV audio
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack)

Last edited by Thunderbolt8; 2nd September 2011 at 10:05.
Thunderbolt8 is offline   Reply With Quote
Old 2nd September 2011, 09:16   #5165  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
Offtopic question:
I got new TV with HDMI input, so i connect it with my HTPC (Radeon 6450) by HDMI and set sound over HDMI.
But now i have some problems with multichanels audio - some chanels are nearly mutted. Before i used analog stereo speakers without any problem.
I am using LAV audio decoder -> ReClock on WinXP.
Is it possible somehow downmix mutlichannels to stereo? I didnt found such option anywhere in WinXP/ReClock/LAV audio decoder setting.
I think this should fix the problem.
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin

Last edited by hoborg; 2nd September 2011 at 09:19.
hoborg is offline   Reply With Quote
Old 2nd September 2011, 09:42   #5166  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Quote:
Originally Posted by Thunderbolt8 View Post
can you get this one always to play fine? http://www.mediafire.com/?8y4afgs2yf20td6

seems to be acting up sometimes, not sure whether due to splitter, WMV DMOdecoder or maybe LAV audio
The issue looks familiar same problem as with the Beyonce sample back then it stops @ the beginning only seeking is making it to play (most probably damaged @ the beginning)
Though you should see that VC-1 Timestamp correction is on Auto else you would get a Black screen even after seeking.
But this doesn't seem like a Big problem not as heavy at least as my demonstrated MPC-HC EVR Custom & Sync problem here http://mirror05.x264.nl/CruNcher/mpc-hc/ (please wait for it to be fully loaded i still have to improve the progressive streaming @ the 1:35 mark those aren't performance issues @ recording but VBV problems with Quicksync )
__________________
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 10:00.
CruNcher is offline   Reply With Quote
Old 2nd September 2011, 11:37   #5167  |  Link
Kotik
Registered User
 
Join Date: Jun 2009
Posts: 85
Quote:
Originally Posted by hoborg View Post
Offtopic question:
I got new TV with HDMI input, so i connect it with my HTPC (Radeon 6450) by HDMI and set sound over HDMI.
But now i have some problems with multichanels audio - some chanels are nearly mutted. Before i used analog stereo speakers without any problem.
I am using LAV audio decoder -> ReClock on WinXP.
Is it possible somehow downmix mutlichannels to stereo? I didnt found such option anywhere in WinXP/ReClock/LAV audio decoder setting.
I think this should fix the problem.
Yes it is possible by adding ffdshow as postprocessing and configuring it to do the downmixing to stereo.

All this till Nev adds downmixing in LavAudio.
Kotik is offline   Reply With Quote
Old 2nd September 2011, 11:59   #5168  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
Quote:
Originally Posted by Kotik View Post
All this till Nev adds downmixing in LavAudio.
Donwmix is planned in LAV audio decoder? Good
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin
hoborg is offline   Reply With Quote
Old 2nd September 2011, 12:12   #5169  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
You can also just not use WASAPI, and let the Windows mixer do downmixing - at least on Win7 that will work pretty good.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 2nd September 2011, 12:15   #5170  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
Quote:
Originally Posted by nevcairiel View Post
You can also just not use WASAPI, and let the Windows mixer do downmixing - at least on Win7 that will work pretty good.
My HTPC is based on WinXP. If i am not wrong, WASAPI is not present on WinXP.
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin
hoborg is offline   Reply With Quote
Old 2nd September 2011, 12:43   #5171  |  Link
kalston
Registered User
 
Join Date: May 2011
Posts: 164
Quote:
Originally Posted by hoborg View Post
My HTPC is based on WinXP. If i am not wrong, WASAPI is not present on WinXP.
Correct. For now I use ffdshow to do it.
kalston is offline   Reply With Quote
Old 2nd September 2011, 13:00   #5172  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
depending on the hardware your htpc consists off you should really take a move to NT 6 Vista/Win7 into consideration it solves a lot off multimedia issues and doesn't make third party stuff needed for everything (also the possibility of less interoperability problems with different Hardware when using acceleration)
The Power saving also works much better it doesn't cause extreme spikes as on XP, that lowers the risk of unexpected framedrops also High Resolution timers are a improvement here (Hardware dependent).
__________________
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 2nd September 2011, 13:11   #5173  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
@CruNcher:
Yes, i known.But...
I spend a lot of time to configure my HTPC to work as i would like to be working, identify freezing durning wake up (thanks to TV card) + found a solution - for this i created "plugin" for MCE standby tools which disable/enable TV card durning standby/resume + "fullresume" while HTPC resume for recording. I even created my own "codec pack" - SAF, just to fit my HTPC needs . Setup remote contorler to work with my HTPC so even my wife can easilly control it (i dont have mouse/keybard connected), silent DVD drive even after wakeup, modify WinXP to not look like windows, media sharing ower network, be able to start/exit games by remote and control them by gamepad (like game console),etc, etc,... Right now i am very happy how it is working, moving to Win7 x86 is planned, but i really don't want to start from begin

BTW, i have two small kids home, so i really dont have much time to do such a big task
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin

Last edited by hoborg; 2nd September 2011 at 13:14.
hoborg is offline   Reply With Quote
Old 2nd September 2011, 14:56   #5174  |  Link
betaking
Fantasy Codecs writer
 
betaking's Avatar
 
Join Date: Nov 2007
Location: Yang Zhou,Jiang Su,China
Posts: 392
found a bug lavfilters can not use lavvideo to decoder this mpeg file!
Format : MPEG-PS
File size : 63.1 MiB
Duration : 4mn 13s
Overall bit rate : 2 086 Kbps

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 1
Format settings, BVOP : Yes
Format settings, Matrix : Default
Duration : 4mn 13s
Bit rate : 1 789 Kbps
Maximum bit rate : 1 800 Kbps
Width : 352 pixels
Height : 240 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.706
Stream size : 54.1 MiB (86%)

Audio
ID : 192 (0xC0)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 4mn 13s
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : -67ms
Stream size : 7.74 MiB (12%)
MPC-HC only use lav splitter and lav audio!
betaking is offline   Reply With Quote
Old 2nd September 2011, 15:11   #5175  |  Link
pirlouy
_
 
Join Date: May 2008
Location: France
Posts: 692
Quote:
Originally Posted by Kotik View Post
Yes it is possible by adding ffdshow as postprocessing and configuring it to do the downmixing to stereo.

All this till Nev adds downmixing in LavAudio.
Except that it does not work in my case. Even if I add ffdshow audio processor (in MPC-HC "prefer" external filter), it never
shows after LAV audio. I don't understand. :/

Quote:
Originally Posted by nevcairiel View Post
You can also just not use WASAPI, and let the Windows mixer do downmixing - at least on Win7 that will work pretty good.
Windows does that automatically or there's an option ?!!

Last edited by pirlouy; 2nd September 2011 at 15:17.
pirlouy is offline   Reply With Quote
Old 2nd September 2011, 15:20   #5176  |  Link
fastplayer
Registered User
 
Join Date: Nov 2006
Posts: 799
Quote:
Originally Posted by pirlouy View Post
Windows does that automatically or there's an option ?!!
Just select the correct speaker-setup in the Control Panel settings of your sound-card and let the mixer do the rest.
fastplayer is offline   Reply With Quote
Old 2nd September 2011, 15:44   #5177  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
I mostly finished the implementation of the new RGB converter, roughly modelled after ffdshows HQ implementation, but with two key enhancements:

- Faster and more accurate chroma upscaling (ffdshow assumes MPEG-1 Chroma siting, while most content is using the MPEG2/H264 siting)
--- I do plan to support the MPEG1 version as well at some point in time, but its no pressing issue
- Increased processing bitdepth to natively support 9/10bit content

The code will always use dithering, because i've found that disabling dithering doesn't yield a worthy performance increase.
My implementation is not yet multi-threaded, but i'm not sure if thats actually needed. I'll see about that.

Below some performance numbers from my i7 2600k, decoding and processing a 1080p 4:2:0 H264 movie

- Decoding w/ YV12 output: 253 fps
- Old low-quality RGB conversion: 235 fps
- Old high-quality RGB conversion: 40 fps
- New RGB conversion: 180 fps
- New RGB conversion without dithering: 183 fps

And for fun:
- New RGB conversion in Debug mode: 20 fps.
Don't watch stuff with a debug version, people!

Speaking of multi-threading, anyone know a simple threadpool implementation that does not require me to use boost?
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 2nd September 2011 at 15:47.
nevcairiel is offline   Reply With Quote
Old 2nd September 2011, 15:49   #5178  |  Link
Xaurus
Registered User
 
Join Date: Jun 2011
Posts: 288
nevcairiel,

Is this anything that is beneficial for us LAV CUVID users?
Xaurus is offline   Reply With Quote
Old 2nd September 2011, 15:50   #5179  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
please add multitheading if possible, there are other tweaks like sharpening or deinterlacing (ffdshow) or VC-1 decoding which are all only single threaded and already take a good amount of power from 1 core. more of such filters & co. which only work with 1 core will eventually lead to speed problems which could be avoided with multithreading support
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack)

Last edited by Thunderbolt8; 2nd September 2011 at 15:53.
Thunderbolt8 is offline   Reply With Quote
Old 2nd September 2011, 16:23   #5180  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
I will eventually offer some post-processing, at first only the filters implemented in libavfilter (mostly for yadif), anything else .. we'll see.
I would like to do some plugin type thing, maybe it'll happen. Not soon, though.

Personally, i just don't use post-processing much.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel 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 06:21.


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