xiaowan3 / xy-vsfilter

Automatically exported from code.google.com/p/xy-vsfilter
0 stars 0 forks source link

Allow VobSub pre-buffering #63

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
any Vobsub showing Subtitle on Top.

What version of the product are you using?
xy_vsfilter_test_20111119

Please provide any additional information below.
Playback pauses for 1/2sec whenever Subtitle show up on Top of Screen.
it also happens when On Screen Texts show up.

is it because pre-buffer not implemented yet?

Original issue reported on code.google.com by ved_k...@ymail.com on 2 Dec 2011 at 1:23

GoogleCodeExporter commented 9 years ago
Need some more information, and possibly a sample. 

If the sample is over 10MB, please email me a link.

Does this same problem occur with stock VSFilter 2.39 both with pre-buffering 
enabled/disabled?
http://sourceforge.net/projects/guliverkli2/files/DirectShow%20Filters/DirectVob
Sub%202.39/VSFilter_20090624.zip/download

Does this occur with older versions of xy-VSFilter?

To be clear, your issue is a slow-down when multiple VOBSUB (DVD Bitmap 
subtitle) lines are displayed at different locations on the screen?

Original comment by cyber.sp...@gmail.com on 3 Dec 2011 at 1:41

GoogleCodeExporter commented 9 years ago
just compared. No Lag/slowdown at all with stock VSFilter 2.39 :)
just play the OP part in sample
http://www.mediafire.com/?jk6lb83wp0b0066
change your DNS to google DNS access any blocked site
http://www.softpedia.com/get/Internet/Other-Internet-Related/Google-DNS-Helper.s
html
Google DNS helped me access lots of Blocked File host sites

>To be clear, your issue is a slow-down when multiple VOBSUB (DVD Bitmap 
subtitle) >lines are displayed at different locations on the screen?

probably. is it due to xy-vsfilter renders bitmaps in series?

Original comment by ved_k...@ymail.com on 3 Dec 2011 at 7:02

GoogleCodeExporter commented 9 years ago
So there is no lag in VSFilter 2.39 with pre-buffer subpictures disabled?

I can't reproduce the problem on my system. CPU load is near-identical between 
VSFilter 2.39 and xy-VSFilter without any lag while playing that sample.

I'll need to check with YuZhuoHuang, since I wasn't aware that any changes had 
been made to the VOBSUB code compared to stock VSFilter. It could just be a 
matter of different compiler optimizations, I really don't know.

A new build will be posted within the next 24 hours to the download section. No 
changes related to this issue were made, but please confirm if the issue still 
exists in the new build.

Original comment by cyber.sp...@gmail.com on 3 Dec 2011 at 12:37

GoogleCodeExporter commented 9 years ago
Checked VSFilter 2.39 Stock again
Pre-Buffer Subpic Disabled = Lag :(
Pre-Buffer Subpic Enabled = No Lag :)

Original comment by ved_k...@ymail.com on 3 Dec 2011 at 12:58

GoogleCodeExporter commented 9 years ago
OK, that makes sense now. 

We'll look into re-enabling pre-buffering for VOBSUB-only, but it still may be 
a couple months until we get around to it.

Original comment by cyber.sp...@gmail.com on 3 Dec 2011 at 1:51

GoogleCodeExporter commented 9 years ago
enabling pre-buffering for ASS would be better too
as it also lags almost same way only at Anime OP/ED part although less
compared to Vobsub

Original comment by ved_k...@ymail.com on 3 Dec 2011 at 2:01

GoogleCodeExporter commented 9 years ago
Re-enabling the existing VSFilter 2.39 pre-buffering code for VOBSUB-only 
should be a relatively easy and straightforward process. That is the only 
reason it was accepted so readily.

Original comment by cyber.sp...@gmail.com on 3 Dec 2011 at 4:01

GoogleCodeExporter commented 9 years ago
will it cause some serious problem if pre-buffering enabled for ASS subs

Original comment by ved_k...@ymail.com on 3 Dec 2011 at 4:14

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Simply, yes it would. There is no existing pre-buffering implementation which 
could be enabled as-is for ASS subtitles without completely breaking 
xy-VSFilter. Entirely new code would need to be written scratch and bugfixed 
over a prolonged period of time. It's up in the air whether or not this will 
ever happen, as it is a massive undertaking.

Original comment by cyber.sp...@gmail.com on 3 Dec 2011 at 4:46

GoogleCodeExporter commented 9 years ago
>Entirely new code would need to be written scratch and bugfixed over a 
prolonged >period of time.
even copying stock VSFilter 2.39's subpic pre-buffer to xy-vsfilter won't work? 
have you tried?
if yes. guess i would need to upgrade PC sometime soon.

Original comment by ved_k...@ymail.com on 3 Dec 2011 at 6:23

GoogleCodeExporter commented 9 years ago
VSFilter 2.39 pre-buffer doesn't support animation, but even if it did, the 
bigger problem is that xy-VSFilter renders frames in a fundamentally different 
way, plus it's added multiple caches which never existed before. All these 
things which make xy-VSFilter so fast, are also things which break any existing 
pre-buffering in VSFilter. That's not to say we'll never look into doing it, 
just that it won't be anytime in the near-future.

Original comment by cyber.sp...@gmail.com on 3 Dec 2011 at 7:06

GoogleCodeExporter commented 9 years ago
is xy-vsfilter Vobsub Pre-buffering really working?
i m still experiencing same Lags :( (slow-down when multiple VOBSUB lines are 
displayed at different location)
which still doesn't occur at all with stock vsfilter 2.39 (just checked twice)

Original comment by ved_k...@ymail.com on 5 Dec 2011 at 11:52

GoogleCodeExporter commented 9 years ago
> We'll look into re-enabling pre-buffering for VOBSUB-only,
> but it still may be a couple months until we get around to it.

Be patient, it's only been a ~2 days. Work on re-enabling vobsub pre-buffering 
likely won't begin for ~2 _months_ as stated above.

Original comment by cyber.sp...@gmail.com on 5 Dec 2011 at 1:48

GoogleCodeExporter commented 9 years ago
sure :) i will wait.
it doesn't matter how long it will take
after all programing a code is not easy thing to do ;)
Pre-Buffer is actually really great Feature especially for old PC's.
i will be looking forward to when xy-vsfilter 
able to use Pre-Buffering on most popular sub formats 
no matter how long it will take :)

Original comment by ved_k...@ymail.com on 5 Dec 2011 at 2:59

GoogleCodeExporter commented 9 years ago
Issue 104 has been merged into this issue.

Original comment by cyber.sp...@gmail.com on 14 Jul 2012 at 11:08

GoogleCodeExporter commented 9 years ago
When using XySubFilter 3.1.0.546 Beta, madVR will pre-buffer VOBSUB and other 
image based subtitles like PGS & DVB.

xy-VSFilter (VSFilter.dll) still does not yet contain pre-buffering support for 
image based subtitles.

Original comment by cyber.sp...@gmail.com on 22 Jul 2013 at 2:33