Handbrake [Réglé]
Video converter
Logiciels / Graphisme photo et vidéo

Visiteur
Visiteur
Aide à compiler Handbrake avec mes bibliothèques (x264 et libvorbis|libopus).
Handbrake n'utilise pas de bibliothèques système, il utilise sa propre contrib. Debian et Ubuntu ont des patches pour le forcer à utiliser les bibliothèques du système. Mais je ne sais pas comment appliquer des patches.
C'est la première fois que je tombe sur une application étrange. Mais Handbrake est une bonne application.
Je n'ai pas besoin de bibliothèques système (ils sont anciennes), je n'ai pas besoin de contrib. J'ai compilé de nouvelles x264 et libvorbis dans /opt moi-même.
G (C)
Eng :
Hello.
Help me compile Handbrake with my libraries (x264 and libvorbis|libopus).
Handbrake doesn't use system libraries, it uses its own contrib. Debian and Ubuntu have patches forcing it to use system ones. But I don't know how to apply patches.
This is the first time I've come across such a strange app. But Handbrake is a good app.
I don't need system libraries (they are old), I don't need contrib. I have compiled fresh x264 and libvorbis in /opt myself.
Help me compile Handbrake with my libraries (x264 and libvorbis|libopus).
Handbrake doesn't use system libraries, it uses its own contrib. Debian and Ubuntu have patches forcing it to use system ones. But I don't know how to apply patches.
This is the first time I've come across such a strange app. But Handbrake is a good app.
I don't need system libraries (they are old), I don't need contrib. I have compiled fresh x264 and libvorbis in /opt myself.
Pourquoi x264 est-il si ancien sur de nombreuses distributions? Après tout, les nouvelles versions de x264 compilied parfaitement même sur les systèmes plus anciens (2016). Les maintainers sont trop paresseux pour mettre à jour le code. La version du fichier so est modifiée (cela nécessite une rebuild de toutes les applications dépendantes).
Édité par Visiteur Le 25/04/2021 à 08h04

funix Membre non connecté
-
- Voir le profil du membre funix
- Inscrit le : 17/12/2012
- Site internet
- Groupes :

Visiteur
Visiteur
Merci, mais c'est une application folle. Je vais probablement rester sur la version du dépôt. x264 même les vieux codes bien. Au fait, je ne recommande pas d'utiliser l'encodeur fdk-aac. C'est bien, mais il ne supporte que le 16 bits: il peut y avoir un écrêtage (clipping) et un faible niveau sonore (avec downmix 5.1 > 2.0).

Caché :
Thanks, but this is a crazy app. I'll probably stay on the version from the repository. x264 even old codes well. By the way, I don't recommend using fdk-aac encoder. It is good, but it only supports 16 bit: there can be clipping and low sound level (with downmix 5.1> 2.0).

