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. |
29th January 2012, 13:56 | #8601 | Link |
Registered User
Join Date: Apr 2006
Posts: 6
|
Like someone somewhat explained before, LAV Filters and MadVR are two different things. One is a splitter and decoder package, while the other is a video renderer. You can't really compare them side-by-side. What video renderer are you using where you're saying LAV Filters?
|
29th January 2012, 14:21 | #8602 | Link | |
Registered User
Join Date: Nov 2005
Posts: 693
|
Quote:
__________________
My hobby website |
|
29th January 2012, 14:40 | #8603 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,340
|
LAV will always try to output the color space of the video untouched, however, that is not always easy.
For some formats, like Fraps, its impossible to know what the "right" format is before we decoded the first frame. However, before decoding it, we have to tell the renderer what we're sending, which if unknown is the default NV12 (because it covers like 90% of all important video). Now, when the first frame was decoded, we know that its actually RGB, and we try to tell the renderer that we actually would like to send RGB. Here is where the problems start. EVR does not allow changing its input format after the initial connection has been made, so its just not possible to switch from NV12 to RGB on-the-fly. This problem does *not* exist with any other renderer. VMR is fine, Overlay Renderer is fine, Haali is fine, madVR is fine, just EVR (any variant) fails. Thats why Fraps has this issue, and thats another reason why forcing RGB output for everything when using EVR is a good idea. If people tell me that RGB Fraps is far more common then YUV420 Fraps, then i might add a special rule for Fraps to default to RGB instead of NV12, but this has to be done on a per-codec basis.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
29th January 2012, 15:19 | #8604 | Link |
Registered User
Join Date: Mar 2008
Posts: 2,021
|
@nevcairiel,
LavSplitter gives false information; it gives 48k/16 info while the original audio is 96k/24. Here is a sample: http://www.mediafire.com/?2jygu42sokq5c52 (Tom Petty and the Heartbreakers, Blu-Ray Audio.) |
29th January 2012, 15:19 | #8605 | Link | |
4:2:0 hater
Join Date: Apr 2008
Posts: 1,302
|
Quote:
BTW did you decide what to do when playing yuv444 content with AYUV output disabled, instead of converting to 420? |
|
29th January 2012, 15:22 | #8606 | Link |
Registered User
Join Date: Nov 2005
Posts: 693
|
Afaik is Fraps always RGB. At least I've never heard of YV12 Fraps files.
Excuse me if this sounds ignorant (I have no experience with coding splitters or decoders), but wouldn't it be much easier then for the splitter to detect the file's colourspace, so the decoder doesn't have to decode the first frame? Of course this still doesn't explain why FFDShow's own FFV1(RGB) format and HFYU(RGB) are always converted to YV12, but this is also the wrong topic to discuss that.
__________________
My hobby website |
29th January 2012, 15:30 | #8607 | Link |
Registered User
Join Date: Dec 2011
Posts: 1,812
|
The official FRAPS Decoder always converts to RGB, both for YV12/RGB.
Otherwise everything is messed up due to PC range. If possible there should be hardcoded that when the source's codec is FPS1, always RGB should be outputted. |
29th January 2012, 15:33 | #8608 | Link | ||
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,340
|
Quote:
0: YUV 4:2:0 1: RGB 2: YUV 4:2:0 3: RGB 4: YUV 4:2:0 5: RGB There are differences how the data is encoded, but thats the color spaces used. The bad thing is, FPS1 is the FourCC for all variants. Quote:
It should go to RGB right now, and not to 4:2:0, which is imho the most sensible solution.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 29th January 2012 at 15:38. |
||
29th January 2012, 15:34 | #8609 | Link | |
Registered User
Join Date: Aug 2010
Posts: 14
|
Quote:
|
|
29th January 2012, 15:41 | #8610 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,340
|
Quote:
Its only a cosmetic issue, which however won't be fixed until ffmpeg gets DTS-HD support one day.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 29th January 2012 at 15:47. |
|
29th January 2012, 16:25 | #8612 | Link |
Registered User
Join Date: Apr 2007
Posts: 7
|
Two issues I noticed while remuxing things:
1) I noticed that LAV tends to "flatten" chapter editions in matroska - when there's more than 1 available, for example: edition1 +chapt1 +chapt2 +chapt3 +chapt4 edition2 +chapt2x +chapt3x Now if say - chapt2x comes between edition1's chapters 2:3 and chapt3x between 3:4 - then when LAV splitter is active, it will present: +chapt1 +chapt2 +chapt2x +chapt3 +chapt3x +chapt4 2) Another thing noticed - it looks like EditionFlagOrdered is generally ignored (the behavior is as if EditionFlagOrdered=0 - so no "playlist"-like behavior, though only haali does it, and not without certain quirks either). I can imagine both things would be far away on a todo list, though at some point perhaps. |
29th January 2012, 17:27 | #8614 | Link |
4:2:0 hater
Join Date: Apr 2008
Posts: 1,302
|
Ugh, I fail. I wanted to say yuv422 if you disable all 422 formats. You said you were going to consider it, and since it's still prefering 420 over 444 or RGB, I'm asking again
|
29th January 2012, 17:50 | #8615 | Link | |
Registered User
Join Date: Aug 2010
Posts: 576
|
Quote:
I'm not sure what is happening tbh, im noticing the fps is doubled, so there must be at least a bob going on. |
|
29th January 2012, 19:18 | #8617 | Link |
Registered User
Join Date: Jun 2006
Posts: 452
|
Can anyone tell me the difference between P210/v210 ?
These are both 10bit and both 4:2:2.... How is the conversion done from one to the other ? Is this a 100 lossless process ? (think it is, but want to be sure) Similar for P410 / v410 ? |
29th January 2012, 19:21 | #8618 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,340
|
Of course its a lossless process. v210 is just for some post-processing filters that don't understand P210. If there is a choice, always use P210, output of that is most likely faster.
v210 is a highly packed format, while P210 wastes a few bits to make it easier to work with.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 29th January 2012 at 19:25. |
29th January 2012, 19:31 | #8619 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,340
|
Quote:
I still am not sure why anyone would turn that off, but okay. I'll make it prefer 4:4:4 and then RGB, i suppose? Even though 4:4:4 YUV is so badly supported by renderers ... i wish EVR would just deny connection.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
Tags |
decoders, directshow, filters, splitter |
Thread Tools | Search this Thread |
Display Modes | |
|
|