CineEncoder / cine-encoder

Cine Encoder is an application that allow to convert media files while preserving HDR metadata.
GNU General Public License v3.0
98 stars 12 forks source link

Centos 7.8 - Installation errors #4

Open chlowden opened 3 years ago

chlowden commented 3 years ago

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: versionGLIBC_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: versionGLIBC_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: versionGLIBC_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: versionGLIBC_2.25' not found (required by /home/admin2/Downloads/cine-encoder-2.4_other_linux_x86_64/App/libexpat.so.1) `

CineEncoder commented 3 years ago

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

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

CineEncoder commented 3 years ago

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:

chlowden commented 3 years ago

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

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

chlowden commented 3 years ago

Clever people port to other linux versions but the official OS is centos. I'm not clever so I work on centos, for better or for worse.

On 28/09/2020 15:16, CineEncoder wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-699999549, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSSUCYSX5Z4A7YJ4JPTSICEBLANCNFSM4R4F7AIA.

CineEncoder commented 3 years ago

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

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

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

Thank you so much for taking an interest in centos. Engineers like it because it is the most conservative (stable) distro. I don't know of any high end post prod app on centos that has officially moved to centos 8. All too scary for them.

On 03/10/2020 23:31, CineEncoder wrote:

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. Also, only the outdated version of ffmpeg 3.4 is installed, while I checked the functionality for ffmpeg 4.2 and higher. So I hope a working version for CentOS will appear when I rewrite the program in C++.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-703167227, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSXWWYEIZ44CHIUU453SI6J2LANCNFSM4R4F7AIA.

CineEncoder commented 3 years ago

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

Hello Thank you so much for this version. Congratulations. My first prores tests  are working fast and stable. A question : I notice in the temp folder that a mkv file is created during the transcode. is mkv your pivot file format? Many many thanks Christopher

On 15/10/2020 23:23, CineEncoder wrote:

Hi! Today I finally made a package for CentOS 7.8:

https://github.com/CineEncoder/cine-encoder/releases/download/2.4/cine-encoder-2.4_centos7_x86_64.rpm

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-709598119, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSRPAE3TKOPFKVTGM3TSK5R4LANCNFSM4R4F7AIA.

c

CineEncoder commented 3 years ago

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

chlowden commented 3 years ago

Hello I thought you might like to know that the mp4 files using H264 VBR or CQP are not able to be read in Firefox or chromium but does seem to work in Google Chrome. I have also tried these files when uploaded onto sites with the same issue. I don't have these issues if  files are encoded by Adobe Media Encoder.

Many thanks

On 17/10/2020 10:32, CineEncoder wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-710775493, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSQBEM44JBKZJ5XT663SLFJAZANCNFSM4R4F7AIA.

CineEncoder commented 3 years ago

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

I get the same issue with the video editor Olive that also uses ffmpeg to encode. Here is the firefox error ...

and chromium

On 20/10/2020 09:52, CineEncoder wrote:

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?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-712665498, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSTZXJM62C4HMYGBCY3SLU6TJANCNFSM4R4F7AIA.

chlowden commented 3 years ago

Hello To add to this issue, I have mac users using Quicktime player unable to open the H264 mp4 files too.

I am investigating which codecs do work on macs.

On 20/10/2020 10:07, christopher@fearlesstv.com wrote:

I get the same issue with the video editor Olive that also uses ffmpeg to encode. Here is the firefox error ...

and chromium

On 20/10/2020 09:52, CineEncoder wrote:

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?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-712665498, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSTZXJM62C4HMYGBCY3SLU6TJANCNFSM4R4F7AIA.

CineEncoder commented 3 years ago

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

chlowden commented 3 years ago

Looking forward to it. many thanks

On 03/11/2020 10:01, CineEncoder wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-720988789, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSXXYY4G7ERM35XET7DSN7BGPANCNFSM4R4F7AIA.

CineEncoder commented 3 years ago

Hi! Today I published version 3.0.

chlowden commented 3 years ago

This is excellent news and the screen grabs look great & maybe there is batch encoding. Sadly, the make function does not work for me in centos 7

[admin2@centoslowdell cine-encoder-master]$ sudo make [sudo] password for admin2: /usr/bin/qmake -o Makefile ../cine-encoder-3.0/app/cine_encoder.pro -spec linux-g++ CONFIG+=debug make: /usr/bin/qmake: Command not found make: *** [Makefile] Error 127

