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 September 2009, 07:50 | #8162 | Link | |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
Quote:
However, there are 2 reasons why a decoder and especially ffdshow will be useful : 1/ The splitters/source filters sometimes mess up with the detection of input format, they would detect AC3 instead of TrueHD or EAC3. FFDShow integrates an internal parser that will scan the stream to detect the right format 2/ Select what to bitstream or not : with FFDShow as for AC3/DTS, you can select what to bitstream and what to decode @Rica : thank you for your post. I have seen the post which talks about the WAVEFORMATEXTENSIBLE_IEC61937 structure that I tried to implement a while ago. The thing is that this structure is not used at all today (I am sure about that) : because support has been brought by windows 7, so Arcsoft and Cyberlink did without it. So the post is speculating about this, current hdmi 1.3 audio cards use another way and this is not sure that next radeon will do. Another thing interesting : arcsoft brought support to radeon 5xxx whereas bitstream support was brought on powerdvd. So this means that the way to implement bitstream is not very complicated (no hidden APIs) |
|
29th September 2009, 08:37 | #8163 | Link | |
Registered User
Join Date: Feb 2006
Posts: 1,076
|
Quote:
|
|
29th September 2009, 08:54 | #8164 | Link | |
Registered User
Join Date: Oct 2007
Posts: 207
|
Quote:
I'm vladd by the way. Edit: I was mistaken, the driver is newer so it might support WAVEFORMATEXTENSIBLE_IEC61937 on the 58xx series. It does not on the 46xx series. Last edited by whurlston; 29th September 2009 at 11:32. |
|
29th September 2009, 08:59 | #8165 | Link | |
And so it begins...
Join Date: Nov 2005
Location: Hannover, Germany
Posts: 64
|
Please read ReClock's readme file. Everything is explained very well in this document.
Instead of slaving the reference clock to audio (like the DirectShow mechanism) ReClock synchronizes the generated reference clock to video refresh rate to avoid judder. When video and audio will go out of sync for a specific amount of time (configurable in Reclock's options) audio packets get dropped/repeated or PCM get resampled. This is always necessary when video and sound card use different hardware clocks. This is the case with a dedicated sound card. When using standard timings and HDMI output of the Radeon both chips may use the same hardware clock and may always stay in sync. But this is just a guess. I don't know if this is true. If it is understood that ReClock synchronzies reference clock to the video card the next step is to tweak the refresh rate to give as few audio packet drops/repeats as possible! The perfect absolute refresh rate is different for every system, because the hardware clocks of video and sound cards differ slightly. For one HTPC 47,951Hz may be good, for others may be 47,953Hz etc. Btw. the vsync correction of ReClock fights against a completely different problem in PC architecture. This important feature makes sure that the picture never arrives near the vertical sync signal. This also avoids judder, but of a different cause than described above. Quote:
My point was just that ReClock treats AC3/DTS packets and PCM differently when trying to sync video and audio which is necessary on usual PC hardware. So a hd bitstream has to be treated as packets and not to be resampled. Sorry for the offtopic here. |
|
29th September 2009, 11:06 | #8166 | Link | ||||
Registered User
Join Date: Mar 2009
Posts: 962
|
Quote:
From the readme: Quote:
Quote:
Quote:
|
||||
29th September 2009, 11:24 | #8167 | Link |
Registered User
Join Date: Feb 2006
Posts: 1,076
|
On the ASIO drivers. I'ts correct that the Xonars have the abillity for ASIO 2.0. I have no idea how that corresponds to the actiual output, but in theory you could use the ASIO interface to stream out PCM @ 24 bits/192 KHz. While it's not exactly the same as streaming the losselss codecs, technically it's almost the same (decoding only happens somewhere else).
Does someone have a current version of Sony's Soundforge MT or Audition (or some other Multichannel audio-programm) installed ? See if the ASIO interface does indeed stream high bitrate/resolution PCM in 8 channels. Last edited by G_M_C; 29th September 2009 at 11:36. |
29th September 2009, 11:28 | #8168 | Link | |||
And so it begins...
Join Date: Nov 2005
Location: Hannover, Germany
Posts: 64
|
Quote:
Btw this judder is so small that most people even don't notice it. I use HTPC's over 10 years now and ReClock since the first released version. After a period of time you get very sensitive to micro judder. Quote:
Quote:
|
|||
29th September 2009, 19:50 | #8169 | Link | |
Registered User
Join Date: Jun 2007
Posts: 42
|
Quote:
Multi channel MLP from DVD-A -> Foobar2000 DVD-Audio Decoder -> highres multi channel PCM -> Xonar ASIO device (2ch) via Foobar2000 -> Xonar HDAV Center (resampler) -> AV receiver via HDMI. The result at the receiver was 2 channel PCM. Sampling rate and channel count was determined by the Xonar HDAV Center. It was possible to let the Xonar HDAV Center send 6 channel PCM to the receiver, but then all channels except FL and FR were silent. So, although the ASIO device can provide hires PCM, it is limited to PCM 2.0 only. But hires multi channel PCM is not an issue anyway as it is working fine with WASAPI and the default Speakers device. |
|
30th September 2009, 02:31 | #8172 | Link | |
Registered User
Join Date: Mar 2009
Posts: 962
|
Quote:
|
|
30th September 2009, 07:59 | #8173 | Link |
Registered User
Join Date: Aug 2008
Posts: 176
|
Real-time conversion 1080i59.94 --> 1080p23.976 (film)?
Can ffdshow do real-time decoding + conversion 1080i59.94 --> 1080p23.976 for film source (H264, 3:2 pulldown inside)?
Is Intel Core 2 Duo powerfull enough for that? |
30th September 2009, 08:49 | #8174 | Link | |
And so it begins...
Join Date: Nov 2005
Location: Hannover, Germany
Posts: 64
|
Quote:
Imagine we want to play a 24p file. Example 1) With a refresh rate of 24Hz the cadence should look like this: 1, 1, 1, 1, 1, ... Example 2) With a higher refresh rate which is a multiple of 24Hz (in this case 48Hz) it should look like this: 2, 2, 2, 2, 2, ... Resync judder Without ReClock DirectShow always drops or repeats pictures when the asynchronicity of video and audio reaches a specific time span. In this example video is slower than audio so periodically a frame gets dropped: Example 1) 1, 1, 0, 1, 1, ... Example 2) 2, 2, 1, 2, 2, ... In 1) you really loose pictures. In 2) you see all pictures but they are shown for different time spans. ReClock now slaves the reference clock to video refresh rate, leaves the cadence intact and resamples (drops/repeats) the audio instead. This is what ReClock is all about. Judder because of vsync problem Additionally the problem occurs that the picture arrives near the vertical sync signal (vertical blank). The graphics card then decides to show the last frame again which also causes a broken cadence. Example 1) 1, 2, 0, 1, 1, ... Example 2) 2, 3, 1, 2, 2, ... As you can see the number of pictures stay the same. But again you loose a complete picture with 24Hz output. ReClock' vsync correction now makes sure that the picture always arrives with the necessary distance to the vertical blank. But this differs from refresh rate to refresh rate and even the player has an influence. So the tweaking of ReClock's vsync bar is a bit tricky. The method is described in the readme. Btw. MPC-HC GothSyc's operating mode "Sync video display" is equal to ReClock's mechanism, but lacks the feature to drop/repeat AC3/DTS packets (though PCM gets resampled). Without that video and audio go out of sync after a while if the refresh rate does not match quite well. For more information follow this Link. Last edited by FoLLgoTT; 30th September 2009 at 08:51. |
|
30th September 2009, 09:56 | #8175 | Link |
Registered User
Join Date: Mar 2009
Posts: 962
|
Right, I know frame drop/repeat judder and what it looks like. I was just wondering because I'm not experiencing it with or without ReClock, and I did think jitter would be unnoticeable. The EVR Custom's OSD is pretty informative. I can set ReClock to slave to audio, and original speed (so audio is not touched) with VSync off, set my ATI on CCC to 23.976, and it's not dropping or repeating frames or going out of sync. With VSync on in MPC-HC, I can see the number for content frame rate stay steady, and the number for refresh rate and reference clock (only labeled "clock" here) change slightly and rapidly. With VSync off in MPC-HC, content rate and "clock" change dynamically, and refresh rate is not detected (just shows zero). I'm not 100% sure what all that means, but I think the content's frame rate at least is being slightly modified dynamically to keep sync (unnoticeable jitter).
|
30th September 2009, 13:15 | #8176 | Link |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
Hi,
here is the new beta build for HD bitstream : now the bitstream formats are sent over PCM media type so that Reclock will let them passthrough I added a checkbox in the output section to activate the new WAVEFORMATEXTENSIBLE_IEC61937 structure, but it does not work with Reclock. Do not enable this checkbox unless you have a radeon 5xxx to test with (and also maybe windows 7 is required). FFDShow bitstream beta7 |
30th September 2009, 14:36 | #8177 | Link | |
Registered User
Join Date: Aug 2008
Location: the Netherlands
Posts: 851
|
Quote:
|
|
Tags |
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl |
|
|