For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > December 2006 > WMV Split









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author WMV Split
Raja

2006-12-11, 7:01 pm

Hi,
I am trying to read wmv file formats. I would like to develop a
script in php which would split WMV files . Like suppose user enter
starting time and end times of some particular WMV file . then my
script should be able to make a new WMV file which would be played from
start time entered by user and end at end time entered by user .

Can it be done in PHP ? Any pointer on how to do it ? As far as i
explored i got hold of http://sourceforge.net/projects/getid3/ which
can extract information about WMV format files.

Any help in would be greatly apprecited.

Awaiting Your Reply,
Thank You,
Raja.

-Lost

2006-12-11, 7:01 pm

"Raja" <rokkamraja@gmail.com> wrote in message
news:1165751137.659094.105780@l12g2000cwl.googlegroups.com...
> Hi,
> I am trying to read wmv file formats. I would like to develop a
> script in php which would split WMV files . Like suppose user enter
> starting time and end times of some particular WMV file . then my
> script should be able to make a new WMV file which would be played from
> start time entered by user and end at end time entered by user .
>
> Can it be done in PHP ? Any pointer on how to do it ? As far as i
> explored i got hold of http://sourceforge.net/projects/getid3/ which
> can extract information about WMV format files.
>
> Any help in would be greatly apprecited.
>
> Awaiting Your Reply,
> Thank You,
> Raja.


Firstly, try paying attention to your previous posts! I responded to this *exact* same
message several days ago. Actually, 11 days ago.

http://ffmpeg-php.sourceforge.net/

-Lost


Raja

2006-12-11, 7:01 pm

Hi,
Using ffmpeg we can get all the information of WMV file , its header
info data info ,e tc but what I want is how to
make a WMV file play from a user given time inputs

Thanks



On Dec 11, 3:09 am, "-Lost" <spam_ninjaREMOV...@REMOVEMEcomcast.net>
wrote:
> "Raja" <rokkamr...@gmail.com> wrote in messagenews:1165751137.659094.105780@l12g2000cwl.googlegroups.com...
>
>
>
>
>
>
> message several days ago. Actually, 11 days ago.
>
> http://ffmpeg-php.sourceforge.net/
>
> -Lost


-Lost

2006-12-13, 4:09 pm

"Raja" <rokkamraja@gmail.com> wrote in message
news:1165810306.211874.152230@f1g2000cwa.googlegroups.com...
> Hi,
> Using ffmpeg we can get all the information of WMV file , its header
> info data info ,e tc but what I want is how to
> make a WMV file play from a user given time inputs
>
> Thanks


Which is exactly what ffmpeg can do! It can create a new file based on the time inputs
you spoke of. For example, a movie playing at 24fps that lasts 10 seconds is 240 frames
long. Each frame lasts 0.04 seconds long. Extract what you need, make a new file and
serve it for playing.

-Lost


zheka

2006-12-14, 6:58 pm



> Using ffmpeg we can get all the information of WMV file , its header
> info data info ,e tc but what I want is how to
> make a WMV file play from a user given time inputs


you can achieve this by using windows metafiles to specify start time
and duration of the clip.

http://msdn2.microsoft.com/en-us/library/aa393397.aspx

use STARTTIME and DURATION elements.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com