Plus the dependencies are too advanced for the standard centos repos. I don't want to install newer versions as I don't know what impact they will have on other apps.

Many thanks

On 05/11/2020 13:49, CineEncoder wrote:

Hi! Today I published version 3.0.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-722357453, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSWCIDWYETLYTH3MUBLSOKNOZANCNFSM4R4F7AIA.

CineEncoder commented 3 years ago

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

Installed and it looks great. I am very excited. My only comment on the UX is that the errors and some buttons are really dark, so difficult to read.

Sadly, I am getting errors during transcodes but the errors are not very useful. Do you log the app somewhere so I can share them with you ?

On 06/11/2020 08:16, CineEncoder wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-722920745, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSWPRGJXCU62WUK56FDSOOPGNANCNFSM4R4F7AIA.

CineEncoder commented 3 years ago

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

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

CineEncoder commented 3 years ago

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

cine_encoder

and reproduce the error

chlowden commented 3 years ago

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

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

My test is to reencode mp4 in to a new folder that cinenecoder has already encoded. It is the mp4 that the system does not like. Also, the overwrite files option is ticked but cannot be unchecked. Is there a reason for this?

On 06/11/2020 14:14, CineEncoder wrote:

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. The rest of the files are converted without errors?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-723074476, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSWN5KVGMX5KGNCV5RLSOPZDZANCNFSM4R4F7AIA.

CineEncoder commented 3 years ago

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

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

CineEncoder commented 3 years ago

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

chlowden commented 3 years ago

That would be great. Looking forward to it

On 24/02/2021 17:57, CineEncoder wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-785220698, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSQRFWDBDM2A5MWWBU3TAUVXPANCNFSM4R4F7AIA.

chlowden commented 3 years ago

Do you think that your system can support camera files such as Red and Arri Raw one day ?

On 24/02/2021 17:57, CineEncoder wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-785220698, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSQRFWDBDM2A5MWWBU3TAUVXPANCNFSM4R4F7AIA.

CineEncoder commented 3 years ago

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

https://www.red.com/download/r3d-sdk

for red sdk

https://www.arri.com/en/learn-help/learn-help-camera-system/tools/arriraw-converter

for arri raw sdk

On 25/02/2021 08:56, CineEncoder wrote:

Hi! This will depend on whether FFMPEG has these options, since my program is not a stand-alone encoder. I'll see what options are supported, try to figure it out.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-785698190, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSSY4JF6RS5TQUUCAXLTAX7ELANCNFSM4R4F7AIA.

CineEncoder commented 3 years ago

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

I don't know if this is what you want but I shared your app on the main Autodesk forum. I really like what you are have done and I think it should be shared .

https://forums.autodesk.com/t5/flame-forum/transcoding-exports-to-mp4-on-centos-my-solution/td-p/10281237

Transcoding exports to mp4 on Centos - my solution

0 REPLIES Back to Flame Products Category https://forums.autodesk.com/t5/flame-products/ct-p/area-c5

Message 1 https://forums.autodesk.com/t5/flame-forum/transcoding-exports-to-mp4-on-centos-my-solution/m-p/10281237#M12841 of 1 chlowden Participant chlowden https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2840149 0 Views, 0 Replies ‎04-30-2021 04:19 AM

Transcoding exports to mp4 on Centos - my solution

Hello

Maybe you are like me and have to share mp4 files from work in Flame Linux. I am sure each of you has a work around, but I thought I would share mine.

CINE ENCODER

https://github.com/CineEncoder/cine-encoder https://github.com/CineEncoder/cine-encoder

The developer kindly includes a centos 7 rpm to facilitate install on flames configs (amongst other apps). There are a couple of libraries that are associated with this app, so you install at your own risk and you should understand how to install apps in centos.

I have had no conflict between Flame and this app and it saves me a lot of time.

The app also has many high end encoding formats for HDR workflows and the dev is open to investigating other configs.

If you use it, please contribute financially as it encourages the dev to add features.

I hope this may interest some of you linux heads. It has certainly helped me.

CineEncoder commented 3 years ago

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

Good luck with that dev. (I can a generic error message on some transcode and it mentions a log. Where is the log held?)

The head of the Autodesk Flame Team replied in the thread that it may not be such a good idea it install it blindly (which I agree with) . But now Autodesk are aware of what you are doing ... for better or for worse.

