How to save h264 stream to a video file on Hard Disk?

GurpreetSingh gurpreetsingh.ldh at
Sat May 27 11:28:09 UTC 2017

Hi All,
I have camera which outputs h.264 stream. 
Now, I need to capture that stream and store it to playable video mp4 file.
I have gone through lot of blogs from internet, but all blogs talks about
achieving it through command line. 

I need a code which will get me playable file (in mp4 container).
Also I don't need any type of decoding. The data sent from camera should not
be decoded and should be stored to MP4 playable file in encoding format only
(stream sent by camera till it is stored in a file should not be decoded)

Can anyone help me on this?
Please confirm if any other information is required.

Gurpreet Singh

View this message in context:
Sent from the GStreamer-devel mailing list archive at

More information about the gstreamer-devel mailing list