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. |
28th July 2011, 13:16 | #13861 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
I wonder anyway why the sample rate is used for the SPDIF media type - its sample rate is independent of the actual stream sample rate.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
28th July 2011, 14:36 | #13862 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
A quick and dirty fix could be adding sample rate check in TsampleFormat::createMediaTypeSPDIF. But I don't have the hardware to test. One of the other devs has to fix this.
__________________
MPC-HC 2.2.1 |
29th July 2011, 01:12 | #13863 | Link |
Registered User
Join Date: Oct 2010
Posts: 29
|
I dont' know, what this matter is problem with, but I think it has strong connection with ffdshow... I'll call it "sudden artifacts".
I try to encode MPEG-TS AVC/H264 to AVI XviD (recording from DVB, interlaced). I tried MeGUI and StaxRip - these two apps gives the same bug. This is Win7 x64 and installed: ffdshow x86 (based on libvacodec), Haali, LAV x86&64, XviD. Like I've written - this is interlaced DVB-T recording, so I use "Linear blending" deinterlacing in ffdshow. After re-encoding and playing AVI or using the option from StaxRip to preview in deafult system player, sudden artifacts appear very often in it, sometimes in 1 minute. You can see them here (3 frames in a row, the second with macroblocs): These artifacts aren't always in the same frames, but they change their positions. After I re-open the file, artifacts are in different frames. I don't know, how to resolve this problem. Couple of details about this MPEG: it hasn't WSS (resolution: simple 720x576), but it's 16:9 letterbox - so I needed to crop letterboxes, and then put in 16/9 LanczosResize (624x352). |
29th July 2011, 07:12 | #13865 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
Quote:
There must be some other factor involved that is hidden somewhere. Did someone ever link a clip that very obviously shows the performance problem?
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 29th July 2011 at 07:19. |
|
30th July 2011, 02:01 | #13866 | Link |
Registered User
Join Date: Dec 2007
Posts: 652
|
Here is a sample AVC 1080/50p file that used to without ffdshow breaking a sweat with ffmpeg-mt, now it is all dropped frames with madVR (OK on EVR) as the queues are never full. http://www.megaupload.com/?d=7JIIQC7C
|
30th July 2011, 07:46 | #13867 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
I just benchmarked that sample, and it topped out at around 80fps, which really isn't fast. In comparison, the very complex high-bitrate Birds sample still runs at around 340fps.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
30th July 2011, 08:26 | #13868 | Link |
Registered User
Join Date: Dec 2007
Posts: 652
|
Thanks nevcairiel - I'm not sure what that all means (is more better or worse?) - I have never had issues with it prior and it really is not taxing. All I know is if I use a current version of FFDSHOW then madVR drops frames, roll back to V3882 (13 June) and it plays fine! Looking at the CPU Thread Graph - there is also a big difference in what cores are being used.
EDIT: Should also say no probs with CUVID on a Q6600 PC. Last edited by jmone; 30th July 2011 at 08:28. |
30th July 2011, 09:17 | #13869 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
It looks like something in that video causes it to not multi-thread properly.
I know which change caused it, but not sure if reverting it is safe.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
30th July 2011, 09:18 | #13870 | Link |
Registered User
Join Date: Dec 2007
Posts: 652
|
OK I went back and tried various builds:
- Last Good = ffdshow_rev3892_20110620_clsid - First Broken = ffdshow_rev3904_20110623_clsid I did not change any config settings between the two. 100% repeatable on my rig but please let me know if there are any other FFDSHOW settings to try though both these builds are post the ffmpeg-MT merge. |
31st July 2011, 19:51 | #13872 | Link |
Registered User
Join Date: Jan 2010
Posts: 60
|
Guys, I'm having this problem with Dolby True HD bitstream when using ffdshow with mpc-hc. When I play the movie from the beginning everything's fine but whenever I ffwd or shut down the player and want to pick up the movie where I left off the audio is broken, I mean I can't hear anything or there's some cracking noise. How can I fix it? Just to be clear, it's only the case with movies that contain dolby true hd, dts hd is always fine. I use ATI gpu btw. Hope someone can help me out here. Thanks in advance.
|
31st July 2011, 22:57 | #13873 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
Support for decoding H.264 Hi10P has been committed.
The Libav patch that caused the performance regression for certain H.264 files has been reverted.
__________________
MPC-HC 2.2.1 |
4th August 2011, 10:52 | #13877 | Link |
Firefox User
Join Date: Sep 2003
Posts: 202
|
It seems that ffdshow doesn't support ATRC (Real's ATRAC3 FourCC) and COOK.
ATRC GUID from MPC RealMedia Splitter: {4B4F4F43-0000-0010-8000-00AA00389B71} ATRC GUID from LAV Splitter: {6B6F6F63-0000-0010-8000-00AA00389B71} COOK GUID from MPC RealMedia Splitter: {4B4F4F43-0000-0010-8000-00AA00389B71} COOK GUID from LAV Splitter: {6B6F6F63-0000-0010-8000-00AA00389B71} |
4th August 2011, 12:44 | #13878 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
__________________
MPC-HC 2.2.1 |
4th August 2011, 13:42 | #13879 | Link | |
Firefox User
Join Date: Sep 2003
Posts: 202
|
Quote:
But it not work for cook from LAV Splitter. Sample: http://roy.orz.hm/samples/rv30_chroma_drift.rm And ffdshow crash with this sample: http://roy.orz.hm/samples/rv20_cook_...r_plus_8.51.rm Last edited by roytam1; 4th August 2011 at 13:47. |
|
4th August 2011, 15:33 | #13880 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
You should use LAV Audio/Video for realmedia. That works better than ffdshow, and it is unlikely that things will get better in ffdshow.
__________________
MPC-HC 2.2.1 |
Tags |
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl |
Thread Tools | Search this Thread |
Display Modes | |
|
|