Merge Videos Using Qt
Posted: 21 Sep 2017 15:00
Hi there,
I'm trying to merge multiple video files using Qt and libvlc. I can achieve this using 2.2.6 Vlc command prompt as;
vlc input1.ts input2.ts :sout “”#gather:std{access=file,mux=ts,dst=output.ts}"" :sout-keep
However I couldn't find a way to do this using libvlc api. There is a "merge" function in the VLC-Qt project (https://github.com/vlc-qt/vlc-qt/blob/m ... /Media.cpp), but it takes only 3 parameters which are destination file name, file path and mux type. It doesn't mention anything about input video files.
Cheers.
I'm trying to merge multiple video files using Qt and libvlc. I can achieve this using 2.2.6 Vlc command prompt as;
vlc input1.ts input2.ts :sout “”#gather:std{access=file,mux=ts,dst=output.ts}"" :sout-keep
However I couldn't find a way to do this using libvlc api. There is a "merge" function in the VLC-Qt project (https://github.com/vlc-qt/vlc-qt/blob/m ... /Media.cpp), but it takes only 3 parameters which are destination file name, file path and mux type. It doesn't mention anything about input video files.
Cheers.