Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: Jan Gruuthuse on March 21, 2017, 08:10:39 AM

Title: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: Jan Gruuthuse on March 21, 2017, 08:10:39 AM
fixed: degrees works opposed in Transform: Rotate as to OpenGl: OpenGl Rotate.
positive anglesÃ,° in
- Transform Rotate is anti clockwise
- OpenGl Rotate is clockwise

info this discussion: Rotate filter does not tell if clockwise og anti clockwise (http://avidemux.org/smif/index.php?topic=17066.0)

can this be made to work similar?
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: eumagga0x2a on March 22, 2017, 10:38:50 AM
All OpenGL filters are currently broken for me on Linux (get an almost black picture with chroma still visible a bit), work with Mean's nightly on Windows.
I've submitted a last-minute pull request regarding rotation direction.
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: Jan Gruuthuse on March 22, 2017, 11:02:46 AM
just checked, commit 92584d5
Preferences:
[Display]:
Video display: [OpenGl (best)]
[v] Enable openGl support
[HW Accel]
[v] Decode video using VDPAU (NVIDIA)

still working here:
vdpauinfo && vainfo && echo "## boot init ##" && ps -p1 | grep systemd && echo systemd || echo upstart && echo "## Current used kernel ##" && uname -r && echo "## Installed kernel(s) ##" && dpkg --list | grep linux-image && echo && lsb_release -a && echo "Bit:            "$(getconf LONG_BIT) && echo "Desktop:        "$XDG_CURRENT_DESKTOP && [ -d /sys/firmware/efi ] && echo "Installed in:   UEFI mode" || echo "Installed in:   Legacy mode" && echo "## X264 ##" &&  x264 --version  && echo "## X265 ##" && x265 --version
display: :0   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  378.13  Tue Feb  7 18:29:20 PST 2017

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12
422     4096  4096  UYVY YUYV

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                           0 65536  4080  4080
MPEG2_SIMPLE                    3 65536  4080  4080
MPEG2_MAIN                      3 65536  4080  4080
H264_BASELINE                  41 65536  4096  4096
H264_MAIN                      41 65536  4096  4096
H264_HIGH                      41 65536  4096  4096
VC1_SIMPLE                      1  8190  2048  2048
VC1_MAIN                        2  8190  2048  2048
VC1_ADVANCED                    4  8190  2048  2048
MPEG4_PART2_SP                  3  8192  2048  2048
MPEG4_PART2_ASP                 5  8192  2048  2048
DIVX4_QMOBILE                   0  8192  2048  2048
DIVX4_MOBILE                    0  8192  2048  2048
DIVX4_HOME_THEATER              0  8192  2048  2048
DIVX4_HD_1080P                  0  8192  2048  2048
DIVX5_QMOBILE                   0  8192  2048  2048
DIVX5_MOBILE                    0  8192  2048  2048
DIVX5_HOME_THEATER              0  8192  2048  2048
DIVX5_HD_1080P                  0  8192  2048  2048
H264_CONSTRAINED_BASELINE      41 65536  4096  4096
H264_EXTENDED                  41 65536  4096  4096
H264_PROGRESSIVE_HIGH          41 65536  4096  4096
H264_CONSTRAINED_HIGH          41 65536  4096  4096
H264_HIGH_444_PREDICTIVE       41 65536  4096  4096
HEVC_MAIN                      153 36864  4096  2304
HEVC_MAIN_10                   --- not supported ---
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8
R10G10B10A2      16384 16384    y  Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        y
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y         1     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
CHROMA_TYPE                      y 
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y 
CSC_MATRIX                       y 
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y 
LUMA_KEY_MAX_LUMA                y 


libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.0)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG4Simple            : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
      VAProfileH264Baseline           : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
## boot init ##
    1 ?        00:00:01 systemd
