The easiest way I know to get the duration of a clip without
playing
it back is to use dtdrplin. This is similar to what is done
for
getting thumbnails. In the options, however, you pass
a name/value pair "ProcessHeadersOnly" equal to 1.
This
will cause dtdrplin to simply read the file and stream
headers
and then exit.
Eric
=============================================
Eric Hyche (ehyche real.com)
Technical Lead
RealNetworks, Inc.
> -----Original Message-----
> From: Wei, Donald [mailto:donald.wei intel.com]
> Sent: Friday, March 14, 2008 1:57 AM
> To: ehyche real.com
> Cc: Zhao, Halley; Wei, Donald; helix-client-dev helixcommunity.org
> Subject: RE: [Helix-client-dev] How could we get some
stream
> information whichcontained in a SMIL file?
>
> Eric,
> Could you please give more information of get the
> size/duration of a video clip without playback it? Is
there
> such API in Helix?
>
> Thanks,
> Donald
>
>
> -----Original Message-----
> From: Zhao, Halley
> Sent: Friday, March 14, 2008 1:53 PM
> To: Wei, Donald
> Subject: FW: [Helix-client-dev] How could we get some
stream
> information whichcontained in a SMIL file?
>
> $B!!!!(B
> $B!!!!(B
> $B!!!!(B-----Original Message-----
> From: Eric Hyche [mailto:ehyche real.com]
> Sent: 2008$BG/(B3$B7n(B11$BF|(B 21:26
> To: Zhao, Halley; helix-client-dev helixcommunity.org
> Subject: RE: [Helix-client-dev] How could we get some
stream
> information whichcontained in a SMIL file?
> $B!!!!(B
> $B!!!!(B
> $B!!!!(BDo you mean programmatically (as in getting
the
> $B!!!!(Bmeta-data of clips in a SMIL file), or do you
> $B!!!!(Bjust want to manually get the size/duration
of
> $B!!!!(Ba video clip that's referenced from a SMIL
file?
> $B!!!!(B
> $B!!!!(BEric
> $B!!!!(B
>
$B!!!!(B=============================================
> $B!!!!(BEric Hyche (ehyche real.com)
> $B!!!!(BTechnical Lead
> $B!!!!(BRealNetworks, Inc.
> $B!!!!(B
> $B!!!!(B> -----Original Message-----
> $B!!!!(B> From: helix-client-dev-bounces helixcommunity.org
> $B!!!!(B> [mailto:helix-client-dev-bounces helixcommunity.org] On
> $B!!!!(B> Behalf Of Zhao, Halley
> $B!!!!(B> Sent: Sunday, March 09, 2008 10:32 PM
> $B!!!!(B> To: helix-client-dev helixcommunity.org
> $B!!!!(B> Subject: [Helix-client-dev] How could we
get some stream
> $B!!!!(B> information whichcontained in a SMIL
file?
> $B!!!!(B>
> $B!!!!(B> How could we get some stream information
which contained in a
> $B!!!!(B> SMIL file?
> $B!!!!(B>
> $B!!!!(B> For example, a video content is included
in a SMIL file, how
> $B!!!!(B> could I get the ideal_size/duration of
the video stream?
> $B!!!!(B>
> $B!!!!(B>
> $B!!!!(B>
> $B!!!!(B> BR
> $B!!!!(B>
> $B!!!!(B> ZHAO, Halley (Aihua)
> $B!!!!(B>
> $B!!!!(B> Email: halley.zhao intel.com
<mailto:aihua.zhao intel.com>
> $B!!!!(B>
> $B!!!!(B> Tel: +86(21)61166476
> $B!!!!(B>
> $B!!!!(B> iNet: 8821-6476
> $B!!!!(B>
> $B!!!!(B> SSG/OTC/UMD
> $B!!!!(B>
> $B!!!!(B>
> $B!!!!(B>
> $B!!!!(B>
> $B!!!!(B
>
_______________________________________________
Helix-client-dev mailing list
Helix-client-dev helixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev
|