pkeroulas / st2110-toolkit

GNU General Public License v3.0
80 stars 16 forks source link

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

Closed boyexpert closed 1 year ago

boyexpert commented 2 years ago

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

pkeroulas commented 2 years ago

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

boyexpert commented 2 years ago

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

pkeroulas commented 2 years ago
  1. can you ping that device?
  2. can you explore the device in your browser?
boyexpert commented 2 years ago

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

pkeroulas commented 2 years ago

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.

boyexpert commented 2 years ago

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

pkeroulas commented 2 years ago

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?

boyexpert commented 2 years ago

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 commented 2 years ago

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

pkeroulas commented 2 years ago

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.

boyexpert commented 2 years ago

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

pkeroulas commented 2 years ago

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

boyexpert commented 2 years ago

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