systemd
## Current used kernel ##
4.4.0-67-generic
## Installed kernel(s) ##
ii  linux-image-4.4.0-66-generic                         4.4.0-66.87                                        amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-67-generic                         4.4.0-67.88                                        amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-66-generic                   4.4.0-66.87                                        amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-67-generic                   4.4.0-67.88                                        amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-generic                                  4.4.0.67.72                                        amd64        Generic Linux kernel image

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
Bit:            64
Desktop:        Unity
Installed in:   Legacy mode
## X264 ##
x264 0.148.2744 b97ae06
(libswscale 3.1.101)
(libavformat 56.36.100)
built on Jan 12 2017, gcc: 4.8.4
x264 configuration: --bit-depth=8 --chroma-format=all
libx264 configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later
libswscale/libavformat license: GPL version 2 or later
## X265 ##
x265 [info]: HEVC encoder version 1.9+226-6561d8676581
x265 [info]: build info [Linux][GCC 4.8.4][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: Jan Gruuthuse on March 22, 2017, 07:39:00 PM
Rotation is working now in the same way.

Some more study is needed of what the end result should be?

TransformRotate rotates the canvas (1280x720 -> 720x1280)
Opengl rotates image in the canvas (1280x720)

Or have the option to rotate the image or canvas?
See attached:
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: eumagga0x2a on March 22, 2017, 08:01:35 PM
Quote from: Jan Gruuthuse on March 22, 2017, 07:39:00 PM
TransformRotate rotates the canvas (1280x720 -> 720x1280)
Opengl rotates image in the canvas (1280x720)

Right.

I've updated the NVIDIA driver to 378.13 and built Avidemux from a clean state. No matter which video output driver is selected in Avidemux, all OpenGL filters are still broken for me (edit: a sample image from a video generated with OpenGL Rotate 20Ã,° applied attached).
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: Jan Gruuthuse on March 22, 2017, 08:18:41 PM
I'll post tommorow more info on installed gl. Could you pull more info from the terminal out (diff against your output from avidemux start-up). Any other information you can think of?


Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: eumagga0x2a on March 22, 2017, 08:45:40 PM
I get an error 1284 (stack underflow) from avidemux/qt4/ADM_openGL/src/ADM_openGlDownloadTexture.cpp:250 (https://github.com/mean00/avidemux2/blob/master/avidemux/qt4/ADM_openGL/src/ADM_openGlDownloadTexture.cpp#L250), but I can't tell if this matters.
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: Jan Gruuthuse on March 23, 2017, 05:58:52 AM
QuoteYou are popping something off a matrix that doesn't have anything on it. Check to make sure that your push/pops line up.
source: https://www.opengl.org/discussion_boards/showthread.php/129886-GL-error-stack-underflow

QuoteYou are probably not popping the matrix the same amount as you are pushing it.
source: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/modification-development/2695893-custom-block-model-tile-entity

only this comes up?

installed nvidia stuff: dpkg -l *nvidia* | grep '^.i'
ii  nvidia-378                       378.13-0ubuntu0~gpu16.04.3 amd64        NVIDIA binary driver - version 378.13
ii  nvidia-cuda-dev                  7.5.18-0ubuntu1            amd64        NVIDIA CUDA development files
ii  nvidia-cuda-doc                  7.5.18-0ubuntu1            all          NVIDIA CUDA and OpenCL documentation
ii  nvidia-cuda-gdb                  7.5.18-0ubuntu1            amd64        NVIDIA CUDA Debugger (GDB)
ii  nvidia-cuda-toolkit              7.5.18-0ubuntu1            amd64        NVIDIA CUDA development toolkit
ii  nvidia-opencl-dev:amd64          7.5.18-0ubuntu1            amd64        NVIDIA OpenCL development files
ii  nvidia-opencl-icd-378            378.13-0ubuntu0~gpu16.04.3 amd64        NVIDIA OpenCL ICD
ii  nvidia-prime                     0.8.2                      amd64        Tools to enable NVIDIA's Prime
ii  nvidia-profiler                  7.5.18-0ubuntu1            amd64        NVIDIA Profiler for CUDA and OpenCL
ii  nvidia-settings                  378.13-0ubuntu0~gpu16.10.2 amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-visual-profiler           7.5.18-0ubuntu1            amd64        NVIDIA Visual Profiler for CUDA and OpenCL
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: Jan Gruuthuse on March 23, 2017, 05:59:19 AM
installed gl stuff:
dpkg -l *gl* | grep '^.i'ii  account-plugin-google                        0.12+16.04.20160126-0ubuntu1                      all          GNOME Control Center account plugin for single signon
ii  freeglut3:amd64                              2.8.1-2                                           amd64        OpenGL Utility Toolkit
ii  freeglut3-dev:amd64                          2.8.1-2                                           amd64        OpenGL Utility Toolkit development files
ii  gir1.2-cogl-1.0:amd64                        1.22.0-2                                          amd64        GObject introspection data for the Cogl 1.0 library
ii  gir1.2-coglpango-1.0:amd64                   1.22.0-2                                          amd64        GObject introspection data for the CoglPango 1.0 library
ii  gir1.2-dbusmenu-glib-0.4:amd64               16.04.1+16.04.20160927-0ubuntu1                   amd64        typelib file for libdbusmenu-glib4
ii  gir1.2-glib-2.0:amd64                        1.46.0-3ubuntu1                                   amd64        Introspection data for GLib, GObject, Gio and GModule
ii  gir1.2-packagekitglib-1.0                    0.8.17-4ubuntu6~gcc5.4ubuntu1.1                   amd64        GObject introspection data for the PackageKit GLib library
ii  glib-networking:amd64                        2.48.2-1~ubuntu16.04.1                            amd64        network-related giomodules for GLib
ii  glib-networking:i386                         2.48.2-1~ubuntu16.04.1                            i386         network-related giomodules for GLib
ii  glib-networking-common                       2.48.2-1~ubuntu16.04.1                            all          network-related giomodules for GLib - data files
ii  glib-networking-services                     2.48.2-1~ubuntu16.04.1                            amd64        network-related giomodules for GLib - D-Bus services
ii  glogg                                        1.1.0-1                                           amd64        Smart interactive log explorer using Qt
ii  google-chrome-stable                         57.0.2987.110-1                                   amd64        The web browser from Google
ii  gstreamer1.0-plugins-ugly:amd64              1.8.3-1ubuntu0.1                                  amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-plugins-ugly-amr:amd64          1.8.3-1ubuntu0.1                                  amd64        GStreamer plugins from the "ugly" set
ii  libaccount-plugin-google                     0.12+16.04.20160126-0ubuntu1                      amd64        GNOME Control Center account plugin for single signon - Google Auth
ii  libaccounts-glib0:amd64                      1.21+16.04.20160222-0ubuntu1                      amd64        library for single signon
ii  libappstream-glib8:amd64                     0.5.13-1ubuntu4                                   amd64        GNOME library to access AppStream services
ii  libavahi-glib1:amd64                         0.6.32~rc+dfsg-1ubuntu2                           amd64        Avahi GLib integration library
ii  libclass-singleton-perl                      1.5-1                                             all          implementation of a "Singleton" class
ii  libcogl-common                               1.22.0-2                                          all          Object oriented GL/GLES Abstraction/Utility Layer (common files)
ii  libcogl-pango20:amd64                        1.22.0-2                                          amd64        Object oriented GL/GLES Abstraction/Utility Layer
ii  libcogl-path20:amd64                         1.22.0-2                                          amd64        Object oriented GL/GLES Abstraction/Utility Layer
ii  libcogl20:amd64                              1.22.0-2                                          amd64        Object oriented GL/GLES Abstraction/Utility Layer
ii  libdbus-glib-1-2:amd64                       0.106-1                                           amd64        simple interprocess messaging system (GLib-based shared library)
ii  libdbus-glib-1-dev                           0.106-1                                           amd64        simple interprocess messaging system (GLib interface)
ii  libdbusmenu-glib4:amd64                      16.04.1+16.04.20160927-0ubuntu1                   amd64        library for passing menus over DBus
ii  libegl1-mesa:amd64                           12.0.6-0ubuntu0.16.04.1                           amd64        free implementation of the EGL API -- runtime
ii  libegl1-mesa-dev:amd64                       12.0.6-0ubuntu0.16.04.1                           amd64        free implementation of the EGL API -- development files
ii  libegl1-mesa-drivers:amd64                   12.0.6-0ubuntu0.16.04.1                           amd64        transitional dummy package
ii  libfftw3-single3:amd64                       3.3.4-2ubuntu1                                    amd64        Library for computing Fast Fourier Transforms - Single precision
ii  libftgl-dev                                  2.1.3~rc5-4+nmu1                                  amd64        development files for libftgl
ii  libftgl2:amd64                               2.1.3~rc5-4+nmu1                                  amd64        library to render text in OpenGL using FreeType
ii  libgegl-0.2-0:amd64                          0.2.0-4ubuntu1                                    amd64        Generic Graphics Library
ii  libgeocode-glib0:amd64                       3.18.2-1                                          amd64        geocoding and reverse geocoding GLib library using Nominatim
ii  libgl1-mesa-dev:amd64                        12.0.6-0ubuntu0.16.04.1                           amd64        free implementation of the OpenGL API -- GLX development files
ii  libgl1-mesa-dri:amd64                        12.0.6-0ubuntu0.16.04.1                           amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-dri:i386                         12.0.6-0ubuntu0.16.04.1                           i386         free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:amd64                        12.0.6-0ubuntu0.16.04.1                           amd64        free implementation of the OpenGL API -- GLX runtime
ii  libgl1-mesa-glx:i386                         12.0.6-0ubuntu0.16.04.1                           i386         free implementation of the OpenGL API -- GLX runtime
ii  libglade2-0:amd64                            1:2.6.4-2                                         amd64        library to load .glade files at runtime
ii  libglamor0:amd64                             0.6.0+git20140801.347ef4f0-0ubuntu0sarvatt~trusty amd64        shared graphics acceleration library based on OpenGL
ii  libglapi-mesa:amd64                          12.0.6-0ubuntu0.16.04.1                           amd64        free implementation of the GL API -- shared library
ii  libglapi-mesa:i386                           12.0.6-0ubuntu0.16.04.1                           i386         free implementation of the GL API -- shared library
ii  libgles1-mesa:amd64                          12.0.6-0ubuntu0.16.04.1                           amd64        free implementation of the OpenGL|ES 1.x API -- runtime
ii  libgles2-mesa:amd64                          12.0.6-0ubuntu0.16.04.1                           amd64        free implementation of the OpenGL|ES 2.x API -- runtime
ii  libgles2-mesa-dev:amd64                      12.0.6-0ubuntu0.16.04.1                           amd64        free implementation of the OpenGL|ES 2.x API -- development files
ii  libglew-dev:amd64                            1.13.0-2                                          amd64        OpenGL Extension Wrangler - development environment
ii  libglew1.10:amd64                            1.10.0-3                                          amd64        OpenGL Extension Wrangler - runtime environment
ii  libglew1.13:amd64                            1.13.0-2                                          amd64        OpenGL Extension Wrangler - runtime environment
ii  libglewmx1.13:amd64                          1.13.0-2                                          amd64        OpenGL Extension Wrangler (Multiple Rendering Contexts)
ii  libglib-object-introspection-perl            0.040-2                                           amd64        Perl bindings for gobject-introspection libraries
ii  libglib-perl                                 3:1.320-2                                         amd64        interface to the GLib and GObject libraries
ii  libglib2.0-0:amd64                           2.48.2-0ubuntu1                                   amd64        GLib library of C routines
ii  libglib2.0-0:i386                            2.48.2-0ubuntu1                                   i386         GLib library of C routines
ii  libglib2.0-0-dbg:amd64                       2.48.2-0ubuntu1                                   amd64        Debugging symbols for the GLib libraries
ii  libglib2.0-bin                               2.48.2-0ubuntu1                                   amd64        Programs for the GLib library
ii  libglib2.0-data                              2.48.2-0ubuntu1                                   all          Common files for GLib library
ii  libglib2.0-dev                               2.48.2-0ubuntu1                                   amd64        Development files for the GLib library
ii  libglibmm-2.4-1v5:amd64                      2.46.3-1                                          amd64        C++ wrapper for the GLib toolkit (shared libraries)
ii  libglu1-mesa:amd64                           9.0.0-2.1                                         amd64        Mesa OpenGL utility library (GLU)
ii  libglu1-mesa:i386                            9.0.0-2.1                                         i386         Mesa OpenGL utility library (GLU)
ii  libglu1-mesa-dev:amd64                       9.0.0-2.1                                         amd64        Mesa OpenGL utility library -- development files
ii  libgoogle-glog0v5                            0.3.4-0.1                                         amd64        library that implements application-level logging.
ii  libgtkglext1:amd64                           1.2.0-3.2fakesync1ubuntu1                         amd64        OpenGL Extension to GTK+ (shared libraries)
ii  libjson-glib-1.0-0:amd64                     1.1.2-0ubuntu1                                    amd64        GLib JSON manipulation library
ii  libjson-glib-1.0-common                      1.1.2-0ubuntu1                                    all          GLib JSON manipulation library (common files)
ii  libmm-glib0:amd64                            1.4.12-1ubuntu1                                   amd64        D-Bus service for managing modems - shared libraries
ii  libnm-glib-vpn1:amd64                        1.2.6-0ubuntu0.16.04.1                            amd64        network management framework (GLib VPN shared library)
ii  libnm-glib4:amd64                            1.2.6-0ubuntu0.16.04.1                            amd64        network management framework (GLib shared library)
ii  libpackagekit-glib2-16:amd64                 0.8.17-4ubuntu6~gcc5.4ubuntu1.1                   amd64        Library for accessing PackageKit using GLib
ii  libpoppler-glib8:amd64                       0.41.0-0ubuntu1.1                                 amd64        PDF rendering library (GLib-based shared library)
ii  libpulse-mainloop-glib0:amd64                1:8.0-0ubuntu3.2                                  amd64        PulseAudio client libraries (glib support)
ii  libqt4-opengl:amd64                          4:4.8.7+dfsg-5ubuntu2                             amd64        Qt 4 OpenGL module
ii  libqt4-opengl:i386                           4:4.8.7+dfsg-5ubuntu2                             i386         Qt 4 OpenGL module
ii  libqt4-opengl-dev                            4:4.8.7+dfsg-5ubuntu2                             amd64        Qt 4 OpenGL library development files
ii  libqt5opengl5:amd64                          5.5.1+dfsg-16ubuntu7.2                            amd64        Qt 5 OpenGL module
ii  libqt5opengl5-dev:amd64                      5.5.1+dfsg-16ubuntu7.2                            amd64        Qt 5 OpenGL library development files
ii  libreoffice-ogltrans                         1:5.2.5~rc1-0ubuntu1~trusty0                      amd64        LibreOffice Impress extension for slide transitions using OpenGL
ii  libsignon-glib1:amd64                        1.13+16.04.20151209.1-0ubuntu1                    amd64        library for signond
ii  libsnapd-glib1:amd64                         1.2-0ubuntu1.1~xenial                             amd64        GLib snapd library
ii  libtelepathy-glib0:amd64                     0.24.1-1.1                                        amd64        Telepathy framework - GLib library
ii  libtext-glob-perl                            0.09-2                                            all          Perl module for matching globbing patterns against text
ii  libupower-glib3:amd64                        0.99.4-2ubuntu0.3                                 amd64        abstraction for power management - shared library
ii  libva-egl1:amd64                             1.7.0-1                                           amd64        Video Acceleration (VA) API for Linux -- EGL runtime
ii  libva-glx1:amd64                             1.7.0-1                                           amd64        Video Acceleration (VA) API for Linux -- GLX runtime
ii  libvdpau-va-gl1:amd64                        0.3.6-1                                           amd64        VDPAU driver with OpenGL/VAAPI backend
ii  libwayland-egl1-mesa:amd64                   12.0.6-0ubuntu0.16.04.1                           amd64        implementation of the Wayland EGL platform -- runtime
ii  libxcb-glx0:amd64                            1.11.1-1ubuntu1                                   amd64        X C Binding, glx extension
ii  libxcb-glx0:i386                             1.11.1-1ubuntu1                                   i386         X C Binding, glx extension
ii  libxcb-glx0-dev:amd64                        1.11.1-1ubuntu1                                   amd64        X C Binding, glx extension, development files
ii  python-glade2                                2.24.0-4ubuntu1                                   amd64        GTK+ bindings: Glade support
ii  x11proto-gl-dev                              1.4.17-1                                          all          X11 OpenGL extension wire protocol
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: eumagga0x2a on March 23, 2017, 02:52:03 PM
It would be helpful to know if you get the same error. Just search the Avidemux terminal output for BindARB please.
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: Jan Gruuthuse on March 24, 2017, 05:17:33 AM
yes the warning is there, but has no influence: OpenGl filter working and shows when playing.
Compiling shader
[createVideoFilterChain] 05:13:36-181  The filter chain contains an openGl filter, disabling threads
[renderDisplayResize] 05:13:36-181  Render to 1280x720 zoom=2, old one =1280 x 720, zoom=2, render=0x3c47650
[renderDisplayResize] 05:13:36-181            No change, nothing to do
[goToTime] 05:13:36-181   go to time 1,86 secs
[goToTime] 05:13:36-181  => seg 0, rel time 1,86 secs
[resetAfterSeek] 05:13:36-181   flushing after seek 
No accelerated IMDCT transform found
[refill] 05:13:36-181  Trying to ignore the discontinuous timestamp (1 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (2 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (3 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (4 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (5 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (6 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (7 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (8 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (9 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (10 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (11 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (12 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (13 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (14 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (15 try)
[refill] 05:13:36-182  Trying to ignore the discontinuous timestamp (16 try)
[rewind] 05:13:36-182  [AudioBridge] Going to time 00:00:01,860
[goToTime] 05:13:36-182   go to time 1,86 secs
[goToTime] 05:13:36-182  => seg 0, rel time 1,86 secs
[resetAfterSeek] 05:13:36-182   flushing after seek 
No accelerated IMDCT transform found
[refill] 05:13:36-183  Trying to ignore the discontinuous timestamp (1 try)
[refill] 05:13:36-183  Trying to ignore the discontinuous timestamp (2 try)
[refill] 05:13:36-183  Trying to ignore the discontinuous timestamp (3 try)
[refill] 05:13:36-183  Trying to ignore the discontinuous timestamp (4 try)
[refill] 05:13:36-183  Trying to ignore the discontinuous timestamp (5 try)
[refill] 05:13:36-183  Trying to ignore the discontinuous timestamp (6 try)
[refill] 05:13:36-183  Trying to ignore the discontinuous timestamp (7 try)
[refill] 05:13:36-183  Trying to ignore the discontinuous timestamp (8 try)
[refill] 05:13:36-183  Trying to ignore the discontinuous timestamp (9 try)
[refill] 05:13:36-184  Trying to ignore the discontinuous timestamp (10 try)
[refill] 05:13:36-184  Trying to ignore the discontinuous timestamp (11 try)
[refill] 05:13:36-184  Trying to ignore the discontinuous timestamp (12 try)
[refill] 05:13:36-184  Trying to ignore the discontinuous timestamp (13 try)
[refill] 05:13:36-184  Trying to ignore the discontinuous timestamp (14 try)
[refill] 05:13:36-184  Trying to ignore the discontinuous timestamp (15 try)
[refill] 05:13:36-184  Trying to ignore the discontinuous timestamp (16 try)
[AUDMAudioFilter_Bridge] 05:13:36-184  [Bridge] Starting with time 00:00:01,860 , shift 0 ms
[AUDMAudioFilter_Bridge] 05:13:36-184  [Bridge] Ending with time 00:00:01,860, sample 0
[rewind] 05:13:36-184  [AudioBridge] Going to time 00:00:01,860
[goToTime] 05:13:36-184   go to time 1,86 secs
[goToTime] 05:13:36-184  => seg 0, rel time 1,86 secs
[resetAfterSeek] 05:13:36-184   flushing after seek 
No accelerated IMDCT transform found
[refill] 05:13:36-184  Trying to ignore the discontinuous timestamp (1 try)
[refill] 05:13:36-184  Trying to ignore the discontinuous timestamp (2 try)
[refill] 05:13:36-185  Trying to ignore the discontinuous timestamp (3 try)
[refill] 05:13:36-185  Trying to ignore the discontinuous timestamp (4 try)
[refill] 05:13:36-185  Trying to ignore the discontinuous timestamp (5 try)
[refill] 05:13:36-185  Trying to ignore the discontinuous timestamp (6 try)
[refill] 05:13:36-185  Trying to ignore the discontinuous timestamp (7 try)
[refill] 05:13:36-185  Trying to ignore the discontinuous timestamp (8 try)
[refill] 05:13:36-185  Trying to ignore the discontinuous timestamp (9 try)
[refill] 05:13:36-185  Trying to ignore the discontinuous timestamp (10 try)
[refill] 05:13:36-185  Trying to ignore the discontinuous timestamp (11 try)
[refill] 05:13:36-185  Trying to ignore the discontinuous timestamp (12 try)
[refill] 05:13:36-185  Trying to ignore the discontinuous timestamp (13 try)
[refill] 05:13:36-185  Trying to ignore the discontinuous timestamp (14 try)
[refill] 05:13:36-185  Trying to ignore the discontinuous timestamp (15 try)
[refill] 05:13:36-185  Trying to ignore the discontinuous timestamp (16 try)
[rewind] 05:13:36-185  [AudioBridge] Going to time 00:00:01,860
[goToTime] 05:13:36-185   go to time 1,86 secs
[goToTime] 05:13:36-185  => seg 0, rel time 1,86 secs
[resetAfterSeek] 05:13:36-185   flushing after seek 
No accelerated IMDCT transform found
[refill] 05:13:36-186  Trying to ignore the discontinuous timestamp (1 try)
[refill] 05:13:36-186  Trying to ignore the discontinuous timestamp (2 try)
[refill] 05:13:36-186  Trying to ignore the discontinuous timestamp (3 try)
[refill] 05:13:36-186  Trying to ignore the discontinuous timestamp (4 try)
[refill] 05:13:36-186  Trying to ignore the discontinuous timestamp (5 try)
[refill] 05:13:36-186  Trying to ignore the discontinuous timestamp (6 try)
[refill] 05:13:36-186  Trying to ignore the discontinuous timestamp (7 try)
[refill] 05:13:36-186  Trying to ignore the discontinuous timestamp (8 try)
[refill] 05:13:36-186  Trying to ignore the discontinuous timestamp (9 try)
[refill] 05:13:36-187  Trying to ignore the discontinuous timestamp (10 try)
[refill] 05:13:36-187  Trying to ignore the discontinuous timestamp (11 try)
[refill] 05:13:36-187  Trying to ignore the discontinuous timestamp (12 try)
[refill] 05:13:36-187  Trying to ignore the discontinuous timestamp (13 try)
[refill] 05:13:36-187  Trying to ignore the discontinuous timestamp (14 try)
[refill] 05:13:36-187  Trying to ignore the discontinuous timestamp (15 try)
[refill] 05:13:36-187  Trying to ignore the discontinuous timestamp (16 try)
[init] 05:13:36-208  Initializing audioDeviceThreaded with channels=2, fq=48000
DeviceStopped -> DeviceStopped
[localInit] 05:13:36-208  Pulse, initiliazing channel=2 samplerate=48000
[localInit] 05:13:36-212  [PulseSimple] open ok for fq=48000 channels=2
DeviceStopped -> DeviceStarted
[stop] 05:13:36-212  [audioDevice]Stopping device...DeviceStarted -> DeviceStop_Requested
[AudioDeviceThreaded] Entering loop
DeviceStop_Requested -> DeviceStop_Granted
[AudioDeviceThreaded] Exiting loop
[PulseAudio] Stopped
DeviceStop_Granted -> DeviceStopped
[init] 05:13:36-213  Initializing audioDeviceThreaded with channels=2, fq=48000
DeviceStopped -> DeviceStopped
[localInit] 05:13:36-213  Pulse, initiliazing channel=2 samplerate=48000
[localInit] 05:13:36-215  [PulseSimple] open ok for fq=48000 channels=2
DeviceStopped -> DeviceStarted
[Playback] Latency : 50 ms
[AudioDeviceThreaded] Entering loop
[Playback] Latency is now 0
[checkGlError] 05:13:36-292  [GLERROR]BindARB: 1284 => stack underflow
[HandleAction] 05:13:39-386  ************ PlayAvi **************
[cleanup] 05:13:39-386  Cleaning up..
[stop] 05:13:39-386  [audioDevice]Stopping device...DeviceStarted -> DeviceStop_Requested
DeviceStop_Requested -> DeviceStop_Granted
[AudioDeviceThreaded] Exiting loop
[PulseAudio] Stopped
DeviceStop_Granted -> DeviceStopped
[Bridge] Destroying bridge
[cleanup] 05:13:39-391  Destroying video playback chain
[~ADM_coreVideoFilterQtGl] 05:13:39-391  Gl filter : Destroying..
[GUI_PlayAvi] 05:13:39-391  Restoring display.
[renderDisplayResize] 05:13:39-391  Render to 1280x720 zoom=2, old one =1280 x 720, zoom=2, render=0x3c47650
[renderDisplayResize] 05:13:39-391            No change, nothing to do
[DecodePictureUpToIntra] 05:13:39-391   DecodeUpToInta 66 ref:0
[edCache] Flush
[vdpGetProcAddressWrapper] 05:13:39-391  Calling vdpGetProcAddressWrapper for function 38
[vdpGetProcAddressWrapper] 05:13:39-391  Wrapping DECODER_DESTROY decoderDestroy
[vdpGetProcAddressWrapper] 05:13:39-391  Ok
[vdpauGetFormat] 05:13:39-410  [vdpau]: GetFormat
[vdpauGetFormat] 05:13:39-410  [vdpau]: Evaluating 109
[parseHwAccel] 05:13:39-410  Trying h263_vaapi, hwPixFmt=53, wantedPixFmt 109, hwCodecId =5 : wantedCodecID=28
[parseHwAccel] 05:13:39-410  Trying h264_vaapi, hwPixFmt=53, wantedPixFmt 109, hwCodecId =28 : wantedCodecID=28
[parseHwAccel] 05:13:39-410  Trying h264_vdpau, hwPixFmt=109, wantedPixFmt 109, hwCodecId =28 : wantedCodecID=28
[vdpauGetFormat] 05:13:39-410  Found matching hw accelerator : h264_vdpau
[vdpauGetFormat] 05:13:39-410  Successfully setup hw accel
[canSupportThis] 05:13:39-410  This is supported by VDPAU
[lookup] 05:13:39-410  Matching hw accel : vdpau
[ADM_FFgetFormat] 05:13:39-410  Reusing existing setup
[vdpGetProcAddressWrapper] 05:13:39-410  Calling vdpGetProcAddressWrapper for function 7
==> GetProcAddress called
[vdpGetProcAddressWrapper] 05:13:39-410  Ok
[vdpGetProcAddressWrapper] 05:13:39-410  Calling vdpGetProcAddressWrapper for function 36
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: eumagga0x2a on March 24, 2017, 07:04:58 AM
Thanks, the BindARB error in the log is a red herring then, unrelated to the real cause of the problem. The issue affectsââ,¬â€¹ Avidemux built and run on Fedora 25 as well.
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: eumagga0x2a on March 27, 2017, 01:41:26 PM
There is definitely some trouble ahead as all the issues with OpenGL filters that exist on Fedora affect equally Ubuntu 16.10 (and probably later).
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: Jan Gruuthuse on March 27, 2017, 01:59:36 PM
That's why I stay with LTS version.
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: mean on March 27, 2017, 02:59:35 PM
Try 2 times, sometimes it fails the 1st time
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: eumagga0x2a on March 27, 2017, 03:24:21 PM
Oh, I see. But still it doesn't work right, because it rotates only chroma. edit: it fails every 1st time for me.
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: eumagga0x2a on March 27, 2017, 03:28:06 PM
Quote from: Jan Gruuthuse on March 27, 2017, 01:59:36 PM
That's why I stay with LTS version.

For a user POV, this is very wise. For a tester and bugreporter this is exactly the reason not to stay with a LTS version ;)
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: Jan Gruuthuse on March 28, 2017, 05:04:32 AM
Check if your card is still supported with current drivers? could be an issue.
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: Jan Gruuthuse on March 28, 2017, 06:53:30 AM
OpenGl filters is still functioning on GT 520 and Core I5 cpu.
You don't run a AMD cpu?
Title: Re: Filter angle° in Transform Rotate and OpenGl Rotate
Post by: mean on March 28, 2017, 07:33:23 PM
I think there is a bug , but the implementations are more or less tolerant to error

recent example :

float b=2*a;

where "a" is a float

Works on nvidia, does not compile on intel, 2 must be replaced by 2.0