copying a section of a .wmv w/out decompressing
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
copying a section of a .wmv w/out decompressing

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
fonky76
Guest





Posted: Tue Oct 19, 2004 9:41 pm    Post subject: copying a section of a .wmv w/out decompressing Reply with 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
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 Reply with 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.

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 Reply with quote

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
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB