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

Installing Script Error

Open pbl4845 opened this issue 3 years ago • 10 comments

Hi Patrick,

May i get some guidande from your side?

I'm trying to install the 2110 toolkit using your install script as described in the README.md, but i'm getting the following error. -bash: syntax error near unexpected token `newline'

I compiled FFmpeg 5.0 yesterday, just in case has something to do. Should i delete it and start fresh new?

Thanks!

pbl4845 avatar Feb 28 '22 04:02 pbl4845

i only modified st2110.conf with the following changes in order to use the proper eht ports:

MGMT_IFACE=em1

MEDIA_IFACE_0=enp66s0f1 MEDIA_IFACE_1=enp66s0f0 MEDIA_IFACE=$MEDIA_IFACE_0

PTP_IFACE_0=enp66s0f1 # ptp4l PTP_IFACE_1=enp66s0f0 # phc2sys

pbl4845 avatar Feb 28 '22 08:02 pbl4845

Hello, The command given in README ./install.sh <common|transcoder|capture|ebulist|nmos> is for documentation. You have to choose which part of the toolkit you want to install. If you're interested in the ffmpeg transcoding.

./install.sh common
./install.sh transcoder

btw, this script installs the dev master branch of ffmpeg because the support of ST 2110 codec has been improved since 5.0

pkeroulas avatar Feb 28 '22 15:02 pkeroulas

I rarely install from scratch and you might encounter some errors depending you distribution.

pkeroulas avatar Feb 28 '22 15:02 pkeroulas

Thing is I tried also renaming ffmpeg to old, getting same results. So it must be something else.

I’m on Centos7

El El lun, 28 feb 2022 a las 23:02, Patrick Keroulas < @.***> escribió:

I rarely install from scratch and you might encounter some errors depending you distribution.

— Reply to this email directly, view it on GitHub https://github.com/pkeroulas/st2110-toolkit/issues/2#issuecomment-1054345220, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJRDPGUJDELHR6INAQVKLXDU5OFA3ANCNFSM5PQBIFSA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

pbl4845 avatar Feb 28 '22 15:02 pbl4845

I don't have install issue on Centos 8, can you git pull? And please, can you give me the exact command that actual fails and the output before the error message.

pkeroulas avatar Feb 28 '22 15:02 pkeroulas

Hi, I'm trying to run install.sh , it get result below can you show me what happen?

  • case "$1" in
  • echo 'Usage: ./install.sh <common|ptp|transcoder|capture|ebulist|nmos>' Usage: ./install.sh <common|ptp|transcoder|capture|ebulist|nmos>
  • set +x

boyexpert avatar Mar 15 '22 02:03 boyexpert

@boyexpert this is because you need to add a parameter (in the list "common", "ptp", "transcoder" etc.) corresponding to your use case. I'll make the message more explicit.

pkeroulas avatar Mar 15 '22 13:03 pkeroulas

https://github.com/pkeroulas/st2110-toolkit#install

pkeroulas avatar Mar 15 '22 13:03 pkeroulas

@pkeroulas thanks for your support! i tend to install transcoder section (for ffmpeg extention) on Ubuntu 20.04 before using, how to check all the installment done?

boyexpert avatar Mar 15 '22 23:03 boyexpert

Usually, when the install process breaks, ffmpeg compile fails too. Try to execute ffmep with no option and you should see the following compile options: configuration: --prefix=/usr/local --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --bindir=/usr/local/bin --extra-libs=-ldl --enable-version3 --enable-gpl --enable-nonfree --enable-postproc --enable-avresample --enable-libx264 --enable-libfdk-aac --enable-libmp3lame --disable-ffplay --disable-ffprobe --enable-small --disable-stripping --disable-debug

pkeroulas avatar Apr 07 '22 21:04 pkeroulas