Good luck and thanks.

On 30/04/2021 14:12, CineEncoder wrote:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-830050881, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSTRISQC4VDR7WGPQ2DTLKNCFANCNFSM4R4F7AIA.

CineEncoder commented 3 years ago

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

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

Hello! Thank you for your donation!

chlowden commented 2 years ago

I am struggling to get cine encoder to work and I notice that the dependencies you need don't seem to me the ones available for 7.8 on rpmfusion

|- ffmpeg>=4.2 |

|- mkvtoolnix>=49.0 - libmediainfo-dev>=0.7.70-1 - qtbase5-dev>=5.3.2 - qtmultimedia5-dev>=5.7.1 |Centos 7 terminal return

Package ffmpeg-3.4.8-1.el7.x86_64 already installed and latest version Package mkvtoolnix-46.0.0-2.el7.x86_64 already installed and latest version No package libmediainfo-dev available. No package qtbase5-dev available No package qtmultimedia5-dev available.

|Below is the terminal log when I try to do an encode. The GUI opens fine and the menus work, but the encoding crashes out. @. ~]# cine_encoder QLayout: Attempting to add QLayout "" to Widget "Widget", which already has a layout QLayout: Attempting to add QLayout "" to Widget "Widget", which already has a layout QLayout: Attempting to add QLayout "" to Widget "Widget", which already has a layout QLayout: Attempting to add QLayout "" to Widget "Widget", which already has a layout QWidget::setLayout: Attempting to set QLayout "" on QMainWindow "CentralWindow", which already has a layout Window Activated ... Number of thumbnails: 2 Settings file exist ... Number of lines in settings file: 7 Setting file error, not enough parameters!!! Temp folder: Output folder: Protection: 0 Timer interval: 30 Preset file exist ... Number of lines in preset file: 35 34 x 35 QXcbConnection: XCB error: 3 (BadWindow), sequence: 1762, resource id: 27385519, major code: 40 (TranslateCoords), minor code: 0 QPixmap::scaled: Pixmap is a null pixmap QXcbConnection: XCB error: 3 (BadWindow), sequence: 4555, resource id: 27386519, major code: 40 (TranslateCoords), minor code: 0 Pos_top: 7 Pos_cld: 0 Double clicked column: 0 Status encode btn: start Make preset... Flag two-pass: 0 Flag HDR: 0 preset_0: -hide_banner preset: -map 0:v:0? -map 0:a:0? -map_metadata -1 -map_metadata:s:v:0 -1 -metadata:s:a:0 language=en -metadata:s:a:0 title= -vf fps=fps=25 -pix_fmt yuv422p -c:v mpeg2video -profile:v 0 -flags ilme -top 1 -metadata creation_time=now -vtag xd5c -timecode 01:00:00:00 -level:v 2 -b:v 50000000 -minrate 50000000 -maxrate 50000000 -bufsize 50000000 -color_primaries bt709 -colorspace bt709 -color_trc bt709 -c:a pcm_s16le Encode ... Encode non HDR... Error_1 ... QXcbConnection: XCB error: 3 (BadWindow), sequence: 4751, resource id: 27386528, major code: 40 (TranslateCoords), minor code: 0 Exit confirmed! Preset file saved... QXcbConnection: XCB error: 3 (BadWindow), sequence: 5591, resource id: 27387423, major code: 40 (TranslateCoords), minor code: 0 @. ~]#

Any thoughts would be most helpful Thank you ||

chlowden commented 2 years ago

I am struggling to get cine encoder to work and I notice that the dependencies you need don't seem to me the ones available for 7.8 on rpmfusion

|- ffmpeg>=4.2 |

|- mkvtoolnix>=49.0 - libmediainfo-dev>=0.7.70-1 - qtbase5-dev>=5.3.2 - qtmultimedia5-dev>=5.7.1 |Centos 7 terminal return

Package ffmpeg-3.4.8-1.el7.x86_64 already installed and latest version Package mkvtoolnix-46.0.0-2.el7.x86_64 already installed and latest version No package libmediainfo-dev available. No package qtbase5-dev available No package qtmultimedia5-dev available.

|Below is the terminal log when I try to do an encode. The GUI opens fine and the menus work, but the encoding crashes out. @. ~]# cine_encoder QLayout: Attempting to add QLayout "" to Widget "Widget", which already has a layout QLayout: Attempting to add QLayout "" to Widget "Widget", which already has a layout QLayout: Attempting to add QLayout "" to Widget "Widget", which already has a layout QLayout: Attempting to add QLayout "" to Widget "Widget", which already has a layout QWidget::setLayout: Attempting to set QLayout "" on QMainWindow "CentralWindow", which already has a layout Window Activated ... Number of thumbnails: 2 Settings file exist ... Number of lines in settings file: 7 Setting file error, not enough parameters!!! Temp folder: Output folder: Protection: 0 Timer interval: 30 Preset file exist ... Number of lines in preset file: 35 34 x 35 QXcbConnection: XCB error: 3 (BadWindow), sequence: 1762, resource id: 27385519, major code: 40 (TranslateCoords), minor code: 0 QPixmap::scaled: Pixmap is a null pixmap QXcbConnection: XCB error: 3 (BadWindow), sequence: 4555, resource id: 27386519, major code: 40 (TranslateCoords), minor code: 0 Pos_top: 7 Pos_cld: 0 Double clicked column: 0 Status encode btn: start Make preset... Flag two-pass: 0 Flag HDR: 0 preset_0: -hide_banner preset: -map 0:v:0? -map 0:a:0? -map_metadata -1 -map_metadata:s:v:0 -1 -metadata:s:a:0 language=en -metadata:s:a:0 title= -vf fps=fps=25 -pix_fmt yuv422p -c:v mpeg2video -profile:v 0 -flags ilme -top 1 -metadata creation_time=now -vtag xd5c -timecode 01:00:00:00 -level:v 2 -b:v 50000000 -minrate 50000000 -maxrate 50000000 -bufsize 50000000 -color_primaries bt709 -colorspace bt709 -color_trc bt709 -c:a pcm_s16le Encode ... Encode non HDR... Error_1 ... QXcbConnection: XCB error: 3 (BadWindow), sequence: 4751, resource id: 27386528, major code: 40 (TranslateCoords), minor code: 0 Exit confirmed! Preset file saved... QXcbConnection: XCB error: 3 (BadWindow), sequence: 5591, resource id: 27387423, major code: 40 (TranslateCoords), minor code: 0 @. ~]#

Preset: -hide_banner -i -map 0:v:0? -map 0:a:0? -map_metadata -1 -map_metadata:s:v:0 -1 -metadata:s:a:0 language=en -metadata:s:a:0 title= -vf fps=fps=25 -pix_fmt yuv422p -c:v mpeg2video -profile:v 0 -flags ilme -top 1 -metadata creation_time=now -vtag xd5c -timecode 01:00:00:00 -level:v 2 -b:v 50000000 -minrate 50000000 -maxrate 50000000 -bufsize 50000000 -color_primaries bt709 -colorspace bt709 -color_trc bt709 -c:a pcm_s16le -y

ffmpeg: error while loading shared libraries: libmp3lame.so.0: cannot open shared object file: No such file or directory

 Any thoughts would be most helpful Thank you ||

CineEncoder commented 2 years ago

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

OK. I found this

https://centos.pkgs.org/7/epel-x86_64/lame-libs-3.100-1.el7.x86_64.rpm.html

& installed

|yum install lame-libs and it worked. Thank you so much |

On 17/09/2021 14:49, CineEncoder wrote:

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 command: ffmpeg-error-while-loading-shared-libraries https://stackoverflow.com/questions/17504888/ffmpeg-error-while-loading-shared-libraries-libmp3lame-so-0-cannot-open-share.

If this does not help, then write whether this error occurs with other files? and also try to disable all the checkboxes from subtitles and audio tracks in the Options window (if the file contains them) and see if an error appears.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CineEncoder/cine-encoder/issues/4#issuecomment-921770707, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTPXSW2DG2QSPCXJYZORW3UCM2N7ANCNFSM4R4F7AIA. 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.

chlowden commented 2 years ago

Hello

I have installed 3.5 but I cannot see the presets window. Is this normal?

Thanks

Christopher

chlowden commented 2 years ago

I found the solution. The preset window was lost but it was activated. May I suggest toy you, to have a default window set up button that resets  all the GUI. Many thanks

Christopher

On 15/11/2021 09:11, @.*** wrote:

Hello

I have installed 3.5 but I cannot see the presets window. Is this normal?

Thanks

Christopher

CineEncoder commented 2 years ago

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.