Trouble converting RTSP video streams to OGV/WEBM (MP4 seems to work)
debruyn
debruynels1 at gmail.com
Tue Feb 9 06:53:41 UTC 2016
Fixed some issues but need some explanation and advice
The whole issue was solved by removing the Decodebin element and building
my own custom decode/depay structure. Pipe looks as follows :
GST_DEBUG=3 GST_DEBUG_DUMP_DOT_DIR=~/Documents/graphs/ gst-launch-1.0
rtspsrc location=rtsp://192.168.0.216/video.h264 user-id=admin
user-pw=admin123 name=source ! rtpjitterbuffer ! rtph264depay ! avdec_h264 !
theoraenc ! oggmux ! filesink location=~/Documents/test/ip_test.ogg
Can someone plz explain why decodebin didn't allow for flawless conversion?
Also i changed the sink to output the (soundless) video to an Icecast
server. Pipeline as follows:
GST_DEBUG=3 GST_DEBUG_DUMP_DOT_DIR=~/Documents/graphs/ gst-launch-1.0
rtspsrc location=rtsp://10.15.1.216/video.h264 user-id=admin
user-pw=admin123 name=source ! rtpjitterbuffer ! rtph264depay ! avdec_h264 !
theoraenc ! oggmux ! shout2send ip=192.168.0.182 port=8000 password=password
mount=/test.ogg
Now when loading the video into HTML tags i get the following annoyance.
Chrome gives a delayed response between 5 seconds and 16 Seconds. Firefox
buffers the video extremely so that it becomes impossible to watch the
stream. Is there a way to improve this?
Lastly is there any suggestions of what is the best method to stream mp4
files to the web? Icecast doesn't support the container. Any help or
suggestions would be appreciated
Regards Debruyn
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Trouble-converting-RTSP-video-streams-to-OGV-WEBM-MP4-seems-to-work-tp4675691p4675727.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160208/62a0b444/attachment.html>
More information about the gstreamer-devel
mailing list