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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi
On Wed, Aug 30, 2017 at 3:29 AM, Marka Reddy <[hidden email]> wrote: > 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 try saving the file locally and compare the local one and the remote one. If they match but both errors, you have a problem at the sender side. if they differ, you have might have a problem around your network. If you don't need to use udp, try tcp instead. besides that, It's always good to write the exact pipeline you are using and the exact error you see on your system so that people here can reproduce what you are doing. please help us to help you. -- yashi _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Marka Reddy
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/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |