| Author |
Message |
kcamhi
Guest
|
Posted:
Wed Dec 21, 2005 9:30 pm Post subject:
Is there away to avoid the pause when a wmv file is looped? |
|
|
I'm trying to create video segments that seamlessly repeat (e.g. bouncing
ball).
But when I play a WMV file in WMP10, it has a noticeable pause at the end of
each play of the video file. Is this a known problem? Is there a way around
it?
Thanks,
|
|
| Back to top |
|
 |
Jeremy Noring
Guest
|
Posted:
Thu Dec 22, 2005 1:30 am Post subject:
RE: Is there away to avoid the pause when a wmv file is loop |
|
|
"kcamhi" wrote:
| Quote: | Thanks Jeremy
One interesting thing -- when encoded using Indeo instead of as a WMV, this
pause didn't happen.
Any idea what that would be attributed to?
|
It's hard to say. Internally, WMP uses directshow to render, so there's a
different filter chain for Indeo verses WMV (and from my understanding, WMP
uses a custom source filter for WMV files that isn't available via
directshow, so it's difficult to say). I'd guess that the Indeo filters
simply restart from the beginning, while the filters for the WMV file reload
the file from disk.
That being said, it's all speculation on my part, so....someone may have
some other insight into the issue.
--
My Site (under construction): http://deepsea.no-ip.com/AV/ |
|
| Back to top |
|
 |
kcamhi
Guest
|
Posted:
Thu Dec 22, 2005 1:30 am Post subject:
RE: Is there away to avoid the pause when a wmv file is loop |
|
|
Thanks Jeremy
One interesting thing -- when encoded using Indeo instead of as a WMV, this
pause didn't happen.
Any idea what that would be attributed to?
"Jeremy Noring" wrote:
| Quote: | "kcamhi" wrote:
I'm trying to create video segments that seamlessly repeat (e.g. bouncing
ball).
But when I play a WMV file in WMP10, it has a noticeable pause at the end of
each play of the video file. Is this a known problem? Is there a way around
it?
I don't know of any way to have that not happen with the Windows Media
Player; by design, I think it simply reloads the file when looping.
The only way to do it that comes to mind is writing a custom directshow
source filter, but that's quite a bit more work. I'm sure there's other
ways, but windows media player (AFAIK) doesn't have any simple fix for that
particular problem.
--
My Site (under construction): http://deepsea.no-ip.com/AV/ |
|
|
| Back to top |
|
 |
Jeremy Noring
Guest
|
Posted:
Thu Dec 22, 2005 1:30 am Post subject:
RE: Is there away to avoid the pause when a wmv file is loop |
|
|
"kcamhi" wrote:
| Quote: | I'm trying to create video segments that seamlessly repeat (e.g. bouncing
ball).
But when I play a WMV file in WMP10, it has a noticeable pause at the end of
each play of the video file. Is this a known problem? Is there a way around
it?
|
I don't know of any way to have that not happen with the Windows Media
Player; by design, I think it simply reloads the file when looping.
The only way to do it that comes to mind is writing a custom directshow
source filter, but that's quite a bit more work. I'm sure there's other
ways, but windows media player (AFAIK) doesn't have any simple fix for that
particular problem.
--
My Site (under construction): http://deepsea.no-ip.com/AV/ |
|
| Back to top |
|
 |
kcamhi
Guest
|
Posted:
Thu Dec 22, 2005 5:30 pm Post subject:
RE: Is there away to avoid the pause when a wmv file is loop |
|
|
It appears this you got it exactly right.
I set up in directshow and implemented looping by having the endofstream
event trigger a reposition to the beginning of the stream.
This loops wmv's without the pause.
Thanks for the help!
"Jeremy Noring" wrote:
| Quote: | "kcamhi" wrote:
Thanks Jeremy
One interesting thing -- when encoded using Indeo instead of as a WMV, this
pause didn't happen.
Any idea what that would be attributed to?
It's hard to say. Internally, WMP uses directshow to render, so there's a
different filter chain for Indeo verses WMV (and from my understanding, WMP
uses a custom source filter for WMV files that isn't available via
directshow, so it's difficult to say). I'd guess that the Indeo filters
simply restart from the beginning, while the filters for the WMV file reload
the file from disk.
That being said, it's all speculation on my part, so....someone may have
some other insight into the issue.
--
My Site (under construction): http://deepsea.no-ip.com/AV/ |
|
|
| Back to top |
|
 |
|
|
|
|