Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with starting Engine #14

Closed
davidghukasyan opened this issue Feb 11, 2019 · 10 comments
Closed

Problem with starting Engine #14

davidghukasyan opened this issue Feb 11, 2019 · 10 comments
Assignees

Comments

@davidghukasyan
Copy link

davidghukasyan commented Feb 11, 2019

Hi , i got problem with running the server

below is my ffmpeg version. I am streaming via Nimble Server and attached Server.xml . If you could please help to sole the issue.

screenshot 191
.

ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-27ubuntu1~18.04)
configuration: --disable-static --enable-shared --extra-libs=-ldl --enable-ffprobe --disable-ffplay --disable-ffserver --disable-filters --disable-vaapi --disable-avdevice --disable-doc --disable-symver --disable-debug --disable-indevs --disable-outdevs --disable-devices --disable-hwaccels --disable-encoders --enable-zlib --enable-libopus --enable-libvpx --enable-libfdk_aac --enable-encoder='libvpx_vp8,libvpx_vp9,libopus,libfdk_aac' --disable-decoder=tiff --enable-filter='asetnsamples,aresample,aformat,channelmap,channelsplit,scale,transpose,fps,settb,asettb'
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavfilter 6.107.100 / 6.107.100
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100

@sfreet sfreet self-assigned this Feb 11, 2019
@sfreet
Copy link
Contributor

sfreet commented Feb 11, 2019

Hello davidghukasyan~

Thank you for registering issue.
I succeeded in reproducing the problem based on your comments.
It seems to be a compatibility issue with nimble streamer, but it may take several days to find the exact cause. (Actually, I'm not familiar with the nimble streamer :)
I'll let you know the results as soon as possible.

@davidghukasyan
Copy link
Author

thanks a lot, will be waiting for a feedback.

@sfreet
Copy link
Contributor

sfreet commented Feb 12, 2019

This issue was resolved in version f1e60e3.
(It turns out that this problem has nothing to do with nimble streamer)
If the problem persists, please let me know again.
Thank you again for your contributions David.

@davidghukasyan
Copy link
Author

now I get an info during the installation.

[ 2/166| 1%] [static] libovcrypto.a: C++ projects/base/ovcrypto/certificate.cpp => intermediates/DEBUG/objs/base/ovcrypto/certificate.o
projects/base/ovcrypto/certificate.cpp: In constructor ‘Certificate::Certificate(X509*)’:
projects/base/ovcrypto/certificate.cpp:10:2: error: ‘X509_up_ref’ was not declared in this scope
X509_up_ref(_X509);
^~~~~~~~~~~

@sfreet
Copy link
Contributor

sfreet commented Feb 12, 2019

Is it the same system you used the last time?
Could you just try to run "make clean" and "make" again?

@davidghukasyan
Copy link
Author

Yes its the same system.
Unfortunatly it doesnt help.
I even tried to download instead of git, but the result is same.

[ 10/175| 5%] [static] libovcrypto.a: C++ projects/base/ovcrypto/base_64.cpp => intermediates/DEBUG/objs/base/ovcrypto/base_64.o
[ 11/175| 6%] [static] libovcrypto.a: C++ projects/base/ovcrypto/certificate.cpp => intermediates/DEBUG/objs/base/ovcrypto/certificate.o
projects/base/ovcrypto/certificate.cpp: In constructor ‘Certificate::Certificate(X509*)’:
projects/base/ovcrypto/certificate.cpp:10:2: error: ‘X509_up_ref’ was not declared in this scope
X509_up_ref(_X509);
^~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
core/build_objects.mk:18: recipe for target 'intermediates/DEBUG/objs/base/ovcrypto/certificate.o' failed
make: *** [intermediates/DEBUG/objs/base/ovcrypto/certificate.o] Error 1

@sfreet
Copy link
Contributor

sfreet commented Feb 13, 2019

Good morning David.
"'X509_up_ref' was not declared in this scope" means that the SSL header is not found or is an older header.
I think your system's ssl library version has changed since the last installation. (Of course, It's not your intentional action - when you install other programs)
First, check out the openssl version as follows

$ openssl version
OpenSSL 1.1.0g 2 Nov 2017

Next, checking the header location

$ pkg-config --cflags openssl
-I /usr/local/include

Next, checking the function

$ cat /usr/local/include/openssl/x509.h | grep X509_up_ref
int X509_up_ref (X509 * x);

It is normal that X509_up_ref should be searched.
If not, try reinstalling ssl library for your OS as described in OvenMediaEngine.
(ex. ubuntu - apt install libssl-dev, fedora - yum install openssl-devel, centos - OpenSSL 1.1.0g Download and make install)

If this does not solve the above problem, please let me know your system information(OS name, version) with the above command execution result.
Thnak you~

@davidghukasyan
Copy link
Author

hi , thank you , Openssl reinstall helped.
I am getting
I 3565 TranscodeStream | transcode_stream.cpp:437 | Queue(filtered) is full, please decrease encoding options(resolution,bitrate,framerate)
I configured 1280x720 , 1800000 bitrate, which is a minimum requirment for me, is there any way to increase the queue/frame buffer ?

@sfreet
Copy link
Contributor

sfreet commented Feb 14, 2019

Do you have any problems with playing the media?
The message is not an error message and can be safely ignored if it is not repeated frequently and continuously.
(Increasing buffer isn't a solution)
If there is a problem with media playback and the message continues to repeat, try lowering the resolution, bitrate.
If it is not possible to do so, one solution is to use a higher specification system than the one you are using now.

@sfreet
Copy link
Contributor

sfreet commented Feb 27, 2019

I close this issue. If the issue is not resolved, please let us know again.
Thanks again for your contributions @davidghukasyan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants