rtspsrc ! rtph264depay ! mp4mux not working

David Röthlisberger david at rothlis.net
Tue Sep 25 12:48:15 PDT 2012


On 25 Sep 2012, at 19:30, Chris wrote:
> I am having zero luck recording h264 from an Axis camera to to a file using
> mp4mux. I want to use mp4mux so I can use faststart and because ffmux_mp4
> produces poor video. I'm using gstreamer 0.10.25, gst-plugins-bad 0.10.13
> (mp4mux), and gstreamer-ffmpeg 0.10.08.

I don't know if this will help, but we recently needed to re-mux an h264
mpeg-ts (from a Hauppauge HD PVR capture device) into mp4 and this is
what we did:

v4l2src ! mpegtsdemux !
h264parse ! video/x-h264,stream-format=avc ! mp4mux dts-method=reorder !
filesink location=video.mp4

Note also that your GStreamer is a rather old version; you should try
updating. mp4mux is in gst-plugins-good nowadays.

Dave.



More information about the gstreamer-devel mailing list