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.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st March 2010, 10:31   #10961  |  Link
ikarad
Registered User
 
Join Date: Apr 2008
Posts: 546
Quote:
Originally Posted by Andy o View Post
What player are you using? If MPC-HC, have you tried disabling the MPC-HC sub renderer? (uncheck auto load subtitles).
I use mpc-hc
With or without use of sub renderer of mpc-hc, there are crashs.
It's a bug of sub renderer of ffdshow because when bluray subs from ffdshow are disabled there is no crash.
ikarad is offline   Reply With Quote
Old 1st March 2010, 20:46   #10962  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
@All : please precise which version you are using and especially :

1/ DXVA Mode or software mode
2/ which colorspace is set in output

Thanks

About green picture issue : it was a workaround to YV12 crash (used in DXVA) but I reverted it in revision 3298

Ikarad : can you try again with rev 3298
I don't reproduce your crashes in RGB32 (neither in other colorspaces), I would be interested in a sample

Last edited by albain; 1st March 2010 at 20:48.
albain is offline   Reply With Quote
Old 1st March 2010, 21:29   #10963  |  Link
ikarad
Registered User
 
Join Date: Apr 2008
Posts: 546
Quote:
Originally Posted by albain View Post
@All : please precise which version you are using and especially :

1/ DXVA Mode or software mode
2/ which colorspace is set in output

Thanks

About green picture issue : it was a workaround to YV12 crash (used in DXVA) but I reverted it in revision 3298

Ikarad : can you try again with rev 3298
I don't reproduce your crashes in RGB32 (neither in other colorspaces), I would be interested in a sample
Where can I download rev 3298 because in xvidvideo.ru there is only rev3295?

As I said before, I have crash only when I select blu ray subtitle renderer of ffdshow. If I don't select it, there is no crash.
I don't use dxva and I use ffmpeg-mt with yuy 2. I test with YV12, NV12 or RGB32, thre are the same crashs.

For the sample, it's the same as I give you before.
part 1
http://www.zshare.net/info.html?7219...12ca4e70f4959e
part2
http://www.zshare.net/info.html?7222...cb0c45e37239c1
part3
http://www.zshare.net/info.html?7222...fa215e89fcfdf2

part 4
http://www.zshare.net/info.html?7287...1fac7d6620cda5

part 5
http://www.zshare.net/info.html?7289...835142beff854c
part 6
http://www.zshare.net/info.html?7290...3fe6974fb1237c

partie 7
http://www.zshare.net/info.html?7215...a94c0fc61987f5
ikarad is offline   Reply With Quote
Old 1st March 2010, 22:07   #10964  |  Link
ikarad
Registered User
 
Join Date: Apr 2008
Posts: 546
I find a problem with resize filter and subtitle render of mpc-hc (I think it's a problem but I'm not sure)

With resize filter subs are displayed uncorrectly in fullscreen mode (some are cut, see the first and second subs)


Without resize filter subs are displayed correctly


parameters of resize filter that I use



Is it normal or is it a problem? Maybe I have select the wrong options but I don't know.

And if it's a problem is it possible to correct it?

update: If I use specify vertical and horizontal size option , there is the same problem


Although, if I use specify horizontal size, there is no problem


What are the differences between these options because I don't understand? What is the better option?

Last edited by ikarad; 1st March 2010 at 22:29.
ikarad is offline   Reply With Quote
Old 1st March 2010, 22:59   #10965  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
It depends on the subtitles : if you have ASS/SSA/VOBSUB/PGS subtitles with the position set, then coordinates are calculated proportionnaly between oldsize/old positions/new size (after resize)

If these are simple subtitles (srt), then the position is calculated according to the vertial/horizontal position of the subtitles in the subtitles section


So in the first case the subtitles can go out of the screen if you resize the filter.

However there is an option for ASS/ASS subs to maintain them inside the picture.
For PGS it is always done. For vobsub I don't know, I didn't code that part

This is weird that I don't reproduce your crashes (with your sample)
albain is offline   Reply With Quote
Old 2nd March 2010, 08:46   #10966  |  Link
ikarad
Registered User
 
Join Date: Apr 2008
Posts: 546
Quote:
Originally Posted by albain View Post
It depends on the subtitles : if you have ASS/SSA/VOBSUB/PGS subtitles with the position set, then coordinates are calculated proportionnaly between oldsize/old positions/new size (after resize)

If these are simple subtitles (srt), then the position is calculated according to the vertial/horizontal position of the subtitles in the subtitles section


So in the first case the subtitles can go out of the screen if you resize the filter.

However there is an option for ASS/ASS subs to maintain them inside the picture.
For PGS it is always done. For vobsub I don't know, I didn't code that part

This is weird that I don't reproduce your crashes (with your sample)
Thanks, I find it's ass (thanks to Mike5)



If not where is this option that you told?
Quote:
However there is an option for ASS/ASS subs to maintain them inside the picture.
is it in ffdshow or in mpc-hc? and where because I don't find?

For your crashes, you speak about rev3298 but I don't find this rev. I think it's strange because before this problem I never had a crash with ffdshow and these crashs are with vista and xp sp3. Do you use mpc-hc? and if yes which version because I could try?

Edit: I have tried different versions of ffdshow and I notice that until rev3274 there is no crash with use of sub-renderer of mpc-hc but since rev3277 there is crash even if I don't select bluray subtitle
from ffdshow. If I use mpc-hc sub renderer there is crash only since rev 3277 and I use rgb32.
I I select bluray subs from ffdshow after desactivating sub renderer from mpc-hc thre is crash. If I select bluray subs renderer from ffdshow withtout desactivating sub renderer from mpc-hc there is crash. But when mpc-hc doesn't crash (It can arrive but it's very rare), there is no crash until the end of the movie.

annother question: Maybe I misunderstand but your support it's fot integrated and separated bluray subs or just for separated bluray subs?


my parameters under mpc-hc 1680. I try different version of mpc-hc and there is the same problem since ffdshow 3277







my parameters under ffdshow






PC:
Q6600
gtx280
xp sp3 or vista 32 : same problem.
xfi titanium (last driver)
dx last version (feb 2010)

Last edited by ikarad; 2nd March 2010 at 10:03.
ikarad is offline   Reply With Quote
Old 2nd March 2010, 09:13   #10967  |  Link
tal.aloni
Registered User
 
Join Date: Sep 2008
Posts: 496
Albain,
rev. 3298 hasn't been commited yet.
tal.aloni is offline   Reply With Quote
Old 2nd March 2010, 09:14   #10968  |  Link
Mike5
Registered User
 
Join Date: Feb 2007
Location: Palermo (Italy)
Posts: 67
Quote:
Originally Posted by ikarad View Post
Thanks, I don't know if it's a ssa or srt subtitle because subs are in a mkv file.
Use MediaInfo.
Mike5 is offline   Reply With Quote
Old 2nd March 2010, 09:36   #10969  |  Link
ikarad
Registered User
 
Join Date: Apr 2008
Posts: 546
Quote:
Originally Posted by Mike5 View Post
Thanks
I find, it's ass
ikarad is offline   Reply With Quote
Old 2nd March 2010, 11:23   #10970  |  Link
mike23
Registered User
 
Join Date: May 2003
Posts: 107
When should I select ffdshow and when not?

When I drag an *.avi movie onto Media PlayerClassic HomeCinema (=not the MS player !) then a popup appears prompting the user for ffdshow options e.g.
"Don't use ffdshow" or use ffdshow".

What should I answer here?

When is it recommended to use ffdshow and when not?

What are the pros and cons of ffdshow?

What is used otherwise?

Assume I click "Don't ask me again": How can I later change this option?
mike23 is offline   Reply With Quote
Old 2nd March 2010, 14:28   #10971  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
If the pop-up displays in a player like Media Player Classic, then you should choose to use ffdshow.
If it pops up in a game then choose to not use ffdshow.
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 2nd March 2010, 14:30   #10972  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
@ Albain & Tal

Could one of you look at this issue:
http://ffdshow-tryout.sourceforge.ne...pic.php?t=1388
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 2nd March 2010, 16:41   #10973  |  Link
tal.aloni
Registered User
 
