Please help, I need to convert multiple H.264 rtsp live stream to mpegts rtp simultaneously without a big latency

ismail ouchatti.ismail at gmail.com
Fri Feb 26 16:16:13 UTC 2016


Hi I hope you have a good day and that tomorrow will be better 

Please help : 

I need your help to do a multiconversion please and i am a beginer with
gstreamer : 

I have 8 camera connected to a debian calculator i have access to my
calculator via putty/winscp, each camera have an IP and send H264 rtsp
stream so i can see my H264 videos by opening
"rtsp://192.168.50.4X:8601/wxHdSdiStreaming/2?videoCodecType=H.264" using
vlc or ffplay on my computer. Now i need to make my calculator convert all
my cameras live stream to mpegts and send it using rtp protocol for each
camera. So i installed gstreamer on my linux calculator using sudo aptitude
build-dep  python-gst0.10 gstreamer0.10-plugins-good
gstreamer0.10-plugins-ugly.

My first question is : do i have to install more gstreamer libraries,
packages ? It is better if i program in c++ or to use command line ? and how
can i do please?


My calculator OS : Linux version 2.6.32-5-686 (Debian 2.6.32-46)
(dannf at debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Sun Sep 23
09:49:36 UTC 2012 

My cameras :

====CAMERA 1 
================================================================
[My camera stream to be converted is  :
rtsp://192.168.50.41:8601/wxHdSdiStreaming/2?videoCodecType=H.264] [My
conversion to Transport stream] [My converted stream output rtp
{dst=192.168.50.22,port=5041,mux=ts,ttl=3}]
=================================================================
====CAMERA 2 
================================================================

[My camera stream to be converted is  :
rtsp://192.168.50.42:8601/wxHdSdiStreaming/2?videoCodecType=H.264] [My
conversion to Transport stream] [My converted stream output rtp
{dst=192.168.50.22,port=5042,mux=ts,ttl=3}]
=================================================================
.
.
.
====CAMERA 8 
=================================================================
[My camera stream to be converted is  :
rtsp://192.168.50.48:8601/wxHdSdiStreaming/2?videoCodecType=H.264] [My
conversion to Transport stream] [My converted stream output rtp
{dst=192.168.50.22,port=5048,mux=ts,ttl=3}]
=================================================================

My old commande line with vlc for each camera : 

#################################################################
Shell : 
OCTET="40"		
PORT="5040"		
SERVER="192.168.50.22"	
IPCAM="192.168.50.$OCTET"

sudo -u test cvlc -vvv --sout-mux-caching=10 --clock-jitter=500
--sout-rtp-caching=10 --realrtsp-caching=10 --no-audio --no-sout-audio
--no-osd --network-caching=10
rtsp://$IPCAM:8557/wxHdSdiStreaming/2?videoCodecType=H.264 --sout
'#rtp{dst='$SERVER',port='$PORT',mux=ts,ttl=3}' --sout-keep &
#################################################################

But it doesn't work because i can't do simultanously more than one
conversion a socond conversion perturbate the first one.

I tried other converter but same problems then an expert told me that i wont
find better than gstreamer to do what i need to do today because i have a
lot of stream to convert at the same time.

Commande line or if possible to do it in ".c++" programme i need to designe
something that works every time without bugs :

gstreamer -input
rtsp://192.168.50.41:8601/wxHdSdiStreaming/2?videoCodecType=H.264
convert_to_mpegts_and send_to_this_out_put
{dst=192.168.50.22,port=5041,mux=ts,ttl=3} &
gstreamer -input
rtsp://192.168.50.42:8601/wxHdSdiStreaming/2?videoCodecType=H.264
convert_to_mpegts_and send_to_this_out_put
{dst=192.168.50.22,port=5042,mux=ts,ttl=3} &
gstreamer -input
rtsp://192.168.50.43:8601/wxHdSdiStreaming/2?videoCodecType=H.264
convert_to_mpegts_and send_to_this_out_put
{dst=192.168.50.22,port=5043,mux=ts,ttl=3} &
 [...] &
gstreamer -input
rtsp://192.168.50.48:8601/wxHdSdiStreaming/2?videoCodecType=H.264
convert_to_mpegts_and send_to_this_out_put
{dst=192.168.50.22,port=5048,mux=ts,ttl=3}

The biggest problem that i can have is to finish this development and have
no video on some of the out-put  because that is why i am moving on
gstreamer. What we hope is to be able to do this conversion correctly and
permanently for at least 5 cameras at the same time.

I am a beginner enthusiast of videos stream so all explanations will be
appreciated don't hesitates to give all details that you can details 

Thank you in advance 

ENTHOUSIAST



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Please-help-I-need-to-convert-multiple-H-264-rtsp-live-stream-to-mpegts-rtp-simultaneously-without-ay-tp4676079.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list