Hi guys, I'm new of the forum and new for the qt programming, I'm doing a QT GUIApplication and I have a problem, do you know how I can separated audio (.wav) from a .mov or .avi video?
I have seen that exist ffmpg, do you have some idea?
Hi guys, I'm new of the forum and new for the qt programming, I'm doing a QT GUIApplication and I have a problem, do you know how I can separated audio (.wav) from a .mov or .avi video?
I have seen that exist ffmpg, do you have some idea?
Qt Multimedia contains facilities for playing and recording media and limited ability to intercept decoded media in-memory. Anything else requires you use a library that understands media container formats, how to manipulate them, and how to re-encode an audio stream that it might extract. FFmpeg is one such library. It has a C interface so it should be quite usable from a Qt program.
Hi Chris, do you know how I can separate the stream audio and the stream video from an .mov or .avi, for put the different stream in two different buffer, in this way I cant obtain the parallelism.
With Qt5 you can do it by using QAudioProbe and QVideoProbe. Note, you'll be getting data frames and not encoded streams, if you want to save them in a particular format, you need to do the encoding yourself. You might also be missing some frames. There is also QAudioDecoder available.
Thanks wysota, do you know where I can find any example of this?
I don't think there is any example of what you want to do available. You need to do some experimenting on your own.
Bookmarks