hai..
Am writing application for capture video from camera in vc++ using directshow and write that
file in WMV format.and how to write MPEG4 file format.can i install any sdk for mpeg4.can you provide details about mpeg file writing in vc++
kindly help me
thanks
I'm not entirely clear if you want to change the video format or just the container format. If you just want to write the existing camera output into a different container file, then you need a multiplexor filter. There's an MP4 multiplexor filter available in source form at www.gdcl.co.uk/mpeg4. If you connect your camera's output to this filter and then the file writer, you should be ok.
If, on the other hand, you need to encode the camera output to mpeg-4 video as well, then I think you will need to licence a third-party encoder filter.
G
Related
I'm using sox to convert some mp3 files to wav for a project. The problem is that the software that plays the files does not have the media name for the element it is playing. I can't seem to find a win32 cli tool to read the header of the wav file and write what I need to it.
Sox will read the header but it's not showing the title of the media element that was inserted with the old software I used. I just couldnt automate it or I would have used it instead.
I have determined the info is written in either CART CHUNK section or just to the file headers. I can't figure out to write my own data there.
The way I was able to do this was with this project: https://github.com/JamesHeinrich/getID3
I am creating videos from series of images with an audio mp3 using splicer (http://splicer.codeplex.com/). The output for this is avi and use ffpmpeg to convert to mp4.
Is there any api for c# to create mp4 from series of images and mp3 file. I need to add some animation as well like Ken Burns style this time.
DirectShow Editing Services - best way. Or DirectShow using push source filter sample to generate frames. In both cases MP4 muxer, H264 and AAC encoders required.
Codecs can be purchased from Elecard for example - http://www.elecard.com/en/products/development/sdk/codec-sdk.html .
Alternative commercial solution to create video from images and encode to MP4 using a few lines of code - http://www.visioforge.com/video-edit-sdk-net.html .
I would like to convert .rm (RealPlayer Media) file to MP3 or another format?
First, I successfully managed that using VLC but the quality was not good. Then I tried the Real Alternative codec with DirectShow, this also worked ok, but then I found that the codec is no longer developed because RealNetworks sued the developer.
Now, I have installed the RealPlayer and I am trying to use it's DirectShow filters to convert .rm to .mp3 but without success:( (Actually after adding RealPlayer Transcode filter and choosing a file the GraphStudio crashes.)
Is there a legal way to programmatically convert .rm file to another format? How to make RealPlayer to programmatically convert files? Do you have any hints or examples, how to use RealPlayer Transcode filter? (I am new to DirectShow.)
UPDATE to make the question more concrete: How can I list implemented interfaces and its members of RealPlayer Transcode filter? I have not found any documentation:( (The GraphStudio says it has 0 pins and just common properties.)
You need to build a DirectShow graph to read and decode .rm, then compress audio into MP3 and write it into a file. This is similar to recompressing an AVI file, described in some detail on MSDN: Recompressing an AVI File. You just have audio without video there, and the container formats are different.
UPDATE: There is no way to reliably list implemented interfaces in COM. Sometimes you can find this out by checking the type library, however a lot of DirectShow filters are coming without it. Typically, you need an SDK header file from the filter vendor to get a definition of implemented so called 'private' interfaces.
I want to create a spectrogram out of a audio file.
Are there any libraries that can create a waveform image out of a audio file (mp3) ?
http://www.freesound.org/blog/?p=10
I found this library, and it works well.
I tired this example:
http://wiki.monotouch.net/HowTo/Sound/How_to_record_sound_using_the_iPhone_microphone
But when I change the AudioFileType, from a compressed type (MP3) the file size is the same as WAVE.
Am I doing something wrong?
Thanks.
This is the list of encoders exposed by iOS:
http://developer.apple.com/library/ios/#qa/qa2008/qa1615.html
And it does not support MP3 encoding
This was previously discussed here:
iPhone - AVAudioRecorder - how can I record to an mp3?
The only alternative is for you to include your own MP3 encoder and negotiate directly with the MP3 patent holder the terms.