473,405 Members | 2,261 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

WMV Video Clipping in 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?
Dec 14 '07 #1
6 4327
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]
- mv*@spam.guard.caspershouse.com

"Serdar C." <coskun[dot]serdar[at]gmail[dot]comwrote in message
news:Ob**************@TK2MSFTNGP04.phx.gbl...
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?

Dec 14 '07 #2
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]" <mv*@spam.guard.caspershouse.com>, haber
iletisinde şunları yazdı:uJ****************@TK2MSFTNGP04.phx.gbl...
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]
- mv*@spam.guard.caspershouse.com

"Serdar C." <coskun[dot]serdar[at]gmail[dot]comwrote in message
news:Ob**************@TK2MSFTNGP04.phx.gbl...
>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?


Dec 14 '07 #3
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]
- mv*@spam.guard.caspershouse.com

"Serdar C." <coskun[dot]serdar[at]gmail[dot]comwrote in message
news:e5**************@TK2MSFTNGP05.phx.gbl...
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]" <mv*@spam.guard.caspershouse.com>, haber
iletisinde şunları yazdı:uJ****************@TK2MSFTNGP04.phx.gbl...
>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]
- mv*@spam.guard.caspershouse.com

"Serdar C." <coskun[dot]serdar[at]gmail[dot]comwrote in message
news:Ob**************@TK2MSFTNGP04.phx.gbl...
>>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?



Dec 14 '07 #4
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.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>, haber
iletisinde şunları yazdı:%2***************@TK2MSFTNGP04.phx.gbl...
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]
- mv*@spam.guard.caspershouse.com

"Serdar C." <coskun[dot]serdar[at]gmail[dot]comwrote in message
news:e5**************@TK2MSFTNGP05.phx.gbl...
>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]" <mv*@spam.guard.caspershouse.com>, haber
iletisinde şunları yazdı:uJ****************@TK2MSFTNGP04.phx.gbl...
>>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]
- mv*@spam.guard.caspershouse.com

"Serdar C." <coskun[dot]serdar[at]gmail[dot]comwrote in message
news:Ob**************@TK2MSFTNGP04.phx.gbl...
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?



Dec 14 '07 #5
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]
- mv*@spam.guard.caspershouse.com

"Serdar C." <coskun[dot]serdar[at]gmail[dot]comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>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.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>, haber
iletisinde şunları yazdı:%2***************@TK2MSFTNGP04.phx.gbl...
> 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]
- mv*@spam.guard.caspershouse.com

"Serdar C." <coskun[dot]serdar[at]gmail[dot]comwrote in message
news:e5**************@TK2MSFTNGP05.phx.gbl...
>>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]" <mv*@spam.guard.caspershouse.com>,
haber iletisinde şunları
yazdı:uJ****************@TK2MSFTNGP04.phx.gbl. ..
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]
- mv*@spam.guard.caspershouse.com

"Serdar C." <coskun[dot]serdar[at]gmail[dot]comwrote in message
news:Ob**************@TK2MSFTNGP04.phx.gbl...
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?
>




Dec 14 '07 #6
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.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>, haber
iletisinde şunları yazdı:et**************@TK2MSFTNGP06.phx.gbl...
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]
- mv*@spam.guard.caspershouse.com

"Serdar C." <coskun[dot]serdar[at]gmail[dot]comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>>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.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>, haber
iletisinde şunları yazdı:%2***************@TK2MSFTNGP04.phx.gbl...
>> 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]
- mv*@spam.guard.caspershouse.com

"Serdar C." <coskun[dot]serdar[at]gmail[dot]comwrote in message
news:e5**************@TK2MSFTNGP05.phx.gbl...
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]" <mv*@spam.guard.caspershouse.com>,
haber iletisinde şunları
yazdı:uJ****************@TK2MSFTNGP04.phx.gbl.. .
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]
- mv*@spam.guard.caspershouse.com
>
"Serdar C." <coskun[dot]serdar[at]gmail[dot]comwrote in message
news:Ob**************@TK2MSFTNGP04.phx.gbl.. .
>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?
>>
>
>




Dec 14 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John Hunter | last post by:
Does gd lib or gdmodule support clipping? I would like to set a clip rectangle and when I issue drawing commands (like im.polygon) have only the part of the polygon inside the clip rectangle...
1
by: Douglas Alan | last post by:
Is there a way to tell Tkinter that I'd like to allow a window to be resizable, but only down to the point where no widget clipping occurs? I know that to get the effect I want, I can always (1)...
8
by: Jeff Thies | last post by:
I'm having trouble clipping an image. My understanding is that this is all I should need: <img src="test_img.jpg" style="clip: rect(10px 10px 10px 10px)" alt="alt"> Although I've seen this as...
14
by: Doug van Vianen | last post by:
Hi, I am trying to show a clipped part of a picture on a webpage and move it on the page and/or change the clipping to a different part of the picture. I show the picture in the body of the...
0
by: phil cunningham | last post by:
Does anyone know of a good library to handle Polygon clipping in C#. This would require clipping of shapes with FLOAT verteces and we need the capability of clipping one Polygon against another...
2
by: Pugi! | last post by:
I am currently experimenting a bit with clipping (with banners). 1. Is it possible to do more then one clipping on a image. For example: image of 400px x 80 px: var TELLER = 0; function...
9
by: Andy Baxter | last post by:
hello, I'm writing a panoramic image viewer in html / javascript. The idea is I have a div with two identical panoramic photographs embedded in it. The clipping on the div is set to make it a...
12
by: Pallas | last post by:
Hi all, I've produced some high-def videos and I want people to be able to watch them on my website, but I may want to prevent downloads and I certainly want to prevent them from editing them....
0
by: dongarbage | last post by:
Hi there, I have a panel that I'm trying to draw lines on based on mouse events. I'm using a Graphics object to do this. However, the region that the graphics object will draw lines in is...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.