View Full Version : ffdshow tryouts project: Discussion & Development
szabi
22nd December 2011, 19:13
szabi, you could use FFVideoSource() (http://avisynth.org/mediawiki/FFmpegSource) (preferred), or alternatively DirectShowSource().
Thnx, it worked. ;)
bye
szabi
hoborg
23rd December 2011, 08:51
Hi.
I have problem to play this video (http://hobring.esero.net/saf/samples/ffdshow_bad_playback.zip) with FFDshow video decoder.
LAV/MPC-HC video decoders working fine.
EDIT:
rev. 4174 is OK
rev. 4183 have broken playback.
Fixed in 4192 :)
andybkma
24th December 2011, 02:52
Which decoder is connected to ffdshow's input pin? What is the color space? What are the dimensions?
Decoder: WMVideo Decoder DMO
Color Space: YUY2, 8 bit, 4:2:2
Dimensions: 720,576
Thank you...
alexins
24th December 2011, 04:30
haruhiko_yamagata, ffdshow r4196 (check output buffer size) - broken video output with the use of "NV12".
haruhiko_yamagata
24th December 2011, 05:43
haruhiko_yamagata, ffdshow r4196 (check output buffer size) - broken video output with the use of "NV12".
Thank you for finding the bug. Fixed at rev 4200.
alexins
24th December 2011, 05:47
Thank you for finding the bug. Fixed at rev 4200.
Thanks to you for the quick fix of the problem.
:)
haruhiko_yamagata
24th December 2011, 05:56
Decoder: WMVideo Decoder DMO
Color Space: YUY2, 8 bit, 4:2:2
Dimensions: 720,576
Thank you...
Does the DMO output YUY2? I don't have any 4:2:2 wmv sample. Please send me a sample.
haruhiko_yamagata
24th December 2011, 06:04
Thanks to you for the quick fix of the problem.
:)
Please wait, AYUV seems to be broken.
Edit: It's OK now (rev 4201).
andybkma
24th December 2011, 11:08
Does the DMO output YUY2? I don't have any 4:2:2 wmv sample. Please send me a sample.
Hi, pm'd you links to two samples that give me the green border on the right side. Thanks...
ryrynz
24th December 2011, 12:35
Haruhiko, build 4142 and above cause a green line to appear on the right side of the screen when playing back a DVD with the MS DTV-DVD decoder and passing through ffdshow RAW.
pandy
24th December 2011, 14:26
Hi Guys, quick question - ICL12 build is patched against bad dispatcher for AMD CPU's or not? (or should i use MSVC2010 version for AMD CPU's?).
btw
Is there any chance to restore MPEG encoder - 10 bit precision for DCT, interlace support, I frame - MJPEG is fine however there is lack for such small things (i believe that there is no standardization how to implement such features in MJPEG and MPEG-2 syntax seems to be tempting)
Dstruct
24th December 2011, 16:19
Hi Guys, quick question - ICL12 build is patched against bad dispatcher for AMD CPU's or not? (or should i use MSVC2010 version for AMD CPU's?).
I don't know what a bad dispatcher is. But here I need to use MSVC builds on my AMD CPU (no SSE2). ICL12 builds (xvidvideo.ru) don't let me open the config windows.
Also the "IntelQuickSyncDecoder.dll" is shown as "not found" in "Version details" with AMD CPU here (although the DLL is there)!
gendouhydeist
24th December 2011, 16:28
Thank you for finding the bug. Fixed at rev 4200.
This also fix the crash that I'm encountering on Y416 output thanks!!
haruhiko_yamagata
24th December 2011, 23:56
This also fix the crash that I'm encountering on Y416 output thanks!!
Yes, it was fixed. Thanks for letting me know.
pandy
25th December 2011, 02:38
I don't know what a bad dispatcher is.
http://www.agner.org/optimize/blog/read.php?i=49#49
egur
25th December 2011, 14:23
...
Also the "IntelQuickSyncDecoder.dll" is shown as "not found" in "Version details" with AMD CPU here (although the DLL is there)!
It's not a bug it's a feature. It will only work on Intel CPUs + GPU.
haruhiko_yamagata
25th December 2011, 14:43
Haruhiko, build 4142 and above cause a green line to appear on the right side of the screen when playing back a DVD with the MS DTV-DVD decoder and passing through ffdshow RAW.
I can reproduce this. I have fixed the problem in my working copy. I'll commit it to the SVN in a few days.
ryrynz
26th December 2011, 03:50
Great work, thank you Haruhiko.
djchristian
27th December 2011, 15:35
Why aren't there a installguide for ffshow and media player classic HC???
pulbitz
27th December 2011, 19:33
I'm sorry. I don't speak English very well.
ffdshow video decoder configuration | Output | Stream settings
Check "Set interlaced flag in output media type"
- libavcodec
perfect smooth playback of 1080i content. (double framerate)
- Intel QuickSync
motion is steppier. (poor)
Is this a bug? Or QuickSync decoder limitation?
clsid
27th December 2011, 19:41
@Haruhiko
There is a bug in ffdshow that causes a freeze with Haali video renderer.
4174 = ok
4183 = broken
egur
27th December 2011, 22:47
I'm sorry. I don't speak English very well.
ffdshow video decoder configuration | Output | Stream settings
Check "Set interlaced flag in output media type"
- libavcodec
perfect smooth playback of 1080i content. (double framerate)
- Intel QuickSync
motion is steppier. (poor)
Is this a bug? Or QuickSync decoder limitation?
You need a SandyBridge (or newer) to enjoy the HW acceleration used in the QuickSync decoder.
Please specify which renderer was use as well other setup (driver version, OS version, 32/64 bit, player, display is connected to iGPU or dGPU, etc). If you can post a part of the clip (10-20 seconds) that would help development.
This thread is very busy so please report issues at the QuickSync decoder thread:
http://forum.doom9.org/showthread.php?t=162442
Midzuki
28th December 2011, 05:17
r4206: raw video filter FAILS again :rolleyes:
the annoying vertical green bar (http://forum.doom9.org/showthread.php?p=1547005#post1547005) has disappeared, BUT the aspect ratio gets screwed -.-
Going back to r4052.
haruhiko_yamagata
28th December 2011, 10:17
@Haruhiko
There is a bug in ffdshow that causes a freeze with Haali video renderer.
4174 = ok
4183 = broken
I have fixed at rev 4207. Please confirm.
haruhiko_yamagata
28th December 2011, 11:23
the annoying vertical green bar (http://forum.doom9.org/showthread.php?p=1547005#post1547005) has disappeared, BUT the aspect ratio gets screwed -.-
It works for me. How can I reproduce?
ryrynz
28th December 2011, 12:15
4206 is working fine for me, cheers.
Midzuki
28th December 2011, 12:19
It works for me. How can I reproduce?
Try using a *real* MPEG-2 decoder (Mainconcept, Cyberlink, ArcSoft).
clsid
28th December 2011, 14:02
I have fixed at rev 4207. Please confirm.Fix confirmed. Thanks.
haruhiko_yamagata
28th December 2011, 15:18
Try using a *real* MPEG-2 decoder (Mainconcept, Cyberlink, ArcSoft).
Mainconcept decoder crashes in MPC-HC, whatever the file is. I don't know what is real. ffdshow is not related.
It works in graphstudio and ffdshow raw filter is OK with it.
Cyberlink decoder (PDVD8 or 11) and ffdshow raw works fine.
I don't have ArcSoft.
Midzuki
28th December 2011, 15:44
Mainconcept decoder crashes in MPC-HC, whatever the file is. I don't know what is real. ffdshow is not related.
It works in graphstudio and ffdshow raw filter is OK with it.
Cyberlink decoder (PDVD8 or 11) and ffdshow raw works fine.
I don't have ArcSoft.
Thanks for checking. I will try to find the actual source of the problem. :confused: :confused: :confused:
[ E D I T ]
ffdshow's MPEG decoder was not affected by the new raw video filter.
ArcSoft is not affected neither.
Downgraded from PDVD9 to PDVD7, the problem remains :(
Moving house to r4127.
Dstruct
28th December 2011, 18:28
It's not a bug it's a feature. It will only work on Intel CPUs + GPU.
Why do I see it here then (Intel CPU without Intel GPU)?
FIXED (rev4218)
Midzuki
28th December 2011, 18:48
INFO UPDATE (re: r4206's video processor)
DVD-Navigator ++ Cyberlink decoder ++ ffdshow rvf == OK
720x480@16:9 MPG file ++ Cyberlink decoder ++ ffdshow rvf == deformed picture
HTH :helpful:
haruhiko_yamagata
28th December 2011, 23:53
INFO UPDATE (re: r4206's video processor)
DVD-Navigator ++ Cyberlink decoder ++ ffdshow rvf == OK
720x480@16:9 MPG file ++ Cyberlink decoder ++ ffdshow rvf == deformed picture
HTH :helpful:
I still cannot reproduce. What is the application? What is the source/splitter filter? What is the video renderer?
Would you check the pin info if possible?
Midzuki
29th December 2011, 01:35
1) MPC, MPC-HC
2) File Source Async,
MpegSplitter.ax / Mainconcept splitter (mcspmpeg.DLL)
3) VMR7 (Windowed)
4) please wait :o
Eliminateur
29th December 2011, 04:33
what's the difference between chosing libfaad2 or libavcodec for AAC?
or libmad/libavcodec for mp3/2/1 for that matter as well
haruhiko_yamagata
29th December 2011, 07:38
3) VMR7 (Windowed)
Thanks. That's it. In the MPC-HC's video renderers, VMR9 renderless or later (in the order listed in dialog box) works, others do not. I'll look into it.
haruhiko_yamagata
29th December 2011, 08:17
@Midzuki
fixed at rev 4029. When I coded rev 4203, I replaced rcSource with rcTarget. At that time, I missed one.:stupid:
ryrynz
29th December 2011, 11:13
He meant 4209 ^_^
Midzuki
29th December 2011, 13:40
Yay, r4210 is working as it should :)
:thanks: :thanks: :thanks: :thanks: :thanks:
adam777
29th December 2011, 16:40
Hello all,
A quick question - I'm using FFDShow in raw mode, only in order to utilize the matrix function.
When the filter is inserted between LAV audio that takes care of the decoding and the audio renderer, is the channel conversion "lossless"?
Meaning, if LAV audio is passing, for example, a 5.1 32 bit FP audio, FFDShow will just send the channels according to the matrix in order to make it 2.0 but keep the data 32 bit FP without any further modification (aside from volume level and normalization, should I chose the latter)?
Same goes for any other format (16 bit etc.).
Thanks, Adam.
NiFa
30th December 2011, 06:05
Hey.
I have feature request, not sure if it's possible, but anyway here it is.
Is it possible to get "night mode" to audio decoder? I mean, could we have options to set how audio decoder handles multichannel tracks at specified time at day, lets say like 22.00-6.00.
There could be options like, mix LFE to front speakers, dynamic compression, time when night mode is used. Other way could be possibility to set in preset settings a time when specified profile should be used.
This feature would be great for night use because, it would be automatic so you won't have to manually disable LFE or shut the subwoofer off, because at example in my receiver (RX-V757) doesn't have possibility to turn subwoofer off.
_xxl
31st December 2011, 10:24
Happy New Year !
Sebastiii
31st December 2011, 10:25
Happy New Year too :)
EpsilonX
1st January 2012, 12:03
Happy New Year all...
And unfortunately, a bug report... :D
MadVR Macrovision error with DVD, ZoomPlayer 8...
It seems it only affects ICL12 build, all generic (MSVC2010) build works fine...
Latest working build from XvidVideo.ru was rev4185, and broken in the next rev4191...
Looking at the commit logs, maybe 4186/4188..? :rolleyes:
Thanx...
ryrynz
1st January 2012, 23:57
Has anyone benchmarked Quick Sync vs LAV CUVID?
nevcairiel
2nd January 2012, 08:09
Quick Sync is faster because Intels Hardware Decoder is just faster, however for playback that rarely matters. :p
dann23
2nd January 2012, 12:42
@nev
do you plan to implement quick sync in lav?
haruhiko_yamagata
3rd January 2012, 03:46
Happy New Year all...
And unfortunately, a bug report... :D
MadVR Macrovision error with DVD, ZoomPlayer 8...
It seems it only affects ICL12 build, all generic (MSVC2010) build works fine...
Latest working build from XvidVideo.ru was rev4185, and broken in the next rev4191...
Looking at the commit logs, maybe 4186/4188..? :rolleyes:
Thanx...
ICL or MSVC is not relevant. Both does not work for me. A debug build by MSVC works though. It is random. It is more related to madVR. I'm not sure but not likely a bug of ffdshow.
betaking
3rd January 2012, 05:54
rev.4218 compile failed
1>c:\ffdshow\src\codecs\intelquicksyncdecoder\src\quicksyncutils.h(149): error C2220: 警告被视为错误 - 没有生成“object”文件
1>c:\ffdshow\src\codecs\intelquicksyncdecoder\src\quicksyncutils.h(149): warning C4714: 标记为 __forceinline 的函数“struct std::pair<struct QsFrameData,class CQsAlignedBuffer *> __thiscall CQsThreadSafeQueue<struct std::pair<struct QsFrameData,class CQsAlignedBuffer *> >::Pop(void)”未内联
1>c:\ffdshow\src\codecs\intelquicksyncdecoder\src\quicksyncutils.h(149): warning C4714: 标记为 __forceinline 的函数“struct std::pair<struct QsFrameData,class CQsAlignedBuffer *> __thiscall CQsThreadSafeQueue<struct std::pair<struct QsFrameData,class CQsAlignedBuffer *> >::Pop(void)”未内联
1>c:\ffdshow\src\codecs\intelquicksyncdecoder\src\quicksyncutils.h(149): warning C4714: 标记为 __forceinline 的函数“struct std::pair<struct QsFrameData,class CQsAlignedBuffer *> __thiscall CQsThreadSafeQueue<struct std::pair<struct QsFrameData,class CQsAlignedBuffer *> >::Pop(void)”未内联
1>c:\ffdshow\src\codecs\intelquicksyncdecoder\src\quicksyncutils.h(149): warning C4714: 标记为 __forceinline 的函数“struct std::pair<struct QsFrameData,class CQsAlignedBuffer *> __thiscall CQsThreadSafeQueue<struct std::pair<struct QsFrameData,class CQsAlignedBuffer *> >::Pop(void)”未内联
1>已完成生成项目“C:\ffdshow\src\codecs\IntelQuickSyncDecoder\IntelQuickSyncDecoder.vcxproj”(build 个目标)的操作 - 失败。
生成失败。
egur
3rd January 2012, 08:10
Why do I see it here then (Intel CPU without Intel GPU)?
Should be fixed at 4217. Added check for SSE4.1 as well as existance of either driver or Media SDK SW DLL (beta4) for devs.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.