Mp4mux does not support MJPEG. You may try out qtmux instead, which is a MOV container. MOV is the predecessor of MP4. Nowdays you can almost use them interchangeably.
Also, be aware that both qtmux and mp4mux require an EOS event in order to produce a playable file. You can achieve this by adding the ā-eā to gst-launch-1.0.
> On 23 Feb 2021, at 04:30, kepitto <
[hidden email]> wrote:
>
> I want to capture an MJPEG stream over UDP and save it in a MP4 file without
> transcoding. However it seems like mp4mux does not support MJPEG is that
> correct or am I doing something wrong?
>
> I am trying the following pipeline:
>
> gst-launch-1.0 udpsrc port=xxxx ! jpegparse ! mp4mux ! filesink
> location=test.mp4
>
> I get the error: Could not link jpegparse to mp4mux
>
> The same Pipeline works with other containerformats like matroskamux or
> avimux.
>
>
>
> --
> Sent from:
http://gstreamer-devel.966125.n4.nabble.com/> _______________________________________________
> gstreamer-devel mailing list
>
[hidden email]
>
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel