Concatenating two mp4 files

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Concatenating two mp4 files

jlancaster
I need to concatenate two or more mp4 files so they play as one larger mp4 file. I do not have gnlcomposition on my embedded system. (TI's omx/gst stuff is what I have).

I tried to use appsink/appsrc but the pipeline plays in real-time. Is there a way to turn the clock off for appsink/src apps where I just want to write to a file rather than play it in real-time?
Jeff Lancaster
Reply | Threaded
Open this post in threaded view
|

Re: Concatenating two mp4 files

Ralph
You don't need gnonlin to just play files one after the other without any gaps, you can do it by intercepting about-to-finish signal and opening another file before the playback of the previous file ends.  There have been lots of examples how to do it on this mailling list, I am sure you can find them.
Reply | Threaded
Open this post in threaded view
|

Re: Concatenating two mp4 files

jlancaster
about-to-finish is a playbin2 signal. I don't want to play video end to end I simply want to append two mp4 files to create a third mp4 file from the two original files.

I tried using filesrc and change location after a pause but I get 'cannot change location' message.
Jeff Lancaster