error with streaming and saving muxed audio and video data

Tim Müller tim at centricular.com
Sat Sep 9 09:55:05 UTC 2017


On Tue, 2017-08-29 at 23:59 +0530, Marka Reddy wrote:

Hi,

> I am using gstreamer for streaming and storing muxed audio and video
> from camera and mic on embedded hardware through ethernet.
> 
> on sender side pipeline is :
> v4l2src ! encoder ! matroska mux ! udpsink
> alsasrc ! encoder ! mux
> 
> on receiver :
> udpsrc ! filesink
> 
>  i am running the pipeline on both sides and stopping them later with
> EOS and playing the stored file..
> 
> the issue is it works often on the first run of the pipeline..most of
> the times i am generating a file but cannot play it
> it gives " couldnot determine type of stream "error
> please help

Matroska is not made for streaming over a lossy transport, don't use it
over UDP.

Either use TCP, or try MPEG-TS instead.

You could also stream via RTP or RTSP, if that's an option.

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic
http://gstreamer.freedesktop.org/conference/


More information about the gstreamer-devel mailing list