RAW H264 to MP4

Luis de Bethencourt luis at debethencourt.com
Tue May 6 13:16:04 PDT 2014


Not sure if this is possible.

Not sure if you can mux again the h264 considering timestamps/keyframes
change very easily.

Please somebody correct me if I am wrong.

Luis


On 6 May 2014 06:07, digi <griesel at me.com> wrote:

> Hey guys,
>
> *tx:* gst-launch-1.0 filesrc location=input.h264 !
> video/x-h264,width=640,height=480,framerate=30/1 ! h264parse ! rtph264pay
> config-interval=10 pt=96 ! udpsink host=127.0.0.1 port=5001
>
> *rx:* gst-launch-1.0 -v udpsrc port=5001 caps='application/x-rtp,
> media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264' !
> rtph264depay ! video/x-h264,width=640,height=480,framerate=30/1 ! h264parse
> ! mp4mux ! filesink location=output.mp4
>
> The rx command gave me:
> 0x7f908c0cda30 WARN qtmux gstqtmux.c:2116:check_and_subtract_ts:<mp4mux0>
> Subtraction would result in negative value, using 0 as result
>
> What is the right way to convert raw h264 data into mp4 files without
> re-encoding?
>
> Thanks,
> Digi
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/RAW-H264-to-MP4-tp4666761.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140506/2e0b49ad/attachment.html>


More information about the gstreamer-devel mailing list