Critical Error reading RTSP stream from IP cameras

Mark Howell mark-sub1 at hypgnosys.org
Thu Jan 25 17:12:50 UTC 2018


On 01/22/2018 01:05 PM, Jajoo, Malhar wrote:
>
> Hi Mark,
>
>
> Thanks a lot for your suggestion. I have been able to play the RTSP 
> stream in VLC media player.
>
>
>
>  1. For the 1st command you suggested,
>     I have tried to construct a pipeline(based on some googling) -}
>
>     $ gst-launch-1.0 -v rtspsrc location="<rtsp_url>" latency=10 !
>     rtph264depay ! h264parse ! omxh264dec ! videoconvert ! xvimagesink
>
>     I keep getting the warning:*No element "<some element>" * for some
>     of the elements.
>     I am currently looking into this issue.
>
> 2.
>
>     For the 2nd command you suggested,
>     I am able to play the file, but there is only audio. I see some
>     errors on my console reporting that
>     I do not have H264 decoder or it cannot be found.
>
> I am having quite some difficulty in resolving these as I'm having 
> shortage of time + multimedia frameworks is not
> the central focus of my project :( .
>
> Any help will be greatly appreciated.
>
> Best,
> Malhar
>
>
Sounds like maybe your GStreamer installation does not have all these 
elements installed. That's not unusual, it's often broken up into 
multiple packages depending on the platform. I didn't catch whether you 
were linux, mac, windows etc.

h264parse, for example, is in gst-plugins-bad, go see if such a package 
is installed on your system, if not, find it.

You can look for information on individual elements (if they are 
present) with, for example:

$ gst-inspect-1.0 h264parse

Or list them all with:

$ gst-inspect-1.0

Or look for stuff mentioning h.264 with, e.g.:

$ gst-inspect-1.0 -a | grep h264

Last, come back with more specific error messages rather than just "some 
errors"

Cheers,

Mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180125/21ec4c15/attachment.html>


More information about the gstreamer-devel mailing list