Find Jobs
Hire Freelancers

ASF creation using C++

$30-100 USD

Closed
Posted over 15 years ago

$30-100 USD

Paid on delivery
We want to cut a part of video clip and save it as a separate video file using DiretShow rendering. Our utility can create successfully the compressed/uncompressed AVI file in good quality. But we have problems with the ASF which is created in low quality. We guess that problems in profile that we don't use during creating ASF. In the same time we created uncompressed AVI file, and converted it to ASF using MS SDK sample UncompAVIToWMV (with included profile support). We got final asf in good quality but this way has a few lacks: 1) It is too expansive to convert file from the compressed to uncompressed AVI format and only after that to ASF. 2) Windows Media Format Runtime should be installed on user machine to convert avi to asf 3) Asf file cannot be played on machine without installed Windows Media Format Runtime. So we need a help with the creation of ASF file of the best quality passing uncompressed format. Example of code is below // Build the graph. hr = m_pRenderEngine->SetTimelineObject(m_pTL); hr = m_pRenderEngine->ConnectFrontEnd(); ICaptureGraphBuilder2 *m_pBuilder; hr = CoCreateInstance(CLSID_CaptureGraphBuilder2, NULL, CLSCTX_INPROC, IID_ICaptureGraphBuilder2, (void **)&m_pBuilder); hr = m_pRenderEngine->GetFilterGraph(&m_pGraph); hr = m_pBuilder->SetFiltergraph(m_pGraph); // Create the file-writing section. IBaseFilter *pMux; hr = m_pBuilder->SetOutputFileName(&MEDIASUBTYPE_Asf, m_strOutputFile, &pMux, NULL); // Render video pin IPin *pOutpin; hr = m_pRenderEngine->GetGroupOutputPin(0, &pOutpin); hr = m_pBuilder->RenderStream(NULL, NULL, pOutpin, NULL, pMux); hr = m_pGraph->QueryInterface(IID_IMediaControl, (void **)&m_pControl); hr = m_pControl->Run(); ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Windows
Project ID: 3133762

About the project

1 proposal
Remote project
Active 16 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $85 USD for this job
User Avatar
See private message.
$85 USD in 14 days
4.3 (3 reviews)
2.8
2.8

About the client

Flag of SWEDEN
Stockholm, Sweden
4.9
199
Payment method verified
Member since Feb 10, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.