Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642744 - media-libs/avidemux-plugins-2.6.20: x264 and x265 plugins are built without QT support
Summary: media-libs/avidemux-plugins-2.6.20: x264 and x265 plugins are built without Q...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-30 16:08 UTC by raist_blackrobe
Modified: 2018-01-09 17:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge--info.txt (emerge--info.txt,5.90 KB, text/plain)
2017-12-30 16:14 UTC, raist_blackrobe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raist_blackrobe 2017-12-30 16:08:01 UTC
The x264 and x265 plugins only built UI support for GTK and/or QT4.

Since the dropout of the QT4 USE flag, you cannot choose those plugins for encoding in a QT5 environment as you can see in the next image:

https://postimg.org/image/oysex4zkt/

If you run avidemux3_qt5 from the console, you get the following warning about those plugins:

[videoEncoder6]Name :x264 ApiVersion :7 Description :x264 based mpeg4 AVC Encoder (c) 2010 Mean/Gruntster
/usr/lib64/ADM_plugins6//videoEncoders/libADM_ve_x264_other.so:WrongUI

The other plugins work fine in a QT5 environment.
Comment 1 raist_blackrobe 2017-12-30 16:14:44 UTC
Created attachment 512066 [details]
emerge--info.txt
Comment 2 raist_blackrobe 2017-12-30 16:20:05 UTC
Version 2.7.0 has the same problem.
Comment 3 Bernd Martin Wollny 2017-12-31 21:55:09 UTC
there are more plugins that will not be build: 

./audioDecoder/libADM_ad_opus.so
./audioDevices/libADM_av_oss.so
./audioEncoders/libADM_ae_lame.so
./pluginSettings/x264/3/fast.json
./pluginSettings/x264/3/iPhone.json
./pluginSettings/x264/3/PSP.json
./pluginSettings/x264/3/ultraFast.json
./pluginSettings/x264/3/veryFast.json
./shaderDemo/1/bump.shader
./shaderDemo/1/lightning.shader
./shaderDemo/1/ripple.shader
./shaderDemo/1/zigzag.shader
./videoEncoders/qt5/libADM_ve_x264_QT5.so
./videoEncoders/qt5/libADM_ve_x265_QT5.so
./videoFilters/libADM_vf_vaapiFilter.so
./videoFilters/qt5/libADM_vf_asharpQT5.so
./videoFilters/qt5/libADM_vf_blackenBordersQT5.so
./videoFilters/qt5/libADM_vf_chromaShiftQT5.so
./videoFilters/qt5/libADM_vf_contrastQT5.so
./videoFilters/qt5/libADM_vf_cropQT5.so
./videoFilters/qt5/libADM_vf_eq2QT5.so
./videoFilters/qt5/libADM_vf_glBenchmark.so
./videoFilters/qt5/libADM_vf_glResize.so
./videoFilters/qt5/libADM_vf_HueQT5.so
./videoFilters/qt5/libADM_vf_logoQT5.so
./videoFilters/qt5/libADM_vf_mpdelogoQT5.so
./videoFilters/qt5/libADM_vf_msharpenQT5.so
./videoFilters/qt5/libADM_vf_rotateGlFrag2.so
./videoFilters/qt5/libADM_vf_sampleGlFrag2.so
./videoFilters/qt5/libADM_vf_sampleGlVertex.so
./videoFilters/qt5/libADM_vf_shaderLoaderGl.so
./videoFilters/qt5/libADM_vf_swscaleResizeQT5.so

one common task is cropping..  but without libADM_vf_cropQT5.so it's not possible.

if you compile avidemux by hand you are using bootstrap.bash to build all. Why you don't use the bootsrap.bash?
Comment 4 Bernd Martin Wollny 2017-12-31 22:00:29 UTC
workaround 
1) emerge avidemux 
2) ebuild avidemux-plugins-2.6.20.ebuild configure 
3) cd /var/tmp/portage/media-libs/avidemux-plugins-2.6.20/work
4) sh bootstrap.bash 
5) cd install
6) cp -n usr /
Comment 5 Bernd Martin Wollny 2017-12-31 22:02:30 UTC
copy command was wrong 
workaround 
1) emerge avidemux 
2) ebuild avidemux-plugins-2.6.20.ebuild configure 
3) cd /var/tmp/portage/media-libs/avidemux-plugins-2.6.20/work
4) sh bootstrap.bash 
5) cd install
6) cp -nr usr/ /
Comment 6 KosmiK 2018-01-07 22:05:14 UTC
(In reply to Bernd Martin Wollny from comment #5)
> copy command was wrong 
> workaround 
> 1) emerge avidemux 
> 2) ebuild avidemux-plugins-2.6.20.ebuild configure 
> 3) cd /var/tmp/portage/media-libs/avidemux-plugins-2.6.20/work
> 4) sh bootstrap.bash 
> 5) cd install
> 6) cp -nr usr/ /

3) cd /var/tmp/portage/media-libs/avidemux-plugins-2.6.20/work/avidemux_2.6.20
maybe?

sh bootstrap.bash giving me this
-- Checking for x264
-- *****************
-- Found x264.h
--   core version: 148
-- Found x264.h
-- Found x264 library
-- Found x264_encoder_open_148 in /usr/lib/libx264.so
CMake Error at /var/tmp/portage/media-libs/avidemux-plugins-2.6.20/work/avidemux_2.6.20/install/usr/include/avidemux/2.6/cmake/admCheckX264.cmake:24 (ELSE):
  A duplicate ELSE command was found inside an IF block.
Call Stack (most recent call first):
  ADM_videoEncoder/x264/CMakeLists.txt:12 (checkX264)


-- Configuring incomplete, errors occurred!
Comment 7 KosmiK 2018-01-07 22:37:59 UTC
After dirty hacks:
remove all VERSION LESS xx
copy on fly, when "bootStrap.bash" starts work and generate cmake files
I got working x264 AND x265 UI in avidemux.
So, something, that generate's cmake file, doing it wrong. admCheckX264.cmake is broken.
Comment 8 Andreas Sturmlechner gentoo-dev 2018-01-09 17:34:52 UTC
avidemux-plugins-2.7.0 added in git commit 96b796563a365f4a8cc3cf62ede9fb280bde8e37, please re-open if this continues to be an issue.