1: launchString = " udpsrc port=6004 ! \"application/x-rtp, payload=127\" ! rtph264depay ! mpegtsmux ! hlssink max-files=10 playlist-root=http://127.0.0.1:8888/ location=/hlssink%05d.ts playlist-location=/usr/local/var/www/farplaylist.m3u8 ";
2: launchString = " uri=udp://127.0.0.1:6004 ! \"application/x-rtp, payload=127\" ! rtph264depay ! mpegtsmux ! hlssink max-files=10 playlist-root=http://127.0.0.1:8888/ location=./hlssink%05d.ts playlist-location=/usr/local/var/www/farplaylist.m3u8 ";
3: launchString = " uri=udp://192.168.30.151:6004 ! \"application/x-rtp, payload=127\" ! rtph264depay ! mpegtsmux ! hlssink max-files=10 playlist-root=udp://192.168.30.151:8888/ location=./hlssink%05d.ts playlist-location=/usr/local/var/www/farplaylist.m3u8 ";
From the last call, I am getting the following error (My code is also printing the launch string):
The Launch String is uri=udp://192.168.30.151:6004 ! "application/x-rtp, payload=127" ! rtph264depay ! mpegtsmux ! hlssink max-files=10 playlist-root=http://192.168.30.151:8888/ location=./hlssink%05d.ts playlist-location=/usr/local/var/www/farplaylist.m3u8
(unknown:90349): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
exception streaming video syntax error
What am I doing wrong?
I would appreciate your help.
Thanks,
Farshid
-e -v udpsrc port=6004 ! "application/x-rtp, payload=127" ! rtph264depay ! mpegtsmux ! hlssink max-files=10 playlist-root=http://127.0.0.1:8888/ location=/hlssink%05d.ts playlist-location=/Users/farshidbakhtyari/farplaylist.m3u8
(unknown:94449): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
I made my Bin.Launch string look like the one I entered on the command line and still getting the uri error. What is wrong with my uri?
gst-launch-1.0 -e -v udpsrc uri=udp://127.0.0.1:6004 ! "application/x-rtp, payload=127" ! rtph264depay ! mpegtsmux ! hlssink max-files=10 playlist-root=http://127.0.0.1:8888/ location=/hlssink%05d.ts playlist-location=/usr/local/var/www/farplaylist.m3u8
launchString = " tee name=t " +
" t. ! queue ! application/x-rtp, payload=127 ! rtph264depay ! mpegtsmux ! appsink name=appsink " +
" t. ! queue ! application/x-rtp, payload=127 ! rtph264depay ! mpegtsmux ! hlssink max-files=10 playlist-root=http://127.0.0.1:8888/ location=/hlssink%05d.ts playlist-location=/farplaylist.m3u8 ";
Bin bin = null;
System.out.println("streamCameraVideo : The Launch String is " + launchString );
try{
bin = Pipeline.launch(launchString, true);
and the rest is
I create the playbin and try to set the URI for Playbin. My question is, what should be the Playbin URI.
I do set it to udp://127.0.0.1:6004. but no (*.m3u8 and *.ts )files get created. Any idea?
I am using your multi link example code as a base for this code here. I created the "AppSink" because the SimpleVideoComponent needs it.
Thanks,
Farshid
--
You received this message because you are subscribed to the Google Groups "gstreamer-java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gstreamer-jav...@googlegroups.com.
To post to this group, send email to gstream...@googlegroups.com.
Visit this group at https://groups.google.com/group/gstreamer-java.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "gstreamer-java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gstreamer-jav...@googlegroups.com.
To post to this group, send email to gstream...@googlegroups.com.
Visit this group at https://groups.google.com/group/gstreamer-java.
For more options, visit https://groups.google.com/d/optout.