View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
SamuriHL
10th November 2011, 23:16
Nev, I'm confused, those deinterlacing changes only apply to the CUVID code or have you added software deinterlacing support? And people please pay attention to whatever answer we get and don't ask this 100 times. ;) Thanks!
glorp
10th November 2011, 23:18
It's not that I think that it is important. It's just that the probability of an "und" track being in a language known to the user is higher, than for a track in a language the user hasn't defined in the selector. It's the strawberry on top of the cake, not really vital.
But there is also the possiblility that someone specifically marks tracks as "und" in cases where he does not want those tracks to enter into the selection process at all. I'll give you an example where that's useful:
- You only understand English and need English subs for all other languages.
- A film has a French main audio track and an English commentary track.
There currently are no options to prioritze language tracks by flags (i.e., forced) so if you mux this film with both language tracks and tag them correctly for language you will always get the commentary track with subs turned off. Not at all what you want.
The only way I've been able to keep the commentray track in a mux is to label it "und" knowing that then it would not be included in the selection criteria. I can't see any other way to handle this except to choose a completely unrealistic language tag for the commentary track.
So I don't want to see "und" become a priority or I'd like to see a way to handle that scenario by flags or language logic.
Note: Haali didn't/doesn't handle this any better. The "und" trick was the only way I could find to do it there too.
sneaker_ger
10th November 2011, 23:28
Well, nevcairiel does not want to apply any advanced logic to the audio selection at all, so my (unfinished) proposal wouldn't change your situation. You could still mark your commentary tracks as "und" and be happy.
Remember, my proposed prioritization when using the *-symbol:
1.) languages in the audio field
2.) "und"
3.) the rest
Nothing would change for you, the proposal of prioritizing "und" over "the rest" is only for the *-character.
Though your situation really shows one of the downsides of using Matroska files instead of DVDs/Blu-Rays with menus. Makes me even stronger think about searching the track names for things like "forced" or "commentary", instead of just looking at the Matroska flags.
glorp
10th November 2011, 23:39
Remember, my proposed prioritization when using the *-symbol:
1.) languages in the audio field
2.) "und"
3.) the rest
Yes, you're right. I agree. I misunderstood what you were proposing but your clarification is clear :)
Though your situation really shows one of the downsides of using Matroska files instead of DVDs/Blu-Rays with menus. Makes me even stronger think about searching the track names for things like "forced" or "commentary", instead of just looking at the Matroska flags.
Yes, agreed again, although in my case simply honoring the forced flag for audio selection too (or a way to include it in the advanced string) would have been enough for mkv's. Sadly that wasn't part of the new option so I still need the "tricks".
sneaker_ger
10th November 2011, 23:47
Yes, agreed again, although in my case simply honoring the forced flag for audio selection too (or a way to include it in the advanced string) would have been enough for mkv's. Sadly that wasn't part of the new option so I still need the "tricks".
Yes, nev's decision to make the audio selection (1) not "forced" and "default" aware and (2) be separated from the subtitle selection imposes certain limitations.
I'm currently writing down a few basic assumptions for a new proposal, but with that decision, certain limitations will remain, sadly.
rica
11th November 2011, 00:11
Thanks for the new build but no fix for LavSplitter > raw pcm mkv > ReClock issue yet. Hoping for 040 build.
Best.
pankov
11th November 2011, 00:27
Nev, I'm confused, those deinterlacing changes only apply to the CUVID code or have you added software deinterlacing support? And people please pay attention to whatever answer we get and don't ask this 100 times. ;) Thanks!
SamuriHL,
I think these changes are meant to control the deinterlacer in madVR ... or any other renderer that reads the correct flags and obeys them
...
and in the future probably for the software deinterlacer in LAV itself
;)
SamuriHL
11th November 2011, 00:46
SamuriHL,
I think these changes are meant to control the deinterlacer in madVR ... or any other renderer that reads the correct flags and obeys them
...
and in the future probably for the software deinterlacer in LAV itself
;)
That's fine (and good as I wanted to test madVR deinterlacing vs the CUVID deinterlacing like you've been doing) but I just wanted to get clarification. Cause if I'm confused, others likely will be, too. But that's a good thing if that's what this change is for. I'll have to build myself a copy and then update to the latest nVidia beta driver since I BELIEVE they fixed that annoying black screen nonsense in 7MC in the latest driver.
nevcairiel
11th November 2011, 07:47
1.) Is it possible to know beforehand (without parsing the complete file) whether a PGS track includes forced subtitles? I presume it's not.
Its not. There is no global header, its on a per-frame basis.
2.) Why isn't there the same possibility for idx/sub tracks?
I suppose they do have a similar mechanic (a forced flags in the frame headers), but i don't have that much media with DVD-style subtitles.
3.) Is it possible to know beforehand (without parsing the complete file) whether an idx/sub track includes forced subtitles?
Same goes as for PGS.
Nev, I'm confused, those deinterlacing changes only apply to the CUVID code or have you added software deinterlacing support? And people please pay attention to whatever answer we get and don't ask this 100 times. ;) Thanks!
They apply to all possible kinds of deinterlacing, be it CUVID, or in the Renderer (EVR/madVR), or through a software post-processor, or for any future software deinterlacers in LAV Video itself.
Yes, nev's decision to make the audio selection (1) not "forced" and "default" aware and (2) be separated from the subtitle selection imposes certain limitations.
It is at least "default" aware, however the language is a stronger match then the default flag. I understand the problem with commentary tracks that have a "better" language match then the main feature, however i'm unsure how to fix that properly.
Regarding the advanced selection - i'm not sure why you really need the audio selection in there. It seems far more logical that people have a preferred audio language, and then want subtitles that go with that audio language, instead of the other way around. What kinds of rules are you aiming to achieve with that? "If english subs are present, use japanese audio" seems like a silly rule to me - its far more likely people want "If japanese audio is used, use english subs".
PeQuE
11th November 2011, 09:16
Here is a test build with some new deinterlacing changes:
http://files.1f0.de/lavf/LAVFilters-0.39-15-g905db7d.zip
Bulletpoint changes:
- Changed "Field Order" and "Force Deinterlacing" to global options
- Added "Aggressive Deinterlacing" option
That means that all those options not only apply to the CUVID deinterlacer now, but also to deinterlacing when its done in the renderer.
Aggressive deinterlacing is similar to CoreAVCs aggressive checkbox - it forces deinterlacing if the stream indicates interlaced coding is used, even if not all frames are coded as such. Alot of broadcasts seem to be broken that way.
Force Deinterlacing foces deinterlacing on all streams, even if the whole stream is marked progressive. Not sure that option is still needed, i have no sample which would require it.
@PeQuE:
Aggressive Deinterlacing should probably make your stuff play properly.
Thanks so much for attending my needs nev.
I'll test this ASAP and report back.
psymed
11th November 2011, 09:37
Is 22.2 surround sound planned for future versions?
nevcairiel
11th November 2011, 09:40
Is 22.2 surround sound planned for future versions?
Once there actually are main stream codecs and files that use it, sure. Until then, no. (So not for some years)
SamuelMaki
11th November 2011, 13:09
Is 22.2 surround sound planned for future versions?
Use jRiver MC internal codecs...
HeadlessCow
11th November 2011, 17:10
Regarding the advanced selection - i'm not sure why you really need the audio selection in there. It seems far more logical that people have a preferred audio language, and then want subtitles that go with that audio language, instead of the other way around. What kinds of rules are you aiming to achieve with that? "If english subs are present, use japanese audio" seems like a silly rule to me - its far more likely people want "If japanese audio is used, use english subs".
I think the real problem here is that there's no concept of an "original" audio track. In an ideal world, one audio track (or multiple for something like "The Perils of Gwendoline in the Land of the Yik Yak" where the cast was half-English and half-French speaking) would be marked as "original" and playback should (optionally) prefer that rather than the language of the viewer as long as there are subtitles that match a language that the viewer understands. In the event of multiple "original" audio tracks, the selected "original" audio track should follow the preference of the viewer and when there are no tracks marked as "original", the preference should just follow the list that the user configures.
Examples:
Configured language: eng, fre
Harry Potter:
Audio: eng:"original", fre, esl
Subs: eng, fre, esl
Selected on playback:
Audio: eng
Sub: None
Excel Saga:
Audio: jpn:"original", eng
Subs: eng
Selected on playback:
Audio: jpn
Sub: eng
Gwendoline:
Audio: eng:"original", fre:"original"
Subtitles: eng, fre
Selected on playback:
Audio: eng
Sub: None
Cheesy (Dubbed) Kung Fu Movie
Audio: zho:"original", eng
Subs: zho
Selected on Playback
Audio: eng
Subs: None
If that all makes sense... does it make sense to treat the default flag for audio tracks as the "original" flag in my suggestion? :)
sneaker_ger
11th November 2011, 17:48
Regarding the advanced selection - i'm not sure why you really need the audio selection in there. It seems far more logical that people have a preferred audio language, and then want subtitles that go with that audio language, instead of the other way around. What kinds of rules are you aiming to achieve with that? "If english subs are present, use japanese audio" seems like a silly rule to me - its far more likely people want "If japanese audio is used, use english subs".
Ok, I wrote a wall of text yesterday, which I was hesitating to post at all, because today I didn't feel as confident about it as I felt yesterday. But it includes examples that show exactly what I mean. It is not simply a question of "more logical", but the current logic makes it straight out impossible to do certain things. I will make two separate posts for them.
sneaker_ger
11th November 2011, 17:51
I have thought about an improved advanced selection logic, based on the following assumptions:
1. The audio track selection is not part of the advanced logic. This is by nev's choice and will not be changed.
2. The languages in the audio selection field are languages the user prefers over other languages. If possible, these should take priority over any quasi random selection.
3. "Undefined" tracks are more likely to be known by the user, than defined tracks that are not listed by the user as known languages.
4. Users might want to prioritize certain audio languages they do not understand. They need subtitles in a language they DO understand for these, though.
5. The selection fields should be both human readable and fillable, without having to resort to some kind of batch system.
6. The advanced logic should not make it necessary for the user to write down each and every possible combiniation. The more languages you understand, the more complicated it currently gets, because you basically have to write at least one pair for each possible combination. Wildcards are a solution to make the options faster to write and easier to read and grasp.
7. The new logic should for the most part be downwards compatible to the old logic. Exceptions are quasi random selections, which may be superceded by selections based on known languages.
8. The new logic shall be easy to implement, by substituting wildcards through combinations already known by the old logic.
9. People might want to select the subtitle language not based on the general order of known languages, but according to the currently selected audio language.
The biggest problem I see with my new proposal, is the limitation imposed by assumption #1. This means that assumption #4 can not be satisfied in its entirety.
The first change I deduce from assumption #4 and #1 is: a) the audio selection field has to be split into two separate groups:
- [A] = the current audio selection field. LAV splitter will select the audio track according to this list, its meaning will stay the same and it is thus backwards compatible. If [A] is empty, then [A]=[B]
- [B] = a new group with languages the user actually understands. If [B] is empty, then [B]=[A]
b) Now we already have our two new wildcards: [A] and [B]. Naturally, LAV shall obey the order given by the user when selecting a track with these wildcards.
c) We will also introduce a new operator: "!" (exclamation point)
This operator allows the user to easily select only languages that are not part of a group (or isn't a specific language).
d) To meet assumption #9 we need to introduce yet another wildcard: "[?]" (interrogation mark, in brackets as to stay consisted with the other wildcards)
This wildcard means "same as selected audio language". This allows to select multiple audio/subtitle pairs, without having to write a new pair for every language. This wildcard can only be used for the subtitle, not for the audio.
e) to account for assumptions 2#, #3 and #4, we need to redefine the "*"-wildcard. From now on it shall use the following order for the subtitle track:
- select [B], incl. [?]
- select "und", incl. [?]
- select [A], incl. [?]
- select the rest (e.g. by track ID, ascending)
This order will increase the probability of a "lucky hit", i.e. selecting a language that is understood by the user. "[?]" shall NOT be prioritized within any group, for this could disobey the language order setup by the user. If he wants to prioritize "[?]", he has to create a separate pair.
I will now give an example on how to use this new logic.
We have an American that only speaks English, but likes to watch Korean and Japanese movies in their original audio. Of course he needs subtitles for that.
In the "audio field" (group [A]):
kor,jpn,eng
In the "languages understood" (group [B]):
eng
In the "subtitle selection" field:
[B]:[?]|f;[B]:[B]|f;[B]:off;![B]:*
Let's not forget, because of assumption #1, the audio tracks is selected before anything else:
1.) tries to select a Korean audio track
2.) tries to select a Japanese audio track
3.) tries to select an English audio track
Only after that comes the subtitle selection, which consists of four parts:
1.) if the user understands the selected audio track, it will try to select the forced subtitle track of the same language. If not found, try:
2.) if the user understands the selected audio track, it will select a subtitle track with a language understood by the user. If not found, try:
3.) if the user understands the selected audio track, subtitles will be deactivated. If not found, try:
4.) if the user does not understand the selected audio track, it will select any subtitle track, in the order [B], "und", [A], rest
Some parts of the last pair can be exchanged with others and will probabably still lead to the desired result. Most users won't even need [A].
(The example shows why #1 and #4 can not be combined, btw. If a file has only a Korean and an English audio track, but no subtitles, the Korean audio track gets selected, even though the American can not understand a single word, because of the missing subtitles. A more advanced logic would be able to switch to the English audio track in this specific case, although the user usually prefers the Korean track.)
Now this is a very simple example, which shouldn't be too complicated, even with the current logic. But if a user understands two, three or even more languages, the old logic gets very complicated. For the new logic, it doesn't really matter, you just enter the additional languages in field [A] and/or [B].
Now let's check if the new logic meets assumption #8, "easy to implement":
The above example would translate to:
eng:eng|f;eng:eng|f;eng:off;...
(The fourth part of the selection would be too long to write out, but it doesn't pose any problems.)
Basically all pairs with the new symbols can be subsituted by a number of pairs of the old logic.
I'd say the remaining assumptions are also respected:
#7: check, it does not redifine any existing setting, users can simply update. The only exception is the *-wildcard, but it wasn't predictable to begin with.
#5: check, the new wildcards and the new operator are easily writeable and readable. In fact, the wildcards can significatly reduce the amount of characters, improving the user experience.
Now for the summary:
- Introduction of new wildcards [A] (audio track selection group), [B] (languages actually understood group), [?] (currently selected audio language)
- Introduction of a new operator "!" (all languages BUT the group/language behind the operator)
- Redefinition of the "*"-wildcard, new order: [B], "und", [A], rest
My new proposal would make things shorter and easier, but sadly, it cannot solve #4 under the current conditions.
sneaker_ger
11th November 2011, 17:54
(Sorry, the style got lost a bit while copying over from my text editor. Got to go, right now, I hope it's readable.)
Proposal for a combined subtitle and audio track selection. (I know it's insane, just a bit of brainstorming.)
A combined subtitle and audio track selection could solve #4 shown in the example in my other proposal. The downside: assumptions #1 and #7 are false.
Summary:
- Introduction of new wildcards [A] (Group A), (Group B), [?] (currently selected audio/subtitle language)
- Introduction of a new operator "!" (all languages BUT the group/language behind the operator)
- Redefinition of the "*"-wildcard,
>new order for subtitles: [B], "und", [A], rest, off
>new order for audio : [A], [B], "und", rest, off
- Syntax extensions: combination of elements:
>*:[A][B]
>*:![A]![B] = *:!([A][B])
(more parts of the set theory supposable, of course)
-several track types
>[A]|f|d|
-explicit definition of "|!n" = not forced, "|!d" = not default, "|!fd" = neither forced nor default etc.:
[A]|!f = not forced of Group A
The syntax extensions could of course also be used for the first proposal, but I wanted to keep that one sane. [b]Regard them as "optional"!
Example of the old proposal solved:
Group [A]:
kor,jpn (NOT eng)
Group [B]:
eng
In the combined selection field:
[A]:[B];[B]:[?]|f;[B]:[B]|f;[B]:off;*:*
reads:
1.) Try to select an audio track of Group A and a subtitle track of Group B. If not found, try:
2.) Try to select an audio track of Group B and a forced subtitle track of the same language. If not found, try:
3.) Try to select an audio track of Group B and a forced subtitle track of Group B. If not found, try:
4.) Try to select an audio track of Group B and disable all subtitles. If not found, try:
5.) Select an audio track in the order [A], [B], "und", rest, off, and a subtitle track in the order [B], "und", [A], rest, off.
We see that the problem of the old mode has been solved. With Korean and English audio and no subtitles, the English audio gets selected. With Korean and English audio, and an English subtitle track, the Korean audio and the English subtitles get selected.
sneaker_ger
11th November 2011, 17:56
Ok, wall of text posted. I hope you can see the problem of the current mode, even if none of my proposals seem convincing to you.
nevcairiel
11th November 2011, 18:01
In the "subtitle selection" field:
[B]:[?]|f;[B]:[B]|f;[B]:off;![B]:*
I just read this and just had to correct it.
"[B]:off;![B]:*" is equal to "[B]:off;*:*" because [B] will never reach the last selection anyway.
Also, instead of having a separate "group" for [B], maybe some kind of special symbol on the language tags could be used, to keep it in one box. I would propose "!" for "important", but it would be confusing with "!" meaning "not" in the advanced box. Maybe "~kor,~jpn,eng" ? :d
I'll read it in detail later.
sneaker_ger
11th November 2011, 18:06
I just read this and just had to correct it.
"[B]: off;![B]:*" is equal to "[B]: off;*:*" because [B] will never reach the last selection anyway.
In this specific case. Yes, I know. :D
But there's a reason we have "for()" in programming languages, even though we could as well combine "while()", "if()" and "i++". It is easier to write, read and grasp.
I wouldn't regard my proposals as the solution. It's more like a base for further discussions.
Midzuki
11th November 2011, 18:30
Is 22.2 surround sound planned for future versions?
Windows itself cannot go above 17.1 audio channels. Therefore, ...
Sebastiii
11th November 2011, 18:59
And the last, on this sample (comes from LIFE BBC BD) i can't get sound (only in bitstream) in this sample (it was DTS-HD HRA detected by arcsoft dll and mediainfo) :
http://dl.dropbox.com/u/10536084/lav/Sample/00106_NO_Bitstream.m2ts
My AVR should decode all HD format (Harman Kardon 355) but seems not on this one.
I will try with TMT to see what happen (in bitstream ofc).
But if someone can repot if it's work for him :)
Thanks.
Just Feedback, only working with PDVD.
No luck with LAV Audio/FFDShow/TMT5.
Gleb Egorych
11th November 2011, 20:06
Here is a test build with some new deinterlacing changes:
http://files.1f0.de/lavf/LAVFilters-0.39-15-g905db7d.zip
Bulletpoint changes:
- Changed "Field Order" and "Force Deinterlacing" to global options
- Added "Aggressive Deinterlacing" option
Hi, nevcairiel!
Thanks for this great addition, it solved almost all problems I had with DVB streams and LAV filters!
The only problem still persists, although it changed with the patch. I use DVBViewer for watching DVB and tried it with LAV Video in CUVID mode and LAV CUVID. With LAV Video 0.39- switching to interlaced H.264 channels sometimes takes more time that usual and after picture appearing I see that 50i material is played as 25p. Now with 0.39.15 instead of 25p I simply have black screen (not always but sometimes, quite often). The same appears sometimes after rewinding timeshift buffer. This bug never appears with LAV CUVID 0.13.
SamuelMaki
11th November 2011, 20:15
Windows itself cannot go above 17.1 audio channels. Therefore, ...
WASAPI skips that windows mixer;) As I said, jRiver atleast go up to 32 channels...
nevcairiel
11th November 2011, 20:38
The only problem still persists, although it changed with the patch. I use DVBViewer for watching DVB and tried it with LAV Video in CUVID mode and LAV CUVID. With LAV Video 0.39- switching to interlaced H.264 channels sometimes takes more time that usual and after picture appearing I see that 50i material is played as 25p. Now with 0.39.15 instead of 25p I simply have black screen (not always but sometimes, quite often). The same appears sometimes after rewinding timeshift buffer. This bug never appears with LAV CUVID 0.13.
I only have access to a very limited range of DVB channels, all of which are either progressive H264, or interlaced MPEG-2 - i do not have anything else to check this on.
Anyway, i found a small bug that could cause it to error out and try to fallback to software decoding, which i just fixed, so maybe that helps.
mbordas
12th November 2011, 00:56
I've been kvetching about an audio problem on the avs mpc-hc forum for the past couple of days, and it turns out it's caused by enabling cuvid on lav video. I don't get it but I tested it with rica's samples:
96_24 flac mkv:
http://www.mediafire.com/?u0dh194e0q74tyt
96_24 pcm mkv:
http://www.mediafire.com/?het2xcoug60hvni
audio stutters with either wasapi exclusive or directsound (if set to 96 khz sample rate or above).
I have a gt 440, and I'm using the analog outs, not bitstreaming.
PeQuE
12th November 2011, 01:55
Thanks so much for attending my needs nev.
I'll test this ASAP and report back.
Report: Agressive Deinterlacing it's working like a charm! :)
Thanks nev. Finally I can get rid of any other decoder in my system for broadcasts.
You're doing really well for HTPC fans. Keep on.
pankov
12th November 2011, 02:30
I only have access to a very limited range of DVB channels, all of which are either progressive H264, or interlaced MPEG-2 - i do not have anything else to check this on.
Anyway, i found a small bug that could cause it to error out and try to fallback to software decoding, which i just fixed, so maybe that helps.
nev,
if you have DVBViewer and if you want to test other formats I can send you details how to connect to my DVB Rec Service so you can get access to 1080i50 H264 and PAL MPEG-2 channels.
erejnion
12th November 2011, 05:58
this is mainly a problem of not dropping the additional 1 / 2 channel information I guess. dunno if ffdshow does that when setting the mixer to 3/0/2 + LFE. thats why it would be nice to have at least one solution which keeps all the audio information.
yeah, I think by default MPC (don't know about other players, since I don't often play files with more than two channels, and haven't specifically tested for this) would just drop the additional channels, if you are playing for example something with 5.1 audio on your headphones. Which proves to be a problem in some (rare) releases, for example Tweeny Witches' one in bakabt... there MOST of the relevant audio information is not in FL/FR, so it gets dropped. Of course, you can set it to output the other channels from FL/FR too, but it would help if we have more customizable matrix too. Guess tho it makes more sense to bother MPC's devs for this.
Mangix
12th November 2011, 08:29
is there any way to bitstream mpeg1 audio? I ask because my HDTV's EDID mentions this...CE audio data (formats supported)
LPCM 2-channel, 16/20/24 bit depths at 32/44/48/88/96 kHz
AC-3 2-channel, 640k max. bit rate at 32/44/48 kHz
MPEG1 2-channel, 448k max. bit rate at 32/44/48 kHz I know I can bitstream ac3 and lpcm is just regular audio so what about mpeg1?
nevcairiel
12th November 2011, 09:06
While in theory its possible to bitstream MPEG1, there is just zero benefit to it, because its limited to stereo anyway, so even a SPDIF link can carry that information.
betaking
12th November 2011, 12:41
40 min ago
Hendrik Leppkes
Replace all byte-packed format settings with separate registry keys
good job! thanks nev!
mylle
12th November 2011, 14:44
I have an ATI 5770 in my HTPC but I am thinking about buying a Nvidia card instead to take advantage of the CUVID feature. I can read in the thread that a 430gt is a good choice?
I have an old 9400gt laying around but i suppose that is totally useless in regards to LAV filters and CUVID?
regards
Jacob
mark0077
12th November 2011, 17:21
nev, I'm back again with a question about mpeg2 deinterlacing quality on gtx295. Because this card apparantly only supports upto cuda level 1.3, could this be the reason for the very bad mpeg2 deinterlacing quality in lav video?
I have tried madVR's deinterlacing with these same mpeg2 clips and its perfect. Lav Video is the only hardware de-interlacer atm thats giving me this low level of quality... Let me know if I can provide any more details, or if anyone else can please test gtx 295 deinterlacing quality from their end, would be great to get a second opinion.
I don't want to use madVR's de-interlacing for various reasons relating to manipulation / frame interpolation I want to do after de-interlacing is finished, before going to the renderer.
nevcairiel
12th November 2011, 17:30
I have no influence whatsoever on the deinterlacing process, all i can tell it is to deinterlace, and which type of algorithm to use (the options for that are exposed through the UI). If it doesn't work for you, too bad, but nothing i can do.
PS:
If its already deinterlaced properly, the result will already be 50 or 60 fps, whats there to interpolate? :d
mark0077
12th November 2011, 17:42
I understand. Well my avisynth script only interpolates if the incoming frame is for example <= 25fps. If I let madVR do the de-interlacing, first my avisynth script will have interpolated to 50fps, and then madVR will try to de-interlace so I'll be getting stuttery dropped frames. Its basically the order of events and the fact that manual intervention is needed. I'll have to use yadif for the time being, not a big issue anyways thanks.
tiny
12th November 2011, 18:58
While in theory its possible to bitstream MPEG1, there is just zero benefit to it, because its limited to stereo anyway, so even a SPDIF link can carry that information.
The capability of bitstreaming of MPEG1 audio comes from the backwards compatibility of MPEG Multichannel with MPEG1 layer 2. MPEG Multichannel was developed by Philips as one of the audio codecs of the DVD standard. It was mandatory only for European DVDs, meaning the player/receiver had to be able to decode it. The support for the standard in European models of AVRs disappeared some years ago, after the standard was dropped from the DVD specification in 1997. Currently the usefulness of bitstreaming MPEG1 is very limited, IMHO.
See also http://en.wikipedia.org/wiki/MPEG_Multichannel
pankov
12th November 2011, 21:48
I have an ATI 5770 in my HTPC but I am thinking about buying a Nvidia card instead to take advantage of the CUVID feature. I can read in the thread that a 430gt is a good choice?
I have an old 9400gt laying around but i suppose that is totally useless in regards to LAV filters and CUVID?
regards
Jacob
mylle,
what's the reason to want CUVID?
Now that madVR has deinterlacing there are very little benefits of going for it. From my recent tests CUVID decoding and deinterlacing uses as much power (electric) as CPU decoding and deinterlacing in madVR. And this is if you are able to limit your video card to P8 (Video) power state. If it needs P0 state (Full 3D Power Mode) the total wattage goes above the one for software decoding and sadly this P0 state is needed with some high bitrate 1080p60 clips.
If you decide to go with NVidia have in mind that the 430 is not good enough. You'll have to go with 440 (with DDR5 memory) or even better with 450 but I'd wait a few more months to see what the new models from both NVidia and AMD will offer (they should have a much improved performance per watt ratio)
mindbomb
12th November 2011, 22:46
I have no influence whatsoever on the deinterlacing process, all i can tell it is to deinterlace, and which type of algorithm to use (the options for that are exposed through the UI). If it doesn't work for you, too bad, but nothing i can do.
Is it the same as dgdecnv?
Cause I feel like I get better deinterlacing with lav cuvid, but how could there be different results if they are both cuvid and supposed to be adaptive?
nevcairiel
12th November 2011, 23:21
The High Quality Processing mode is most likely not activated by dgdecnv, probably because it just doesn't work on XP.
Xaurus
12th November 2011, 23:29
If you decide to go with NVidia have in mind that the 430 is not good enough. You'll have to go with 440 (with DDR5 memory) or even better with 450 but I'd wait a few more months to see what the new models from both NVidia and AMD will offer (they should have a much improved performance per watt ratio)
I have a 450 with DDR3 memory (100% passive from Asus) for my HTPC, and I believe nevcairiel was right that it has headroom for everything.
I even downclocked it and still no problems. Very satisfied with this buy tbh.
jmonier
13th November 2011, 00:15
mylle,
what's the reason to want CUVID?
Now that madVR has deinterlacing there are very little benefits of going for it. From my recent tests CUVID decoding and deinterlacing uses as much power (electric) as CPU decoding and deinterlacing in madVR. And this is if you are able to limit your video card to P8 (Video) power state. If it needs P0 state (Full 3D Power Mode) the total wattage goes above the one for software decoding and sadly this P0 state is needed with some high bitrate 1080p60 clips.
If you decide to go with NVidia have in mind that the 430 is not good enough. You'll have to go with 440 (with DDR5 memory) or even better with 450 but I'd wait a few more months to see what the new models from both NVidia and AMD will offer (they should have a much improved performance per watt ratio)
One additional point is that NVidia has the "silent stream" bug on HDMI audio whereas AMD/ATI does not. Because of that, I switched back to AMD/ATI when madVR added de-interlacing.
nevcairiel
13th November 2011, 00:25
You people really need to get better receivers, on mine the HDMI handshake takes maybe half a second, nothing you would ever notice. :p
All the other bugs the AMD drivers have would annoy me far more. Whats the most recent version people suggest to use these days? 10.11? No working driver for a year? :)
jmonier
13th November 2011, 01:43
You people really need to get better receivers, on mine the HDMI handshake takes maybe half a second, nothing you would ever notice. :p
All the other bugs the AMD drivers have would annoy me far more. Whats the most recent version people suggest to use these days? 10.11? No working driver for a year? :)
If you're blaming the "silent stream" bug on HDMI hand shake in the receiver, why does it only occur with NVidia? I used to see it with AMD/ATI on the same receiver but it was fixed a long time ago. If they can fix it, why can't NVidia fix it? (And you will see many people complain about it, so it's not just me.)
For me half a second would certainly be noticeable although I would say that it's actually a second or more. I can barely tolerate it when starting up but not when when I'm seeking or pausing.
As far as the bugs with AMD, some people see them and some don't. For me (and many other people), the current drivers work fine so it's not clear what the real source of the problems is. (And the newer versions of the drivers don't seem to have any advantages for HTPC use so it's not a major problem for those people who DO see problems.)
In any case, it's important for people to see INFORMED opinions on both sides so they can make an informed decision. It doesn't help to make wild (and largely unsupported) statements about AMD not having a working driver in over a year. If that were true, NOBODY would be using AMD.
I would point out that I was relatively happy with AMD but I wanted better de-interlacing with madVR so I tried LAV CUVID with NVidia. I was very happy with with the CUVID de-interlacing but the "silent stream" bug was an instant and major annoyance. When madVR added de-interlacing I got a lot closer to my perfect system. YMMV.
EDIT: I should point out one thing that I'd temporarily lost track of. The "silent stream" problem with NVidia is worse when using WASAPI. When I tried it without WASAPI, it was much less on seeking and short pauses. It was still an annoyance on startup and with long pauses. My statements above refer to the case where WASAPI is used. Note that AMD has NO problems with it either way.
For me WASAPI is necessary so that I can get proper speaker assignments with both 5.1 and 7.1. Without it, the surround channels in 5.1 come out of the rear speakers and nothing comes out of the side speakers. This is apparently the way Microsoft has decided to do it in their mixer even though it is contrary to the way it works with with BluRay players. The only way I've found to fix it is to use WASAPI, so, for me, it is essential. I believe that WASAPI has other advantages but those are certainly arguable.
QBhd
13th November 2011, 04:06
You people really need to get better receivers, on mine the HDMI handshake takes maybe half a second, nothing you would ever notice. :p
All the other bugs the AMD drivers have would annoy me far more. Whats the most recent version people suggest to use these days? 10.11? No working driver for a year? :)
11.8 Works wonders for me... My video playback has never been better.
QB
mindbomb
13th November 2011, 07:57
You people really need to get better receivers, on mine the HDMI handshake takes maybe half a second, nothing you would ever notice. :p
you use an onkyo, right?
Mangix
13th November 2011, 08:57
The capability of bitstreaming of MPEG1 audio comes from the backwards compatibility of MPEG Multichannel with MPEG1 layer 2. MPEG Multichannel was developed by Philips as one of the audio codecs of the DVD standard. It was mandatory only for European DVDs, meaning the player/receiver had to be able to decode it. The support for the standard in European models of AVRs disappeared some years ago, after the standard was dropped from the DVD specification in 1997. Currently the usefulness of bitstreaming MPEG1 is very limited, IMHO.
See also http://en.wikipedia.org/wiki/MPEG_Multichannel
thanks a lot for the info. clears up many things.
Sebastiii
13th November 2011, 09:01
For me half a second would certainly be noticeable although I would say that it's actually a second or more. I can barely tolerate it when starting up but not when when I'm seeking or pausing.
I have found a solution for that because it's annoying me lol
If we talk about the same (when changing audio/subtitle stream too)
I change the setting from "Auto" to "Video full screen" in adjust desktop color setting from Nvidia control Pannel.
Weird, i just want to look this option on my DEV pc and i didn't have it (but i didn't have also this little blackscreen).
Connecting on my HTPC with remote access (TSE) i can't get Nvidia setting lol. To Verify the exact place in control pannel.
But for sure, changing this option (for my GTX 460) and this goes away :)
Seb.
Sebastiii
13th November 2011, 09:07
Hey : i found the post where i talk about possible fix (for me it does)
http://forum.doom9.org/showpost.php?p=1498683&postcount=2564
I have to grab a new screenshot lol
nevcairiel
13th November 2011, 09:49
If you're blaming the "silent stream" bug on HDMI hand shake in the receiver, why does it only occur with NVidia? I used to see it with AMD/ATI on the same receiver but it was fixed a long time ago. If they can fix it, why can't NVidia fix it? (And you will see many people complain about it, so it's not just me.)
Sure its something NVIDIA would have to fix, however my whole point was that the handshake doesn't have to take 1-3 seconds, it can be done in 0.5, which makes the bug much less noticeable.
Slow HDMI handshakes on receivers is a rather annoying problem, and even if there is no silent stream bug, it will still annoy you when you play a 5.1 file and then switch to a stereo file - it has to handshake again (even worse, if that change occurs in the middle of playback - eg. in live tv thats quite common)
PS:
For pausing or seeking, the audio renderer could actually mitigate that by simply not closing the WASAPI device and send silence until playback resumes.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.