st2110-toolkit icon indicating copy to clipboard operation
st2110-toolkit copied to clipboard

"urllib2.urlerror urlopen error errno 111 connection refused" when running get_sdp.py

Open boyexpert opened this issue 2 years ago • 13 comments

i don't understand above error when try to get sdp file by running get_sdp.py pls help me asap!!

boyexpert avatar Apr 07 '22 06:04 boyexpert

Do you have a response for this command? curl http://[your Embrionix IP here]/emsfp/node/v1/sdp/

pkeroulas avatar Apr 07 '22 13:04 pkeroulas

I did not run that command individually. But i got some errors when running get_sdp.py EABF17AA-6C60-429A-9185-06BF6C029235

boyexpert avatar Apr 07 '22 13:04 boyexpert

  1. can you ping that device?
  2. can you explore the device in your browser?

pkeroulas avatar Apr 07 '22 14:04 pkeroulas

I'm running to connect to NIC port on my own PC

boyexpert avatar Apr 07 '22 14:04 boyexpert

From the script description: get_sdp.py - helper script to fetch SDP file from Embrionix sender so it uses Embrionix (now Riedel) API. If your PC is serving an NMOS node, please see ./nmos/get_sdp.sh.

pkeroulas avatar Apr 07 '22 18:04 pkeroulas

Embrionix (now Riedel) API may not be installed on my PC can u help me install it ? (by a link)

boyexpert avatar Apr 07 '22 23:04 boyexpert

It's going to be hard: https://www.riedel.net/index.php?id=629 What are you trying to achieve? Do you have any ST 2110 source?

pkeroulas avatar Apr 07 '22 23:04 pkeroulas

i'm trying to use transcoder to convert st2110 source to output (h264) and monitor it on screen it'll work like gstreamer tool

boyexpert avatar Apr 08 '22 00:04 boyexpert

By the way, i got some responses when running /nmos/get_sdp.py ADEE0FAF-4FA1-434D-A4A3-C67428DB9388

boyexpert avatar Apr 08 '22 00:04 boyexpert

ffmpeg takes an SDP as input, right. But you won't get any SDP from your PC. Take that sample, strip the audio (225.0.1.16) and the ancillary (225.17.0.16), and modify the video (225.164.5.190) with the network and video format corresponding to the output of your gstreamer process.

pkeroulas avatar Apr 08 '22 13:04 pkeroulas

i tried to get sdp from another source but it got the same error i have to generate a sdp file from my st2110 source by running get_sdp.py or another to input a new file by coding somewhen i can't edit file manually

boyexpert avatar Apr 09 '22 08:04 boyexpert

Hi, if your source is a software running on a regular PC, you won't magically get a SDP from there. You'd rather have to craft the SDP from the example above or here

pkeroulas avatar Apr 10 '22 22:04 pkeroulas

so, i'll try it. thank for your support!

boyexpert avatar Apr 15 '22 01:04 boyexpert