View Full Version : ffdshow tryouts project: Discussion & Development
onomatopellan
5th March 2010, 18:48
Thanks there is no crash
Where can I download rev 3307?
You always can download the latest rev here. (thanks to xhmikosr)
http://www.mediafire.com/?sharekey=3f33c77c2cf9ce25ab1eab3e9fa335ca95e79d7d0540e1e1
ikarad
5th March 2010, 18:53
You always can download the latest rev here. (thanks to xhmikosr)
http://www.mediafire.com/?sharekey=3f33c77c2cf9ce25ab1eab3e9fa335ca95e79d7d0540e1e1
I tried rev3307 and It crash anew with YUY2.
with rev 3306 there is no crash.
albain
5th March 2010, 18:57
Also the build that I posted hold the new ffmpeg libraries that are unstable, so that (probably) explains the crashes you get
Please test again with regular builds.
About ffmpeg libs : I'll try to digg this around but this is difficult as long as I can't debug them.
There may be conversion methods that I didn't import, or a few things that I missed during the merge.
If there are candidates to this, here is the last patch (works on both 32 & 64 bits) :
http://damienbt.free.fr/ffdshow_ffmpeglibs_update2.patch
ikarad
5th March 2010, 19:04
With rev3306 it works well withtout any crash (edit: I had one crash with rev3306) but there are some problems with subtitles in the sample that i give you before.
1) some subs aren't displayed.
for example this sub is not displayed
148
00:10:09,692 --> 00:10:13,445
such speed, for such a large mass,
is quite unusual.
other example: between 10min34s and 10min 40 there is voice and no subtitle
2) Some subtitles appear with a time delay after the voice.
example, this subtitle appears with 1-2 seconds later
124
00:08:27,381 --> 00:08:28,590
Passing through the scorching sunshine
Storyvoards and Settings vy: Shinji Higuchi
3) some subtitles disappeared with a time delay
1
00:00:09,050 --> 00:00:12,720
'"2015 A.D. Perseus Arm, Milky Way Galaxy
(12,000 arsecs from Earth)'"
this sub must disappear at 12 seconds and in movie it disappears at 14 seconds.
I give you subtitle file extracted from bluray with suprip (there isn't all subs because ocr with suprip is not perfect)
http://www.zshare.net/info.html?73050006-7d75d90afaea102f4d92066e73874fde
sup file
http://www.zshare.net/info.html?73352376-976374543601cacbaa498463343cacfe
file containing image of all subs (extracted with suprip)
http://www.zshare.net/info.html?73352325-2a933698e98fb8caad63561bdd298763
example
part 1
http://www.zshare.net/info.html?72194780-3f3de5a523000d960412ca4e70f4959e
part2
http://www.zshare.net/info.html?72228704-870148d21c7371e7a2cb0c45e37239c1
part3
http://www.zshare.net/info.html?72228942-da539adec6856595c9fa215e89fcfdf2
part 4
http://www.zshare.net/info.html?72879609-e7005b47f97bd593cc1fac7d6620cda5
part 5
http://www.zshare.net/info.html?72894035-f4d916b0cbd3fbf999835142beff854c
part 6
http://www.zshare.net/info.html?72901975-036b32dfe47b4378533fe6974fb1237c
partie 7
http://www.zshare.net/info.html?72152693-cff6f6453a85c6f497a94c0fc61987f5
tal.aloni
5th March 2010, 20:24
albain,
v2 of the patch does not include the new files, only the modifications.
the build you posted based on v2 works well for me.
JarrettH
5th March 2010, 20:30
What should I do to confirm dxva is working in ffdshow? I've ticked off h264 in the dxva dialogue so far and am using ffmpeg-mt for the h264 decoder. Does a new tray icon for dxva video appear? Does it only work with EVR?
Running Windows 7, 7600 GT, ffdshow rev 3305, 196.21 drivers
??? :thanks:
albain
5th March 2010, 21:10
albain,
v2 of the patch does not include the new files, only the modifications.
the build you posted based on v2 works well for me.
Sorry, here is the new link
http://damienbt.free.fr/ffdshow_ffmpeglibs_update3.patch
and thanks for looking at it
And me too, I can't reproduce the crashes. Maybe I wronly compiled it...
onomatopellan
5th March 2010, 21:20
??? :thanks:
You should see this when dxva ffdshow is working. And yes, it only works with EVR in Vista/7
http://i49.tinypic.com/dg5v6x.png
onomatopellan
5th March 2010, 21:47
I have discovered with reliability monitor the reason of my crash with rev 3307. The fail module is libmplayer.dll
With output NV12 or YUY2 If Smoothing method for Bluray subs is "swscaler gaussian" then mpc-hc crash. If I select 'None','aproximate' or 'full' then it works. Output color (except rgb32) is still not good, color in rgb32 is good but it has some pixels on the top of the sub. example:
RGB32 output
http://i45.tinypic.com/2iizvkk.png
YUY2 output
http://i45.tinypic.com/2ikzll5.png
NV12 output (DXVA)
http://i45.tinypic.com/c3mup.png
tal.aloni
5th March 2010, 22:52
I have discovered with reliability monitor the reason of my crash with rev 3307. The fail module is libmplayer.dll
this is solved with albain v3 patch, IMO, it's stable enough to commit, this is the right direction.
(STaRGaZeR, could not recreate any of your crashes with my v3 build: http://iknowu.net/files/public/ffdshow/ffdshow_rev3307_20100305_dbt_.exe )
Output color (except rgb32) is still not good, color in rgb32 is good but it has some pixels on the top of the sub.
it's actually a complete single line, probably a tiny bug, it doesn't affect stability.
some colorspace conversion makes it break into several lines.
onomatopellan
5th March 2010, 23:25
Thanks tal.aloni. Indeed my crash disappeared with your v3 build. :D
STaRGaZeR
6th March 2010, 00:13
this is solved with albain v3 patch, IMO, it's stable enough to commit, this is the right direction.
(STaRGaZeR, could not recreate any of your crashes with my v3 build: http://iknowu.net/files/public/ffdshow/ffdshow_rev3307_20100305_dbt_.exe )
Weird, there must be something in my config that it's making it crash because a fresh installation of that build works fine. I'll try to find what's happening.
EDIT: Found it. When using default settings everything is OK. However, try to select Lanczos as the resizer and then change the number of taps. It'll crash on you with the libav error. Luma and chroma sharpen sliders don't work either. Actually "luma gaussian blur" is doing everything except blurring, I think that's actually the effect of luma sharpening. Are you sure these sliders work as they should after the patch?
albain
6th March 2010, 00:37
Weird, there must be something in my config that it's making it crash because a fresh installation of that build works fine. I'll try to find what's happening.
EDIT: Found it. When using default settings everything is OK. However, try to select Lanczos as the resizer and then change the number of taps. It'll crash on you with the libav error. Luma and chroma sharpen sliders don't work either. Actually "luma gaussian blur" is doing everything except blurring, I think that's actually the effect of luma sharpening. Are you sure these sliders work as they should after the patch?
You're right, I reproduce the crash.
The sliders should work and bring visible results
I'll have a look....after some sleeping
STaRGaZeR
6th March 2010, 01:29
Cool!
Have you guys seen that ffmpeg now decodes Bink video? :D
EDIT: clsid, with the lastest mingw64 (20100305) libavcodec vorbis works in x64.
DigitalDeviant
6th March 2010, 04:16
OK I tested the subtitle changes with 3307.
Blu-ray:
Still an issue with multiple subtitles
http://img534.imageshack.us/img534/2066/wb1.th.png (http://img534.imageshack.us/i/wb1.png/)
Sample (http://www.mediafire.com/?vthz5wtkihz)
DVD:
Subtitles are discolored.
Good
http://img13.imageshack.us/img13/316/gs2good.th.png (http://img13.imageshack.us/i/gs2good.png/)
Bad
http://img38.imageshack.us/img38/9990/gs2bad.th.png (http://img38.imageshack.us/i/gs2bad.png/)
dann23
6th March 2010, 07:02
Cool!
Have you guys seen that ffmpeg now decodes Bink video? :D
EDIT: clsid, with the lastest mingw64 (20100305) libavcodec vorbis works in x64.
how to use ffdshow to decode bink video?
albain
6th March 2010, 09:54
It crashes because of this :
swScaler: Exactly one scaler algorithm must be chosen
As a result the context is NULL. I am working on it
ikarad
6th March 2010, 10:27
With RGB 32, There are some problems with subtitles.
some subtitles are cut
example in this screen: the last word is cut
http://nsa13.casimages.com/img/2010/02/26/mini_100226113716480529.jpg (http://www.casimages.com/img.php?i=100226113716480529.jpg)
example of video that I give the page before
part 1
http://www.zshare.net/info.html?72194780-3f3de5a523000d960412ca4e70f4959e
part2
http://www.zshare.net/info.html?72228704-870148d21c7371e7a2cb0c45e37239c1
part3
http://www.zshare.net/info.html?72228942-da539adec6856595c9fa215e89fcfdf2
part 4
http://www.zshare.net/info.html?72879609-e7005b47f97bd593cc1fac7d6620cda5
part 5
http://www.zshare.net/info.html?72894035-f4d916b0cbd3fbf999835142beff854c
part 6
http://www.zshare.net/info.html?72901975-036b32dfe47b4378533fe6974fb1237c
partie 7
http://www.zshare.net/info.html?72152693-cff6f6453a85c6f497a94c0fc61987f5
https://sourceforge.net/tracker/?func=detail&aid=2959562&group_id=173941&atid=867360
There is the same problem with rev 3307 with patch v3.
With rev3306 it works well withtout any crash (edit: I had one crash with rev3306) but there are some problems with subtitles in the sample that i give you before.
1) some subs aren't displayed.
for example this sub is not displayed
148
00:10:09,692 --> 00:10:13,445
such speed, for such a large mass,
is quite unusual.
other example: between 10min34s and 10min 40 there is voice and no subtitle
2) Some subtitles appear with a time delay after the voice.
example, this subtitle appears with 1-2 seconds later
124
00:08:27,381 --> 00:08:28,590
Passing through the scorching sunshine
Storyvoards and Settings vy: Shinji Higuchi
3) some subtitles disappeared with a time delay
1
00:00:09,050 --> 00:00:12,720
'"2015 A.D. Perseus Arm, Milky Way Galaxy
(12,000 arsecs from Earth)'"
this sub must disappear at 12 seconds and in movie it disappears at 14 seconds.
I give you subtitle file extracted from bluray with suprip (there isn't all subs because ocr with suprip is not perfect)
http://www.zshare.net/info.html?73050006-7d75d90afaea102f4d92066e73874fde
sup file
http://www.zshare.net/info.html?73352376-976374543601cacbaa498463343cacfe
file containing image of all subs (extracted with suprip)
http://www.zshare.net/info.html?73352325-2a933698e98fb8caad63561bdd298763
example
part 1
http://www.zshare.net/info.html?72194780-3f3de5a523000d960412ca4e70f4959e
part2
http://www.zshare.net/info.html?72228704-870148d21c7371e7a2cb0c45e37239c1
part3
http://www.zshare.net/info.html?72228942-da539adec6856595c9fa215e89fcfdf2
part 4
http://www.zshare.net/info.html?72879609-e7005b47f97bd593cc1fac7d6620cda5
part 5
http://www.zshare.net/info.html?72894035-f4d916b0cbd3fbf999835142beff854c
part 6
http://www.zshare.net/info.html?72901975-036b32dfe47b4378533fe6974fb1237c
partie 7
http://www.zshare.net/info.html?72152693-cff6f6453a85c6f497a94c0fc61987f5
There is the same problem with rev 3307 with patch v3.
albain
6th March 2010, 10:41
I think this is fixed. Please tell me if the filters are working
New build (http://www.mediafire.com/file/nzjymyjtnjd/ffdshow_rev3307_20100306_dbt_newlibs_beta2.exe)
Patch v4 (http://www.mediafire.com/file/jdmfzqgnkke/ffdshow_ffmpeglibs_update4.patch)
dann23
6th March 2010, 11:32
I see now that ffmpeg supports bink and indeo 5 formats. Will ffdshow support this?
roozhou
6th March 2010, 14:50
I see now that ffmpeg supports bink and indeo 5 formats. Will ffdshow support this?
There's no working DShow bink splitter.
And there are more. e.g. cook, wmapro, monkey audio...
albain
6th March 2010, 16:33
The current bluray parser is buggy.
This subtitles format is a real pain !
I know what should be done but I would like to speed up my work by getting source code from existing and working bluray parsers.
I'll let you know
STaRGaZeR
6th March 2010, 17:38
I think this is fixed. Please tell me if the filters are working
New build (http://www.mediafire.com/file/nzjymyjtnjd/ffdshow_rev3307_20100306_dbt_newlibs_beta2.exe)
Patch v4 (http://www.mediafire.com/file/jdmfzqgnkke/ffdshow_ffmpeglibs_update4.patch)
These issues are still present, I've used a fresh install of ffdshow with everything at default values, just enabling each filter:
- The sliders issue in Resize is still present: luma gaussian blur controls luma sharpen instead, luma sharpen does nothing and can crash the player if you constantly move it, etc.
- ffmpeg deinterlacers like 5-tap lowpass, libav crash.
- Postprocessing, same as above. Funny thing is, it crashes with Xvid videos, not with H.264 material.
- Sharpen, everything works OK except swscaler, the black screen is gone but it doesn't do anything.
- In Blur, libavcodec error again when using mplayer temporal noise reducer.
- Luminance level fix in Picture properties, libavcodec crash.
These have been fixed:
- swscaler gaussian blur in Blur.
- Levels.
albain
6th March 2010, 18:28
These issues are still present, I've used a fresh install of ffdshow with everything at default values, just enabling each filter:
- The sliders issue in Resize is still present: luma gaussian blur controls luma sharpen instead, luma sharpen does nothing and can crash the player if you constantly move it, etc.
- ffmpeg deinterlacers like 5-tap lowpass, libav crash.
- Postprocessing, same as above. Funny thing is, it crashes with Xvid videos, not with H.264 material.
- Sharpen, everything works OK except swscaler, the black screen is gone but it doesn't do anything.
- In Blur, libavcodec error again when using mplayer temporal noise reducer.
- Luminance level fix in Picture properties, libavcodec crash.
These have been fixed:
- swscaler gaussian blur in Blur.
- Levels.
Oh yes, I messed up. I am fixing it
ikarad
6th March 2010, 21:02
The current bluray parser is buggy.
This subtitles format is a real pain !
I know what should be done but I would like to speed up my work by getting source code from existing and working bluray parsers.
I'll let you know
Good luck and I hope a perfect support of blu ray subs as soon as possible.
albain
7th March 2010, 09:43
I think that everything is fixed : libswscale and bluray subtitles thanks to Supread creator
New patch (http://damienbt.free.fr/ffdshow_ffmpeglibs_update5.patch)
New build (http://damienbt.free.fr/ffdshow_rev3307_20100306_dbt_newlibs_beta3.exe)
EDIT : there is still this problem with bluray subtitles using YUV colorspaces. I can't find why they are half-transparent
onomatopellan
7th March 2010, 11:13
Thanks albain! Now loading of external .sup subtitles with ffdshow would be very convenient for test and compare it with SUPread. Is this possible?
Also there still is the problem with line of pixels on the top of subtitles. They look perfect on SUPread.
http://forum.doom9.org/showthread.php?p=1380370#post1380370
Gleb Egorych
7th March 2010, 12:02
ForceWare 196.75 alert (http://www.nvidia.com/Download/index.aspx?lang=en-us)
We are aware that some customers have reported fan speed issues with the latest 196.75 WHQL drivers on NVIDIA.com. Until we can verify and root cause this issue, we recommend that customers do not download this driver. Instead, please stay with, or return to 196.21 WHQL drivers. Release 196.75 drivers have been temporarily removed from our website and we also are asking our partners and others to remove temporarily this 196.75 WHQL driver as well.
So it's safer to revert back to 196.21 WHQL or 196.34 beta.
DigitalDeviant
7th March 2010, 14:05
I think that everything is fixed : libswscale and bluray subtitles thanks to Supread creator
New patch (http://damienbt.free.fr/ffdshow_ffmpeglibs_update5.patch)
New build (http://damienbt.free.fr/ffdshow_rev3307_20100306_dbt_newlibs_beta3.exe)
EDIT : there is still this problem with bluray subtitles using YUV colorspaces. I can't find why they are half-transparent
It's still not working correctly with the multiple subtitle sample I posted. Both subtitles show completely now but not correctly positioned. They both appear at the top of the screen where the first is supposed to display and the first only displays for a split second until the second shows. The second subtitle should show at the bottom of the screen.
albain
7th March 2010, 14:06
I have fixed the crashing issue with DXVA + Fast forward/rewind.
The problem were reported to me while using media control and Haali splitter
@DigitalDeviant : okay, I think I know where it comes from. I think I take the placements for the next or previous subtitles. I already made this mistake at the beginning.
I am also interested in feedbacks using the FFDShow filters with the new libraries from my test build
Thanks
anto
7th March 2010, 14:46
Hi all,
I actually want to add PTS DTS on OSD Display.
Ca anybody could help me on how to deal with.
I've seen that PTS on Output are implemented in last versions of FFMPEG.
Thanks.
STaRGaZeR
7th March 2010, 16:29
I think that everything is fixed : libswscale and bluray subtitles thanks to Supread creator
New patch (http://damienbt.free.fr/ffdshow_ffmpeglibs_update5.patch)
New build (http://damienbt.free.fr/ffdshow_rev3307_20100306_dbt_newlibs_beta3.exe)
EDIT : there is still this problem with bluray subtitles using YUV colorspaces. I can't find why they are half-transparent
These issues are still present, like before I've used a fresh install of ffdshow with everything at default values, just enabling each filter:
- The sliders issue in Resize is still present: luma and chroma gaussian blur now work, but parameter, luma and chroma sharpen don't.
- ffmpeg deinterlacers like 5-tap lowpass, libav crash.
- Postprocessing, same as above.
- Sharpen, everything works OK except swscaler, the sliders and the filter itself do nothing.
- In Blur, libavcodec error again when using mplayer temporal noise reducer.
- Luminance level fix in Picture properties, libavcodec crash.
albain
7th March 2010, 22:53
Yes there is indeed some work left
ffmpeg scaler is not designed to handle different resize methods and values for luma and chroma so the ffdshow custom code breaks many things from the original code.
I am trying to put the pieces together : I now understand better how it works, I can see the end of the tunnel
Man, next time I'll do some translations, that's all lol
I don't know why I put myself into this situation lol
STaRGaZeR
8th March 2010, 01:49
You know we all love your work :D
Mr VacBob
8th March 2010, 07:43
Interesting changes should be submitted upstream so you don't have to maintain them ;)
anto
8th March 2010, 09:31
Hello,
I'm expecting just for little information, not a complete solution
I'm just expecting some help from anyone to find the Presentation Time Stamp in ffdshow because I've not found yet a valid PTS.
hoborg
8th March 2010, 10:10
Hi.
Just small question - is it normal that FFDshow reporting NV21 output instead of NV12 durning MPEG-2i decoding?
tal.aloni
8th March 2010, 15:25
Hello,
I'm expecting just for little information, not a complete solution
I'm just expecting some help from anyone to find the Presentation Time Stamp in ffdshow because I've not found yet a valid PTS.
we have "frame timestamp" under OSD.
hoborg
8th March 2010, 16:06
Hi.
Is there a way to use keyboard shortcut to swap between more audio/subtitles track (stream switcher enabled)? I didnt found it in keys and remote...
anto
8th March 2010, 16:17
we have "frame timestamp" under OSD.
I've ever seen it but frame timestamp aren't corresponding with real PTS, and there's no way to deduce PTS from it.
THX-UltraII
8th March 2010, 16:21
what output (for sound) renderer is recommended when you bitstream with the 5xxx series? directsound or the MPC audio renderer? (or another maybe?)
albain
8th March 2010, 17:34
New build with new libs/bluray subtitles support (http://www.mediafire.com/file/mutwkhv4wdd/ffdshow_rev3309_20100308_dbt_newlibs_beta4.exe)
Thank you for your feedbacks
albain
8th March 2010, 19:02
Hi.
Is there a way to use keyboard shortcut to swap between more audio/subtitles track (stream switcher enabled)? I didnt found it in keys and remote...
Which player are you using ?
hoborg
8th March 2010, 19:20
Which player are you using ?
Well, it is not about the player. This feature will alow switch betwen multiple subtitles/audio tracks undepended on player.
For example i use FFDShow on my HTPC based on GB-PVR. There is no support for any track selection in this software, it simply ask DirectShow to play video (like GraphStudio).
But i can map any keyboard shortcut on my remote-so such feture will be perfect solution i think.
_xxl
8th March 2010, 19:24
New build with new libs/bluray subtitles support (http://www.mediafire.com/file/mutwkhv4wdd/ffdshow_rev3309_20100308_dbt_newlibs_beta4.exe)
Thank you for your feedbacks
Cpu usage is very high, no filters enabled by default over 80-90%. Same file uses no more than 30% with normal ffdshow 3309.
Audio part wouldn't even load. Please create a new branch for all big changes in ffdshow. Thanks for your time!:)
albain
8th March 2010, 21:00
Branching doesn't work well, there are two many files
I gave up last time I tried (for HD audio)
I'll post the patch instead : here it is (http://damienbt.free.fr/ffdshow_ffmpeglibs_update6.patch)
I'll move on something else, because here I have no idea why the performances are so low
If someone wants to have a look at it, I think this is better and worth it if we are several to digg into this
libswscale now brings some interesting features (such as alpha scaling)
STaRGaZeR
8th March 2010, 21:52
New build with new libs/bluray subtitles support (http://www.mediafire.com/file/mutwkhv4wdd/ffdshow_rev3309_20100308_dbt_newlibs_beta4.exe)
Thank you for your feedbacks
I don't have any problems with perfomance, it's the same as before. But it's true that ffdshow audio doesn't load with the betas. I didn't mention it because I was testing the filters, but it's there.
- Resize is almost fixed! Bicubic produces green video, but everything else is working!
- ffmpeg deinterlacers like 5-tap lowpass, crash.
- Postprocessing, crash.
- Sharpen, everything works now!
- In Blur, libav error when using mplayer temporal noise reducer.
- Luminance level fix in Picture properties, libav crash.
albain
8th March 2010, 23:00
Well, it is not about the player. This feature will alow switch betwen multiple subtitles/audio tracks undepended on player.
For example i use FFDShow on my HTPC based on GB-PVR. There is no support for any track selection in this software, it simply ask DirectShow to play video (like GraphStudio).
But i can map any keyboard shortcut on my remote-so such feture will be perfect solution i think.
I asked this because some software implement this feature : MPC, media center+media control, media portal...
This should not be very complicated to do inside FFDSHow, the remote control API already holds the methods, this is just the GUI part which is missing
@Stargazer : thanks again for testing
I tested only the resize filter deeply, otherwise the other filters use the scaler but in a basic mode. This is rather libpostproc (which has also been updated) is used. However I didn't experience any crash with those. I'll make some deeper tests tomorrow if I have some time
hoborg
8th March 2010, 23:42
I asked this because some software implement this feature : MPC, media center+media control, media portal...
This should not be very complicated to do inside FFDSHow, the remote control API already holds the methods, this is just the GUI part which is missing
Sounds promising :)
:thanks:
tal.aloni
8th March 2010, 23:51
Cpu usage is very high
I don't have this issue with 'newlibs_beta4.exe', please try to identify the component responsible.
Thanks,
Tal
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.