Search code examples
videoh.264mp4gstreamer

wrapping h264 stream into mp4 with gstreamer


how can I wrap pure h.264 stream into mp4 using Gstreamer so that I can seek to specific location in video? Gstreamer is used because of it's licence requirements, so please do not offer ffmpeg!


Solution

  • gst-launch-1.0 filesrc location=stream.h264 ! video/x-h264 ! h264parse ! mp4mux ! filesink location=video.mp4