Join Date: Sep 2008
Posts: 496
Quote:
Originally Posted by clsid View Post
Could one of you look at this issue
OK,
I'll try to assist.
tal.aloni is offline   Reply With Quote
Old 2nd March 2010, 20:39   #10974  |  Link
Gleb Egorych
Registered User
 
Join Date: Aug 2008
Posts: 231
tal.aloni, please test new 196.75 driver if it fixed the problem with DXVA specs violation:
http://forums.nvidia.com/index.php?showtopic=159813

XP drivers are here:
http://www.nvidia.com/object/winxp_196.75_whql.html
http://www.nvidia.com/object/winxp64_196.75_whql.html

Last edited by Gleb Egorych; 2nd March 2010 at 20:42.
Gleb Egorych is offline   Reply With Quote
Old 2nd March 2010, 22:07   #10975  |  Link
tal.aloni
Registered User
 
Join Date: Sep 2008
Posts: 496
Quote:
Originally Posted by Gleb Egorych View Post
tal.aloni, please test new 196.75 driver if it fixed the problem with DXVA specs violation
Thanks for letting me know,
it does fix the violations!

Last edited by tal.aloni; 2nd March 2010 at 22:33.
tal.aloni is offline   Reply With Quote
Old 2nd March 2010, 22:43   #10976  |  Link
hoborg
Registered User
 
Join Date: Nov 2008
Posts: 454
Hi.
Looks like there are some problems with DXVA in latest FFDShow x86 (tested on 3292 and 3297) - every 3-4s there is glitch like bad frame order, and video will freeze after few of such glitches.
Tested in Graphstudio, splitted by haali spliter, Win7x64.
No problem on rev.3259.
__________________
Working machine: Win10x64 + Intel Skull Canyon
My HTPC.

How to start with Bitcoin
hoborg is offline   Reply With Quote
Old 2nd March 2010, 22:48   #10977  |  Link
tal.aloni
Registered User
 
Join Date: Sep 2008
Posts: 496
hoborg,
just noticed it as well.

Last edited by tal.aloni; 2nd March 2010 at 22:50.
tal.aloni is offline   Reply With Quote
Old 2nd March 2010, 23:16   #10978  |  Link
Gleb Egorych
Registered User
 
Join Date: Aug 2008
Posts: 231
Quote:
Originally Posted by tal.aloni View Post
Thanks for letting me know,
it does fix the violations!
Thanks! BTW this driver fixes several very old and annoying bugs related to VMR9.
Gleb Egorych is offline   Reply With Quote
Old 2nd March 2010, 23:46   #10979  |  Link
tal.aloni
Registered User
 
Join Date: Sep 2008
Posts: 496
hoborg, the issue is introduced with rev. 3288,
I'm looking into it.
tal.aloni is offline   Reply With Quote
Old 3rd March 2010, 09:11   #10980  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by Maccara View Post
"hack" which makes it compilable:
Code:
diff --git a/swscale_template.c b/swscale_template.c
index bbd9a1f..45e0ca5 100644
--- a/swscale_template.c
+++ b/swscale_template.c
@@ -2497,7 +2497,7 @@ static inline void RENAME(hcscale_fast)(SwsContext *c, int16_t *dst,
 /* GCC 3.3 makes MPlayer crash on IA-32 machines when using "g" operand here,
 which is needed to support GCC 4.0. */
 #if ARCH_X86_64 && AV_GCC_VERSION_AT_LEAST(3,4)
-            :: "m" (src1), "m" (dst), "g" (dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
+            :: "m" (src1), "m" (dst), "g" ((x86_reg)dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
 #else
             :: "m" (src1), "m" (dst), "m" (dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
 #endif
This was posted to ffmpeg devel (don't remember by who) and dismissed promptly (don't care by who). Haven't seen anything else regarding this since, but works for me, so I have no idea why it was not an acceptable patch.

(probably because it will cause problems with some compilers, but works ok with mingw64 4.4.3, though, so I don't give a damn)

I'm not at all familiar with the swscale code, so I'm not sure if that is a completely valid patch, but you might want to evaluate it and try to push it forward if it seems ok. Also, I have no idea if there are other problems still.
Thanks, compilation works now
albain is offline   Reply With Quote
Reply

Tags
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:23.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.