WMV Video Clipping in c#

S

Serdar C.

hi there. i am developing a web based application in c# and asp.net. in my
application the server have a large WMV file i.e about 6 hours long. i want
to make sure that clients can download portions of that file. i.e. the
client may want to download video part from 2h32m00sec to 4h56m03sec. does
anyone knows a sourcecode or at least a comand line program that can do
this?
 
N

Nicholas Paldino [.NET/C# MVP]

Serdar,

I don't know, but maybe a media server can help you with this (MS has an
offering), where you can move to any point in the stream, instead of
downloading the whole file.
 
S

Serdar C.

thank you for the reply. but what i really need is to make sure clients can
download that part instead of just streaming the media.

haber said:
Serdar,

I don't know, but maybe a media server can help you with this (MS has
an offering), where you can move to any point in the stream, instead of
downloading the whole file.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Serdar C. said:
hi there. i am developing a web based application in c# and asp.net. in
my application the server have a large WMV file i.e about 6 hours long. i
want to make sure that clients can download portions of that file. i.e.
the client may want to download video part from 2h32m00sec to 4h56m03sec.
does anyone knows a sourcecode or at least a comand line program that can
do this?
 
N

Nicholas Paldino [.NET/C# MVP]

Do you need to download the part as a larger whole, or do you need to
download the part as a separate file? Either way, you will have to do some
sort of work on the server which will perform the chopping up of the file
into other playable files.

I don't know of any video format where you can split the file up at
certain positions and play it. If anything, you have to encode a completely
new file on the server, which might not be worth it, depending on how big
the chunk is they want to get.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Serdar C. said:
thank you for the reply. but what i really need is to make sure clients
can download that part instead of just streaming the media.

haber said:
Serdar,

I don't know, but maybe a media server can help you with this (MS has
an offering), where you can move to any point in the stream, instead of
downloading the whole file.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Serdar C. said:
hi there. i am developing a web based application in c# and asp.net. in
my application the server have a large WMV file i.e about 6 hours long.
i want to make sure that clients can download portions of that file.
i.e. the client may want to download video part from 2h32m00sec to
4h56m03sec. does anyone knows a sourcecode or at least a comand line
program that can do this?
 
S

Serdar C.

i need to let user to download the part as a seperate file. there are video
editing programs with saving a part of the movie as a seperate file but i
need to do is on the server side. im wondering if there is a way to do this.
i also need to learn more about wmv file structure and what does the wmv
file header looks like.
thank you for answering again.

haber said:
Do you need to download the part as a larger whole, or do you need to
download the part as a separate file? Either way, you will have to do
some sort of work on the server which will perform the chopping up of the
file into other playable files.

I don't know of any video format where you can split the file up at
certain positions and play it. If anything, you have to encode a
completely new file on the server, which might not be worth it, depending
on how big the chunk is they want to get.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Serdar C. said:
thank you for the reply. but what i really need is to make sure clients
can download that part instead of just streaming the media.

haber said:
Serdar,

I don't know, but maybe a media server can help you with this (MS has
an offering), where you can move to any point in the stream, instead of
downloading the whole file.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

"Serdar C." <coskun[dot]serdar[at]gmail[dot]com> wrote in message
hi there. i am developing a web based application in c# and asp.net. in
my application the server have a large WMV file i.e about 6 hours long.
i want to make sure that clients can download portions of that file.
i.e. the client may want to download video part from 2h32m00sec to
4h56m03sec. does anyone knows a sourcecode or at least a comand line
program that can do this?
 
N

Nicholas Paldino [.NET/C# MVP]

Serdar,

You probably want to look into directshow, creating a filter graph and
then rendering it out to a file which you can then send back to the user.

You should also probably be aware of timeout issues as well, depending
on how long the clip is you want to render, the client might time out, so
you might have to resort to some sort of polling mechanism.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Serdar C. said:
i need to let user to download the part as a seperate file. there are video
editing programs with saving a part of the movie as a seperate file but i
need to do is on the server side. im wondering if there is a way to do
this. i also need to learn more about wmv file structure and what does the
wmv file header looks like.
thank you for answering again.

haber said:
Do you need to download the part as a larger whole, or do you need to
download the part as a separate file? Either way, you will have to do
some sort of work on the server which will perform the chopping up of the
file into other playable files.

I don't know of any video format where you can split the file up at
certain positions and play it. If anything, you have to encode a
completely new file on the server, which might not be worth it, depending
on how big the chunk is they want to get.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Serdar C. said:
thank you for the reply. but what i really need is to make sure clients
can download that part instead of just streaming the media.

"Nicholas Paldino [.NET/C# MVP]" <[email protected]>,
haber iletisinde þunlarý
yazdý:uJsZ%[email protected]...
Serdar,

I don't know, but maybe a media server can help you with this (MS
has an offering), where you can move to any point in the stream,
instead of downloading the whole file.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

"Serdar C." <coskun[dot]serdar[at]gmail[dot]com> wrote in message
hi there. i am developing a web based application in c# and asp.net.
in my application the server have a large WMV file i.e about 6 hours
long. i want to make sure that clients can download portions of that
file. i.e. the client may want to download video part from 2h32m00sec
to 4h56m03sec. does anyone knows a sourcecode or at least a comand
line program that can do this?
 
S

Serdar C.

thanks a lot for helping :)
i will look into the directshow. for the client i may create a client based
peer to peer application or create a polling system just like you said.


haber said:
Serdar,

You probably want to look into directshow, creating a filter graph and
then rendering it out to a file which you can then send back to the user.

You should also probably be aware of timeout issues as well, depending
on how long the clip is you want to render, the client might time out, so
you might have to resort to some sort of polling mechanism.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Serdar C. said:
i need to let user to download the part as a seperate file. there are
video editing programs with saving a part of the movie as a seperate file
but i need to do is on the server side. im wondering if there is a way to
do this. i also need to learn more about wmv file structure and what does
the wmv file header looks like.
thank you for answering again.

haber said:
Do you need to download the part as a larger whole, or do you need to
download the part as a separate file? Either way, you will have to do
some sort of work on the server which will perform the chopping up of
the file into other playable files.

I don't know of any video format where you can split the file up at
certain positions and play it. If anything, you have to encode a
completely new file on the server, which might not be worth it,
depending on how big the chunk is they want to get.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

"Serdar C." <coskun[dot]serdar[at]gmail[dot]com> wrote in message
thank you for the reply. but what i really need is to make sure clients
can download that part instead of just streaming the media.

"Nicholas Paldino [.NET/C# MVP]" <[email protected]>,
haber iletisinde þunlarý
yazdý:uJsZ%[email protected]...
Serdar,

I don't know, but maybe a media server can help you with this (MS
has an offering), where you can move to any point in the stream,
instead of downloading the whole file.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

"Serdar C." <coskun[dot]serdar[at]gmail[dot]com> wrote in message
hi there. i am developing a web based application in c# and asp.net.
in my application the server have a large WMV file i.e about 6 hours
long. i want to make sure that clients can download portions of that
file. i.e. the client may want to download video part from 2h32m00sec
to 4h56m03sec. does anyone knows a sourcecode or at least a comand
line program that can do this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top