Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: play only specified frames

HTVi
TV Discussion Newsgroups

play only specified frames
isikkaya 6/10/2007 12:11:00 PM
Hi,
I want to play a video which is only contains some frames range those I
before specified. For example:

A video has 200 frames and I just want to play video between 35 frame and
170 frame range. So, I dont want to serve this video completely 200 frames. I
just want stream video specified range frames, not all video frames.

I dont want to seperate my video, according to frames (e.g. 1 to 35 frames a
video file,35 to 170 frames a video file and 170 to 200 frame a video file).
Cause of storage problem and the frame ranges are not static, the user decide
frame range.

I googling streaming subject but I can not find playing video at specified
frame range.

Which technology should I use? How can I solve this problem?

Thanks.
Re: play only specified frames
"Chris P." <msdn[ at ]chrisnet.net> 6/10/2007 3:01:46 PM
On Sun, 10 Jun 2007 05:11:00 -0700, isikkaya wrote:

[Quoted Text]
> I want to play a video which is only contains some frames range those I
> before specified. For example:
>
> A video has 200 frames and I just want to play video between 35 frame and
> 170 frame range. So, I dont want to serve this video completely 200 frames. I
> just want stream video specified range frames, not all video frames.
>
> I dont want to seperate my video, according to frames (e.g. 1 to 35 frames a
> video file,35 to 170 frames a video file and 170 to 200 frame a video file).
> Cause of storage problem and the frame ranges are not static, the user decide
> frame range.
>
> I googling streaming subject but I can not find playing video at specified
> frame range.
>
> Which technology should I use? How can I solve this problem?

You should be able to do this with an embedded WMP control .. but ASF
streams are time based not frame based. Time can be only be directly
translated to frame in AVI like formats.

--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]
Re: play only specified frames
isikkaya 6/10/2007 9:49:00 PM
Thanks yoru reply.
With your answer,You mean that, I can control video frames by using Windows
Media Player library, isnt it?

"Chris P." wrote:

[Quoted Text]
> You should be able to do this with an embedded WMP control .. but ASF
> streams are time based not frame based. Time can be only be directly
> translated to frame in AVI like formats.
>
> --
> http://www.chrisnet.net/code.htm
> [MS MVP for DirectShow / MediaFoundation]
>
Re: play only specified frames
"Chris P." <msdn[ at ]chrisnet.net> 6/11/2007 3:29:46 PM
On Sun, 10 Jun 2007 14:49:00 -0700, isikkaya wrote:

[Quoted Text]
> With your answer,You mean that, I can control video frames by using Windows
> Media Player library, isnt it?

Sort of. Yes you can control playback with the WMP control but everything
will be expressed in time, not frames. There is no guarantee of frame
accuracy, for that you need your own player.

--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen