| Author |
Message |
fonky76
Guest
|
Posted:
Tue Oct 19, 2004 9:41 pm Post subject:
copying a section of a .wmv w/out decompressing |
|
|
Anyone know if you can copy a portion of a .wmv starting at a given time
w/out reading it ( decompressing it ) and then re-writing it (
recompressing it ) ... like get a start and end file pointer into the file
at the correct times & then just copying it?
|
|
| Back to top |
|
 |
Neil Smith [MVP Digital M
Guest
|
Posted:
Tue Oct 19, 2004 11:14 pm Post subject:
Re: copying a section of a .wmv w/out decompressing |
|
|
Certainly it can be done, cause this is the action of the wmeditor.exe
file editor you'lll find in the encoder's programs directory. Not sure
how you'd do it prorgamatically though - somebody's sure to have a
sugestion.
Actually I think the wmeditor does decompress it, enough to display
the file for editing, but I think it just binds the header to the new
file's timeline location rather than decompress/recompress.
Cheers - Neil
On Tue, 19 Oct 2004 13:41:36 -0400, "fonky76" <fonky76@hotmail.com>
wrote:
| Quote: | Anyone know if you can copy a portion of a .wmv starting at a given time
w/out reading it ( decompressing it ) and then re-writing it (
recompressing it ) ... like get a start and end file pointer into the file
at the correct times & then just copying it? |
|
|
| Back to top |
|
 |
Chris P. [MVP]
Guest
|
Posted:
Wed Oct 20, 2004 4:20 am Post subject:
Re: copying a section of a .wmv w/out decompressing |
|
|
Neil Smith [MVP Digital Media] wrote:
| Quote: | Certainly it can be done, cause this is the action of the wmeditor.exe
file editor you'lll find in the encoder's programs directory. Not sure
how you'd do it prorgamatically though - somebody's sure to have a
sugestion.
Actually I think the wmeditor does decompress it, enough to display
the file for editing, but I think it just binds the header to the new
file's timeline location rather than decompress/recompress.
|
I believe the edit functionality of the WME SDK supports this. I only do
pure stream copy but you can set mark-In mark-Out points. See
IWMEncBasicEdit.
-Chris
|
|
| Back to top |
|
 |
|
|
|
|