Visiteur
Visiteur
Bien. J'ai essayé de compiler la nouvelle version de Hanbrake 1.3.3 sur Ubuntu 16.04 (j'ai de nombreuses bibliothèques mises à jour).
Il a téléchargé ffmpeg 4.2.3, il l'a compilé. J'ai eu l'erreur x265, j'ai désactivé --disable-x265
Ensuite, l'erreur x264 (161) est apparue.
Mon système est trop ancien *, des bibliothèques non standard.
Peut-être que je peux construire Handbrake 1.0.4. Je n'aime pas qu'il télécharge des bibliothèques sur Internet.
Je suis sûr que Mageia 8 ira bien. Et la discussion sur Ubuntu est hors sujet ici.
Au fait, Handbrake 1.3.3 a une option --with-gtk4. Mageia 8 a des bibliothèques GTK4.
Funix, avez-vous essayé d'utiliser gtk4?
* par exemple, Ktechlab (0.5 et 0.4) ne compile pas sur Ubuntu 16.04 (bien qu'il soit satisfait les versions des bibliothèques). Mais Mageia 8 va bien.
G (C)
Eng :
My problem was that I was trying to compile an old version of Handbrake (0.10) with new libraries (x264) on an old Ubuntu 16.04 system. Older versions of Handbrake seem to work better for me.
Well. I tried to compile the new Hanbrake 1.3.3 on Ubuntu 16.04 (I have many libraries updated).
He downloaded ffmpeg 4.2.3, he compiled it. I got error x265, I disabled --disable-x265
Then the error x264 (161) appeared.
My system is too old *, non-standard libraries.
Maybe I can build Handbrake 1.0.4. I don't like that it downloads libraries from the internet.
I'm sure Mageia 8 will be fine. And the Ubuntu discussion is offtopic here.
By the way, Handbrake 1.3.3 has a --with-gtk4 option. Mageia 8 has GTK4 libraries.
Funix, have you tried using gtk4?
* for example, Ktechlab (0.5 and 0.4) does not compile on Ubuntu 16.04 (despite being happy with the library versions). But Mageia 8 is fine.
Well. I tried to compile the new Hanbrake 1.3.3 on Ubuntu 16.04 (I have many libraries updated).
He downloaded ffmpeg 4.2.3, he compiled it. I got error x265, I disabled --disable-x265
Then the error x264 (161) appeared.
My system is too old *, non-standard libraries.
Maybe I can build Handbrake 1.0.4. I don't like that it downloads libraries from the internet.
I'm sure Mageia 8 will be fine. And the Ubuntu discussion is offtopic here.
By the way, Handbrake 1.3.3 has a --with-gtk4 option. Mageia 8 has GTK4 libraries.
Funix, have you tried using gtk4?
* for example, Ktechlab (0.5 and 0.4) does not compile on Ubuntu 16.04 (despite being happy with the library versions). But Mageia 8 is fine.

Visiteur
Visiteur

funix Membre non connecté
-
- Voir le profil du membre funix
- Inscrit le : 17/12/2012
- Site internet
- Groupes :

Visiteur
Visiteur
En théorie, vous pouvez spécifier un commit git (comme dans Arch Linux), mais cela ne fonctionne pas pour moi. Et vous devriez connaître le numéro de commit. GitLab x264 n'a pas de section "Releases"...
148 2643 (ub-xenial) 18 jan 2016
148 inconnu (mga6) 20 jan 2017
155 inconnu (mga7) 28 dec 2018
157 2980 (fc31) 17 jul 2019
157 indefini (mga8-cauldron) 17 dec 2019 *
159 2991 (fc32) 27 nov 2019
159 2999 (fc32u) 9 apr 2020
160 3011 (fc33) 2 jul 2020
161 3015 (my build) 12 jul 2020
161 3039 (arch26.04.2021) 18 mar 2021
161 3049 (fc34) 12 apr 2021
* Il s'agit probablement de la dernière build de la version 157. Copié beaucoup plus tard, en raison du désir d'avoir une version stable.
Édité par Visiteur Le 27/04/2021 à 05h40

Visiteur
Visiteur
artenox :
Je suis sûr que Mageia 8 ira bien
Je ne comprends pas. Mageia 8. Le programme d'installation de Handbrake a téléchargé ffmpeg-4.2.3 et dav1d-0.5.1. Il a compilé dav1d (static) dans ~/handbrake/build/contrib/libdav1d, puis il l'a installé dans ~/handbrake/build/contrib (inclure|lib/pkgconfig). Ensuite, il essaie de compiler son ffmpeg-4.2.3 (static, avec --enable-libdav1d). Il passe le paramètre PKG_CONFIG_PATH="/home/denis/handbrake/build/contrib/lib/pkgconfig". Mais ffmpeg-4.2.3 ne voit pas dav1d:
ERROR: dav1d > = 0.2.1 not found using pkg-config.
Ubuntu 16.04 n'avait pas cette erreur (ffmpeg a été compilé). Vous n'avez pas cette erreur non plus. Mais je l'ai. De toute évidence, il y a un problème avec PATH dans mon Mageia 8. J'utilise IceWM. J'ai également installé le paquet libdav1d-devel (0.8.0). Une erreur de syntaxe interne est possible.
Log
G (M)
/home/denis/HandBrake-1.3.3/build/contrib/lib/pkgconfig/dav1d.pc :
Code BASH :
prefix=/home/denis/HandBrake-1.3.3/build/contrib libdir=${prefix}/lib includedir=${prefix}/include Name: libdav1d Description: AV1 decoding library Version: 0.5.1 Libs: -L${libdir} -ldav1d Libs.private: -pthread Cflags: -I${includedir}
/home/denis/HandBrake-1.3.3/build/contrib/lib/libdav1d.a
/home/denis/HandBrake-1.3.3/build/contrib/include/dav1d/*.h
Eng :
I don't understand. Mageia 8. The Handbrake installer has downloaded ffmpeg-4.2.3 and dav1d-0.5.1. He compiled dav1d (static) in ~/handbrake/build/contrib/libdav1d, then he installed it in ~/handbrake/build/contrib (include|lib/pkgconfig). Then he tries to compile its ffmpeg-4.2.3 (static, with --enable-libdav1d). It passes the parameter PKG_CONFIG_PATH="/home/denis/handbrake/build/contrib/lib/pkgconfig". But ffmpeg-4.2.3 doesn't see dav1d :
ERROR: dav1d > = 0.2.1 not found using pkg-config.
Ubuntu 16.04 didn't have this error (ffmpeg was compiled). You don't have this error either. But I have it. Obviously there is some problem with PATH in my Mageia 8. I am using IceWM. I also have the libdav1d-devel (0.8.0) package installed. Some internal syntax error is possible.
ERROR: dav1d > = 0.2.1 not found using pkg-config.
Ubuntu 16.04 didn't have this error (ffmpeg was compiled). You don't have this error either. But I have it. Obviously there is some problem with PATH in my Mageia 8. I am using IceWM. I also have the libdav1d-devel (0.8.0) package installed. Some internal syntax error is possible.
Édité par Visiteur Le 27/04/2021 à 05h35

Visiteur
Visiteur
Bien. J'ai supprimé la mention de dav1d de ~/HandBrake-1.3.3/contrib/ffmpeg/module.defs
(interne) ffmpeg, libdvdread, libdvdnav, libbluray compilés.
Ensuite, une erreur s'est produite (comme dans Ubuntu 16.04 !)
Code BASH :
encx264.c:(.text+0x129a): undefined reference to «x264_encoder_open_159» collect2: error: ld returned 1 exit status make: *** [../test/module.rules:47: HandBrakeCLI] Error 1 1
J'ai fait google "handbrake encx264.c undefined reference to x264_encoder_open"
et j'ai trouvé une discussion https://stackoverflow.com/questions/11838456/undefined-reference-to-x264-encoder-open-125
Il est fort probable que les versions so et h (x264) ne correspondent pas.
Le fait est que j'ai compilé libx264-159 dans /usr/local. Et j'ai installé le paquet système libx264-157-devel.
J'étais naïf et je pensais que /usr/local/* avait la priorité.
Je vais supprimer le paquet système libx264-157 et reconstruire plus tard.
G (C)
Eng :
It's the same in Xfce.
Well. I removed the mention of dav1d from ~/HandBrake-1.3.3/contrib/ffmpeg/module.defs
(internal) ffmpeg, libdvdread, libdvdnav, libbluray compiled.
Then an error occured (same as in Ubuntu 16.04 !)
I did google "handbrake encx264.c undefined reference to x264_encoder_open"
and found a discussion https://stackoverflow.com/questions/11838456/undefined-reference-to-x264-encoder-open-125
Most likely the so and h (x264) versions don't match.
The fact is that I have compiled libx264-159 in /usr/local. And I have the libx264-157-devel system package installed.
I was naive and thought /usr/local/* has a priority.
I am going to remove the libx264-157 system package and rebuild later.
Well. I removed the mention of dav1d from ~/HandBrake-1.3.3/contrib/ffmpeg/module.defs
(internal) ffmpeg, libdvdread, libdvdnav, libbluray compiled.
Then an error occured (same as in Ubuntu 16.04 !)
Code BASH :
encx264.c:(.text+0x129a): undefined reference to «x264_encoder_open_159» collect2: error: ld returned 1 exit status make: *** [../test/module.rules:47: HandBrakeCLI] Error 1 1
I did google "handbrake encx264.c undefined reference to x264_encoder_open"
and found a discussion https://stackoverflow.com/questions/11838456/undefined-reference-to-x264-encoder-open-125
Most likely the so and h (x264) versions don't match.
The fact is that I have compiled libx264-159 in /usr/local. And I have the libx264-157-devel system package installed.
I was naive and thought /usr/local/* has a priority.
I am going to remove the libx264-157 system package and rebuild later.
Edit:
artenox :
J'étais naïf et je pensais que /usr/local/* avait la priorité
Peut-être que /usr/local a la priorité.
Mais /usr/local/lib n'est pas dans PATH (cependant, vous pouvez ajouter à /etc/ld.so.conf, n'oubliez pas d'exécuter sudo ldconfig après)
Et je soupçonne que /usr/local/include, /usr/local/lib/pkgconfig et /usr/local/share n'est pas dans le PATH de Mageia.
/usr/local/bin est dans PATH (sauf sudo, ajoutez à securepath dans /etc/sudoers).
Édité par Visiteur Le 27/04/2021 à 09h05

Visiteur
Visiteur
artenox :
Je vais supprimer le paquet système libx264_157 et reconstruire plus tard
Oui, ça a marché. Sans décodeur AV1 (dav1d). Et sans encodeurs x265, fdk-aac.
Mageia 8, HandBrake 1.3.3 :
Code BASH :
sudo urpme libx264_157 libx264-devel sudo ldconfig cd /home/denis/HandBrake-1.3.3 ./configure --help ./configure --prefix=/usr/local --disable-gtk-update-checks --disable-x265 --disable-fdk-aac --disable-nvenc --force cd build export CPATH=/usr/local/include:$CPATH export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH export PATH=/usr/local/bin:$PATH export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH leafpad /home/denis/HandBrake-1.3.3/contrib/ffmpeg/module.defs (supprimer les mentions à dav1d) make sudo make install sudo strip --strip-unneeded /usr/local/bin/ghb sudo strip --strip-unneeded /usr/local/bin/HandBrakeCLI
Édité par Visiteur Le 27/04/2021 à 09h28

Visiteur
Visiteur
Si quelqu'un est intéressé par mes aventures avec Ubuntu 16.04, alors :
Il y avait quelques avertissements (j'ai dû simuler le numéro de version de gettext, par exemple).
Presque tout est déjà compilé (HandBrake 1.3.3). Sauf pour le module GTK3. Une erreur est apparue :
Code BASH :
/gtk/src/ghbcompat.h:238:15: error: unknown type name ‘GdkMonitor’ static inline GdkMonitor *
https://github.com/HandBrake/HandBrake/issues/2295
GTK 3.18 est trop ancien, nécessite GTK 3.22+.
Je dois essayer HandBrake version 1.1.2 (Ubuntu 16.04 est pris en charge) ou peut-être 1.2.2.
Ou je dois compiler une nouvelle version de GTK3. (je l'ai déjà fait, mais cela fonctionne bogué).
Eng :
HandBrake 1.3.3 for Mageia 8 is ready. But ...
If anyone is interested in my adventures with Ubuntu 16.04, then :
There were a couple of warnings (I had to fake the gettext version number, for example).
Almost everything is already compiled (HandBrake 1.3.3). Except for the GTK3 module. An error appeared :
https://github.com/HandBrake/HandBrake/issues/2295
GTK 3.18 is too old, needs GTK 3.22+.
I need to try HandBrake version 1.1.2 (Ubuntu 16.04 is supported) or maybe 1.2.2.
Or compile a new version of GTK3 (I've done this before, but it works buggy).
If anyone is interested in my adventures with Ubuntu 16.04, then :
There were a couple of warnings (I had to fake the gettext version number, for example).
Almost everything is already compiled (HandBrake 1.3.3). Except for the GTK3 module. An error appeared :
Code BASH :
/gtk/src/ghbcompat.h:238:15: error: unknown type name ‘GdkMonitor’ static inline GdkMonitor *
https://github.com/HandBrake/HandBrake/issues/2295
GTK 3.18 is too old, needs GTK 3.22+.
I need to try HandBrake version 1.1.2 (Ubuntu 16.04 is supported) or maybe 1.2.2.
Or compile a new version of GTK3 (I've done this before, but it works buggy).
Edit: Quant aux bibliothèques: x265 son propre interne (téléchargé depuis Internet). x264 - system. Vorbis et Opus - system, pour autant que je sache. Handbrake télécharge également sur Internet et compile l'ancien ffmpeg-static pour ses propres besoins (pour décoder?)
Bibliothèques .so (dans le dossier /lib) ne sont pas créées. bin seulement.
readelf :
readelf -d /usr/local/bin/ghb (24 MB)
libgtk-3.so.0
libgdk-3.so.0
libpangocairo-1.0.so.0
libpango-1.0.so.0
libharfbuzz.so.0
libatk-1.0.so.0
libcairo-gobject.so.2
libcairo.so.2
libgdk_pixbuf-2.0.so.0
libgthread-2.0.so.0
libgio-2.0.so.0
libgmodule-2.0.so.0
libgudev-1.0.so.0
libgstpbutils-1.0.so.0
libgstaudio-1.0.so.0
libgstvideo-1.0.so.0
libgstbase-1.0.so.0
libgsttag-1.0.so.0
libgstreamer-1.0.so.0
libgobject-2.0.so.0
libglib-2.0.so.0
libmp3lame.so.0
libvorbis.so.0
libvorbisenc.so.2
libogg.so.0
libtheoraenc.so.1
libtheoradec.so.1
libvpx.so.6
libz.so.1
libbz2.so.1
libass.so.9
libfontconfig.so.1
libfreetype.so.6
libxml2.so.2
libjansson.so.4
libopus.so.0
libspeex.so.1
liblzma.so.5
/usr/local/lib/libx264.so.159
libdl.so.2
libpthread.so.0
libstdc++.so.6
libm.so.6
libgcc_s.so.1
libc.so.6
readelf -d /usr/local/bin/HandBrakeCLI (18.5 MB)
libass.so.9
libmp3lame.so.0
libfribidi.so.0
libvpx.so.6
libtheoraenc.so.1
libtheoradec.so.1
libvorbis.so.0
libvorbisenc.so.2
libogg.so.0
/usr/local/lib/libx264.so.159
libfreetype.so.6
libxml2.so.2
libbz2.so.1
libz.so.1
libjansson.so.4
libharfbuzz.so.0
libopus.so.0
libspeex.so.1
liblzma.so.5
libfontconfig.so.1
libpthread.so.0
libdl.so.2
libstdc++.so.6
libm.so.6
libgcc_s.so.1
libc.so.6
libgtk-3.so.0
libgdk-3.so.0
libpangocairo-1.0.so.0
libpango-1.0.so.0
libharfbuzz.so.0
libatk-1.0.so.0
libcairo-gobject.so.2
libcairo.so.2
libgdk_pixbuf-2.0.so.0
libgthread-2.0.so.0
libgio-2.0.so.0
libgmodule-2.0.so.0
libgudev-1.0.so.0
libgstpbutils-1.0.so.0
libgstaudio-1.0.so.0
libgstvideo-1.0.so.0
libgstbase-1.0.so.0
libgsttag-1.0.so.0
libgstreamer-1.0.so.0
libgobject-2.0.so.0
libglib-2.0.so.0
libmp3lame.so.0
libvorbis.so.0
libvorbisenc.so.2
libogg.so.0
libtheoraenc.so.1
libtheoradec.so.1
libvpx.so.6
libz.so.1
libbz2.so.1
libass.so.9
libfontconfig.so.1
libfreetype.so.6
libxml2.so.2
libjansson.so.4
libopus.so.0
libspeex.so.1
liblzma.so.5
/usr/local/lib/libx264.so.159
libdl.so.2
libpthread.so.0
libstdc++.so.6
libm.so.6
libgcc_s.so.1
libc.so.6
readelf -d /usr/local/bin/HandBrakeCLI (18.5 MB)
libass.so.9
libmp3lame.so.0
libfribidi.so.0
libvpx.so.6
libtheoraenc.so.1
libtheoradec.so.1
libvorbis.so.0
libvorbisenc.so.2
libogg.so.0
/usr/local/lib/libx264.so.159
libfreetype.so.6
libxml2.so.2
libbz2.so.1
libz.so.1
libjansson.so.4
libharfbuzz.so.0
libopus.so.0
libspeex.so.1
liblzma.so.5
libfontconfig.so.1
libpthread.so.0
libdl.so.2
libstdc++.so.6
libm.so.6
libgcc_s.so.1
libc.so.6
Édité par Visiteur Le 27/04/2021 à 10h32

endorfin64 Membre non connecté
-
- Voir le profil du membre endorfin64
- Inscrit le : 10/06/2020
- Groupes :
Merci Artenox.
Mageia 8 / KDE Plasma / i7-2620M CPU @ 2.70GHz / 8Go RAM



Visiteur
Visiteur
Je n'ai pas pu compiler HandBrake 1.2.2 pour Xenial.
Erreur
Code BASH :
undefined reference to `gtk_show_uri_on_window
GTK 3.18 est encore trop ancien, 3.22 est requis.
Cependant, avec HandBrake 1.1.2 (2018), tout a fonctionné !
Les bibliothèques x264, opus, vorbis et mp3 sont utilisées externes et nouvelles (la mienne 2020).
HandBrake version 1.1.2 n'utilise pas ffmpeg. Il utilise Libav 12.3 2018 (en fork). Dans un package simplifié.
Par exemple, AAC sera converti à l'aide de Libav AAC. Il s'agit d'un encodeur à l'ancienne.
L'encodeur FFmpeg 3.0+ AAC a été considérablement amélioré (mais a ajouté quelques bogues). Ces changements n'ont pas été inclus dans Libav.
Dans l'ensemble, j'aime l'interface et les nouvelles fonctionnalités qui accompagnent les nouvelles versions de Handbrake.
HandBrakeCLI Je peux compiler pour Xenial version 1.3.3. Mais qui utilise la CLI (ligne de commande)?
funix :
en revanche il faut conserver x265, c'est le codec vidéo avec le meilleur ratio qualité/taille (mais plus gourmand en ressource de traitement que x264)
Oui, le x265 est de meilleure qualité, mais trop lent pour moi. Même pour la visualisation.
AV1 est encore meilleur et plus lent. Il est utilisé sur YouTube.
Il existe trois implémentations (j'en ai testé 2): rav1e (dans le langage de programmation Rust), aom et hardware svt-av1 (x64).
Funix, les avez-vous essayés? Rust est un langage de programmation moderne intéressant.
L'encodeur VP9 est également digne d'intérêt. C'est une alternative sans brevet à x265. Également utilisé sur YouTube. Quant à YouTube: à chaque nouvel encodeur, il y a moins de bruit dans la vidéo (c'est mauvais).
Eng :
News from the front line.
I was unable to compile HandBrake 1.2.2 for Xenial.
Error
undefined reference to `gtk_show_uri_on_window
GTK 3.18 is still too old, 3.22 is required.
However, with HandBrake 1.1.2 (2018) everything worked out !
The x264, opus, vorbis and mp3 libraries are used external new ones (mine 2020).
HandBrake version 1.1.2 does not use ffmpeg. It uses Libav 12.3 2018 (forked of it). In a simplified package.
For example, AAC will be converted using Libav AAC. This is an old-style encoder.
FFmpeg 3.0+ AAC encoder has been significantly improved (but added a few bugs). These changes were not included in Libav.
Overall, I like the interface and the new features that come with newer versions of Handbrake.
HandBrakeCLI I can compile for Xenial version 1.3.3. But who is using the CLI (command line)?
Yes, the x265 is better quality, but too slow for me. Even for viewing.
AV1 is even better and slower. It is used on YouTube.
There are three implementations (I tested 2 of them): rav1e (in the Rust programming language), aom and hardware svt-av1 (x64).
Funix, have you tried them? Rust is an interesting modern programming language.
Also worthy of interest is VP9 encoder. It is a patent-free alternative to x265. Also used on YouTube. As for YouTube: with each new encoder, there is less noise in the video (this is bad).
I was unable to compile HandBrake 1.2.2 for Xenial.
Error
undefined reference to `gtk_show_uri_on_window
GTK 3.18 is still too old, 3.22 is required.
However, with HandBrake 1.1.2 (2018) everything worked out !
The x264, opus, vorbis and mp3 libraries are used external new ones (mine 2020).
HandBrake version 1.1.2 does not use ffmpeg. It uses Libav 12.3 2018 (forked of it). In a simplified package.
For example, AAC will be converted using Libav AAC. This is an old-style encoder.
FFmpeg 3.0+ AAC encoder has been significantly improved (but added a few bugs). These changes were not included in Libav.
Overall, I like the interface and the new features that come with newer versions of Handbrake.
HandBrakeCLI I can compile for Xenial version 1.3.3. But who is using the CLI (command line)?
Yes, the x265 is better quality, but too slow for me. Even for viewing.
AV1 is even better and slower. It is used on YouTube.
There are three implementations (I tested 2 of them): rav1e (in the Rust programming language), aom and hardware svt-av1 (x64).
Funix, have you tried them? Rust is an interesting modern programming language.
Also worthy of interest is VP9 encoder. It is a patent-free alternative to x265. Also used on YouTube. As for YouTube: with each new encoder, there is less noise in the video (this is bad).
Édité par Visiteur Le 28/04/2021 à 23h16

Visiteur
Visiteur
Ubuntu 16.04 (Xenial) avec GTK 3.18 est sorti en 2016. Après 2 ans en 2018, Ubuntu 18.04 (Bionic) est sorti avec GTK 3.22 et les développeurs de HandBrake ont commencé à se concentrer sur Bionic.
Quant au PPA: HandBrake 1.0.4 est disponible pour x86 16.04. Pour x64 - 1.1.2. Mais ils utilisent tous l'ancien x264-148 système !
Les développeurs de HandBrake ont arrêté le support officiel de x86.
J'ai x86 16.04 HandBrake 1.1.2 avec x264-161 (et plus récent opus/vorbis).
Je regarde le spectre audio et vois Opus ajouter du bruit. Il y a beaucoup plus de fréquences élevées ...
Je vais peut-être compiler GTK 3.22 pour Xenial. Ce PPA est terrible. Et HandBrake 1.3.3.
Le rétroportage est cool.
Est-ce possible sous Windows? Là, les développeurs sont des dieux et ils décident de tout.
G (C)
Eng :
Just ...
Ubuntu 16.04 (Xenial) with GTK 3.18 was released in 2016. After 2 years in 2018, Ubuntu 18.04 (Bionic) was released with GTK 3.22 and the HandBrake developers began to focus on Bionic.
As for the PPA: HandBrake 1.0.4 is available for x86 16.04, for x64 1.1.2. But they all use the old system x264-148!
HandBrake developers have stopped official support for x86.
I have x86 16.04 HandBrake 1.1.2 with x264-161 (and newer opus/vorbis).
I look at the audio spectrum and see Opus adding noise. There is more treble ...
Maybe I'll compile GTK 3.22 for Xenial. This PPA is terrible. And HandBrake 1.3.3.
Backporting is cool.
Is this possible on Windows? There the developers are gods and they decide everything.
Ubuntu 16.04 (Xenial) with GTK 3.18 was released in 2016. After 2 years in 2018, Ubuntu 18.04 (Bionic) was released with GTK 3.22 and the HandBrake developers began to focus on Bionic.
As for the PPA: HandBrake 1.0.4 is available for x86 16.04, for x64 1.1.2. But they all use the old system x264-148!
HandBrake developers have stopped official support for x86.
I have x86 16.04 HandBrake 1.1.2 with x264-161 (and newer opus/vorbis).
I look at the audio spectrum and see Opus adding noise. There is more treble ...
Maybe I'll compile GTK 3.22 for Xenial. This PPA is terrible. And HandBrake 1.3.3.
Backporting is cool.
Is this possible on Windows? There the developers are gods and they decide everything.
Édité par Visiteur Le 29/04/2021 à 00h43

Visiteur
Visiteur
https://www.gtk.org/docs/installations/linux/
https://developer.gnome.org/gtk3/stable/gtk-building.html
GLib 2.56.4 https://download.gnome.org/sources/glib/2.56/glib-2.56.4.tar.xz
GTK+ 3.22.30 https://download.gnome.org/sources/gtk+/3.22/gtk%2B-3.22.30.tar.xz
Code BASH :
export CPATH=/opt/gtk3/include:/usr/local/include:$CPATH export LD_LIBRARY_PATH=/opt/gtk3/lib:/usr/local/lib:$LD_LIBRARY_PATH export PATH=/opt/gtk3/bin:/usr/local/bin:$PATH export PKG_CONFIG_PATH=/opt/gtk3/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH export XDG_DATA_DIRS=/opt/gtk3/share:/usr/local/share:$XDG_DATA_DIRS
Code BASH :
cd glib LDFLAGS='-Wl,-rpath,/opt/gtk3/lib,-rpath,/usr/local/lib' ./configure --prefix=/opt/gtk3 --enable-silent-rules make sudo make install
Code BASH :
cd gtk3 LDFLAGS='-Wl,-rpath,/opt/gtk3/lib,-rpath,/usr/local/lib' ./configure --prefix=/opt/gtk3 --enable-silent-rules --with-x make sudo make install
export et rpath doivent également être spécifiés avant de compiler HandBrake et il est conseillé de supprimer le paquet système gtk3-dev
n'oubliez pas les dépendances de construction bien sûr (de src.rpm)
Pour un look normal, vous devez copier le thème (par exemple) du package breeze-gtk-theme de bionic vers /opt/gtk3/share/themes/Breeze
et au démarrage de l'application, spécifiez
Code BASH :
export LD_LIBRARY_PATH=/opt/gtk3/lib:$LD_LIBRARY_PATH export XDG_DATA_DIRS=/opt/gtk3/share:$XDG_DATA_DIRS /usr/local/bin/ghb
sinon, l'apparence sera très mauvaise (bien que l'application fonctionnera)
pour autant que je sache, le nom du thème doit correspondre au thème système gtk3
Édité par Visiteur Le 03/05/2021 à 03h30
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie