Audio to filesink pipeline working on the PC but not on ARM platform. PLZ HELP.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Audio to filesink pipeline working on the PC but not on ARM platform. PLZ HELP.

debruyn
Good day guys,

So i am creating a pipeline that receives a stream (video/audio) from a rtsp source. it should then take the audio and place it in a mp4 container and store it. The pipeline looks as follows(using gst-launch-1.0) (Audio encoding set to MP2L2):

gst-launch-1.0 -e rtspsrc location=rtsp://10.15.1.16//Streaming/Channels/101 user-id=admin user-pw=admin123 ! queue ! rtpmpadepay ! mpegaudioparse ! mp4mux ! filesink location=/home/debruyn/Documents/DVRVideos/jojobean.mp4

The thing is this works fine on my Arch PC using gstreamer version 1.8.2-1. But on my ARM platform using gstreamer 1.4.5-1 It doesn,t work. I get the following error after the pipeline has been set to playing

 Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2: Internal data flow error.
Additional debug info:
gstbasesrc.c(2933): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
streaming task paused, reason not-negotiated (-4)
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
^Chandling interrupt.
Interrupt: Stopping pipeline ...
 


If i use the following pipeline just to store the video to a mp4 file it works on both the PC and ARM platform (Video encoding set to h264)::

gst-launch-1.0 -e rtspsrc location=rtsp://192.168.2.16//Streaming/Channels/101 user-id=admin user-pw=admin123 ! queue ! rtph264depay ! h264parse ! mp4mux ! filesink location=/home/default/jojobean.mp4

Can anybody help with this?
Reply | Threaded
Open this post in threaded view
|

Re: Audio to filesink pipeline working on the PC but not on ARM platform. PLZ HELP.

Tim Müller
On Thu, 2016-07-28 at 04:34 -0700, debruyn wrote:

Hi,

> *gst-launch-1.0 -e rtspsrc
> location=rtsp://10.15.1.16//Streaming/Channels/101 user-id=admin
> user-pw=admin123 ! queue ! rtpmpadepay ! mpegaudioparse ! mp4mux !
> filesink
> location=/home/debruyn/Documents/DVRVideos/jojobean.mp4*
>
> The thing is this works fine on my Arch PC using gstreamer version
> 1.8.2-1.
> But on my ARM platform using gstreamer 1.4.5-1 It doesn,t work. I get
> the following error after the pipeline has been set to playing
>
> ERROR: from element
> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
> streaming task paused, reason not-negotiated (-4)

Did you check the GST_DEBUG log to see where the not-negotiated error
comes from exactly?

Does it work with 1.8.x on ARM?

Cheers
-Tim

--

Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Audio to filesink pipeline working on the PC but not on ARM platform. PLZ HELP.

debruyn
Hi tim,

sorry for the delayed response forgot to repost on this but yeah i noticed we were still using the 1.4 gstreamer on the ARM, since we are using a fixed repo ti keep things stable. Once i added the 1.8 packages and updated it everything worked a hundred percent.

Greeting
debruyn