microsoft / FFmpegInterop

This is a code sample to make it easier to use FFmpeg in Windows applications.
Apache License 2.0
1.28k stars 310 forks source link

Merging Audio Video Files. Mux audio video files #115

Open roshanJagtap opened 7 years ago

roshanJagtap commented 7 years ago

Hi

I am willing to merger Audio video file with FFmpeg Interop . Can some one please provide the example for same? Its kind of emergency :(

Kind Regards Roshan

khouzam commented 7 years ago

Hi @rohanJagtap,

Can you describe in slightly more details what you're trying to do? For the moment ffmpeginterop focuses on playback of audio and video files.

Thanks

roshanJagtap commented 7 years ago

Hi Khouzam,

First up all Thanks for reply. :)

Following is my scenario. I have 2 files. Audio and Video Lets see audio file TestA.mp3 and Video file TestV.mp4. I want to merger them together to create single videoaudio file which will be my final output TestAV.mp4 or with any extension which is possible.

I am expecting Introp will have one class with multimedia operation. For now I need just a merging of Audio and Video files which I am able to do with FFmpeg command line Tool. Nice to have all possible operation which you can find here http://www.labnol.org/internet/useful-ffmpeg-commands/28490/

I am using WinRt8.1 for development.

It would be grate if you get me out from this problem.

Thanks and Regards Roshan

OurIslam commented 7 years ago

yes can someone view this issue . i am very interested about this focuses

khouzam commented 7 years ago

The encoding functionality is present in FFmpeg, you should be able to expose it through FFmpegInterop to your application by wrapping the functionality that you need in a WinRT class or if you're writing native code by simply calling into FFmpeg directly.

OurIslam commented 7 years ago

i think with ffmpeginterop this is impossible to muxxing i have tried by example c++ muxing c in ffmpeginterop and i see it got output seekable file error it can;t do anything even it can not write a new stream h264, if you say it is possible please provide me example code .

it seems quit hard part. but i see ffmpeg exe do this job within a sec "-i video -i audio -c output " how this will be done by library

roshanJagtap commented 7 years ago

Any update on this guys ?

On Tue, Feb 7, 2017 at 10:51 AM, developerss notifications@github.com wrote:

i think with ffmpeginterop this is impossible to muxxing i have tried by example c++ muxing c in ffmpeginterop and i see it got seekable file error it can;t do anything even it can write new stream , if you say it is possible please provide me example code

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/FFmpegInterop/issues/115#issuecomment-277904689, or mute the thread https://github.com/notifications/unsubscribe-auth/ARtVn0hpRUJ5bkDpYncoZjT05cVZfsR4ks5rZ_91gaJpZM4LY6BR .

--

Kind RegardsRoshan JagtapContact No.7798771299

bcd6 commented 5 years ago

Also wondering how to do this!

TheCoder15 commented 5 years ago

any updates?