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

Centos 7.8 - Installation errors #4

Open
chlowden opened this issue Sep 28, 2020 · 54 comments
Open

Centos 7.8 - Installation errors #4

chlowden opened this issue Sep 28, 2020 · 54 comments
Labels
bug Something isn't working

Comments

@chlowden
Copy link

Hello
I am trying to install on centos 7.8 but I am getting the errors below.
GLIBC seems to be a touchy lib to install so i am reticent
https://serverfault.com/questions/894625/safely-upgrade-glibc-on-centos-7
Any thoughts are most welcome

[admin2@centoslowdell App]$ sudo ./CineEncoder.run [sudo] password for admin2: ./CineEncoder.run: /lib64/libm.so.6: version GLIBC_2.29' not found (required by ./CineEncoder.run)
./CineEncoder.run: /lib64/libm.so.6: version GLIBC_2.29' not found (required by /home/admin2/Downloads/cine-encoder-2.4_other_linux_x86_64/App/libpython3.8.so.1.0) ./CineEncoder.run: /lib64/libc.so.6: version GLIBC_2.28' not found (required by /home/admin2/Downloads/cine-encoder-2.4_other_linux_x86_64/App/libpython3.8.so.1.0)
./CineEncoder.run: /lib64/libc.so.6: version GLIBC_2.25' not found (required by /home/admin2/Downloads/cine-encoder-2.4_other_linux_x86_64/App/libpython3.8.so.1.0) ./CineEncoder.run: /lib64/libc.so.6: version GLIBC_2.26' not found (required by /home/admin2/Downloads/cine-encoder-2.4_other_linux_x86_64/App/libpython3.8.so.1.0)
./CineEncoder.run: /lib64/libc.so.6: version GLIBC_2.27' not found (required by /home/admin2/Downloads/cine-encoder-2.4_other_linux_x86_64/App/libpython3.8.so.1.0) ./CineEncoder.run: /lib64/libc.so.6: version GLIBC_2.25' not found (required by /home/admin2/Downloads/cine-encoder-2.4_other_linux_x86_64/App/libexpat.so.1)
`

@chlowden chlowden changed the title Centos 7.8 - Installtion errors Centos 7.8 - Installation errors Sep 28, 2020
@CineEncoder
Copy link
Owner

Hi!

I already know that there are problems with the binary package CineEncoder.run. Now I am completely rewriting the program from Python to C++, I think I should post a working package within a month. Have you tried installing the .rpm package? I tried it on Fedora 32, but I think it should work on CentOS as well.

@chlowden
Copy link
Author

Thanks for the reply.
I tried the rpm and got these results :
[admin2@centoslowdell Downloads]$ sudo rpm -i cine-encoder-2.4_fedora_x86_64.rpm error: Failed dependencies: ffmpeg >= 4.2 is needed by cine-encoder-2.4-1.noarch python3-pymediainfo is needed by cine-encoder-2.4-1.noarch python3-qt5 is needed by cine-encoder-2.4-1.noarch rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by cine-encoder-2.4-1.noarch

`[admin2@centoslowdell Downloads]$ sudo yum localinstall cine-encoder-2.4_fedora_x86_64.rpm
Loaded plugins: elrepo, fastestmirror, langpacks, nvidia
Examining cine-encoder-2.4_fedora_x86_64.rpm: cine-encoder-2.4-1.noarch
Marking cine-encoder-2.4_fedora_x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package cine-encoder.noarch 0:2.4-1 will be installed
--> Processing Dependency: ffmpeg >= 4.2 for package: cine-encoder-2.4-1.noarch
Loading mirror speeds from cached hostfile

  • base: ftp.rezopole.net
  • elrepo: elrepo.reloumirrors.net
  • epel: mirror.in2p3.fr
  • extras: ftp.rezopole.net
  • nux-dextop: mirror.li.nux.ro
  • rpmfusion-free-updates: mir01.syntis.net
  • rpmfusion-nonfree-updates: mir01.syntis.net
  • updates: ftp.rezopole.net
    [elrepo]: 46 kmod packages excluded due to dependency errors
    --> Processing Dependency: python3-pymediainfo for package: cine-encoder-2.4-1.noarch
    --> Processing Dependency: python3-qt5 for package: cine-encoder-2.4-1.noarch
    --> Running transaction check
    ---> Package cine-encoder.noarch 0:2.4-1 will be installed
    --> Processing Dependency: ffmpeg >= 4.2 for package: cine-encoder-2.4-1.noarch
    --> Processing Dependency: python3-pymediainfo for package: cine-encoder-2.4-1.noarch
    ---> Package python36-qt5.x86_64 0:5.12.1-3.el7 will be installed
    --> Processing Dependency: python36-qt5-base(x86-64) = 5.12.1-3.el7 for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Processing Dependency: libEnginio.so.1(Qt_5)(64bit) for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Processing Dependency: libQt5Bluetooth.so.5(Qt_5)(64bit) for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Processing Dependency: libQt5Designer.so.5(Qt_5)(64bit) for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Processing Dependency: libQt5Help.so.5(Qt_5)(64bit) for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Processing Dependency: libQt5Location.so.5(Qt_5)(64bit) for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Processing Dependency: libQt5Nfc.so.5(Qt_5)(64bit) for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Processing Dependency: libQt5WebSockets.so.5(Qt_5)(64bit) for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Processing Dependency: libEnginio.so.1()(64bit) for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Processing Dependency: libQt5Bluetooth.so.5()(64bit) for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Processing Dependency: libQt5Designer.so.5()(64bit) for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Processing Dependency: libQt5Help.so.5()(64bit) for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Processing Dependency: libQt5Location.so.5()(64bit) for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Processing Dependency: libQt5Nfc.so.5()(64bit) for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Processing Dependency: libQt5WebSockets.so.5()(64bit) for package: python36-qt5-5.12.1-3.el7.x86_64
    --> Running transaction check
    ---> Package cine-encoder.noarch 0:2.4-1 will be installed
    --> Processing Dependency: ffmpeg >= 4.2 for package: cine-encoder-2.4-1.noarch
    --> Processing Dependency: python3-pymediainfo for package: cine-encoder-2.4-1.noarch
    ---> Package python36-qt5-base.x86_64 0:5.12.1-3.el7 will be installed
    --> Processing Dependency: python-qt5-rpm-macros = 5.12.1-3.el7 for package: python36-qt5-base-5.12.1-3.el7.x86_64
    --> Processing Dependency: python36-pyqt5-sip-api(12) >= 12.6 for package: python36-qt5-base-5.12.1-3.el7.x86_64
    --> Processing Dependency: python36-dbus for package: python36-qt5-base-5.12.1-3.el7.x86_64
    ---> Package qt5-qtconnectivity.x86_64 0:5.9.7-1.el7 will be installed
    ---> Package qt5-qtenginio.x86_64 1:1.6.2-2.el7 will be installed
    ---> Package qt5-qtlocation.x86_64 0:5.9.7-1.el7 will be installed
    ---> Package qt5-qttools-libs-designer.x86_64 0:5.9.7-1.el7 will be installed
    --> Processing Dependency: qt5-qttools-common = 5.9.7-1.el7 for package: qt5-qttools-libs-designer-5.9.7-1.el7.x86_64
    ---> Package qt5-qttools-libs-help.x86_64 0:5.9.7-1.el7 will be installed
    ---> Package qt5-qtwebsockets.x86_64 0:5.9.7-1.el7 will be installed
    --> Running transaction check
    ---> Package cine-encoder.noarch 0:2.4-1 will be installed
    --> Processing Dependency: ffmpeg >= 4.2 for package: cine-encoder-2.4-1.noarch
    --> Processing Dependency: python3-pymediainfo for package: cine-encoder-2.4-1.noarch
    ---> Package python-qt5-rpm-macros.noarch 0:5.12.1-3.el7 will be installed
    ---> Package python36-dbus.x86_64 0:1.2.4-4.el7 will be installed
    ---> Package python36-pyqt5-sip.x86_64 0:4.19.22-1.el7 will be installed
    ---> Package qt5-qttools-common.noarch 0:5.9.7-1.el7 will be installed
    --> Finished Dependency Resolution
    Error: Package: cine-encoder-2.4-1.noarch (/cine-encoder-2.4_fedora_x86_64)
    Requires: python3-pymediainfo
    Error: Package: cine-encoder-2.4-1.noarch (/cine-encoder-2.4_fedora_x86_64)
    Requires: ffmpeg >= 4.2
    Installed: ffmpeg-3.4.8-1.el7.x86_64 (@rpmfusion-free-updates)
    ffmpeg = 3.4.8-1.el7
    Available: ffmpeg-2.2.1-1.el7.nux.x86_64 (nux-dextop)
    ffmpeg = 2.2.1-1.el7.nux
    Available: ffmpeg-2.2.1-2.el7.nux.x86_64 (nux-dextop)
    ffmpeg = 2.2.1-2.el7.nux
    Available: ffmpeg-2.3.2-1.el7.nux.x86_64 (nux-dextop)
    ffmpeg = 2.3.2-1.el7.nux
    Available: ffmpeg-2.3.4-1.el7.nux.x86_64 (nux-dextop)
    ffmpeg = 2.3.4-1.el7.nux
    Available: ffmpeg-2.3.4-2.el7.nux.x86_64 (nux-dextop)
    ffmpeg = 2.3.4-2.el7.nux
    Available: ffmpeg-2.6.3-1.el7.nux.x86_64 (nux-dextop)
    ffmpeg = 2.6.3-1.el7.nux
    Available: ffmpeg-2.6.5-1.el7.nux.x86_64 (nux-dextop)
    ffmpeg = 2.6.5-1.el7.nux
    Available: ffmpeg-2.6.8-1.el7.nux.x86_64 (nux-dextop)
    ffmpeg = 2.6.8-1.el7.nux
    Available: ffmpeg-2.6.8-2.el7.nux.x86_64 (nux-dextop)
    ffmpeg = 2.6.8-2.el7.nux
    Available: ffmpeg-2.6.8-3.el7.nux.x86_64 (nux-dextop)
    ffmpeg = 2.6.8-3.el7.nux
    Available: ffmpeg-2.8.15-1.el7.nux.x86_64 (nux-dextop)
    ffmpeg = 2.8.15-1.el7.nux
    Available: ffmpeg-2.8.15-2.el7.nux.x86_64 (nux-dextop)
    ffmpeg = 2.8.15-2.el7.nux
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    `

@CineEncoder
Copy link
Owner

There are some problems with dependencies. I will try to create a separate package for CentOS 7.
If you need it urgently, you can download the Source code, and run file main.py in the cine_encoder folder. Before you do this, you need to install the dependencies:

  • ffmpeg
  • mkvtoolnix
  • mediainfo
  • python3 version 3.6 or higher
  • python3-qt5
  • python3-pymediainfo
    (the name of these dependencies may differ from what I wrote, since I haven't worked with CentOS yet)

@chlowden
Copy link
Author

Let me see how I get on.
Centos is the prefered linux OS for professional video post production. Davinci resolve, Nuke, Autodesk flame etc work on this OS. But maybe this is not your focus.

@CineEncoder
Copy link
Owner

I have Manjaro Linux installed, I can say that Davinci Resolve works fine too.

@chlowden
Copy link
Author

chlowden commented Sep 28, 2020 via email

@CineEncoder
Copy link
Owner

I can't say anything about CentOS, but Manjaro is a very simple and powerful distribution, including due to a large number of adapted programs and the AUR repository.

@chlowden
Copy link
Author

I did not know of Manjaro. I will check it out. Most of the linux post prod apps were developed under red hat and then they migrated to centos. As post production gets cheaper, the developers save money where they can

@CineEncoder
Copy link
Owner

CineEncoder commented Oct 3, 2020

Good day!
Today I tried to make a package for CentOS 7.8, but I can't find the pymediainfo package for python3 in the CentOS repositories, there is only a package for python2. In addition, only the outdated version of ffmpeg 3.4 can be installed, while I was testing the functionality for ffmpeg 4.2 and higher. So I hope a working version for CentOS will appear when I rewrite the program to C++.

@chlowden
Copy link
Author

chlowden commented Oct 4, 2020 via email

@CineEncoder
Copy link
Owner

CineEncoder commented Oct 15, 2020

Hi!
Today I finally make a package for CentOS 7.8:
https://github.com/CineEncoder/cine-encoder/releases/download/2.4/cine-encoder-2.4_centos7_x86_64.rpm
Also, if you have any recommendations for improving the program interface or adding new options, you can write here.

@chlowden
Copy link
Author

chlowden commented Oct 16, 2020 via email

@CineEncoder
Copy link
Owner

CineEncoder commented Oct 17, 2020

mkv is used as an intermediate format for adding HDR metadata using the mkvpropedit utility,
since FFMPEG cannot do this.

@chlowden
Copy link
Author

chlowden commented Oct 20, 2020 via email

@CineEncoder
Copy link
Owner

Perhaps this is already due to the features of FFMPEG. I still need to think about what exactly this is related to.
Is it possible that there is an error when uploading a file?

@chlowden
Copy link
Author

chlowden commented Oct 20, 2020 via email

@chlowden
Copy link
Author

chlowden commented Nov 3, 2020 via email

@CineEncoder
Copy link
Owner

Hi!
I will release a new version soon, and it will probably work after that.

@chlowden
Copy link
Author

chlowden commented Nov 3, 2020 via email

@CineEncoder
Copy link
Owner

Hi!
Today I published version 3.0.

@chlowden
Copy link
Author

chlowden commented Nov 6, 2020 via email

@CineEncoder
Copy link
Owner

CineEncoder commented Nov 6, 2020

I forgot to say that you need to install a ready-made package for CentOS: https://github.com/CineEncoder/cine-encoder/releases/download/3.0/cine-encoder-3.0-1.centos7_beta.x86_64.rpm
Since everything in the source code is designed for the latest version of Qt5.15
(also for information: never run the make command via sudo , as it may damage the system.)

@chlowden
Copy link
Author

chlowden commented Nov 6, 2020 via email

@CineEncoder
Copy link
Owner

CineEncoder commented Nov 6, 2020

Yes, I registered it on https://www.pling.com/p/1406740/

Errors are possible due to an outdated version of ffmpeg on CentOS.
Also, for some reason, the dark font on the buttons only appears on Fedora and CentOS systems, I will have to work on this later.

@chlowden
Copy link
Author

chlowden commented Nov 6, 2020

Sadly, I am not a dev and a total terminal newbie. But is there something I can do to help?

@CineEncoder
Copy link
Owner

CineEncoder commented Nov 6, 2020

Can you send me an error?
To do this, type in the terminal:

cine_encoder

and reproduce the error

@chlowden
Copy link
Author

chlowden commented Nov 6, 2020

I just tried a batch of DNXHD & mp4 encodes to H. It always stops on the mp4

Below is the log

[admin2@centoslowdell ~]$ cine_encoder Number of thumbnails: 11 Settings file exist ... Number of lines in settings file: 3 Temp folder: Output folder: /home/admin2/Desktop/test Batch mode: 1 Preset file exist ... Number of lines in preset file: 22 Gtk-Message: 13:56:06.729: GtkDialog mapped without a transient parent. This is discouraged. No bitrate info! Thumbnail file not exist and created... Gtk-Message: 13:56:39.455: GtkDialog mapped without a transient parent. This is discouraged. Status encode btn: start Make preset... preset_0: -hide_banner preset_pass1: -map_metadata -1 -map 0:v:0 -pix_fmt yuv420p -c:v libx264 -profile:v high -preset slow -b:v 10M -minrate 10M -maxrate 10M -bufsize 10M -pass 1 -color_primaries bt709 -colorspace bt709 -an -f null /dev/null preset: -map_metadata -1 -map 0:v:0 -pix_fmt yuv420p -c:v libx264 -profile:v high -preset slow -b:v 10M -minrate 10M -maxrate 10M -bufsize 10M -pass 2 -color_primaries bt709 -colorspace bt709 -map 0:a -c:a aac -b:a 256k Encode ... Encode 1-st pass... Encode ... Encode non HDR... Complete ... Make preset... preset_0: -hide_banner preset_pass1: -map_metadata -1 -map 0:v:0 -pix_fmt yuv420p -c:v libx264 -profile:v high -preset slow -b:v 10M -minrate 10M -maxrate 10M -bufsize 10M -pass 1 -an -f null /dev/null preset: -map_metadata -1 -map 0:v:0 -pix_fmt yuv420p -c:v libx264 -profile:v high -preset slow -b:v 10M -minrate 10M -maxrate 10M -bufsize 10M -pass 2 -map 0:a -c:a aac -b:a 256k Encode ...
& a screengrab
Screenshot from 2020-11-06 14-00-28

@CineEncoder
Copy link
Owner

CineEncoder commented Nov 6, 2020

Everything is clear: there is no frame rate data in this file, so the program gives an error message because it can't calculate the total number of frames. You can exclude it from the list, and then find out why there is no information about the frame rate. If you open it through the media player, does this file play correctly ?
Are other files converted without errors?

@chlowden
Copy link
Author

chlowden commented Nov 6, 2020 via email

@CineEncoder
Copy link
Owner

CineEncoder commented Nov 6, 2020

Unfortunately, you can only work in rewrite mode. The check mark is set for information so that the user knows that if there are existing files with the same name, they will be overwritten.
In the future, I may make this option, but I don't know how to do it yet.

@CineEncoder
Copy link
Owner

Hi!
Today I updated the release of the program, removed some bugs.

@CineEncoder
Copy link
Owner

Hello!
Thank you for your donation! In 2-3 weeks I will make support for all DNxHD and ProRes variants.

@chlowden
Copy link
Author

chlowden commented Feb 24, 2021 via email

@chlowden
Copy link
Author

chlowden commented Feb 25, 2021 via email

@CineEncoder
Copy link
Owner

CineEncoder commented Feb 25, 2021

Hi!
This will depend on whether FFmpeg has these options, since my program is not a stand-alone encoder at this moment.
I'll see what options are supported, try to figure it out.
Can you send me a link if you have sample files in these formats?

@chlowden
Copy link
Author

chlowden commented Feb 26, 2021 via email

@CineEncoder
Copy link
Owner

Hi!
Today I published a new version 3.2 with support for ProRes and DNxHR profiles.
https://github.com/CineEncoder/cine-encoder/releases
I also added additional functionality.
As for the Red and Arri formats, there will still need to be dealt with, I have not worked with these formats yet. I installed Arriraw converter, where I understand there is a processing of such parameters as noise reduction, white balance, exposure, conversion of color profiles, it is more like a full-fledged video editor. Therefore, as far as possible, I will try to deal with this, but at this stage, the program from Arri will have a clear advantage.

@chlowden
Copy link
Author

chlowden commented Apr 30, 2021 via email

@CineEncoder
Copy link
Owner

Hello!

Thank you for your support. Now I'm working on the next version of the program, unfortunately the main work takes up almost all the time, so new releases will not come out so often.
In the new version, I want to add support for IntelQSV (for linux, so far only in experimental mode), as well as changes in the graphic design and optimization of the program. The next release is planned to be released approximately in a month.

@chlowden
Copy link
Author

chlowden commented Apr 30, 2021 via email

@CineEncoder
Copy link
Owner

CineEncoder commented Apr 30, 2021

Try to look in the home folder, but I don't create it, except that FFmpeg
creates it in the course of its work, but I'm not sure.
As for the stability of the work, in the new versions I will use the same libraries,
so there should be no problems.

@CineEncoder
Copy link
Owner

Hello!

Today I looked that the log files are really created in the home folder,
but I see that only for two-pass encoding (log file name: ffmpeg2pass-0.log.temp).

@CineEncoder CineEncoder added the bug Something isn't working label Jun 30, 2021
@CineEncoder
Copy link
Owner

Hello!
Thank you for your donation!

@chlowden
Copy link
Author

chlowden commented Sep 17, 2021 via email

@chlowden
Copy link
Author

chlowden commented Sep 17, 2021 via email

@CineEncoder
Copy link
Owner

CineEncoder commented Sep 17, 2021

Hi! As for the libraries, there is no error, they are simply called differently in CentOS (I will add them later to the program description):
libmediainfo-devel
qt5-qtbase-devel
qt5-qtmultimedia-devel

As for the error during conversion, it seems to me that the problem is in the location of the library
libmp3lame.so.0. In my system, this library is located in the folder /usr/lib64 and also conversion passes without an error in this format. On one forum, I found a person with a similar problem, there it is proposed to create a symbolic link using the "ln -s" command: ffmpeg-error-while-loading-shared-libraries.

If this does not help, then write whether this error occurs with other files? and also try to disable all the checkboxes from subtitles (because now there is a problem when encoding videos with subtitles, which I am trying to fix) and audio tracks in the Options window (if the file contains them) and see if an error appears.

@chlowden
Copy link
Author

chlowden commented Sep 17, 2021 via email

@chlowden
Copy link
Author

chlowden commented Nov 15, 2021 via email

@chlowden
Copy link
Author

chlowden commented Nov 15, 2021 via email

@CineEncoder
Copy link
Owner

Hello!
Ok, I will add such a button to the View menu. I plan to release 3.5.2 sometime in early December. This most likely happened due to the fact that the parameters from the previous version were applied from the settings file /Home/CineEncoder/ce_window.ini. You can delete this file to reset the window settings. In the future, I will also make sure that the old settings are not applied.

@chlowden
Copy link
Author

chlowden commented Nov 15, 2021 via email

@CineEncoder
Copy link
Owner

Thanks!

@CineEncoder
Copy link
Owner

Hello!
It turned out even earlier than I thought. Here's the new version: https://github.com/CineEncoder/cine-encoder/releases/tag/3.5.2

@chlowden
Copy link
Author

chlowden commented Nov 19, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants