News:

--

Main Menu

Merge Fields bug

Started by bjohnson777, May 10, 2015, 06:20:29 PM

Previous topic - Next topic

Jan Gruuthuse

#15
Quote from: bjohnson777 on May 17, 2015, 09:52:13 PM
I found the 2.6.x compile instructions off the download page, but the instructions are for the older SVN setup. What's the download instructions from git?

Thanks
1st time:
sudo apt-get update
sudo apt-get install git
git clone https://github.com/mean00/avidemux2.git

Next time
Update:
cd ~/avidemux2 && git pull
Build:
cd ~/avidemux2 && bash bootStrap.bash --deb --with-qt4 --without-gtk --with-cli

possible switches for bash bootStrap.bash cli:
Quote--help            : Print usage"
--rpm             : Build rpm packages"
--deb             : Build deb packages"
--tgz             : Build tgz packages"
--debug           : Switch debugging on"
--with-core       : Build core"
--without-core    : Dont build core"
--with-cli        : Build cli"
--without-cli     : Dont build cli"
--with-gtk        : Build gtk"
--without-gtk     : Dont build gtk"
--with-core       : Build core"
--without-qt4     : Dont build qt4"
--with-plugins    : Build plugins"
--without-plugins : Dont build plugins"
--enable-qt5      : Try to use qt5 instead of qt4"




bjohnson777

Thanks Jan and sorry for the response delays. I have bad health issues and am on overload with some other issues.

As mentioned in my previous post I was going to try a full render based on the 1min render tests I did with 2.6.9-1~getdeb1. Three tries failed when starting the second pass.

Attached are the crash and shell logs from the last try.

I tried git compiling, but those failed. I'll split those out into separate posts.

bjohnson777

I tried the qt4 compile as instructed above. It errored out.

Note that I run auto-apt to find any missing small packages. The first try found a few. This is from the last try of the qt4 compile.

Here's the end from the shell:
-- ***********************
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found

-- AVFORMAT : 56, Major :
-- AVCODEC  : 56, Major :
-- AVUTIL   : 54, Major :
-- POSTPRC  : 53, Major :
-- SWSCALE  : 3, Major :

-- Checking Qt
-- Checking for Qt 4
-- *****************
CMake Warning at /usr/share/cmake-2.8/Modules/FindQt4.cmake:659 (message):
  /usr/bin/qmake reported QT_INSTALL_LIBS as "/usr/lib/x86_64-linux-gnu" but
  QtCore could not be found there.  Qt is NOT installed correctly for the
  target build environment.
Call Stack (most recent call first):
  /scratch/avidemux/avidemux2/cmake/admCheckQt4.cmake:56 (FIND_PACKAGE)
  /scratch/avidemux/avidemux2/cmake/admCheckQt.cmake:11 (checkQt4)
  CMakeLists.txt:16 (checkQt)


Could not find Qt 4


CMake Error at CMakeLists.txt:19 (MESSAGE):
  Qt NOT FOUND


-- Configuring incomplete, errors occurred!
See also "/scratch/avidemux/avidemux2/buildQt4/CMakeFiles/CMakeOutput.log".
See also "/scratch/avidemux/avidemux2/buildQt4/CMakeFiles/CMakeError.log".
** Failed at cmakeZ**


I did a search for qtcore and found these:
/usr/lib/i386-linux-gnu/libQtCore.so.4
/usr/lib/i386-linux-gnu/libQtCore.so.4.8
/usr/lib/i386-linux-gnu/libQtCore.so.4.8.6
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
/usr/lib/x86_64-linux-gnu/libQtCore.so.4.8
/usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6


Here are the qt based packages on my ubuntu 14.04.2 LTS 64bit:
ii  libattica0.4:amd64                          0.4.2-1                                amd64        Qt library that implements the Open Collaboration Services API
ii  libdbusmenu-qt2:amd64                       0.9.3+14.04.20140314-0ubuntu1          amd64        Qt implementation of the DBusMenu protocol
ii  libdbusmenu-qt2:i386                        0.9.3+14.04.20140314-0ubuntu1          i386         Qt implementation of the DBusMenu protocol
ii  libkexiv2-11                                4:4.13.0-0ubuntu1                      amd64        Qt like interface for the libexiv2 library
ii  libkexiv2-data                              4:4.13.0-0ubuntu1                      all          Qt-like interface for the libexiv2 library -- data files
ii  libktorrent5                                1.3.1-3ubuntu1                         amd64        KTorrent library for C++ / Qt 4 / KDE Platform
ii  libntrack-qt4-1                             016-1.2ubuntu2                         amd64        Qt 4 API for ntrack
ii  libpolkit-qt-1-1                            0.103.0-1ubuntu1                       amd64        PolicyKit-qt-1 library
ii  libpoppler-qt4-4:amd64                      0.24.5-2ubuntu4.2                      amd64        PDF rendering library (Qt 4 based shared library)
ii  libqca2:amd64                               2.0.3-5                                amd64        libraries for the Qt Cryptographic Architecture
ii  libqgpgme1                                  4:4.13.3-0ubuntu0.2                    amd64        library for GpgME++ integration with Qt
ii  libqjson0:amd64                             0.8.1-3                                amd64        Qt-based library that maps JSON data to QVariant objects
ii  libqt4-dbus:amd64                           4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 D-Bus module
ii  libqt4-dbus:i386                            4:4.8.5+git192-g085f851+dfsg-2ubuntu4  i386         Qt 4 D-Bus module
ii  libqt4-declarative:amd64                    4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 Declarative module
ii  libqt4-declarative:i386                     4:4.8.5+git192-g085f851+dfsg-2ubuntu4  i386         Qt 4 Declarative module
ii  libqt4-designer:amd64                       4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 designer module
ii  libqt4-help:amd64                           4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 help module
ii  libqt4-network:amd64                        4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 network module
ii  libqt4-network:i386                         4:4.8.5+git192-g085f851+dfsg-2ubuntu4  i386         Qt 4 network module
ii  libqt4-opengl:amd64                         4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 OpenGL module
ii  libqt4-opengl:i386                          4:4.8.5+git192-g085f851+dfsg-2ubuntu4  i386         Qt 4 OpenGL module
ii  libqt4-qt3support:amd64                     4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 3 compatibility library for Qt 4
ii  libqt4-script:amd64                         4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 script module
ii  libqt4-script:i386                          4:4.8.5+git192-g085f851+dfsg-2ubuntu4  i386         Qt 4 script module
ii  libqt4-sql:amd64                            4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 SQL module
ii  libqt4-sql:i386                             4:4.8.5+git192-g085f851+dfsg-2ubuntu4  i386         Qt 4 SQL module
ii  libqt4-sql-mysql:amd64                      4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 MySQL database driver
ii  libqt4-sql-mysql:i386                       4:4.8.5+git192-g085f851+dfsg-2ubuntu4  i386         Qt 4 MySQL database driver
ii  libqt4-sql-sqlite:amd64                     4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 SQLite 3 database driver
ii  libqt4-svg:amd64                            4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 SVG module
ii  libqt4-xml:amd64                            4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 XML module
ii  libqt4-xml:i386                             4:4.8.5+git192-g085f851+dfsg-2ubuntu4  i386         Qt 4 XML module
ii  libqt4-xmlpatterns:amd64                    4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 XML patterns module
ii  libqt4-xmlpatterns:i386                     4:4.8.5+git192-g085f851+dfsg-2ubuntu4  i386         Qt 4 XML patterns module
ii  libqtcore4:amd64                            4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 core module
ii  libqtcore4:i386                             4:4.8.5+git192-g085f851+dfsg-2ubuntu4  i386         Qt 4 core module
ii  libqtdbus4:amd64                            4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 D-Bus module library
ii  libqtdbus4:i386                             4:4.8.5+git192-g085f851+dfsg-2ubuntu4  i386         Qt 4 D-Bus module library
ii  libqtgui4:amd64                             4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 GUI module
ii  libqtgui4:i386                              4:4.8.5+git192-g085f851+dfsg-2ubuntu4  i386         Qt 4 GUI module
ii  libqtwebkit4:amd64                          2.3.2-0ubuntu7                         amd64        Web content engine library for Qt
ii  libqtwebkit4:i386                           2.3.2-0ubuntu7                         i386         Web content engine library for Qt
ii  qdbus                                       4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 D-Bus tool
ii  qt4-qmake                                   4:4.8.5+git192-g085f851+dfsg-2ubuntu4  amd64        Qt 4 qmake Makefile generator tool
ii  qtchooser                                   39-g4717841-3                          amd64        Wrapper to select between Qt development binary versions
ii  qtcore4-l10n                                4:4.8.5+git192-g085f851+dfsg-2ubuntu4  all          Qt 4 core module translations
ii  sni-qt:i386                                 0.2.6-0ubuntu1                         i386         indicator support for Qt


A couple years ago I tried a 2.6 compile and couldn't get qt working. It did work with gtk, which led me to my next compile test...

bjohnson777

The gtk compile test was done "with-gtk --without-qt4".

Here is the error from the shell window:
#########################################
Configure for avidemux Gtk Started
#########################################

-- [BUILD] EXTRA Cflags:
-- [BUILD] EXTRA CXXflags:
-- [BUILD] EXTRA LDflags:
-- [BUILD] Compiler /usr/bin/c++
-- [BUILD] Linker   /usr/bin/ld
-- Top Source dir is /scratch/avidemux/avidemux2/avidemux/gtk/../..

-- Checking Compiler support
-- *************************
-- Checking if compiler supports x86 64-bit - Yes
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian

-- CMAKE_INSTALL_PREFIX: /usr
-- AVIDEMUX_INSTALL_DIR: /usr
-- FAKEROOT                   : /scratch/avidemux/avidemux2/install/
-- AVIDEMUX_BIN_DIR           : /usr/bin
-- AVIDEMUX_LIB_DIR           : /usr/lib
-- AVIDEMUX_INCLUDE_DIR       : /usr/include
-- AVIDEMUX_SEARCH_INCLUDE_DIR: /scratch/avidemux/avidemux2/install//usr/include
-- AVIDEMUX_SEARCH_LIB_DIR    : /scratch/avidemux/avidemux2/install//usr/lib

-- Checking for SCM
-- ****************
-- Seems to be git or git-svn...
-- Getting git-svn version from /scratch/avidemux/avidemux2/avidemux/gtk/../..
-- <436b12c0513><150523>==> 150523_436b12c0513

-- Checking for pkg-config
-- ***********************
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Found pkg-config

-- Checking for pthreads
-- *********************
-- Found pthreads

-- Checking for zlib
-- *****************
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Found zlib

-- Checking for gettext
-- ********************
-- Found libintl.h
-- Cound not find intl library
Could not find Gettext
-- libintl not required for gettext support

-- Checking for SDL
-- ****************
-- Found SDL

-- Checking for XVideo
-- *******************
-- Found X11/extensions/Xvlib.h
-- Found Xv library
-- Found XvShmPutImage in /usr/lib/x86_64-linux-gnu/libXv.so
-- Found XVideo

-- Checking for execinfo
-- *********************
-- Found execinfo.h
-- Cound not find execinfo library
Could not find execinfo

-- Checking for VDPAU
-- *******************
-- Found vdpau/vdpau.h
-- Found VDPAU

-- Checking for LIBVA
-- *******************
-- Found va/va.h
-- Checking it is the right version...
-- Found LIBVA

-- Checking for NVENC
-- *****************
--  nvenc header not Found

-- Checking system headers
-- ***********************
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found

-- AVFORMAT : 56, Major :
-- AVCODEC  : 56, Major :
-- AVUTIL   : 54, Major :
-- POSTPRC  : 53, Major :
-- SWSCALE  : 3, Major :

-- Checking for GTK+
-- *****************
-- checking for module 'gdk-pixbuf-2.0'
--   package 'gdk-pixbuf-2.0' not found
Could not find GdkPixBuf
-- gdk-pixbuf not found
-- checking for module 'gtk+-3.0'
--   package 'gtk+-3.0' not found
Could not find GTK+

-- Checking for GThread
-- ********************
-- checking for module 'gthread-2.0'
--   found gthread-2.0, version 2.40.2
-- Found GThread
-- Compiler Flags: -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-- Linker Flags  : -pthread -lgthread-2.0 -lglib-2.0

-- GTK config.h generated
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success

**************************
***  Optional Library  ***
***      Summary       ***
**************************
*** Video Encoder      ***
    NVENC          No
*** Miscellaneous      ***
    gettext        Yes
    SDL            Yes
    XVideo         Yes
    VDPAU          Yes
    LIBVA          Yes
**************************
***   Release Build    ***
**************************

-- Packager=deb, valid choices= {deb,rpm,tgz,none}

-- Configuring done
CMake Warning (dev) in ADM_userInterfaces/ADM_toolkit_gtk/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "ADM_toolkitGtk" has an INTERFACE_LINK_LIBRARIES property.  This
  should be preferred as the source of the link interface for this library
  but because CMP0022 is not set CMake is ignoring the property and using the
  link implementation as the link interface instead.

  INTERFACE_LINK_LIBRARIES:

    ADM_toolkitGtk

  Link implementation:

    (empty)

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    AVIDEMUX_SOURCE_DIR


-- Build files have been written to: /scratch/avidemux/avidemux2/buildGtk
** Failed at make, result in /tmp/logbuildGtk**
root@trusty-core64:/scratch/avidemux/avidemux2#


Looking at some of the errors above, here are some keyword package searches I did:
gettext
ii  autopoint                                   0.18.3.1-1ubuntu3                      all          The autopoint program from GNU gettext
ii  gettext                                     0.18.3.1-1ubuntu3                      amd64        GNU Internationalization utilities
ii  gettext-base                                0.18.3.1-1ubuntu3                      amd64        GNU Internationalization utilities for the base system
ii  libgettextpo0:amd64                         0.18.3.1-1ubuntu3                      amd64        GNU Internationalization library
ii  libgettextpo-dev:amd64                      0.18.3.1-1ubuntu3                      amd64        GNU Internationalization library development files
ii  liblocale-gettext-perl                      1.05-7build3                           amd64        module using libc functions for internationalization in Perl
ii  po-debconf                                  1.0.16+nmu2ubuntu1                     all          tool for managing templates file translations with gettext

execinfo
ii  libc6-dev:amd64                             2.19-0ubuntu6.6                        amd64        Embedded GNU C Library: Development Libraries and Header Files

pixbuf
ii  gir1.2-gdkpixbuf-2.0                        2.30.7-0ubuntu1                        amd64        GDK Pixbuf library - GObject-Introspection
ii  gtk2-engines-pixbuf:amd64                   2.24.23-0ubuntu1.2                     amd64        pixbuf-based theme for GTK+ 2.x
ii  libgdk-pixbuf2.0-0:amd64                    2.30.7-0ubuntu1                        amd64        GDK Pixbuf library
ii  libgdk-pixbuf2.0-0:i386                     2.30.7-0ubuntu1                        i386         GDK Pixbuf library
ii  libgdk-pixbuf2.0-common                     2.30.7-0ubuntu1                        all          GDK Pixbuf library - data files

gtk-3
ii  gir1.2-gtk-3.0                              3.10.8-0ubuntu1.4                      amd64        GTK+ graphical user interface library -- gir bindings
ii  gir1.2-javascriptcoregtk-3.0                2.4.8-1ubuntu1~ubuntu14.04.1           amd64        JavaScript engine library from WebKitGTK+ - GObject introspect
ion data
ii  libgtk-3-0:amd64                            3.10.8-0ubuntu1.4                      amd64        GTK+ graphical user interface library
ii  libgtk-3-bin                                3.10.8-0ubuntu1.4                      amd64        programs for the GTK+ graphical user interface library
ii  libgtk-3-common                             3.10.8-0ubuntu1.4                      all          common files for the GTK+ graphical user interface library
ii  libjavascriptcoregtk-3.0-0:amd64            2.4.8-1ubuntu1~ubuntu14.04.1           amd64        JavaScript engine library from WebKitGTK+
ii  libwebkitgtk-3.0-0:amd64                    2.4.8-1ubuntu1~ubuntu14.04.1           amd64        Web content engine library for GTK+
ii  libwebkitgtk-3.0-common                     2.4.8-1ubuntu1~ubuntu14.04.1           all          Web content engine library for GTK+ - data files


What are the next steps? Thanks for the help.

Jan Gruuthuse


