I want to write some code for converting different video files to mpeg format to create VCD/ DVD.This can be divided into two tasks:
1) Conversion of different file formats to Mpeg format
2) Writing these files to CD/DVD to be playable in any player.
Now for 1st part:
I need code to convert different video formats to mpeg format.
The problem is that i am unable to get any sample code that could help me how to do that.
I am not very much sure but i suppose this can be done using:
i) FFMpeg API
ii) DirectX API (not pretty much sure)
iii) QuickTime API (not pretty much sure for Video Conversion)
Taking i)
I have downloaded the FFMpeg project code through SVN, but that didnt helped me much, as i want only the conversion related code from that and i am not sure how to approach for this.
Taking ii)
I am not very much sure about this but i guess there might be some way of doing this. I want to know is there any way of doing this task of conversion using DirectX SDK? if so then how(code)?
Taking iii)
I am not very much sure about video conversion, but i m considering as it provide good support for audio conversions. I want to know is there any wayvideoconversion using Quicktime? if so then how(code)?
Now the 2nd part: VCD/DVD Writing
As explained above i want to create VCD/DVD from the mpeg files(if OK to use this format).
I dont know how to do this as i suppose IMAPI2 doesnt provide anything like TrackAtOnce for videoCD/ DVD writing.
Watever i think ineed to create some hierarical structure for this and remove headers from mpeg files for creation of stream to be passed to DiscBurner.
I am not sure how much i am right ................
Sorry for that long question but i want to tell u experts what i know so i could provide u much information about my problem.
and get a better response asap.
Thanks in advance
Tarun
Start Free Trial