Jan Gruuthuse

Quote from: bjohnson777 on May 24, 2015, 12:23:16 AM
I tried the qt4 compile as instructed above. It errored out.

sudo apt-get update
sudo apt-get install gettext cmake-dbg libasound2-dbg libass-dev libdts-dev libfribidi-dev libftgl-dev libftgl2 libglib2.0-0-dbg libiconv-hook-dev libopencore-amrnb0-dbg libopencore-amrwb0-dbg libqt4-dbg libqt4-script-dbg libsdl-sound1.2-dev libsqlite3-0-dbg libtwolame-dev libva-dev libvdpau-dev libvpx1-dbg libwxsqlite3-2.8-0 libxml2-dbg libxslt1-dbg libxv1-dbg libxvmc1-dbg libzip-dev sqlite3 vdpauinfo vainfo mesa-vdpau-drivers mesa-vdpau-drivers-dbg mesa-common-dev  libxml2-dev gcc g++ make cmake pkg-config libpng12-dev fakeroot yasm libsqlite3-dev libaften-dev libmp3lame-dev libx264-dev libfaad-dev libfaac-dev libqt4-dev


dpkg -l gettext cmake-dbg libasound2-dbg libass-dev libdts-dev libfribidi-dev libftgl-dev libftgl2 libglib2.0-0-dbg libiconv-hook-dev libopencore-amrnb0-dbg libopencore-amrwb0-dbg libqt4-dbg libqt4-script-dbg libsdl-sound1.2-dev libsqlite3-0-dbg libtwolame-dev libva-dev libvdpau-dev libvpx1-dbg libwxsqlite3-2.8-0 libxml2-dbg libxslt1-dbg libxv1-dbg libxvmc1-dbg libzip-dev sqlite3 vdpauinfo vainfo mesa-vdpau-drivers mesa-vdpau-drivers-dbg mesa-common-dev  libxml2-dev gcc g++ make cmake pkg-config libpng12-dev fakeroot yasm libsqlite3-dev libaften-dev libmp3lame-dev libx264-dev libfaad-dev libfaac-dev libqt4-dev
QuoteDesired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                    Version          Architecture     Description
+++-=======================-================-================-====================================================
ii  cmake                   2.8.12.2-0ubuntu amd64            cross-platform, open-source make system
ii  cmake-dbg               2.8.12.2-0ubuntu amd64            debugging symbols for CMake
ii  fakeroot                1.20-3ubuntu2    amd64            tool for simulating superuser privileges
ii  g++                     4:4.8.2-1ubuntu6 amd64            GNU C++ compiler
ii  gcc                     4:4.8.2-1ubuntu6 amd64            GNU C compiler
ii  gettext                 0.18.3.1-1ubuntu amd64            GNU Internationalization utilities
ii  libaften-dev            0.0.8+git2010010 amd64            audio AC3 encoder - development files
ii  libasound2-dbg:amd64    1.0.27.2-3ubuntu amd64            debugging symbols for libasound2
ii  libass-dev:amd64        0.10.1-3ubuntu1  amd64            development files for libass
ii  libdts-dev:amd64        0.0.5-6ubuntu1   amd64            backward compatibility place-holder for libdca
ii  libfaac-dev:amd64       1.28-6           amd64            AAC audio encoder (development)
ii  libfaad-dev:amd64       2.7-8            amd64            freeware Advanced Audio Decoder - development files
ii  libfribidi-dev          0.19.6-1         amd64            Development files for FreeBidi library
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  libglib2.0-0-dbg:amd64  2.40.2-0ubuntu1  amd64            Debugging symbols for the GLib libraries
ii  libiconv-hook-dev       0.0.20021209-10u amd64            header files of libiconv-hook
ii  libmp3lame-dev:amd64    3.99.5+repack1-3 amd64            MP3 encoding library (development)
ii  libopencore-amrnb0-dbg: 0.1.3-2ubuntu1   amd64            Adaptive Multi Rate speech codec - debugging symbols
ii  libopencore-amrwb0-dbg: 0.1.3-2ubuntu1   amd64            Adaptive Multi-Rate - Wideband speech codec - debugg
ii  libpng12-dev            1.2.50-1ubuntu2  amd64            PNG library - development
ii  libqt4-dbg:amd64        4:4.8.5+git192-g amd64            Qt 4 library debugging symbols
ii  libqt4-dev              4:4.8.5+git192-g amd64            Qt 4 development files
ii  libqt4-script-dbg:amd64 4:4.8.5+git192-g amd64            Qt 4 script library debugging symbols
ii  libsdl-sound1.2-dev:amd 1.0.3-7          amd64            Sound library for Simple DirectMedia Layer 1.2, deve
ii  libsqlite3-0-dbg        3.8.2-1ubuntu2   amd64            SQLite 3 debugging symbols
ii  libsqlite3-dev:amd64    3.8.2-1ubuntu2   amd64            SQLite 3 development files
ii  libtwolame-dev          0.3.13-1ubuntu1  amd64            MPEG Audio Layer 2 encoder (development files)
ii  libva-dev:amd64         1.5.0-1~xedgers~ amd64            Video Acceleration (VA) API for Linux -- development
ii  libvdpau-dev:amd64      1.1-0ubuntu1~xed amd64            Video Decode and Presentation API for Unix (developm
ii  libvpx1-dbg             1.3.0-2          amd64            VP8 video codec (debugging symbols)
ii  libwxsqlite3-2.8-0:amd6 3.0.6.1~dfsg0-2  amd64            SQLite3 C++ wrapper for use in programs based on the
ii  libx264-dev:amd64       2:0.142.2389+git amd64            development files for libx264
ii  libxml2-dbg:amd64       2.9.1+dfsg1-3ubu amd64            Debugging symbols for the GNOME XML library
ii  libxml2-dev:amd64       2.9.1+dfsg1-3ubu amd64            Development files for the GNOME XML library
ii  libxslt1-dbg:amd64      1.1.28-2build1   amd64            XSLT 1.0 processing library - debugging symbols
ii  libxv1-dbg:amd64        2:1.0.10-1       amd64            X11 Video extension library (debug package)
ii  libxvmc1-dbg            2:1.0.8-1ubuntu1 amd64            X11 Video extension library (debug package)
ii  libzip-dev              0.10.1-1.2       amd64            library for reading, creating, and modifying zip arc
ii  make                    3.81-8.2ubuntu3  amd64            An utility for Directing compilation.
ii  mesa-common-dev:amd64   10.6.0~git201505 amd64            Developer documentation for Mesa
ii  mesa-vdpau-drivers:amd6 10.6.0~git201505 amd64            Mesa VDPAU video acceleration drivers
ii  mesa-vdpau-drivers-dbg: 10.6.0~git201505 amd64            Debugging symbols for the Mesa VDPAU video accelerat

ii  pkg-config              0.26-1ubuntu4    amd64            manage compile and link flags for libraries
ii  sqlite3                 3.8.2-1ubuntu2   amd64            Command line interface for SQLite 3
ii  vainfo                  1.5.0-1~xedgers~ amd64            Video Acceleration (VA) API for Linux -- info progra
ii  vdpauinfo               0.1-1            amd64            Video Decode and Presentation API for Unix (vdpauinf

ii  yasm                    1.2.0-1ubuntu1   amd64            modular assembler with multiple syntaxes support

mesa, vdpau only when nvidia gpu is present and installed with the open drivers (like gt-520 or gtx-960)
vainfo only when intel GPU is present and installed with its (open) drivers

my current ubuntu:
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"
Quote## Current used kernel ##
3.13.0-53-generic
## Installed kernel(s) ##
ii  linux-image-3.13.0-52-generic                         3.13.0-52.86                                           amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-53-generic                         3.13.0-53.89                                           amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-52-generic                   3.13.0-52.86                                           amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-53-generic                   3.13.0-53.89                                           amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-generic                                   3.13.0.53.60                                           amd64        Generic Linux kernel image

No LSB modules are available.
Distributor ID:   Ubuntu
Description:      Ubuntu 14.04.2 LTS
Release:          14.04
Codename:         trusty
Bit:              64
Desktop:          Unity
Installed in:     Legacy mode

build with:
cd ~/avidemux2 && bash bootStrap.bash --deb --with-qt4 --without-gtk --with-cli



Jan Gruuthuse

you might also try build and install x264:
1st time only:
git clone git://git.videolan.org/x264.git
next time (update)
cd ~/x264 && git pull
build x264:
cd ~/x264
./configure  --prefix="/usr" --bindir="/usr/local/bin" --libdir="/usr/lib/x86_64-linux-gnu/" --enable-static --enable-shared --enable-pic
make -j4
sudo make install


PS.: adapt -j4 to reflect the available cpu cores (2 = 2 cores, 4 = 4 cores, 6 =, 8 =, ...)

Jan Gruuthuse

for nvidia drivers I use the ppa from xorg-edgers
deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu trusty main

Jan Gruuthuse

Quote from: bjohnson777 on May 24, 2015, 12:16:24 AM
Thanks Jan and sorry for the response delays. I have bad health issues and am on overload with some other issues.

As mentioned in my previous post I was going to try a full render based on the 1min render tests I did with 2.6.9-1~getdeb1. Three tries failed when starting the second pass.

Attached are the crash and shell logs from the last try.

I tried git compiling, but those failed. I'll split those out into separate posts.

Can you save the project when you made all you settings. Avidemux Menu: File: Tinypy Project: Save As Project: Name: MyProject [Save]
and attach this to your posting. I'm not certain I understand all info correctly.

When cutting video it is important to only select cutting points with these 2: and .

See short editing demo or download: Edit Cut Trim

Take good care of yourself. I visit here almost daily

bjohnson777

Got it compiled this time. Thanks. :-)

Output from your ID command from above:
## Current used kernel ##
3.13.0-53-generic
## Installed kernel(s) ##
ii  linux-image-3.13.0-53-generic               3.13.0-53.89                           amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-53-generic         3.13.0-53.89                           amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-generic                         3.13.0.53.60                           amd64        Generic Linux kernel image

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
Bit:            64
Desktop:        XFCE
Installed in:   Legacy mode


Abandon GTK is now added to my notes.

I'm still seeing "Could not find Gettext" and "Could not find execinfo", but it doesn't seem to matter so far.

Your long "dpkg -l" command doesn't show any missing packages.

Your "apt-get install ..." seems to have fixed the point where I was getting stuck at before. New packages installed not caught by auto-apt:
The following NEW packages will be installed:
  cmake-dbg libaften-dev libaften0 libasound2-dbg libass-dev libdca-dev
  libdts-dev libenca-dev libexpat1-dev libfaac-dev libfaad-dev
  libfontconfig1-dev libfreetype6-dev libfribidi-dev libftgl-dev libftgl2
  libglib2.0-0-dbg libiconv-hook-dev libiconv-hook1 libmikmod2 libmp3lame-dev
  libopencore-amrnb0-dbg libopencore-amrwb0-dbg libqt4-dbg libqt4-dev
  libqt4-dev-bin libqt4-opengl-dev libqt4-script-dbg libqt4-scripttools
  libqt4-test libqtwebkit-dev libsdl-sound1.2 libsdl-sound1.2-dev
  libsqlite3-0-dbg libtwolame-dev libvpx1-dbg libwxsqlite3-2.8-0 libx264-dev
  libxml2-dbg libxml2-dev libxslt1-dbg libxv1-dbg libxvmc1-dbg libzip-dev
  mesa-vdpau-drivers mesa-vdpau-drivers-dbg qt4-linguist-tools sqlite3 vainfo
  vdpauinfo
0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded.
Need to get 258 MB of archives.
After this operation, 333 MB of additional disk space will be used.


Auto-apt caught a bunch of smaller -dev packages that were left over. After the auto-apt compile finished, I deleted, extracted, and compiled normally using your preferred:
bash bootStrap.bash --deb --with-qt4 --without-gtk --with-cli

I did see this scroll by towards the end of the compile.
*** Video Encoder      ***
    Xvid           No
    x264           Yes
    x265           No

Ubuntu's xvid-dev is installed. Video output codec does show "Mpeg4 ASPP (xvid4)"... so it looks like xvid made it in the compile. Is this anything to worry about?

With mesa, vdpau, and vainfo, what is the "only" qualification? I think mesa and vdpau were installed by something else. I do have a geforce 8400gs in my quad, but not on the laptop I'm testing with (it has a mobile radeon). My nvidia driver for my quad is the commercial one.

Is the x264 lib packaged with Ubuntu good enough? or should I always compile my own x264?

Are the installation instructions for x265 similar to x264? Or is x265 considered to not be ready yet?

"Edit Cut Trim" wouldn't fully play on dropbox. I only get the first few seconds. I tried relaxing browser security some, but it didn't help. I can usualy download the mp4 file and play it using a real player. The dropbox web player wouldn't get beyond the (>) button on the screen.

I'm not doing a direct copy of the raw video, so I don't think cutting on the keyframes is necessary since it will be a full render. I normally scroll to an area to be clipped out and use the keyboard arrow keys to get to the point I want. Since 2.6.x can slip a little, I leave a few extra frames on each side. On my Ubuntu 12.04 LTS install, the 2.6.x version was OK with that.

My tinypy project file:
#PY  <- Needed to identify #
#--automatically built--

adm = Avidemux()
adm.loadVideo("/home/data/render3/gothmain.hd_fox_20150427-1859.raw.ts")
adm.clearSegments()
adm.addSegment(0, 55538800, 436402633)
adm.addSegment(0, 612328366, 516716200)
adm.addSegment(0, 1361443400, 462929133)
adm.addSegment(0, 2034766044, 336786456)
adm.addSegment(0, 2616897588, 254304056)
adm.addSegment(0, 3058588833, 579695789)
adm.markerA = 0
adm.markerB = 2586834267
adm.videoCodec("x264", "useAdvancedConfiguration=True", "general.params=2PASSBITRATE=800", "general.threads=0", "general.preset=ultrafast", "general.tuning=film",
"general.profile=baseline", "general.fast_decode=False", "general.zero_latency=False"
, "general.fast_first_pass=True", "level=32", "vui.sar_height=1", "vui.sar_width=1", "MaxRefFrames=5", "MinIdr=25", "MaxIdr=500", "i_scenecut_threshold=40", "intr
a_refresh=False", "MaxBFrame=5", "i_bframe_adaptive=2"
, "i_bframe_bias=0", "i_bframe_pyramid=1", "b_deblocking_filter=False", "i_deblocking_filter_alphac0=0", "i_deblocking_filter_beta=0", "cabac=True", "interlaced=F
alse", "constrained_intra=False", "tff=True"
, "fake_interlaced=False", "analyze.b_8x8=True", "analyze.b_i4x4=False", "analyze.b_i8x8=True", "analyze.b_p8x8=False", "analyze.b_p16x16=True", "analyze.b_b16x16
=True", "analyze.weighted_pred=2", "analyze.weighted_bipred=True"
, "analyze.direct_mv_pred=3", "analyze.chroma_offset=0", "analyze.me_method=2", "analyze.me_range=16", "analyze.mv_range=-1", "analyze.mv_range_thread=-1", "analy
ze.subpel_refine=8", "analyze.chroma_me=True"
, "analyze.mixed_references=True", "analyze.trellis=2", "analyze.psy_rd=0.000000", "analyze.psy_trellis=0.000000", "analyze.fast_pskip=False", "analyze.dct_decima
te=True", "analyze.noise_reduction=0", "analyze.psy=True"
, "analyze.intra_luma=11", "analyze.inter_luma=21", "ratecontrol.rc_method=0", "ratecontrol.qp_constant=0", "ratecontrol.qp_min=10", "ratecontrol.qp_max=51", "rat
econtrol.qp_step=4", "ratecontrol.bitrate=0"
, "ratecontrol.rate_tolerance=1.000000", "ratecontrol.vbv_max_bitrate=0", "ratecontrol.vbv_buffer_size=0", "ratecontrol.vbv_buffer_init=0", "ratecontrol.ip_factor
=1.400000", "ratecontrol.pb_factor=1.300000"
, "ratecontrol.aq_mode=1", "ratecontrol.aq_strength=1.000000", "ratecontrol.mb_tree=True", "ratecontrol.lookahead=40")
adm.addVideoFilter("eq2", "contrast=1.000000", "brightness=0.000000", "saturation=1.200000", "gamma=1.200000", "gamma_weight=1.000000", "rgamma=1.000000", "bgamma
=1.000000", "ggamma=1.000000")
adm.addVideoFilter("mergefields")
adm.addVideoFilter("lavdeint", "deintType=5", "autoLevel=False")
adm.addVideoFilter("decimate", "cycle=5", "mode=3", "quality=2", "show=False", "debug=False", "threshold=0.000000", "threshold2=0.000000")
adm.addVideoFilter("crop", "top=2", "bottom=2", "left=2", "right=2")
adm.addVideoFilter("swscale", "width=848", "height=480", "algo=2", "sourceAR=2", "targetAR=1")
adm.addVideoFilter("resampleFps", "mode=2", "newFpsDen=1001", "newFpsNum=24000")
adm.audioClearTracks()
adm.setSourceTrackLanguage(0,"")
adm.audioAddTrack(0)
adm.audioCodec(0, "copy");
adm.audioSetDrc(0, 0)
adm.audioSetShift(0, 0,0)
adm.setContainer("MKV", "forceDisplayWidth=False", "displayWidth=1280")

I'm not sure why
adm.setContainer("MKV", "forceDisplayWidth=False", "displayWidth=1280")
is set to 1280, but it doesn't seem to matter so far.

Found another bug. On a clean system without avidemux installed before, it errors and quits with this in the shell window:
[load]  can't read /root/.avidemux6/config2
It's in red while the rest is in green and black.

I just started the render again from the above tinypy project. It's past my bed time and I've got another heavy week ahead. I'll try and make some time tomorrow to report the render status.

Thanks for the help.

Jan Gruuthuse

Quote from: bjohnson777 on June 01, 2015, 02:16:25 AM
I did see this scroll by towards the end of the compile.
*** Video Encoder      ***
    Xvid           No
    x264           Yes
    x265           No

Ubuntu's xvid-dev is installed. Video output codec does show "Mpeg4 ASPP (xvid4)"... so it looks like xvid made it in the compile. Is this anything to worry about?

Xvid should show yes. Check if these are installed.
dpkg -l libxvid*
QuoteDesired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                    Version          Architecture     Description
+++-=======================-================-================-====================================================
ii  libxvidcore-dev:amd64   2:1.3.2-9ubuntu1 amd64            Open source MPEG-4 video codec (development)
ii  libxvidcore4:amd64      2:1.3.2-9ubuntu1 amd64            Open source MPEG-4 video codec (library)
If not:sudo apt-get update && sudo apt-get install libxvidcore-dev

QuoteWith mesa, vdpau, and vainfo, what is the "only" qualification? I think mesa and vdpau were installed by something else. I do have a geforce 8400gs in my quad, but not on the laptop I'm testing with (it has a mobile radeon). My nvidia driver for my quad is the commercial one.
- mesa can work with nvidia, intel or AMD gpu. If your laptop has intel gpu on cpu and AMD gpu (Intel/AMD hybrid graphics). You might look into how to install this correctly, if this brings an advantage. AMD gpu or Intel gpu hardware accelleration in avidemux is not guaranteed to work 100%. I only have user experience, with GT-520 and GTX-960.

QuoteIs the x264 lib packaged with Ubuntu good enough? or should I always compile my own x264?
If you don't come accross issues, you probably could stay with ubuntu stock x264.

QuoteAre the installation instructions for x265 similar to x264? Or is x265 considered to not be ready yet?
x265 is encoder, If you have need/use for it, you would need to install otherwise not.

Quote"Edit Cut Trim" wouldn't fully play on dropbox....
There is a download button at top righthand at dropbox player, you could download this way.
Edit Cut Trim with [ctrl][X] is currently broken, my opinion: see: Cutting on keyframe looses video information

QuoteI'm not doing a direct copy of the raw video, so I don't think cutting on the keyframes is necessary since it will be a full render. I normally scroll to an area to be clipped out and use the keyboard arrow keys to get to the point I want. Since 2.6.x can slip a little, I leave a few extra frames on each side. On my Ubuntu 12.04 LTS install, the 2.6.x version was OK with that.
If you get squares, where you made edit, probably cause would be not using keyframe.

QuoteI'm not sure why
adm.setContainer("MKV", "forceDisplayWidth=False", "displayWidth=1280")
is set to 1280, but it doesn't seem to matter so far.
That comes in to play with SD video that has 4:3 an should play 16:9 on TV

QuoteFound another bug. On a clean system without avidemux installed before, it errors and quits with this in the shell window:
[load]  can't read /root/.avidemux6/config2
It's in red while the rest is in green and black.
That is weird, I think. On normal installation config2 should be in the users home.~/.avidemux6/config2You did install the deb's (7) by double clicking them as current user? So ubuntu software manager did install avidemux 2.6.9. Not certain this works the same way on XFCE

dpkg -l avidemux3*
QuoteDesired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                            Version                      Architecture                 Description
+++-===============================================-============================-============================-===================================================================================================
ii  avidemux3-cli                                   2.6.9-150531                 amd64                        Simple video editori,main program gtk version
ii  avidemux3-core                                  2.6.9-150531                 amd64                        Simple video editori,core libraries
ii  avidemux3-plugins-cli                           2.6.9-150531                 amd64                        Simple video editor, plugins
ii  avidemux3-plugins-common                        2.6.9-150531                 amd64                        Simple video editor, plugins
ii  avidemux3-plugins-qt4                           2.6.9-150531                 amd64                        Simple video editor, plugins
ii  avidemux3-plugins-settings                      2.6.9-150531                 amd64                        Simple video editor, plugins
ii  avidemux3-qt4                                   2.6.9-150531                 amd64                        Simple video editor,main program qt4 version

bjohnson777

For missing xvid in the summary list, "dpkg -l libxvid*" shows the same versions you have.

I don't have a dropbox account, so it wouldn't let me manually download. I understand what you're saying about the keyframe buttons from the post you listed. I'm not doing a copy, so no squares on output.

For vdpau, mesa, and such, is it possible to add a "--without-gfx-hardware-acceleration" option to bootStrap.bash? That might make troubleshooting a little easier.

For the "~/.avidemux6/config2" load failure, I was the user root. I needed to be for the compile with auto-apt. That's a test and dev system, so being root isn't a big deal. Maybe avidemux didn't like being run as root?

I installed the compiled deb's using "dpkg -i". No errors reported. Files and dpkg output:
-rw-r--r--  1 root root 1580878 May 31 20:11 avidemux3-cli-2.6.9-150531-Linux.deb
-rw-r--r--  1 root root 3460270 May 31 20:11 avidemux3-core-2.6.9-150531-Linux.deb
-rw-r--r--  1 root root   57216 May 31 20:11 avidemux3-plugins-CLI-2.6.9-150531-Linux.deb
-rw-r--r--  1 root root 1864182 May 31 20:11 avidemux3-plugins-COMMON-2.6.9-150531-Linux.deb
-rw-r--r--  1 root root  630360 May 31 20:11 avidemux3-plugins-QT4-2.6.9-150531-Linux.deb
-rw-r--r--  1 root root   60228 May 31 20:11 avidemux3-plugins-SETTINGS-2.6.9-150531-Linux.deb
-rw-r--r--  1 root root 2381594 May 31 20:11 avidemux3-qt4-2.6.9-150531-Linux.deb

ii  avidemux3-cli                               2.6.9-150531                               amd64        Simple video editori,main program gtk version
ii  avidemux3-core                              2.6.9-150531                               amd64        Simple video editori,core libraries
ii  avidemux3-plugins-cli                       2.6.9-150531                               amd64        Simple video editor, plugins
ii  avidemux3-plugins-common                    2.6.9-150531                               amd64        Simple video editor, plugins
ii  avidemux3-plugins-qt4                       2.6.9-150531                               amd64        Simple video editor, plugins
ii  avidemux3-plugins-settings                  2.6.9-150531                               amd64        Simple video editor, plugins
ii  avidemux3-qt4                               2.6.9-150531                               amd64        Simple video editor,main program qt4 version


After uninstalling the getdeb version first, these installed on my quad just fine. All the package dependencies were handled by the getdeb version, the previous version, and the ubuntu 2.5.4 version that's also installed. "dpkg -i" didn't report any problems.

As a side note, laptop and quad are both 64bit K10e processors. They both run the same ubuntu version with nearly identical installs and programs.

The compiled version loaded the tinypy project file without problems. I ran it for a full render of the video. It crashed after the first pass just like the getdeb version.

I ran avidemux from the command line using the tee command to capture the full shell output (and apparently the color control codes, too). That is attached with the crash.py file. Does 2.6 create the admlog file mentioned in the wiki?

Thanks for the help.

Jan Gruuthuse

#27
Delete the .idx2 for the used video files in your project.
dpkg -l vdpauinfo mesa-vdpau-drivers mesa-vdpau-drivers-dbg mesa-common-dev
QuoteDesired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                            Version                      Architecture                 Description
+++-===============================================-============================-============================-===============================================================
ii  mesa-common-dev:amd64                           10.6.0~git20150528+10.6.ffd1 amd64                        Developer documentation for Mesa
ii  mesa-vdpau-drivers:amd64                        10.6.0~git20150528+10.6.ffd1 amd64                        Mesa VDPAU video acceleration drivers
ii  mesa-vdpau-drivers-dbg:amd64                    10.6.0~git20150528+10.6.ffd1 amd64                        Debugging symbols for the Mesa VDPAU video acceleration drivers
ii  vdpauinfo                                       0.1-1                        amd64                        Video Decode and Presentation API for Unix (vdpauinfo utility)

Check settings in avidemux: Menu: Edit: Preferences:
[Display]
- Xvideo (best]
Default PostProcessing
[ ] Horizontal deblcoking
[ ] Vertical deblocking
[ ] Deringing
Strength: 0
[ ] Enable openGL support

[HW Accel]
[ ] Decode video using VDPAU (NVIDIA)
[ ] Decode video using  XVBA (AMD)
[ ] Decode video using  LIBVA (INTEL]
[ ] if you use Hw decoding, ....

[Threading]
Multi-threading
(*) Auto-detect

Prepare 1 minute video parts/sections to test with.

PS.:
- terminal ([Ctrl][alt][T]) window properties here are set to:
[Title and Command]
When command exits: [Hold the terminal open]

[scrolling]
Scrollback [v] Unlimited

- dropbox downloading: click download button: click No Thanks, continue to download --> (green highligted be me ;))

Jan Gruuthuse

#28
Did test with your tinypy script.
Avidemux crashes when trying to edit crop (double click on it)
Strikes me you want to  the crop is 1920x2160 to 1920x2156. Are you Certain this is correct? (HD = 1920x1080).
I'm not sure you crop can be minus 4 pixels? Width and hight, probably needs to be 8. I don't use this often, perhaps developer or user can confirm this!
swsRize would probably have the same issue (1916x2156)

attached bjohnson777.py  can be runned after you loaded one similar 1 minute test video.

Jan Gruuthuse

Developer needs to look at this: did just see these values are calculated from video source.