RealTechTalk (RTT) - Linux/Server Administration/Related

We have years of knowledge with technology, especially in the IT (Information Technology) industry. 

realtechtalk.com will always have fresh and useful information on a variety of subjects from Graphic Design, Server Administration, Web  Hosting Industry and much more.

This site will specialize in unique topics and problems faced by web hosts, Unix/Linux administrators, web developers, computer technicians, hardware, networking, scripting, web design and much more. The aim of this site is to explain common problems and solutions in a simple way. Forums are ineffective because they have a lot of talk, but it's hard to find the answer you're looking for, and as we know, the answer is usually not there. No one has time to scour the net for forums and read pages of irrelevant information on different forums/threads. RTT just gives you what you're looking for.

  • Linux how to view video card make and exact model


    Normally lspci will show you just like this and would suggest they are exactly the same card:

    1a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] (rev e7)
    1c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] (rev e7)

    lspci -vnn is the answer

    As we can see one is a Gigabyte and the other is an MSI card.  What's interesting about Linux is that it says what you may not already know bute the RX 470/480/570/580 are essentially the same cards/family.

    1a:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] [1002:67df] (rev e7) (prog-if 00 [VGA controller])
            Subsystem: Gigabyte Technology Co., Ltd Device [1458:22f1]
            Flags: bus master, fast devsel, latency 0, IRQ 33
            Memory at d0000000 (64-bit, prefetchable) [size=256M]
            Memory at e0000000 (64-bit, prefetchable) [size=2M]
            I/O ports at 2000 [size=256]
            Memory at e0300000 (32-bit, non-prefetchable) [size=256K]
            [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
            Capabilities: <access denied>
            Kernel driver in use: amdgpu
            Kernel modules: amdgpu

    1c:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] [1002:67df] (rev e7) (prog-if 00 [VGA controller])
            Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:3418]
            Flags: bus master, fast devsel, latency 0, IRQ 36
            Memory at b0000000 (64-bit, prefetchable) [size=256M]
            Memory at c0000000 (64-bit, prefetchable) [size=2M]
            I/O ports at 1000 [size=256]
            Memory at e0200000 (32-bit, non-prefetchable) [size=256K]
            Expansion ROM at e0260000 [disabled] [size=128K]
            Capabilities: <access denied>
            Kernel driver in use: amdgpu
            Kernel modules: amdgpu

     


  • Authentication refused: bad ownership or modes for directory /home/user SSH Public Key Authentication Failed Solution


    First of all I got this error after accidentally messing up my usergroup by using usermod -G user group

    When I would login using SSH keys it would fail:

    sshd[2020]: Authentication refused: bad ownership or modes for directory /home/one

    No worries, the fix is simple!

    chmod g-w /home/use
    
    

  • How to Update Linux /usr/share/misc/pci.ids


    This works with lspci and if it's outdated may not give you the exact manufacturer and device model.

    For example take these 3 different RX 580's:

    1a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev e7)
    1b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev e7)
    1d:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev e7)
     

    You can update it like so:

    sudo wget -O /usr/share/misc/pci.ids http://pci-ids.ucw.cz/v2.2/pci.ids

    Now try again after updating:

    1a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] (rev e7)
    1b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] (rev e7)
    1d:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] (rev e7)


  • pcimodules and lspci not working alternative solution


    pcimodules no longer works it produces nothing probably because the format of /sys/bus/pci is different.

    lspci -k doesn't work on older lspci versions.

    pciutils can be compiled but it won't work if you have an old system and compile on a newer glibc.

    iteriate through /sys/bus/pci/devices/*/modalias

    cat /sys/bus/pci/devices/*/modalias
    pci:v00008086d00001237sv00000000sd00000000bc06sc00i00
    pci:v00008086d00007000sv00000000sd00000000bc06sc01i00
    pci:v00008086d00007111sv00000000sd00000000bc01sc01i8A
    pci:v000080EEd0000BEEFsv00000000sd00000000bc03sc00i00
    pci:v00008086d0000100Esv00008086sd0000001Ebc02sc00i00
    pci:v000080EEd0000CAFEsv00000000sd00000000bc08sc80i00
    pci:v00008086d00002415sv00008086sd00000000bc04sc01i00
    pci:v0000106Bd0000003Fsv00000000sd00000000bc0Csc03i10
    pci:v00008086d00007113sv00000000sd00000000bc06sc80i00




    compare it to /lib/modules/4.4.98/modules.alias
    pci:v00008086d00001237sv00000000sd00000000bc06sc00i00
    the part we care about is:
    8086d00001237 (note I now truncate more of the end so try again removing the 7 or even the 73 at the end to be more inclusive or you will have a lower success rate).


    cat /lib/modules/4.4.98/modules.alias|grep 8086d0000123
    alias pci:v00008086d00001234sv*sd*bc*sc*i* pata_mpiix
    alias pci:v00008086d00001230sv*sd*bc*sc*i* pata_oldpiix
    alias pci:v00008086d00001234sv*sd*bc*sc*i* piix
    alias pci:v00008086d00001230sv*sd*bc*sc*i* piix

    So bash to the rescue!

    iteriate through /sys/bus/pci/devices/*/modalias

    compare it to /lib/modules/4.4.98/modules.alias

     bash script that I use in my init

    #use this code to do the same thing as pcimodules
    for device in `ls -1 /sys/bus/pci/devices/`; do
       device=`cat /sys/bus/pci/devices/$device/modalias`
        #specifying 9:11 or 9:14 with 9:11 being less restrictive and presenting more options
        #9:14 drills down and is more strict giving you less chance of getting the wrong driver
       alias=${device:9:14}
       kernversion=`uname -r`
       module=`cat /lib/modules/$kernversion/modules.alias|grep $alias|awk '{print $3}'`
       if [ ! -z "$module" ]; then
         for mod in $module; do
         echo "module for $device $alias =$module"
         modprobe $module
         done
         else
         echo "No module found for $device $alias"
       fi
    done


  • How to disable Google Fonts in Wordpress


    edit theme css:

    Click "Appearance -> Editor -> Stylesheet"

    http://yourblog.com/wp-admin/theme-editor.php?file=style.css&theme=twentysixteen

    textarea {
        color: #1a1a1a;
        /*font-family: Merriweather, Georgia, serif;*/
        font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif





    line 210


    edit wp-content/themes/twentysixteen/functions.php

            //return $fonts_url;
            return 0;

    #another problem is that in the code this shows up still:
    <link rel='stylesheet' id='open-sans-css'  href='https://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&#038;subset=latin%2Clatin-ext&#038;ver=4.4.11' type='text/css' media='all' />


    edit wp-includes/script-loader.php
    line 708:


                    $open_sans_font_url = "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets";
                    $open_sans_font_url = "";


  • Unable to load dynamic library /usr/lib64/php/modules/php_openssl


     Unable to load dynamic library '/usr/lib64/php/modules/php_openssl'

    not sure how to fix this


  • mysqld in Linux hacked


    Check for crap in /var/lib/mysql like this

     

    ls -al /var/lib/mysql/
    total 20888
    drwxr-xr-x 24 mysql mysql     4096 Oct  3 18:30 .
    drwxr-xr-x 20 root  root      4096 Oct  3 04:23 ..

    -rw-rw-rw-  1 mysql mysql    11776 Oct  3 17:10 c:exp.exe
    -rw-rw-rw-  1 mysql mysql    48128 Oct  3 17:10 c:exp1.exe
    -rw-rw-rw-  1 mysql mysql    55296 Oct  3 17:10 c:exp2.exe
    -rw-rw-rw-  1 mysql mysql    33812 Oct  3 17:10 c:tan.exe
    -rw-rw-rw-  1 mysql mysql    45056 Oct  3 17:10 c:tan1.exe
     

    This happened to a client who didn't firewall their port 3306 and had a weak root password.


  • W: GPG error: http://archive.debian.org squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA NO_PUBKEY 64481591B98321F9


    W: GPG error: http://archive.debian.org squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA NO_PUBKEY 64481591B98321F9

    No clue how to fix this.


  • cannot mount kvm ntfs image


    guestmount -a kvmuserscra.img -m /dev/sda1 mount
    libguestfs: error: mount_options: /dev/sda1 on / (options: ''): mount: unknown filesystem type 'ntfs'
    guestmount: '/dev/sda1' could not be mounted.
    guestmount: Did you mean to mount one of these filesystems?
    guestmount:     /dev/sda1 (ntfs)
    guestmount:     /dev/sda2 (ntfs)



    yum -y install ntfs-3g

    still doesn't work
     


  • h264 DVR security camera footage cannot be played


    This is not just a Linux issue but a general issue most software or hardware players cannot play the resulting exported/backed up format of .h264 from DVR security camera footage for some silly reason.

    There is a simple solution in Linux using ffmpeg fortunately.

    Convert the .h264 file into mp4


    ffmpeg -i yourfile.h264 -codec copy video.mp4

     

    play dvr .h264 file

     ffplay -f h264 yourfile.h264

     


     


  • dhcpd.conf how to secure so only known and allowed clients will be given dhcpd IP address leases


    It's really simple and just a matter of the following line within the subnet declaration.

      deny unknown-clients;

    See example below:

    subnet 10.25.20.0 netmask 255.255.255.0 {
      range 10.25.20.11 10.25.20.254;
      deny unknown-clients;
      option routers 10.25.20.10;
      option domain-name-servers 208.67.222.222;

       host client05 {
       hardware ethernet aa:bb:cc:dd:ee:ff;

       }

    }

     

    After that only clients with a declared host statement will be able to get a DHCP lease increasing security a little bit.

     


  • Thunderbird E-mail List Blank White but e-mails still clickable and viewable


    In Thunderbird in a very large folder suddenly all of my e-mail list became blank/white even though you could click on the invisible/white/blank lines and it would show the e-mails.  I tried to close and reopen but only going to Folder -> Properties and clicking Repair Folder fixed it (basically it had to redownload/rebuild the entire index and all e-mails).


  • css responsive images


    add this style="background-size: contain;max-width: 100%; height: auto;" to your img code.
    Example: <img style='background-size: contain;max-width: 100%; height: auto;' src="/some/pic.jpg">

    This code is really essential because in responsive mode on a phone it will cause images to be cut off and unviewable past the width of the device.

    Another nice trick is to add this as css to the img tag based on maximum screen width (this way no html code has to be changed):

     

    @media only screen and (min-width: 300px) and (max-width:1024px) {
           img {
            background-size: contain;max-width: 100%; height: auto
               }
    }


  • responsive table without changing much code solution


    So you've got a responsive site with tables but it breaks them so anything not viewable on the screen is now cut off.

    Here is a simple solution that will allow users to scroll horizontally so they can see the whole table:

    <div style="overflow-x:auto;">
      <table>
         <tr>

             <td></td>

         </tr>
      </table>
    </div>

     

    Basically just put it inside a div with the 'style="overflow-x:auto;".


  • yum how to install old obsolete packages


    This is important as unfortunately Centos may designate a package obsolete and the replacement breaks everything (eg. you have a config file and the new replacement is not at all compatible with it and it breaks your application).

    This is where disabling obsoletes comes into play, it can be done from yum but it doesn't work at the time I find.

    yum --setopt=obsoletes=0 install someapp  However I find it still installs the new app and not the one you ask for until the second run which is kind of pointless.
    I recommend just turning this feature off from yum.conf

    vi /etc/yum.conf

    obsoletes=0
     


  • PHP Howto Store Value of Included File Output Into Variable


    ob_start();

    include "yourfile.php";

    $stored_value=ob_get_clean();


  • PHP Migration from 5.3 to 5.4+ and dealing with deprecated functions


    Upgrading from PHP 5.3 to 5.4+ there are many challenges basic things like mysql_connect() do not work anymore.


  • ffmpeg vidstab to stabilize video


    I'm having trouble making it work on very shaky video the result seems kind of warped/blurry/fish eye like and not as good as some other examples I've seen:

    ffmpeg -i MVI_1285.MOV -vf vidstabdetect=shakiness=10:accuracy=15 -f null MVI_1285.trf
    ffmpeg -i MVI_1285.MOV -vf vidstabtransform=smoothing=30:input="transforms.trf" MVI_1285.MOV.mp4

    I've played around with the shakiness, accuracy etc.. but not the smoothing part.


  • userdel user userdel: cannot lock /etc/passwd; try again later.


    I am not sure why this happened I think it's because the file was in use by another duplicate process or script.

     userdel user
    userdel: cannot lock /etc/passwd; try again later.
     


  • mdadm how to mount inactive array


    myguy@devbox:~$ sudo mdadm -As


    myguy@devbox:~$ cat /proc/mdstat |grep sdf
    md125 : inactive sdf3[2](S)


    sudo mdadm --manage /dev/md125 --run
    mdadm: started /dev/md125



     


  • How to find and mount mdadm arrays automatically


    A great way if you have a bunch of drives and mdadm connected and are looking for backups/archives and don't know what is where!

     

     for md in `cat /proc/mdstat|grep md[0-99]|awk '{print $1}'`; do mkdir /mnt/$md; mount /dev/$md /mnt/$md; done


  • M2Crypto.SSL.Checker.WrongHost: Peer certificate subjectAltName does not match host, expected fedora-archive.ip-connect.vn.ua, got DNS:mirror.ip-connect.vn.ua


    You are using Centos 5 which is deprecated so nothing in yum will work until you follow this post to use the vault:

    http://realtechtalk.com/Centos_59_Working_Vault_Repo_file-1921-articles

    yum update
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * epel: fedora-archive.ip-connect.vn.ua
    Traceback (most recent call last):
      File "/usr/bin/yum", line 29, in ?
        yummain.user_main(sys.argv[1:], exit_code=True)
      File "/usr/share/yum-cli/yummain.py", line 309, in user_main
        errcode = main(args)
      File "/usr/share/yum-cli/yummain.py", line 178, in main
        result, resultmsgs = base.doCommands()
      File "/usr/share/yum-cli/cli.py", line 345, in doCommands
        self._getTs(needTsRemove)
      File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 101, in _getTs
        self._getTsInfo(remove_only)
      File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 112, in _getTsInfo
        pkgSack = self.pkgSack
      File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 661, in <lambda>
        pkgSack = property(fget=lambda self: self._getSacks(),
      File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 501, in _getSacks
        self.repos.populateSack(which=repos)
      File "/usr/lib/python2.4/site-packages/yum/repos.py", line 260, in populateSack
        sack.populate(repo, mdtype, callback, cacheonly)
      File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 168, in populate
        if self._check_db_version(repo, mydbtype):
      File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 226, in _check_db_version
        return repo._check_db_version(mdtype)
      File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1229, in _check_db_version
        repoXML = self.repoXML
      File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1392, in <lambda>
        repoXML = property(fget=lambda self: self._getRepoXML(),
      File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1384, in _getRepoXML
        self._loadRepoXML(text=self)
      File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1374, in _loadRepoXML
        return self._groupLoadRepoXML(text, ["primary"])
      File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1358, in _groupLoadRepoXML
        if self._commonLoadRepoXML(text):
      File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1204, in _commonLoadRepoXML
        result = self._getFileRepoXML(local, text)
      File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 985, in _getFileRepoXML
        cache=self.http_caching == 'all')
      File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 822, in _getFile
        http_headers=headers,
      File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 412, in urlgrab
        return self._mirror_try(func, url, kw)
      File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 398, in _mirror_try
        return func_ref( *(fullurl,), **kwargs )
      File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 934, in urlgrab
        return self._retry(opts, retryfunc, url, filename)
      File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 852, in _retry
        r = apply(func, (opts,) + args, {})
      File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 920, in retryfunc
        fo = URLGrabberFileObject(url, filename, opts)
      File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1008, in __init__
        self._do_open()
      File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1091, in _do_open
        fo, hdr = self._make_request(req, opener)
      File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1200, in _make_request
        fo = opener.open(req)
      File "/usr/lib/python2.4/urllib2.py", line 358, in open
        response = self._open(req, data)
      File "/usr/lib/python2.4/urllib2.py", line 376, in _open
        '_open', req)
      File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.4/site-packages/M2Crypto/m2urllib2.py", line 82, in https_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/usr/lib/python2.4/httplib.py", line 810, in request
        self._send_request(method, url, body, headers)
      File "/usr/lib/python2.4/httplib.py", line 833, in _send_request
        self.endheaders()
      File "/usr/lib/python2.4/httplib.py", line 804, in endheaders
        self._send_output()
      File "/usr/lib/python2.4/httplib.py", line 685, in _send_output
        self.send(msg)
      File "/usr/lib/python2.4/httplib.py", line 652, in send
        self.connect()
      File "/usr/lib/python2.4/site-packages/M2Crypto/httpslib.py", line 47, in connect
        self.sock.connect((self.host, self.port))
      File "/usr/lib/python2.4/site-packages/M2Crypto/SSL/Connection.py", line 159, in connect
        if not check(self.get_peer_cert(), self.addr[0]):
      File "/usr/lib/python2.4/site-packages/M2Crypto/SSL/Checker.py", line 88, in __call__
        fieldName='subjectAltName')
    M2Crypto.SSL.Checker.WrongHost: Peer certificate subjectAltName does not match host, expected fedora-archive.ip-connect.vn.ua, got DNS:mirror.ip-connect.vn.ua


  • [Wed Sep 20 15:34:44 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Sep 20 15:34:44 2017] [error] Init: Unable to read server certificate from file /www/ssl-certs/server.crt [Wed Sep 20 15:34:44 2017] [error] SSL Library Err


    [Wed Sep 20 15:34:44 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Wed Sep 20 15:34:44 2017] [error] Init: Unable to read server certificate from file /www/ssl-certs/server.crt
    [Wed Sep 20 15:34:44 2017] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
    [Wed Sep 20 15:34:44 2017] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error

    This happened when I accidentally used a .csr as a .crt.  If in doubt check the contents of the file it complains about and you may be surprised that the contents are not what they are supposed to be!

     


  • linux how to answer yes to copy


    Have you have a command ask a question such as cp or move?

    You can do this:

    echo y|cp * /tmp/othercopy

    However it may still fail if your bashrc aliases have the "-i" flag see this post here.


  • linux cp and mv will not overwrite due to alias!


    This through me for a loop when I would do a cp -rf or mv -f nothing would get overwritten even if piping y or yes to the command.

    Type alias and you'll see why:

    alias cp='cp -i'
    alias l.='ls -d .* --color=auto'
    alias ll='ls -l --color=auto'
    alias ls='ls --color=auto'
    alias mv='mv -i'
    alias rm='rm -i'

    The -i is a safeguard against messing things up but however does mess things up worse when you know what you're doing and trying to update or upgrade applications/files etc...

    alias is a built-in feature of bash where you can have an alias eg. type a command and above it will actually execute a different command or append switches transparently and automatically with you the user seeing or noticing.

    You can usually find alias entries in ~/.bashrc or if it doesn't exist in /etc/bashrc:

    cat .bashrc
    # .bashrc

    # User specific aliases and functions

    alias rm='rm -i'
    alias cp='cp -i'
    alias mv='mv -i'

    # Source global definitions
    if [ -f /etc/bashrc ]; then
        . /etc/bashrc
    fi

     

    Solution

    You can remove those aliases if you like because it really requires interaction to overwrite files based on those aliases and even piping yes/y to the answers has no impact since it is not truly interactive.


  • ERROR 2006 (HY000) at line 567: MySQL server has gone away


    mysqldump or mysql query of a larger file/table

    ERROR 2006 (HY000) at line 567: MySQL server has gone away

    Add this to /etc/my.cnf

    max_allowed_packet=64M

    service mysqld restart


  • vbulletin 4.2.5 after upgrading from 3.6 white screen fatal php errors


    The code may lead you to believe you have an incompatible template but if you are not trying to use an old template currently that is not the issue.  I actually deleted all 3.x style templates to make sure.

    What the issue is, is old plugins that are not compatible but Vbulletin does not seem to account for this except that you'll see a fatal PHP error.  You should disable all plugins and then enable one by one until you find the one that is causing the issue.

     

    [Tue Sep 26 00:54:18 2017] [error] [client 184.65.124.41] PHP Stack trace:
    [Tue Sep 26 00:54:18 2017] [error] [client 184.65.124.41] PHP   1. {main}() /www/vhosts/forums.int.com/forums/index.php:0
    [Tue Sep 26 00:54:18 2017] [error] [client 184.65.124.41] PHP   2. require() /www/vhosts/forums.int.com/forums/index.php:43
    [Tue Sep 26 00:54:18 2017] [error] [client 184.65.124.41] PHP   3. require_once() /www/vhosts/forums.int.com/forums/forum.php:67
    [Tue Sep 26 00:54:18 2017] [error] [client 184.65.124.41] PHP   4. eval() /www/vhosts/forums.int.com/forums/global.php:29
    [Tue Sep 26 00:54:18 2017] [error] [client 184.65.124.41] PHP   5. fetch_template() /www/vhosts/forums.int.com/forums/global.php(29) : eval()'d code:197
    [Tue Sep 26 00:54:18 2017] [error] [client 184.65.124.41] PHP   6. vB_Bootstrap->process_templates() /www/vhosts/forums.int.com/forums/includes/functions.php:4208
    [Tue Sep 26 00:54:18 2017] [error] [client 184.65.124.41] PHP Fatal error:  Call to a member function query_first() on null in /www/vhosts/forums.int.com/forums/includes/class_bootstrap.php(433) : eval()'d code on line 146
    [Tue Sep 26 00:54:18 2017] [error] [client 184.65.124.41] PHP Stack trace:


  • iptables v1.4.7: can't initialize iptables table `NAT': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.


    iptables -t NAT -A PREROUTING -s 24.30.44.0/24 -j DNAT --to-destination 10.10.10.1
    iptables v1.4.7: can't initialize iptables table `NAT': Table does not exist (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.

    Solution

    # it is case sensitive "nat" and DO NOT use "NAT" or you will get this error!

    iptables -t nat -A PREROUTING -s 24.30.44.0/24 -j DNAT --to-destination 10.10.10.1


  • Linux and FreeBSD how to set time and date


    Linux Set Date
    date -s "YYYY-MM-DD HH:MM:SS"
    date -s '2014-12-25 12:34:56'

    BSD Unix Set Date

    date yymmddhhmmss
    date 170809121156


  • FreeBSD/OpenBSD OpenVPN Client error "Cannot allocate TUN/TAP dev dynamically"



    I have never had this error on Linux and this is running FreeBSD as root:


    Wed Aug  9 04:29:34 2017 us=329050 Cannot allocate TUN/TAP dev dynamically
    Wed Aug  9 04:29:34 2017 us=329832 Exiting due to fatal error

    The Solution you need a kernel module that is for some reason not automatically loaded like Linux:

    kldload if_tap


  • kdenlive - No LADSPA plugins were found! Check your LADSPA_PATH environment variable. [producer_xml] failed to load transition "qtblend"


    This happens if you are running a kdenlive script from the shell of a remote machine without using SSH "-X" forwarding and it will also cause any areas where you write text to be a white screen for that duration.

     

    melt FusionFestival.kdenlive
    No LADSPA plugins were found!

    Check your LADSPA_PATH environment variable.
    [producer_xml] failed to load transition "qtblend"
    [producer_xml] failed to load transition "qtblend"
    [producer_xml] failed to load transition "qtblend"
    +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
    |1=-10| |2= -5| |3= -2| |4= -1| |5=  0| |6=  1| |7=  2| |8=  5| |9= 10|
    +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
    +---------------------------------------------------------------------+
    |               H = back 1 minute,  L = forward 1 minute              |
    |                 h = previous frame,  l = next frame                 |
    |           g = start of clip, j = next clip, k = previous clip       |
    |                0 = restart, q = quit, space = play                  |
    +---------------------------------------------------------------------+
    WARNING: QApplication was not created in the main() thread.
    Current Position:        967

     

     

    So if executing a script remotely you have to ssh in like this:

    ssh -X user@host.com


  • /usr/bin/supermin-helper exited with error status 1. To see full error messages you may need to enable debugging. See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs at /usr/bin/virt-list-partitions line 177.


     virt-list-partitions kvmusertest.img
    /usr/bin/supermin-helper exited with error status 1.
    To see full error messages you may need to enable debugging.
    See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs at /usr/bin/virt-list-partitions line 177.


    #solution

    update-guestfs-appliance


  • Linux Unable to mount cifs/smb share in /etc/fstab


    sudo mount -a
    Unable to find suitable address.


    [35758.706993] CIFS VFS: Error connecting to socket. Aborting operation.
    [35758.707247] CIFS VFS: cifs_mount failed w/return code = -111
    [35795.476160] CIFS VFS: Error connecting to socket. Aborting operation.
    [35795.476346] CIFS VFS: cifs_mount failed w/return code = -111

    When the above happens "Unable eto find suitable address" it usually means the smb name cannot be found for some reason (perhaps the system is down or smb is not running).


  • MySQL: table is marked as crashed solultion


    myisamchk can fix it

    But be careful and use the right options to avoid losing data.  In fact if you haven't you should make a backup or at least manually copy /var/lib/mysql.

    Replace "YourDB" with the name of your database

    Replace "yourcrashedtable" with the name of your crashed table.

    The -o option is the safest and should avoid dataloss whereas -r is more aggressive and is a last option (I have lost data using -r and only discovered it later).

    myisamchk -o /var/lib/mysql/YourDB/yourcrashedtable.MYI


  • bash Linux how to get first or last letters of a word


    To get the first X letters of a word:

    It's very simple you can just pipe it to head with

    • -c 1 (gives the first letter and so on)
    • -c2 (2 gives the first 2 letters). 

     echo "dsjfsdlksjdklf;jlsd;kflasdj;kl"|head -c 2

    Returns ds
     

    To get the last X letters of a word:

    Now we use tail with -c but it works differently.  You will want to start with 2 otherwise you will get the end of the string which is nothing.

     echo "dsjfsdlksjdklf;jlsd;kflasdj;kl"|tail -c 2

    Returns "l"

     echo "dsjfsdlksjdklf;jlsd;kflasdj;kl"|tail -c 3

    Returns "kl"
     


     


  • l2tp ipsec VPN Error Sep 12 18:16:25 vps pluto[7299]: ERROR: asynchronous network error report on eth0 (sport=500) for message to 192.5.6.2 port 20640, complainant 192.5.6.2: Connection refused [errno 111, origin ICMP type 3 code 3 (not authenticated


    Sep 12 18:16:25 vps pluto[7299]: ERROR: asynchronous network error report on eth0 (sport=500) for message to 192.5.6.2 port 20640, complainant 192.5.6.2: Connection refused [errno 111, origin ICMP type 3 code 3 (not authenticated)]

    Some say changing the "leftprotoport=17/%any" will fix this but I have not found this to be the case.

    Essentially it means at least one end is blocking the ipsec packets.  Sometimes the %any allows an alternative port to be used for smart clients but generally I have not seen this fix problems (especially if a network or country is intentionally blocking ipsec packets).

     

     


  • Centos 5.9 Working Vault Repo file


    Centos 5 is not supported running yum will produce an error like this:

    YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
     Eg. Invalid release/
    removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
    Error: Cannot find a valid baseurl for repo: base

    Solution - Update this file CentOS-Base.repo

     

    # CentOS-Base.repo
    #
    # The mirror system uses the connecting IP address of the client and the
    # update status of each mirror to pick mirrors that are updated to and
    # geographically close to the client.  You should use this for CentOS updates
    # unless you are manually picking other mirrors.
    #
    # If the mirrorlist= does not work for you, as a fall back you can try the
    # remarked out baseurl= line instead.
    #
    #

    [base]
    name=CentOS-5.9 - Base
    #mirrorlist=http://mirrorlist.centos.org/?release=5.9&arch=$basearch&repo=os
    baseurl=http://vault.centos.org/5.9/os/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

    #released updates
    [updates]
    name=CentOS-5.9 - Updates
    #mirrorlist=http://mirrorlist.centos.org/?release=5.9&arch=$basearch&repo=updates
    baseurl=http://vault.centos.org/5.9/updates/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

    #additional packages that may be useful
    [extras]
    name=CentOS-5.9 - Extras
    #mirrorlist=http://mirrorlist.centos.org/?release=5.9&arch=$basearch&repo=extras
    baseurl=http://vault.centos.org/5.9/extras/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

    #additional packages that extend functionality of existing packages
    [centosplus]
    name=CentOS-5.9 - Plus
    #mirrorlist=http://mirrorlist.centos.org/?release=5.9&arch=$basearch&repo=centosplus
    baseurl=http://vault.centos.org/5.9/os/$basearch/centosplus/
    gpgcheck=1
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

    #contrib - packages by Centos Users
    [contrib]
    name=CentOS-5.9 - Contrib
    #mirrorlist=http://mirrorlist.centos.org/?release=5.9&arch=$basearch&repo=contrib
    baseurl=http://vault.centos.org/5.9/os/$basearch/contrib/
    gpgcheck=1
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5


  • Disable SSH Password Authentication to Increase Security and Harden SSH Linux Unix Server Ubuntu Mint Centos Debian


    Just a note before you do this you should have a sure, guaranteed way into the system such as local, KVM or preferably publickey making bruteforce SSH absolutely impossible since there is no password to bruteforce and even if someone knew the password they wouldn't be able to login except from the local console (presumably you should make sure no one unauthorized has physical access).

    1. Edit /etc/ssh/sshd_config

    Find the section like this:

    #PasswordAuthentication no
     

    2. Uncomment it like so:

    PasswordAuthentication no
     

    3. Restart SSH

    After this you won't be able to login with password.

    Permission denied (publickey,gssapi-keyex,gssapi-with-mic).


  • ecryptfs how to mount or recover from a backup


    The easiest way to recover or mount an off-line ecryptfs directory is the built-in command from ecryptfs

    sudo ecryptfs-recover-private  It will find your wrapped passphrase and ask for your password and mount it in tmp.  Much easier especially when your current active OS is using ecryptfs too.
    
    This a fantastic tool when going through old backups.

  • Linux bash script to see what connected computers respond to ping


    A great way when moving your equipment to a new location, new router/switch etc to help confirm what MAC has what IP:

     

    for ip in `arp -na|awk '{print $2}'|sed s/(//g|sed s/)//g`; do
    echo ping $ip
    ping -c 1 -w 1 $ip > /dev/null
    if [ "$?" == 0 ]; then
       echo "$ip UP"
    fi

    done


  • rsync specify alternate port non-standard port than 22


    It is not obvious but the rsync --help

     rsync --help|grep port
         --port=PORT             specify double-colon alternate port number

    --port does not do anything at all actually for some strange reason it still uses 22


    You have to specify a manual ssh command to make it work:

    -e 'ssh -p 2210'

    The snippet above is what you add for port 2210 change it to whatever port you need.

    Full Example Below of Rsync using an alternative port number:

    rsync -Phaz -e 'ssh -p 2210' /somedir/ root@somehost.com:/someremotedir
     


  • Centos 6.6/6.9 KVM VM Kernel Panic On Boot - Kernel panic - not syncing: Attempted to kill init!


    I am not sure why this is happening neither the hostnode or VM changed.  All I did was reboot the hostnode and startup the Centos VM again, also note it happened with the original kernel on the VM and also the latest 6.9 kernel as of this writing as shown below.

    Host Node: Centos 6.9

    Kernel: 2.6.32-696.6.3.el6.x86_64 

    Kernel: 2.6.32-042stab123.9

    Same result in any kernel above

    =========

    VM Node: Centos 6.6 originally (this is where the error started but chrooting and upgrading did not fix it).

    Kernels: 2.6.32-504.el6.x86_64,  2.6.32-696.6.3.el6.x86_64

    I have tried different kernels on the host node and in the VM it made no difference.

    I restored the same VM image and so far it boots fine but I have not made any changes to see if it boots again.  As mentioned even chrooting into the VM and upgrading the kernel and rebuilding initramfs has not fixed it.

     

     

    Kernel panic - not syncing: Attempted to kill init!

    Pid: 1, comm: init Not tained 2.32-696.6.3.el6.x86_64 #1

    Call Trace:

    [] ? panic+0xa7x0x179

    [] ? perf_event_exit_task<+0xc0/0x340

    [] ? do_group_exit+0x0/0xd0

    [] ? fput+0x25/0x30

    [] ? do_group_exit+0x58/0xd0

    [] ? sys_exit_group+0x17/0x20

    [] ? system_call_fastpath+0x16/0x1b


  • Cannot allocate TUN/TAP dev dynamically - FreeBSD/OpenBSD OpenVPN Client error Solution


    I have never had this error on Linux and this is running FreeBSD as root:


    Wed Aug  9 04:29:34 2017 us=329050 Cannot allocate TUN/TAP dev dynamically
    Wed Aug  9 04:29:34 2017 us=329832 Exiting due to fatal error


    The Solution

    You need a kernel module that is for some reason not automatically loaded like Linux:

    kldload if_tap


  • Linux Mint/Ubuntu/Debian apt how to downgrade a package


    First of all check to see which version if any you have available for a downgrade:

    apt-cache showpkg packagename

    Downgrade/Install old package:

    apt-get install package=version

    Example

    apt-cache showpkg caja
    Package: caja
    Versions:
    1.10.3-1+rafaela (/var/lib/apt/lists/packages.linuxmint.com_dists_rafaela_import_binary-amd64_Packages) (/var/lib/dpkg/status)
     Description Language:
                     File: /var/lib/apt/lists/packages.linuxmint.com_dists_rafaela_import_binary-amd64_Packages
                      MD5: 2d27e6d6f085ec92e7532bd116bd9d0a


    apt-get install caja=1.10.3-1+rafaela


  • Ubuntu Linux Mint How To Exclude Stop Package from being Upgraded or Installed


    In Debian/Ubuntu this is called "holding".

    To hold/exclude a package from being installed or upgraded:

    sudo apt-mark hold packagename

    To allow the upgrade/installation unhold:

    sudo apt-mark unhold packagename


  • Intel NUC Lower Power Green Computing Boxes Review/Comparison of J3160 and J3455 Models


    Intel NUC J3455 vs Vorke V1 J3160

    Both are excellent units but the J3160 is nicer if you require even lower power usage (6W vs the Intel 10W).  The price is attractive on the Vorke V1 as well.  It's been said that the Intel J3455 NUC has a buggy BIOS and some other issues that require attention.

    The Intel J3455 is still nice because it has 2 RAM slots but it does get hotter due to lack of fan.

    The Vorke V1 runs cooler, uses less power and seems to run well out of the box.

    The only consideration that should be given is really power, cost and the biggest feature the Vorke V1 loses out on is the single RAM slot which makes this a tossup and close tie.

    Both are excellent units, if the single RAM slot on Vorke V1 is not an issue then go for it as the Vorke V1 does the rest better with less power and heat to boot.

     

     

     

     

     

    Amazon Affiliate links where we've purchased these boxes from:

    The more expensive one comes with RAM and HDD already.


  • How to backup entire computer Linux Mint Ubuntu with tar


     sudo tar --ignore-failed-read  -czvf mycomputer-backup.tar.gz --exclude=/home/otheruser/* --exclude=/proc/* --exclude=/sys/* /

    Note the --exclude clauses and modify/add according to your needs


  • tar how to ignore failed reads and not exit


    This is an important feature a failed read can genuinely occur if a temporary file has been removed or if you try backing up a sysetm file in /proc /sys (which you shouldn't really anyway).

    The way to fix this is the following switch:

    --ignore-failed-read
     

    Example:

    sudo tar --ignore-failed-read  -czvf mycomputer-backup.tar.gz --exclude=/home/otheruser/* --exclude=/proc/* --exclude=/sys/* /


  • kdenlive titles/text renders as white screen when using .sh script


    When using the .sh script the rendering doesn't work after an upgrade of related packages to kdenlive.

     

    kdenlive (kdenlive:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1)) with affine or composite transitions was fine but is now broken during the time of transition it is just a white screen.


    The previous version was fine:

    kdenlive:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1

    But now I can't find it or install it:

    kdenlive-4:17.04.1+git201705191233~ubuntu16.04.1

    sudo apt-get install kdenlive-4:17.04.1+git201705191233~ubuntu16.04.1
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    E: Unable to locate package kdenlive-4:17.04.1+git201705191233~ubuntu16.04.1
    E: Couldn't find any package by glob 'kdenlive-4:17.04.1+git201705191233~ubuntu16.04.1'
    E: Couldn't find any package by regex 'kdenlive-4:17.04.1+git201705191233~ubuntu16.04.1'


    https://code.launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-testing/+recipebuild/1376479
    https://code.launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-testing/+build/12622720


    #found old version here
    https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-stable/+sourcepub/7824259/+listing-archive-extra

    #remove new version
    sudo apt-get remove kdenlive kdenlive-data

    #download old version
    wget https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-stable/+files/kdenlive-data_17.04.1+git201705191233~ubuntu16.04.1_all.deb
    wget https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-stable/+files/kdenlive-dbg_17.04.1+git201705191233~ubuntu16.04.1_amd64.deb
    wget https://launchpad.net/~kdenlive/+archive/ubuntu/kdenlive-stable/+files/kdenlive_17.04.1+git201705191233~ubuntu16.04.1_amd64.deb

    sudo dpkg -i kdenlive-data_17.04.1+git201705191233~ubuntu16.04.1_all.deb
    sudo dpkg -i kdenlive_17.04.1+git201705191233~ubuntu16.04.1_amd64.deb

    #downgraded kdenlive same white screen problem but only with the .sh script and not "render to file"
    original melt
    melt:amd64 (6.0.0-2, 6.5+git201704252005~ubuntu16.04.1)
    melt:amd64 (6.0.0-2, automatic)

     libmlt++3:amd64 (6.0.0-2, 6.5+git201704252005~ubuntu16.04.1), libmlt6:amd64 (6.0.0-2, 6.5+git201704252005~ubuntu16.04.1)
    Remove: libavcodec-ffmpeg56:amd64 (7:2.8.11-0ubuntu0.16.04.1), libavcodec-ffmpeg56:i386 (7:2.8.11-0ubuntu0.16.04.1)
     libmlt++3:amd64 (6.0.0-2, 6.5+git201704252005~ubuntu16.04.1), libmlt6:amd64 (6.0.0-2, 6.5+git201704252005~ubuntu16.04.1)

    #in general here is what was installed and things went wrong with the white screen after these were installed:
    =============================

    Start-Date: 2017-07-31  10:50:51
    Requested-By: user (1000)
    Upgrade: libgssapi3-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), libfwup0:amd64 (0.5-2ubuntu4, 0.5-2ubuntu5), libwind0-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16
    .04.1), update-manager-core:amd64 (1:16.04.6, 1:16.04.7), libdrm-nouveau2:amd64 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), libdrm-nouveau2:i386 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), whoopsie:amd64 (0.2.52.3, 0.2.52.5),
    python-samba:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), linux-libc-dev:amd64 (4.4.0-83.106, 4.4.0-87.110), xserver-common:amd64 (2:1.18.4-0ubuntu0.2, 2:1.18.4-0ubuntu0.3), libwacom-common:amd64 (0.18-1, 0.22-1
    ~ubuntu16.04.1), libapt-inst2.0:amd64 (1.2.20, 1.2.24), openjdk-8-jre:amd64 (8u131-b11-0ubuntu1.16.04.2, 8u131-b11-2ubuntu1.16.04.2), ruby2.3:amd64 (2.3.1-2~16.04, 2.3.1-2~16.04.2), xserver-xorg-core:amd64 (2:1.18.4-0ubuntu0.2, 2:1.18.4-0
    ubuntu0.3), imagemagick:amd64 (8:6.8.9.9-7ubuntu5.7, 8:6.8.9.9-7ubuntu5.9), libwbclient0:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), libsystemd0:amd64 (229-4ubuntu17, 229-4ubuntu19), libsystemd0:i386 (229-4ubun
    tu17, 229-4ubuntu19), grub-common:amd64 (2.02~beta2-36ubuntu3.11, 2.02~beta2-36ubuntu3.12), apt:amd64 (1.2.20, 1.2.24), kpartx:amd64 (0.5.0+git1.656f8865-5ubuntu2.4, 0.5.0+git1.656f8865-5ubuntu2.5), libheimntlm0-heimdal:amd64 (1.7~git2015
    0920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), libkmod2:amd64 (22-1ubuntu4, 22-1ubuntu5), samba:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), binutils:amd64 (2.26.1-1ubuntu1~16.04.3, 2.26.1-1ubuntu1~
    16.04.4), libmagickwand-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.7, 8:6.8.9.9-7ubuntu5.9), libwhoopsie0:amd64 (0.2.52.3, 0.2.52.5), sudo:amd64 (1.8.16-0ubuntu1.4, 1.8.16-0ubuntu1.5), libheimbase1-heimdal:amd64 (1.7~git201
    50920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), xfonts-utils:amd64 (1:7.7+3, 1:7.7+3ubuntu0.16.04.2), gdb:amd64 (7.11.1-0ubuntu1~16.04, 7.11.1-0ubuntu1~16.5), grub2-common:amd64 (2.02~beta2-36ubuntu3.11, 2.02~beta2-36ubuntu3.12), udev:amd64 (229-4ubuntu17, 229-4ubuntu19), libepoxy0:amd64 (1.3.1-1ubuntu0.16.04.1, 1.3.1-1ubuntu0.16.04.2), libapt-pkg5.0:amd64 (1.2.20, 1.2.24), grub-pc:amd64 (2.02~beta2-36ubuntu3.11, 2.02~beta2-36ubuntu3.12), apache2-data:amd64 (2.4.18-2ubuntu3.3, 2.4.18-2ubuntu3.4), fwupdate:amd64 (0.5-2ubuntu4, 0.5-2ubuntu5), kpartx-boot:amd64 (0.5.0+git1.656f8865-5ubuntu2.4, 0.5.0+git1.656f8865-5ubuntu2.5), libexpat1:amd64 (2.1.0-7ubuntu0.16.04.2, 2.1.0-7ubuntu0.16.04.3), libexpat1:i386 (2.1.0-7ubuntu0.16.04.2, 2.1.0-7ubuntu0.16.04.3), kmod:amd64 (22-1ubuntu4, 22-1ubuntu5), libudev1:amd64 (229-4ubuntu17, 229-4ubuntu19), libudev1:i386 (229-4ubuntu17, 229-4ubuntu19), libwayland-client0:amd64 (1.9.0-1, 1.12.0-1~ubuntu16.04.1), kdenlive:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1, 4:17.04.3+git201707101839~ubuntu16.04.1), ntp:amd64 (1:4.2.8p4+dfsg-3ubuntu5.5, 1:4.2.8p4+dfsg-3ubuntu5.6), samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), grub-pc-bin:amd64 (2.02~beta2-36ubuntu3.11, 2.02~beta2-36ubuntu3.12), ntpdate:amd64 (1:4.2.8p4+dfsg-3ubuntu5.5, 1:4.2.8p4+dfsg-3ubuntu5.6), libappstream-glib8:amd64 (0.5.13-1ubuntu4, 0.5.13-1ubuntu5), x11proto-core-dev:amd64 (7.0.28-2ubuntu1, 7.0.31-1~ubuntu16.04.1), libdrm-amdgpu1:amd64 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), libdrm-amdgpu1:i386 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), imagemagick-6.q16:amd64 (8:6.8.9.9-7ubuntu5.7, 8:6.8.9.9-7ubuntu5.9), kdenlive-data:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1, 4:17.04.3+git201707101839~ubuntu16.04.1), python3-distupgrade:amd64 (1:16.04.21, 1:16.04.22), python3-update-manager:amd64 (1:16.04.6, 1:16.04.7), libruby2.3:amd64 (2.3.1-2~16.04, 2.3.1-2~16.04.2), ubuntu-release-upgrader-core:amd64 (1:16.04.21, 1:16.04.22), module-init-tools:amd64 (22-1ubuntu4, 22-1ubuntu5), samba-common:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), systemd-sysv:amd64 (229-4ubuntu17, 229-4ubuntu19), libhcrypto4-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), libpam-systemd:amd64 (229-4ubuntu17, 229-4ubuntu19), libxfont1:amd64 (1:1.5.1-1, 1:1.5.1-1ubuntu0.16.04.1), libdrm2:amd64 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), libdrm2:i386 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), systemd:amd64 (229-4ubuntu17, 229-4ubuntu19), apt-utils:amd64 (1.2.20, 1.2.24), libsmbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), smbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), samba-common-bin:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8, 2:4.3.11+dfsg-0ubuntu0.16.04.9), libmagickcore-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.7, 8:6.8.9.9-7ubuntu5.9), openjdk-8-jre-headless:amd64 (8u131-b11-0ubuntu1.16.04.2, 8u131-b11-2ubuntu1.16.04.2), libdrm-intel1:amd64 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), libdrm-intel1:i386 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), libwacom2:amd64 (0.18-1, 0.22-1~ubuntu16.04.1), libroken18-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), apache2-bin:amd64 (2.4.18-2ubuntu3.3, 2.4.18-2ubuntu3.4), imagemagick-common:amd64 (8:6.8.9.9-7ubuntu5.7, 8:6.8.9.9-7ubuntu5.9), libasn1-8-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), libmagick++-6.q16-5v5:amd64 (8:6.8.9.9-7ubuntu5.7, 8:6.8.9.9-7ubuntu5.9), libkrb5-26-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), apt-transport-https:amd64 (1.2.20, 1.2.24), libdrm-radeon1:amd64 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), libdrm-radeon1:i386 (2.4.70-1~ubuntu16.04.1, 2.4.76-1~ubuntu16.04.1), apache2:amd64 (2.4.18-2ubuntu3.3, 2.4.18-2ubuntu3.4), apache2-utils:amd64 (2.4.18-2ubuntu3.3, 2.4.18-2ubuntu3.4), libhx509-5-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1, 1.7~git20150920+dfsg-4ubuntu1.16.04.1), archdetect-deb:amd64 (1.117ubuntu2.1, 1.117ubuntu2.2), libwayland-server0:amd64 (1.9.0-1, 1.12.0-1~ubuntu16.04.1), libwayland-cursor0:amd64 (1.9.0-1, 1.12.0-1~ubuntu16.04.1)
    End-Date: 2017-07-31  10:53:53
    ~



     libfwup0:amd64 (0.5-2ubuntu4
     libwind0-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     update-manager-core:amd64 (1:16.04.6
     libdrm-nouveau2:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-nouveau2:i386 (2.4.70-1~ubuntu16.04.1
     whoopsie:amd64 (0.2.52.3
     linux-libc-dev:amd64 (4.4.0-83.106
     xserver-common:amd64 (2:1.18.4-0ubuntu0.2
     libwacom-common:amd64 (0.18-1
     libapt-inst2.0:amd64 (1.2.20
     openjdk-8-jre:amd64 (8u131-b11-0ubuntu1.16.04.2
     ruby2.3:amd64 (2.3.1-2~16.04
     xserver-xorg-core:amd64 (2:1.18.4-0ubuntu0.2
     imagemagick:amd64 (8:6.8.9.9-7ubuntu5.7
     libwbclient0:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     libsystemd0:amd64 (229-4ubuntu17
     libsystemd0:i386 (229-4ubun
     grub-common:amd64 (2.02~beta2-36ubuntu3.11
     apt:amd64 (1.2.20
     kpartx:amd64 (0.5.0+git1.656f8865-5ubuntu2.4
     libheimntlm0-heimdal:amd64 (1.7~git2015
     libkmod2:amd64 (22-1ubuntu4
     samba:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     binutils:amd64 (2.26.1-1ubuntu1~16.04.3
     libmagickwand-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.7
     libwhoopsie0:amd64 (0.2.52.3
     sudo:amd64 (1.8.16-0ubuntu1.4
     libheimbase1-heimdal:amd64 (1.7~git201
     xfonts-utils:amd64 (1:7.7+3
     gdb:amd64 (7.11.1-0ubuntu1~16.04
     grub2-common:amd64 (2.02~beta2-36ubuntu3.11
     udev:amd64 (229-4ubuntu17
     libepoxy0:amd64 (1.3.1-1ubuntu0.16.04.1
     libapt-pkg5.0:amd64 (1.2.20
     grub-pc:amd64 (2.02~beta2-36ubuntu3.11
     apache2-data:amd64 (2.4.18-2ubuntu3.3
     fwupdate:amd64 (0.5-2ubuntu4
     kpartx-boot:amd64 (0.5.0+git1.656f8865-5ubuntu2.4
     libexpat1:amd64 (2.1.0-7ubuntu0.16.04.2
     libexpat1:i386 (2.1.0-7ubuntu0.16.04.2
     kmod:amd64 (22-1ubuntu4
     libudev1:amd64 (229-4ubuntu17
     libudev1:i386 (229-4ubuntu17
     libwayland-client0:amd64 (1.9.0-1
     kdenlive:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1
     ntp:amd64 (1:4.2.8p4+dfsg-3ubuntu5.5
     samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     grub-pc-bin:amd64 (2.02~beta2-36ubuntu3.11
     ntpdate:amd64 (1:4.2.8p4+dfsg-3ubuntu5.5
     libappstream-glib8:amd64 (0.5.13-1ubuntu4
     x11proto-core-dev:amd64 (7.0.28-2ubuntu1
     libdrm-amdgpu1:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-amdgpu1:i386 (2.4.70-1~ubuntu16.04.1
     imagemagick-6.q16:amd64 (8:6.8.9.9-7ubuntu5.7
     kdenlive-data:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1
     python3-distupgrade:amd64 (1:16.04.21
     python3-update-manager:amd64 (1:16.04.6
     libruby2.3:amd64 (2.3.1-2~16.04
     ubuntu-release-upgrader-core:amd64 (1:16.04.21
     module-init-tools:amd64 (22-1ubuntu4
     samba-common:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     systemd-sysv:amd64 (229-4ubuntu17
     libhcrypto4-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libpam-systemd:amd64 (229-4ubuntu17
     libxfont1:amd64 (1:1.5.1-1
     libdrm2:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm2:i386 (2.4.70-1~ubuntu16.04.1
     systemd:amd64 (229-4ubuntu17
     apt-utils:amd64 (1.2.20
     libsmbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     smbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     samba-common-bin:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     libmagickcore-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.7
     openjdk-8-jre-headless:amd64 (8u131-b11-0ubuntu1.16.04.2
     libdrm-intel1:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-intel1:i386 (2.4.70-1~ubuntu16.04.1
     libwacom2:amd64 (0.18-1
     libroken18-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     apache2-bin:amd64 (2.4.18-2ubuntu3.3
     imagemagick-common:amd64 (8:6.8.9.9-7ubuntu5.7
     libasn1-8-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libmagick++-6.q16-5v5:amd64 (8:6.8.9.9-7ubuntu5.7
     libkrb5-26-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     apt-transport-https:amd64 (1.2.20
     libdrm-radeon1:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-radeon1:i386 (2.4.70-1~ubuntu16.04.1
     apache2:amd64 (2.4.18-2ubuntu3.3
     apache2-utils:amd64 (2.4.18-2ubuntu3.3
     libhx509-5-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     archdetect-deb:amd64 (1.117ubuntu2.1
     libwayland-server0:amd64 (1.9.0-1
     libwayland-cursor0:amd64 (1.9.0-1

    ===
    sorted
    ===

     apache2:amd64 (2.4.18-2ubuntu3.3
     apache2-bin:amd64 (2.4.18-2ubuntu3.3
     apache2-data:amd64 (2.4.18-2ubuntu3.3
     apache2-utils:amd64 (2.4.18-2ubuntu3.3
     apt:amd64 (1.2.20
     apt-transport-https:amd64 (1.2.20
     apt-utils:amd64 (1.2.20
     archdetect-deb:amd64 (1.117ubuntu2.1
     binutils:amd64 (2.26.1-1ubuntu1~16.04.3
     fwupdate:amd64 (0.5-2ubuntu4
     gdb:amd64 (7.11.1-0ubuntu1~16.04
     grub2-common:amd64 (2.02~beta2-36ubuntu3.11
     grub-common:amd64 (2.02~beta2-36ubuntu3.11
     grub-pc:amd64 (2.02~beta2-36ubuntu3.11
     grub-pc-bin:amd64 (2.02~beta2-36ubuntu3.11
     imagemagick-6.q16:amd64 (8:6.8.9.9-7ubuntu5.7
     imagemagick:amd64 (8:6.8.9.9-7ubuntu5.7
     imagemagick-common:amd64 (8:6.8.9.9-7ubuntu5.7
     kdenlive:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1
     kdenlive-data:amd64 (4:17.04.1+git201705191233~ubuntu16.04.1
     kmod:amd64 (22-1ubuntu4
     kpartx:amd64 (0.5.0+git1.656f8865-5ubuntu2.4
     kpartx-boot:amd64 (0.5.0+git1.656f8865-5ubuntu2.4
     libappstream-glib8:amd64 (0.5.13-1ubuntu4
     libapt-inst2.0:amd64 (1.2.20
     libapt-pkg5.0:amd64 (1.2.20
     libasn1-8-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libdrm2:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm2:i386 (2.4.70-1~ubuntu16.04.1
     libdrm-amdgpu1:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-amdgpu1:i386 (2.4.70-1~ubuntu16.04.1
     libdrm-intel1:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-intel1:i386 (2.4.70-1~ubuntu16.04.1
     libdrm-nouveau2:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-nouveau2:i386 (2.4.70-1~ubuntu16.04.1
     libdrm-radeon1:amd64 (2.4.70-1~ubuntu16.04.1
     libdrm-radeon1:i386 (2.4.70-1~ubuntu16.04.1
     libepoxy0:amd64 (1.3.1-1ubuntu0.16.04.1
     libexpat1:amd64 (2.1.0-7ubuntu0.16.04.2
     libexpat1:i386 (2.1.0-7ubuntu0.16.04.2
     libfwup0:amd64 (0.5-2ubuntu4
     libhcrypto4-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libheimbase1-heimdal:amd64 (1.7~git201
     libheimntlm0-heimdal:amd64 (1.7~git2015
     libhx509-5-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libkmod2:amd64 (22-1ubuntu4
     libkrb5-26-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libmagick++-6.q16-5v5:amd64 (8:6.8.9.9-7ubuntu5.7
     libmagickcore-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.7
     libmagickwand-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.7
     libpam-systemd:amd64 (229-4ubuntu17
     libroken18-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libruby2.3:amd64 (2.3.1-2~16.04
     libsmbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     libsystemd0:amd64 (229-4ubuntu17
     libsystemd0:i386 (229-4ubun
     libudev1:amd64 (229-4ubuntu17
     libudev1:i386 (229-4ubuntu17
     libwacom2:amd64 (0.18-1
     libwacom-common:amd64 (0.18-1
     libwayland-client0:amd64 (1.9.0-1
     libwayland-cursor0:amd64 (1.9.0-1
     libwayland-server0:amd64 (1.9.0-1
     libwbclient0:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     libwhoopsie0:amd64 (0.2.52.3
     libwind0-heimdal:amd64 (1.7~git20150920+dfsg-4ubuntu1
     libxfont1:amd64 (1:1.5.1-1
     linux-libc-dev:amd64 (4.4.0-83.106
     module-init-tools:amd64 (22-1ubuntu4
     ntp:amd64 (1:4.2.8p4+dfsg-3ubuntu5.5
     ntpdate:amd64 (1:4.2.8p4+dfsg-3ubuntu5.5
     openjdk-8-jre:amd64 (8u131-b11-0ubuntu1.16.04.2
     openjdk-8-jre-headless:amd64 (8u131-b11-0ubuntu1.16.04.2
     python3-distupgrade:amd64 (1:16.04.21
     python3-update-manager:amd64 (1:16.04.6
     ruby2.3:amd64 (2.3.1-2~16.04
     samba:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     samba-common:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     samba-common-bin:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     smbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.8
     sudo:amd64 (1.8.16-0ubuntu1.4
     systemd:amd64 (229-4ubuntu17
     systemd-sysv:amd64 (229-4ubuntu17
     ubuntu-release-upgrader-core:amd64 (1:16.04.21
     udev:amd64 (229-4ubuntu17
     update-manager-core:amd64 (1:16.04.6
     whoopsie:amd64 (0.2.52.3
     x11proto-core-dev:amd64 (7.0.28-2ubuntu1
     xfonts-utils:amd64 (1:7.7+3
     xserver-common:amd64 (2:1.18.4-0ubuntu0.2
     xserver-xorg-core:amd64 (2:1.18.4-0ubuntu0.2


    #downgrade melt
    sudo apt-get install melt=6.0.0-2


  • [1035724.274610] [drm:intel_pipe_update_end [i915_bpo]] *ERROR* Atomic update failure on pipe A (start=62076478 end=62076479) time 102 us, min 894, max 899, scanline start 893, end 900 W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1.bin


    [1035724.274610] [drm:intel_pipe_update_end [i915_bpo]] *ERROR* Atomic update failure on pipe A (start=62076478 end=62076479) time 102 us, min 894, max 899, scanline start 893, end 900

    W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1.bin for module i915_bpo

     

    I've been getting those errors on a J3455 NUC box with the latest kernel on Linux Mint 18.2.  When updating the initramfs I also got the error about the firmware included.

    In general it looks like there is a lack of Linux support or a bug in the driver and this seems to cause the screen to go blank/black and lockup after a few days.  The system itself is running and available by SSH.

    As a temp fix you can run this:

    sudo service mdm restart but be warned this will result in all of your programs closing that were running so unsaved changes would be lost.  The above command will restart mdm and allow you to login and work as normal again.


  • ffmpeg how to watermark and concatenate in one command


    If you were in my boat you were frustrated that you had to double encode, eg. one separate encode for watermark and a separate from concat and it's not easy to figure out this with ffmpeg on your own.  However it is a nice way to save time!

    ffmpeg -i file1.mp4 -i file2.mp4 -i file3.mp4 -i watermark.png -filter_complex "[0:v]setpts=PTS-STARTPTS[v0]; [1:v]setpts=PTS-STARTPTS[v1]; [2:v]setpts=PTS-STARTPTS[v2]; [v0][0:a][v1][1:a][v2][2:a]concat=n=3:v=1:a=1[v][aout]; [v][3:v]overlay=W-w-10:10[vout]" -map "[vout]" -map "[aout]" -crf 20 output.mp4

    Of course file1.mp4 file2.mp4 file3.mp4 are your source videos you are concatenating (in that order) and the watermark.png is your watermark.   The overaly W-w-10:10 sets your mark on the top right.

    To overlay on the bottom right: W-w-25:H-h-25

    I also added "-crf 20" as the default is 23.  In general the higher the number the faster the encode but lower the quality.  I found 20 is a good medium.  A good test is that if your output video is smaller than your input you have lost quality.  Try to experiment with crf until you get a size the same or slightly larger than your original input.

     


  • /usr/bin/ld: cannot find -lboost_system-mt-s /usr/bin/ld: cannot find -lboost_filesystem-mt-s /usr/bin/ld: cannot find -lboost_program_options-mt-s /usr/bin/ld: cannot find -lboost_thread-mt-s collect2: error: ld returned 1 exit status make: *** [cag


    cagecoin linux compile:


    sudo apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev
            libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev
            libssl-dev libdb++-dev libminiupnpc-dev

    Solution:

     sed -i s/"BOOST_LIB_SUFFIX=-mt-s"/"#BOOST_LIB_SUFFIX=-mt-s"/ cagecoin-qt.pro
     



    qmake
    make

     -L/home/ubuntu/build/openssl-1.0.1g -lssl -lcrypto -ldb_cxx -lboost_system-mt-s -lboost_filesystem-mt-s -lboost_program_options-mt-s -lboost_thread-mt-s -lQtGui -lQtCore -lpthread
    /usr/bin/ld: cannot find -lboost_system-mt-s
    /usr/bin/ld: cannot find -lboost_filesystem-mt-s
    /usr/bin/ld: cannot find -lboost_program_options-mt-s
    /usr/bin/ld: cannot find -lboost_thread-mt-s
    collect2: error: ld returned 1 exit status
    make: *** [cagecoin-qt] Error 1

    #troubleshoot
     ld -lboost_system-mt-s --verbose



    libboost-filesystem-dev
    libboost-system-dev
    libboost-program-options-dev
    libboost-thread-dev
    attempt to open /usr/x86_64-linux-gnu/lib64/libboost_system-mt-s.so failed
    attempt to open /usr/x86_64-linux-gnu/lib64/libboost_system-mt-s.a failed
    attempt to open //usr/local/lib/x86_64-linux-gnu/libboost_system-mt-s.so failed
    attempt to open //usr/local/lib/x86_64-linux-gnu/libboost_system-mt-s.a failed
    attempt to open //usr/local/lib64/libboost_system-mt-s.so failed
    attempt to open //usr/local/lib64/libboost_system-mt-s.a failed
    attempt to open //lib/x86_64-linux-gnu/libboost_system-mt-s.so failed
    attempt to open //lib/x86_64-linux-gnu/libboost_system-mt-s.a failed
    attempt to open //lib64/libboost_system-mt-s.so failed
    attempt to open //lib64/libboost_system-mt-s.a failed
    attempt to open //usr/lib/x86_64-linux-gnu/libboost_system-mt-s.so failed
    attempt to open //usr/lib/x86_64-linux-gnu/libboost_system-mt-s.a failed
    attempt to open //usr/lib64/libboost_system-mt-s.so failed
    attempt to open //usr/lib64/libboost_system-mt-s.a failed
    attempt to open //usr/local/lib/libboost_system-mt-s.so failed
    attempt to open //usr/local/lib/libboost_system-mt-s.a failed
    attempt to open //lib/libboost_system-mt-s.so failed
    attempt to open //lib/libboost_system-mt-s.a failed
    attempt to open //usr/lib/libboost_system-mt-s.so failed
    attempt to open //usr/lib/libboost_system-mt-s.a failed
    ld: cannot find -lboost_system-mt-s



    sudo apt-get install qt4-default qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libdb++-dev libssl-dev libminiupnpc-dev libminiupnpc8
     


  • Wine uninstalled broken on Linux Mint


    Solution:

    Aptitude is very smart and fixed the issues it was because of nvidia cuda and opencl and nothing else suggested or hinted this using apt


    sudo aptitude install wine
    The following NEW packages will be installed:
      ocl-icd-libopencl1{ab} ocl-icd-libopencl1:i386{ab} wine wine1.6
      wine1.6-amd64{a} wine1.6-i386:i386{a}
    The following packages will be REMOVED:
      kdenlive-data{u}
    The following packages are RECOMMENDED but will NOT be installed:
      fonts-horai-umefont fonts-unfonts-core libcapi20-3 libgif4:i386
      libosmesa6 libosmesa6:i386 libp11-kit-gnome-keyring:i386
      p11-kit-modules:i386 unixodbc unixodbc:i386 winbind wine-gecko2.21
      wine-gecko2.21:i386 wine-mono0.0.8 winetricks
    0 packages upgraded, 6 newly installed, 1 to remove and 56 not upgraded.
    Need to get 32.5 MB of archives. After unpacking 235 MB will be used.
    The following packages have unmet dependencies:
     ocl-icd-libopencl1 : Conflicts: libopencl1 which is a virtual package.
     ocl-icd-libopencl1:i386 : Conflicts: libopencl1 which is a virtual package.
     nvidia-libopencl1-340 : Conflicts: libopencl1 which is a virtual package.
                             Conflicts: libopencl1:i386 which is a virtual package.
    The following actions will resolve these dependencies:

         Remove the following packages:
    1)     nvidia-cuda-toolkit        
    2)     nvidia-libopencl1-331      
    3)     nvidia-libopencl1-340      
    4)     nvidia-opencl-dev          



    Accept this solution? [Y/n/q/?]

     

     

    Work:

    ============

    Somehow my wine install became uninstalled and cannot be reinstalled:

     

    sudo apt-get install wine
    [sudo] password for one:
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help resolve the situation:

    The following packages have unmet dependencies:
     wine : Depends: wine1.6 but it is not going to be installed or
                     wine1.8 but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    user@box:~/Downloads$ dpkg -l|grep wine
    ii  libkwineffects1abi4                                         4:4.11.11-0ubuntu0.2                                amd64        library used by effects for the KDE window manager
    rc  wine1.6                                                     1:1.6.2-0ubuntu4                                    amd64        Microsoft Windows Compatibility Layer (Binary Emulator and Library)
    rc  wine1.6-amd64                                               1:1.6.2-0ubuntu4                                    amd64        Microsoft Windows Compatibility Layer (64-bit support)
    rc  wine1.6-i386                                                1:1.6.2-0ubuntu4                                    i386         Microsoft Windows Compatibility Layer (32-bit support)
    user@box:~/Downloads$ sudo apt-get reinstall wine1.6
    E: Invalid operation reinstall
    user@box:~/Downloads$ sudo apt-get --reinstall install wine1.6
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help resolve the situation:

    The following packages have unmet dependencies:
     wine1.6 : Depends: wine1.6-amd64 (= 1:1.6.2-0ubuntu4)
               Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu4)
    E: Unable to correct problems, you have held broken packages.
    user@box:~/Downloads$ sudo apt-get remove wine1.6

    user@box:~/Downloads$ sudo apt-get remove wine1.6
    [sudo] password for one:
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Package 'wine1.6' is not installed, so not removed
    The following packages were automatically installed and are no longer required:
      libasn1-8-heimdal:i386 libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386
      libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhx509-5-heimdal:i386
      libkrb5-26-heimdal:i386 libkutils4 liblcms2-2:i386 libldap-2.4-2:i386
      libroken18-heimdal:i386 libsasl2-2:i386 libsasl2-modules-db:i386
      libwind0-heimdal:i386
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.
    user@box:~/Downloads$ sudo apt-get remove wine
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Package 'wine' is not installed, so not removed
    The following packages were automatically installed and are no longer required:
      libasn1-8-heimdal:i386 libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386
      libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhx509-5-heimdal:i386
      libkrb5-26-heimdal:i386 libkutils4 liblcms2-2:i386 libldap-2.4-2:i386
      libroken18-heimdal:i386 libsasl2-2:i386 libsasl2-modules-db:i386
      libwind0-heimdal:i386
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.
    user@box:~/Downloads$ sudo apt-get install wine
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help resolve the situation:

    The following packages have unmet dependencies:
     wine : Depends: wine1.6 but it is not going to be installed or
                     wine1.8 but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
    user@box:~/Downloads$ sudo apt-get install wine1.8
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help resolve the situation:

    The following packages have unmet dependencies:
     wine1.8 : Depends: wine1.8-amd64 (= 1:1.8.0-0ubuntu1) but it is not going to be installed
               Depends: wine1.8-i386 (= 1:1.8.0-0ubuntu1)
    E: Unable to correct problems, you have held broken packages.
    user@box:~/Downloads$ sudo apt-get install wine1.8-amd64
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help resolve the situation:

    The following packages have unmet dependencies:
     wine1.8-amd64 : Depends: libopencl-1.1-1
                     Depends: wine1.8:any (= 1:1.8.0-0ubuntu1)
    E: Unable to correct problems, you have held broken packages.
    user@box:~/Downloads$ cd ~^C
     


  • ffmpeg trouble concatenating similar but different files


    When things go wrong your video is basically unplayable or the first video plays fine and then freezes when moving on to the next.  Generally if both videos weren't produced with the exact 100% same settings you will have issues.  You can try the basic concat but it often won't work right.

    Solution for me:

    My example uses 3 videos in total so "n=3"  and a=1 to include audio.

    ffmpeg -threads 12  -i file1.mp4 -i file2.mp4 -i file3.mp4 -filter_complex concat=n=3:v=1:a=1 $outputfile-final.mp4

    =======

    ffmpeg -i $intro -i $outputfile -i $outtro
    -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] [2:v:0] [2:a:0] concat=n=3:v=1:a=1 [v] [a]"
    -map "[v]" -map "[a]" $outputfile-branded-final.mp4

    ffmpeg -i $intro -i uservideoRendered.mp4-branded.mp4 -i $outtro
    > -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] [2:v:0] [2:a:0] concat=n=3:v=1:a=1 [v] [a]"
    > -map "[v]" -map "[a]" $outputfile-branded-final.mp4^C

    fmpeg -safe 0 -f concat -i files.txt -c copy video_draft.avi
    ffmpeg version 3.3.1 Copyright (c) 2000-2017 the FFmpeg developers
      built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
      configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab --enable-libwavpack --enable-nvenc
      libavutil      55. 58.100 / 55. 58.100
      libavcodec     57. 89.100 / 57. 89.100
      libavformat    57. 71.100 / 57. 71.100
      libavdevice    57.  6.100 / 57.  6.100
      libavfilter     6. 82.100 /  6. 82.100
      libavresample   3.  5.  0 /  3.  5.  0
      libswscale      4.  6.100 /  4.  6.100
      libswresample   2.  7.100 /  2.  7.100
      libpostproc    54.  5.100 / 54.  5.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3f22100] Auto-inserting h264_mp4toannexb bitstream filter
    Input #0, concat, from 'files.txt':
      Duration: N/A, start: 0.000000, bitrate: 2284 kb/s
        Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 1967 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc
        Metadata:
          creation_time   : 2017-06-30T22:34:32.000000Z
          handler_name    : Alias Data Handler
          encoder         : AVC Coding
        Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s
        Metadata:
          creation_time   : 2017-06-30T22:34:32.000000Z
          handler_name    : Alias Data Handler
    Output #0, avi, to 'video_draft.avi':
      Metadata:
        ISFT            : Lavf57.71.100
        Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, q=2-31, 1967 kb/s, 30 fps, 30 tbr, 60 tbn, 60 tbc
        Metadata:
          creation_time   : 2017-06-30T22:34:32.000000Z
          handler_name    : Alias Data Handler
          encoder         : AVC Coding
        Stream #0:1(eng): Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp, 317 kb/s
        Metadata:
          creation_time   : 2017-06-30T22:34:32.000000Z
          handler_name    : Alias Data Handler
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3fe3be0] Auto-inserting h264_mp4toannexb bitstream filter
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3fe3be0] Auto-inserting h264_mp4toannexb bitstream filtered=61.6x   
    frame=16287 fps=1824 q=-1.0 Lsize=  385206kB time=00:09:03.50 bitrate=5806.0kbits/s speed=60.9x   
    video:372728kB audio:11086kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.362498%


    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2af7da0] Found duplicated MOOV Atom. Skipped it

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x33639c0] Auto-inserting h264_mp4toannexb bitstream filter
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x33639c0] Auto-inserting h264_mp4toannexb bitstream filtered= 153x   
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107362, current: 6437563; changing to 16107363. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107363, current: 6437963; changing to 16107364. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107364, current: 6438363; changing to 16107365. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107365, current: 6438763; changing to 16107366. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107366, current: 6439163; changing to 16107367. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107367, current: 6439563; changing to 16107368. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107368, current: 6439963; changing to 16107369. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107369, current: 6440363; changing to 16107370. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107370, current: 6440763; changing to 16107371. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107371, current: 6441163; changing to 16107372. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107372, current: 6441563; changing to 16107373. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107373, current: 6441963; changing to 16107374. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107374, current: 6442363; changing to 16107375. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107375, current: 6442763; changing to 16107376. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107376, current: 6443163; changing to 16107377. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107377, current: 6443563; changing to 16107378. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107378, current: 6443963; changing to 16107379. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107379, current: 6444363; changing to 16107380. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107380, current: 6444763; changing to 16107381. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107381, current: 6445163; changing to 16107382. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107382, current: 6445563; changing to 16107383. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107383, current: 6445963; changing to 16107384. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107384, current: 6446363; changing to 16107385. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107385, current: 6446763; changing to 16107386. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107386, current: 6447163; changing to 16107387. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107387, current: 6447563; changing to 16107388. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107388, current: 6447963; changing to 16107389. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107389, current: 6448363; changing to 16107390. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107390, current: 6448763; changing to 16107391. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107391, current: 6449163; changing to 16107392. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107392, current: 6449563; changing to 16107393. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107393, current: 6449963; changing to 16107394. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107394, current: 6450363; changing to 16107395. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107395, current: 6450763; changing to 16107396. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107396, current: 6451163; changing to 16107397. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107397, current: 6451563; changing to 16107398. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107398, current: 6451963; changing to 16107399. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107399, current: 6452363; changing to 16107400. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107400, current: 6452763; changing to 16107401. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107401, current: 6453163; changing to 16107402. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107402, current: 6453563; changing to 16107403. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107403, current: 6453963; changing to 16107404. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107404, current: 6454363; changing to 16107405. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107405, current: 6454763; changing to 16107406. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107406, current: 6455163; changing to 16107407. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107407, current: 6455563; changing to 16107408. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107408, current: 6455963; changing to 16107409. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107409, current: 6456363; changing to 16107410. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107410, current: 6456763; changing to 16107411. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107411, current: 6457163; changing to 16107412. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107412, current: 6457563; changing to 16107413. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107413, current: 6457963; changing to 16107414. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107414, current: 6458363; changing to 16107415. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107415, current: 6458763; changing to 16107416. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107416, current: 6459163; changing to 16107417. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107417, current: 6459563; changing to 16107418. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107418, current: 6459963; changing to 16107419. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107419, current: 6460363; changing to 16107420. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107420, current: 6460763; changing to 16107421. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107421, current: 6461163; changing to 16107422. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107422, current: 6461563; changing to 16107423. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107423, current: 6461963; changing to 16107424. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107424, current: 6462363; changing to 16107425. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107425, current: 6462763; changing to 16107426. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107426, current: 6463163; changing to 16107427. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107427, current: 6463563; changing to 16107428. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107428, current: 6463963; changing to 16107429. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107429, current: 6464363; changing to 16107430. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107430, current: 6464763; changing to 16107431. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107431, current: 6465163; changing to 16107432. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107432, current: 6465563; changing to 16107433. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107433, current: 6465963; changing to 16107434. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107434, current: 6466363; changing to 16107435. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107435, current: 6466763; changing to 16107436. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107436, current: 6467163; changing to 16107437. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107437, current: 6467563; changing to 16107438. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107438, current: 6467963; changing to 16107439. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107439, current: 6468363; changing to 16107440. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107440, current: 6468763; changing to 16107441. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107441, current: 6469163; changing to 16107442. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107442, current: 6469563; changing to 16107443. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107443, current: 6469963; changing to 16107444. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107444, current: 6470363; changing to 16107445. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107445, current: 6470763; changing to 16107446. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107446, current: 6471163; changing to 16107447. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107447, current: 6471563; changing to 16107448. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107448, current: 6471963; changing to 16107449. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107449, current: 6472363; changing to 16107450. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107450, current: 6472763; changing to 16107451. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107451, current: 6473163; changing to 16107452. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107452, current: 6473563; changing to 16107453. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107453, current: 6473963; changing to 16107454. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107454, current: 6474363; changing to 16107455. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107455, current: 6474763; changing to 16107456. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107456, current: 6475163; changing to 16107457. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107457, current: 6475563; changing to 16107458. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107458, current: 6475963; changing to 16107459. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107459, current: 6476363; changing to 16107460. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107460, current: 6476763; changing to 16107461. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107461, current: 6477163; changing to 16107462. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107462, current: 6477563; changing to 16107463. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107463, current: 6477963; changing to 16107464. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107464, current: 6478363; changing to 16107465. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107465, current: 6478763; changing to 16107466. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107466, current: 6479163; changing to 16107467. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107467, current: 6479563; changing to 16107468. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107468, current: 6479963; changing to 16107469. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107469, current: 6480363; changing to 16107470. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107470, current: 6480763; changing to 16107471. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107471, current: 6481163; changing to 16107472. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107472, current: 6481563; changing to 16107473. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107473, current: 6481963; changing to 16107474. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107474, current: 6482363; changing to 16107475. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107475, current: 6482763; changing to 16107476. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107476, current: 6483163; changing to 16107477. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107477, current: 6483563; changing to 16107478. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107478, current: 6483963; changing to 16107479. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107479, current: 6484363; changing to 16107480. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107480, current: 6484763; changing to 16107481. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107481, current: 6485163; changing to 16107482. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107482, current: 6485563; changing to 16107483. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107483, current: 6485963; changing to 16107484. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107484, current: 6486363; changing to 16107485. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107485, current: 6486763; changing to 16107486. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107486, current: 6487163; changing to 16107487. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107487, current: 6487563; changing to 16107488. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107488, current: 6487963; changing to 16107489. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107489, current: 6488363; changing to 16107490. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107490, current: 6488763; changing to 16107491. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107491, current: 6489163; changing to 16107492. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107492, current: 6489563; changing to 16107493. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107493, current: 6489963; changing to 16107494. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107494, current: 6490363; changing to 16107495. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107495, current: 6490763; changing to 16107496. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107496, current: 6491163; changing to 16107497. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107497, current: 6491563; changing to 16107498. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107498, current: 6491963; changing to 16107499. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107499, current: 6492363; changing to 16107500. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107500, current: 6492763; changing to 16107501. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107501, current: 6493163; changing to 16107502. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107502, current: 6493563; changing to 16107503. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107503, current: 6493963; changing to 16107504. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107504, current: 6494363; changing to 16107505. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107505, current: 6494763; changing to 16107506. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107506, current: 6495163; changing to 16107507. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107507, current: 6495563; changing to 16107508. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107508, current: 6495963; changing to 16107509. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107509, current: 6496363; changing to 16107510. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107510, current: 6496763; changing to 16107511. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107511, current: 6497163; changing to 16107512. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107512, current: 6497563; changing to 16107513. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107513, current: 6497963; changing to 16107514. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107514, current: 6498363; changing to 16107515. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107515, current: 6498763; changing to 16107516. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107516, current: 6499163; changing to 16107517. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107517, current: 6499563; changing to 16107518. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107518, current: 6499963; changing to 16107519. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107519, current: 6500363; changing to 16107520. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107520, current: 6500763; changing to 16107521. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107521, current: 6501163; changing to 16107522. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107522, current: 6501563; changing to 16107523. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107523, current: 6501963; changing to 16107524. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107524, current: 6502363; changing to 16107525. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107525, current: 6502763; changing to 16107526. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107526, current: 6503163; changing to 16107527. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107527, current: 6503563; changing to 16107528. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107528, current: 6503963; changing to 16107529. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107529, current: 6504363; changing to 16107530. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107530, current: 6504763; changing to 16107531. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107531, current: 6505163; changing to 16107532. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107532, current: 6505563; changing to 16107533. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107533, current: 6505963; changing to 16107534. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107534, current: 6506363; changing to 16107535. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107535, current: 6506763; changing to 16107536. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107536, current: 6507163; changing to 16107537. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107537, current: 6507563; changing to 16107538. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107538, current: 6507963; changing to 16107539. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107539, current: 6508363; changing to 16107540. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107540, current: 6508763; changing to 16107541. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107541, current: 6509163; changing to 16107542. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107542, current: 6509563; changing to 16107543. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107543, current: 6509963; changing to 16107544. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107544, current: 6510363; changing to 16107545. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107545, current: 6510763; changing to 16107546. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107546, current: 6511163; changing to 16107547. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107547, current: 6511563; changing to 16107548. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107548, current: 6511963; changing to 16107549. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107549, current: 6512363; changing to 16107550. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107550, current: 6512763; changing to 16107551. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107551, current: 6513163; changing to 16107552. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107552, current: 6513563; changing to 16107553. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107553, current: 6513963; changing to 16107554. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107554, current: 6514363; changing to 16107555. This may result in incorrect timestamps in the output file.
    [mp4 @ 0x32c4ca0] Non-monotonous DTS in output stream 0:0; previous: 16107555, current: 6514763; changing to 16107556. This may result in incorrect timestamps in the output file.
    frame=16287 fps=1824 q=-1.0 Lsize=  381293kB time=00:22:23.64 bitrate=2324.7kbits/s speed= 150x   
    video:369967kB audio:10784kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.142437%

    This makes the video about 22 minutes even though it should be about 9!
    This is because the main video is CBR audio and the other ones being joined at variable.  To fix they must be constant CBR of 163kbps to match

    maybe it's also framerate mode one of them is variable and needs to be constant for the video.
    use the -crf flag instead of -r

    Frame rate mode                          : Variable


    Change FPS to 29.97 or change the "-r 29.97" to whatever frame rate you want
    ffmpeg -i 02.mp4 -r 29.97 02-30fps.mp4

    #changes to 29.97 fps and sets aac audio to 163kbit constant
    ffmpeg -i 02.mp4 -vcodec copy -acodec libfdk_aac -ab 163k -r 29.97 02-30fps.mp4



    ffmpeg -i 02.mp4 -vcodec copy  -acodec libfdk_aac -ab 163k -crf 29.97 02-30fps.mp4

    ffmpeg -i 02.mp4 -vcodec copy  -acodec libfdk_aac -ab 163k -crf 29.97 -r 29.97 02-30fps.mp4

    ffmpeg -i 02.mp4 -vcodec h264  -acodec libfdk_aac -ab 163k -vf "fps=29.97" 02-30fps.mp4


    ffmpeg -i initial.mp4 -i initial.mp4 -i initial.mp4 -i ending.mp4 -filter_complex concat=n=4:v=1:a=0 -f MOV output.mp4 -y

    ffmpeg -threads 12  -i 02.mp4 -i uservideoRendered.mp4 -i 02.mp4 -filter_complex concat=n=3:v=1:a=0 -acodec copy -f h264 output.mp4 -y
    #above works but video is unplayable and time is all wrong and no audio

    change concat=n=3:v=1:a=0 to concat=n=3:v=1:a=1

    ffmpeg -threads 12  -i 02.mp4 -i uservideoRendered.mp4 -i 02.mp4 -filter_complex concat=n=3:v=1:a=1 output.mp4


  • ffmpeg Unable to Use Hardware Encoding with Nvidia 3.40 Driver and GT210 card


    I believe from what I've read that this card's driver doesn't support the features after trying all known troubleshooting methods.

    ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos,hwdownload -c:v hevc_nvenc -profile main -preset slow -rc vbr_hq -c:a copy uservideoRendered.mp4-test

    ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos,hwdownload -c:v hevc_nvenc -profile:v main -preset fast -rc vbr_hq -c:a copy uservideoRendered-test.mp4

    Could not initialize the CUDA driver API
    [AVFilterGraph @ 0x39d9500] Error initializing filter 'hwupload_cuda'
    Error reinitializing filters!
    Failed to inject frame into filter network: Unknown error occurred
    Error while processing the decoded data for stream #0:0

    sudo apt-get install nvidia-cuda-toolkit

    ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos,hwdownload -c:v hevc_nvenc -profile main -preset fast -rc vbr_hq -c:a copy uservideoRendered-test.mp4
    [AVFilterGraph @ 0x31465e0] No such filter: 'scale_npp'
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #0:0
    Conversion failed!


    ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1316:h=1080:format=yuv420p:interp_algo=lanczos,hwdownload,format=yuv420p -c:v hevc_nvenc -profile main -preset fast -rc vbr_hq -c:a copy uservideoRendered-test.mp4
    [AVFilterGraph @ 0x32d7860] No such filter: 'scale_npp'
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #0:0


    /home/one/ffmpeg-3.3.2/ffmpeg -i uservideoRendered.mp4 -filter:v hwupload_cuda,scale_npp=w=1316:h=1080:format=yuv420p:interp_algo=lanczos,hwdownload,format=yuv420p -c:v hevc_nvenc -profile main -preset fast -rc vbr_hq -c:a copy uservideoRendered-test.mp4

    =========

    ffmpeg -i uservideoRendered.mp4 -i "/pathlogo-creation/2017-good-final/ORDER150f1.png" -filter_complex overlay=x=w-tw-10:y=h-th-10 uservideoRendered.mp4-branded.mp4

    [nvenc_hevc @ 0x2659760] This encoder is deprecated, use 'hevc_nvenc' instead
    Cannot load NvEncodeAPIGetMaxSupportedVersion
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    ffmpeg -i uservideoRendered.mp4 -i "/pathlogo-creation/2017-good-final/ORDER150f1.png" -filter_complex overlay=x=w-tw-10:y=h-th-10 uservideoRendered.mp4-branded.mp4

    Cannot load NvEncodeAPIGetMaxSupportedVersion
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height


    ffmpeg -i $sourcevideo -i "$watermarkfile" -c copy  -c:v h264_nvenc -profile high444p -pixel_format yuv444p -preset default -filter_complex overlay=W-w-25:H-h-25 $outputfile

    Please use -profile:a or -profile:v, -profile is ambiguous



    ffmpeg -i $sourcevideo -i "$watermarkfile" -c copy  -c:v hevc_nvenc -profile:a main -preset slow -filter_complex overlay=W-w-25:H-h-25 $outputfile
    [NULL @ 0x31b5a60] [Eval @ 0x7ffd44eff2d0] Undefined constant or missing '(' in 'main'
    [NULL @ 0x31b5a60] Unable to parse option value "main"
    [NULL @ 0x31b5a60] Error setting option profile to value main.
    Error setting up codec context options.

    ffmpeg -i $sourcevideo -i "$watermarkfile" -c copy -c:v hevc_nvenc -profile:v main10 -preset slow -filter_complex overlay=W-w-25:H-h-25 $outputfile
    Cannot load NvEncodeAPIGetMaxSupportedVersion
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height


  • Linux Mint USB Kernel Tainted and Locked Port/Dev File


    Essentially a program I was running for mining did not terminate properly with Ctrl+C it is listed as defunct and cannot be killed, kernel is tainted and normal tricks to disable the port are impossible the dev and sys entries for the device cannot be browsed or interacted with in any form without a lockup of the request.  The only solution is to reboot due to the kernel taint as far as I can find so far.

     

    [1130246.811056] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1130246.811066]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1130246.811068] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1130246.811072] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1130246.811079]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1130246.811082]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1130246.811085]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1130246.811089] Call Trace:
    [1130246.811103]  [<ffffffff81804585>] schedule+0x35/0x80
    [1130246.811108]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1130246.811116]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1130246.811126]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1130246.811132]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1130246.811136]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1130246.811140]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1130246.811143]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1130246.811149]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1130246.811152]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1130246.811158]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1130246.811163]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1130246.811166]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1130246.811169]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1130246.811174]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1130246.811178]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1130246.811181]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1130246.811184]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1130246.811187]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1130246.811191]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1130246.811196]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1130246.811199]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1130366.807538] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1130366.807550]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1130366.807553] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1130366.807557] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1130366.807566]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1130366.807570]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1130366.807574]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1130366.807578] Call Trace:
    [1130366.807594]  [<ffffffff81804585>] schedule+0x35/0x80
    [1130366.807601]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1130366.807609]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1130366.807621]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1130366.807628]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1130366.807632]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1130366.807637]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1130366.807641]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1130366.807648]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1130366.807652]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1130366.807658]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1130366.807664]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1130366.807668]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1130366.807672]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1130366.807678]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1130366.807682]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1130366.807686]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1130366.807689]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1130366.807694]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1130366.807698]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1130366.807704]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1130366.807708]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1130486.803970] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1130486.803981]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1130486.803983] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1130486.803986] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1130486.803994]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1130486.803998]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1130486.804001]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1130486.804004] Call Trace:
    [1130486.804017]  [<ffffffff81804585>] schedule+0x35/0x80
    [1130486.804023]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1130486.804031]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1130486.804041]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1130486.804047]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1130486.804051]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1130486.804054]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1130486.804058]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1130486.804064]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1130486.804067]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1130486.804072]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1130486.804077]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1130486.804080]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1130486.804083]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1130486.804088]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1130486.804092]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1130486.804095]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1130486.804097]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1130486.804101]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1130486.804105]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1130486.804110]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1130486.804113]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1130606.800437] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1130606.800447]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1130606.800449] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1130606.800453] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1130606.800460]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1130606.800464]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1130606.800467]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1130606.800470] Call Trace:
    [1130606.800483]  [<ffffffff81804585>] schedule+0x35/0x80
    [1130606.800489]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1130606.800497]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1130606.800506]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1130606.800512]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1130606.800516]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1130606.800520]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1130606.800523]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1130606.800529]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1130606.800532]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1130606.800538]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1130606.800543]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1130606.800546]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1130606.800549]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1130606.800554]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1130606.800557]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1130606.800561]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1130606.800563]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1130606.800567]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1130606.800571]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1130606.800575]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1130606.800579]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1130726.797019] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1130726.797035]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1130726.797040] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1130726.797046] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1130726.797060]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1130726.797068]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1130726.797074]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1130726.797082] Call Trace:
    [1130726.797101]  [<ffffffff81804585>] schedule+0x35/0x80
    [1130726.797111]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1130726.797124]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1130726.797142]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1130726.797151]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1130726.797158]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1130726.797167]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1130726.797174]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1130726.797184]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1130726.797191]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1130726.797201]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1130726.797210]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1130726.797216]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1130726.797223]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1130726.797233]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1130726.797240]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1130726.797247]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1130726.797253]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1130726.797260]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1130726.797267]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1130726.797275]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1130726.797282]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1130846.793476] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1130846.793494]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1130846.793498] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1130846.793504] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1130846.793517]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1130846.793525]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1130846.793531]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1130846.793538] Call Trace:
    [1130846.793559]  [<ffffffff81804585>] schedule+0x35/0x80
    [1130846.793569]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1130846.793587]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1130846.793604]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1130846.793615]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1130846.793622]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1130846.793631]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1130846.793637]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1130846.793647]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1130846.793654]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1130846.793663]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1130846.793672]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1130846.793679]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1130846.793685]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1130846.793695]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1130846.793702]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1130846.793708]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1130846.793714]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1130846.793721]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1130846.793728]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1130846.793736]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1130846.793743]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1130966.789951] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1130966.789967]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1130966.789972] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1130966.789978] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1130966.789991]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1130966.789999]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1130966.790006]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1130966.790012] Call Trace:
    [1130966.790032]  [<ffffffff81804585>] schedule+0x35/0x80
    [1130966.790042]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1130966.790054]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1130966.790071]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1130966.790082]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1130966.790089]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1130966.790098]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1130966.790104]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1130966.790114]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1130966.790121]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1130966.790130]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1130966.790139]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1130966.790146]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1130966.790152]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1130966.790161]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1130966.790168]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1130966.790175]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1130966.790180]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1130966.790187]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1130966.790194]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1130966.790202]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1130966.790209]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1131086.786307] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1131086.786318]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1131086.786320] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1131086.786323] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1131086.786330]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1131086.786334]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1131086.786337]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1131086.786341] Call Trace:
    [1131086.786354]  [<ffffffff81804585>] schedule+0x35/0x80
    [1131086.786359]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1131086.786367]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1131086.786377]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1131086.786383]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1131086.786386]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1131086.786390]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1131086.786393]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1131086.786399]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1131086.786402]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1131086.786408]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1131086.786413]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1131086.786416]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1131086.786418]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1131086.786424]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1131086.786427]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1131086.786430]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1131086.786436]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1131086.786439]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1131086.786443]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1131086.786448]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1131086.786452]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1131206.782895] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1131206.782912]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1131206.782917] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1131206.782923] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1131206.782936]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1131206.782943]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1131206.782950]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1131206.782957] Call Trace:
    [1131206.782977]  [<ffffffff81804585>] schedule+0x35/0x80
    [1131206.782987]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1131206.782999]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1131206.783017]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1131206.783027]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1131206.783034]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1131206.783043]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1131206.783050]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1131206.783060]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1131206.783067]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1131206.783076]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1131206.783085]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1131206.783092]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1131206.783098]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1131206.783110]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1131206.783117]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1131206.783124]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1131206.783130]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1131206.783137]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1131206.783144]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1131206.783157]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1131206.783164]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f
    [1131326.779349] INFO: task minerd:21861 blocked for more than 120 seconds.
    [1131326.779366]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [1131326.779371] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [1131326.779376] minerd          D ffff88051fc23b68     0 21861  21854 0x00000006
    [1131326.779389]  ffff88051fc23b68 ffff8805657cb300 ffff880fecf53fc0 ffff88051fc24000
    [1131326.779397]  ffff880803265438 ffff880803265018 ffff88080c629520 ffff8807eba53500
    [1131326.779404]  ffff88051fc23b80 ffffffff81804585 ffff880c3556e240 ffff88051fc23bc0
    [1131326.779410] Call Trace:
    [1131326.779430]  [<ffffffff81804585>] schedule+0x35/0x80
    [1131326.779440]  [<ffffffff815f8214>] usb_kill_urb+0x64/0xa0
    [1131326.779453]  [<ffffffff810bf500>] ? prepare_to_wait_event+0xf0/0xf0
    [1131326.779469]  [<ffffffffc10faf06>] acm_port_shutdown+0xd6/0x110 [cdc_acm]
    [1131326.779479]  [<ffffffff814d8f4a>] tty_port_shutdown+0x6a/0xa0
    [1131326.779486]  [<ffffffff814d9746>] tty_port_close+0x26/0x50
    [1131326.779495]  [<ffffffffc10f8d44>] acm_tty_close+0x34/0x70 [cdc_acm]
    [1131326.779501]  [<ffffffff814cffc5>] tty_release+0x105/0x570
    [1131326.779511]  [<ffffffff81202994>] __fput+0xe4/0x210
    [1131326.779518]  [<ffffffff81202afe>] ____fput+0xe/0x10
    [1131326.779528]  [<ffffffff8109b336>] task_work_run+0x86/0xb0
    [1131326.779537]  [<ffffffff8108d875>] get_signal+0x5e5/0x610
    [1131326.779543]  [<ffffffff814d3ff5>] ? n_tty_read+0x325/0xa70
    [1131326.779550]  [<ffffffff81803f29>] ? __schedule+0x359/0x980
    [1131326.779559]  [<ffffffff8102d4a8>] do_signal+0x28/0x6c0
    [1131326.779566]  [<ffffffff810bf370>] ? __wake_up_sync+0x20/0x20
    [1131326.779573]  [<ffffffff814d7636>] ? tty_ldisc_deref+0x16/0x20
    [1131326.779578]  [<ffffffff814cfb2c>] ? tty_read+0x9c/0xf0
    [1131326.779585]  [<ffffffff81200708>] ? __vfs_read+0x18/0x40
    [1131326.779592]  [<ffffffff8107981c>] exit_to_usermode_loop+0x59/0xa2
    [1131326.779600]  [<ffffffff81003a6e>] syscall_return_slowpath+0x4e/0x60
    [1131326.779607]  [<ffffffff81807f58>] int_ret_from_sys_call+0x25/0x8f

    ps aux|grep minerd
    root     21855  0.0  0.0      0     0 ?        Zl   13:03   0:00 [minerd] <defunct>
    root     22322  0.0  0.0 103840  5920 ?        D    13:28   0:00 /home/one/MyFiles/Bank/mining/cpuminer-gridseed-syklon-support/cpuminer-gc3355-master/minerd --gc3355-detect -o stratum+tcp://stratum.aikapool.com:7919 -u coinguy.zworker -p qbumr4YoPk25dYRxja2y
    root     24899  0.0  0.0  11764  2076 pts/4    S+   16:17   0:00 grep --colour=auto minerd
    box user # kill -kill 21855
    box user # ps aux|grep minerd
    root     21855  0.0  0.0      0     0 ?        Zl   13:03   0:00 [minerd] <defunct>
    root     22322  0.0  0.0 103840  5920 ?        D    13:28   0:00 /home/one/MyFiles/Bank/mining/cpuminer-gridseed-syklon-support/cpuminer-gc3355-master/minerd --gc3355-detect -o stratum+tcp://stratum.aikapool.com:7919 -u coinguy.zworker -p qbumr4YoPk25dYRxja2y
    root     24901  0.0  0.0  11764  2248 pts/4    S+   16:17   0:00 grep --colour=auto minerd


    [1131435.736796] usb 2-4: USB disconnect, device number 17
    [1131437.743307] usb 2-1: USB disconnect, device number 15

    cd /sys/bus/usb/devices
     ls
    1-0:1.0  2-10      2-9      3-0:1.0  3-1:1.0    4-1      4-1.1:1.0  usb3
    2-0:1.0  2-10:1.0  2-9:1.0  3-1      3-1.1:1.0  4-1.1    usb1       usb4
    2-1      2-1:1.1   2-9:1.1  3-1.1    4-0:1.0    4-1:1.0  usb2

    lsusb and even manual reset hang:

    lsusb


    ^C^C^C^C

    echo 0 > 2-1/authorized


    cat /dev/bus/usb/002/001
    ^C^C

    ^C^C^C^C^C^C^C^C^C^C^C^C^C


     


  • ffmpeg Linux Mint download, compile and install howto


    #if you have nvidia make sure you install the nvidia-cuda-toolkit so hardware acceleration can be used

    wget http://ffmpeg.org/releases/ffmpeg-3.3.2.tar.bz2
    tar -jxvf ffmpeg-3.3.2.tar.bz2
    cd  ffmpeg-3.3.2/


    ./configure --disable-yasm

    install prefix            /usr/local
    source path               .
    C compiler                gcc
    C library                 glibc
    ARCH                      x86 (generic)
    big-endian                no
    runtime cpu detection     yes
    yasm                      no
    MMX enabled               yes
    MMXEXT enabled            yes
    3DNow! enabled            yes
    3DNow! extended enabled   yes
    SSE enabled               yes
    SSSE3 enabled             yes
    AESNI enabled             yes
    AVX enabled               yes
    XOP enabled               yes
    FMA3 enabled              yes
    FMA4 enabled              yes
    i686 features enabled     yes
    CMOV is fast              yes
    EBX available             yes
    EBP available             yes
    debug symbols             yes
    strip symbols             yes
    optimize for size         no
    optimizations             yes
    static                    yes
    shared                    no
    postprocessing support    no
    network support           yes
    threading support         pthreads
    safe bitstream reader     yes
    texi2html enabled         no
    perl enabled              yes
    pod2man enabled           yes
    makeinfo enabled          no
    makeinfo supports HTML    no

    External libraries:
    iconv              libxcb            libxcb_shm              xlib            zlib

    External libraries providing hardware acceleration:
    cuda              cuvid                nvenc

    Libraries:
    avcodec              avdevice            avfilter              avformat            avutil              swresample            swscale

    Programs:
    ffmpeg              ffprobe            ffserver

    Enabled decoders:
    aac              aic                cook              fmvc            mdec              opus                ppm                  srt            vp3
    aac_fixed          alac                cpia              fourxm            metasound          paf_audio            prores              ssa            vp5
    aac_latm          alias_pix            cscd              fraps            microdvd          paf_video            prores_lgpl              stl            vp6
    aasc              als                cyuv              frwu            mimic              pam                psd                  subrip            vp6a
    ac3              amrnb                dca                  g2m            mjpeg              pbm                ptx                  subviewer            vp6f
    ac3_fixed          amrwb                dds                  g723_1            mjpeg_cuvid          pcm_alaw            qcelp              subviewer1        vp7
    adpcm_4xm          amv                dfa                  g729            mjpegb              pcm_bluray            qdm2              sunrast            vp8
    adpcm_adx          anm                dirac              gif            mlp              pcm_dvd            qdmc              svq1            vp8_cuvid
    adpcm_afc          ansi                dnxhd              gsm            mmvideo              pcm_f16le            qdraw              svq3            vp9
    adpcm_aica          ape                dpx                  gsm_ms            motionpixels          pcm_f24le            qpeg              tak            vp9_cuvid
    adpcm_ct          apng                dsd_lsbf              h261            movtext              pcm_f32be            qtrle              targa            vplayer
    adpcm_dtk          ass                dsd_lsbf_planar          h263            mp1              pcm_f32le            r10k              targa_y216        vqa
    adpcm_ea          asv1                dsd_msbf              h263i            mp1float          pcm_f64be            r210              tdsc            wavpack
    adpcm_ea_maxis_xa      asv2                dsd_msbf_planar          h263p            mp2              pcm_f64le            ra_144              text            webp
    adpcm_ea_r1          atrac1            dsicinaudio              h264            mp2float          pcm_lxf            ra_288              theora            webvtt
    adpcm_ea_r2          atrac3            dsicinvideo              h264_cuvid        mp3              pcm_mulaw            ralf              thp            wmalossless
    adpcm_ea_r3          atrac3al            dss_sp              hap            mp3adu              pcm_s16be            rawvideo              tiertexseqvideo        wmapro
    adpcm_ea_xas          atrac3p            dst                  hevc            mp3adufloat          pcm_s16be_planar        realtext              tiff            wmav1
    adpcm_g722          atrac3pal            dvaudio              hevc_cuvid        mp3float          pcm_s16le            rl2                  tmv            wmav2
    adpcm_g726          aura                dvbsub              hnm4_video        mp3on4              pcm_s16le_planar        roq                  truehd            wmavoice
    adpcm_g726le          aura2                dvdsub              hq_hqa            mp3on4float          pcm_s24be            roq_dpcm              truemotion1        wmv1
    adpcm_ima_amv          avrn                dvvideo              hqx            mpc7              pcm_s24daud            rpza              truemotion2        wmv2
    adpcm_ima_apc          avrp                dxa                  huffyuv            mpc8              pcm_s24le            rscc              truemotion2rt        wmv3
    adpcm_ima_dat4          avs                dxtory              iac            mpeg1_cuvid          pcm_s24le_planar        rv10              truespeech        wmv3image
    adpcm_ima_dk3          avui                dxv                  idcin            mpeg1video          pcm_s32be            rv20              tscc            wnv1
    adpcm_ima_dk4          ayuv                eac3              idf            mpeg2_cuvid          pcm_s32le            rv30              tscc2            ws_snd1
    adpcm_ima_ea_eacs      bethsoftvid            eacmv              iff_ilbm            mpeg2video          pcm_s32le_planar        rv40              tta            xan_dpcm
    adpcm_ima_ea_sead      bfi                eamad              imc            mpeg4              pcm_s64be            s302m              twinvq            xan_wc3
    adpcm_ima_iss          bink                eatgq              indeo2            mpeg4_cuvid          pcm_s64le            sami              txd            xan_wc4
    adpcm_ima_oki          binkaudio_dct            eatgv              indeo3            mpegvideo          pcm_s8            sanm              ulti            xbin
    adpcm_ima_qt          binkaudio_rdft        eatqi              indeo4            mpl2              pcm_s8_planar            scpr              utvideo            xbm
    adpcm_ima_rad          bintext            eightbps              indeo5            msa1              pcm_u16be            screenpresso          v210            xface
    adpcm_ima_smjpeg      bmp                eightsvx_exp          interplay_acm        msmpeg4v1          pcm_u16le            sdx2_dpcm              v210x            xl
    adpcm_ima_wav          bmv_audio            eightsvx_fib          interplay_dpcm        msmpeg4v2          pcm_u24be            sgi                  v308            xma1
    adpcm_ima_ws          bmv_video            escape124              interplay_video        msmpeg4v3          pcm_u24le            sgirle              v408            xma2
    adpcm_ms          brender_pix            escape130              jacosub            msrle              pcm_u32be            sheervideo              v410            xpm
    adpcm_mtaf          c93                evrc              jpeg2000            mss1              pcm_u32le            shorten              vb            xsub
    adpcm_psx          cavs                exr                  jpegls            mss2              pcm_u8            sipr              vble            xwd
    adpcm_sbpro_2          ccaption            ffv1              jv            msvideo1          pcm_zork            smackaud              vc1            y41p
    adpcm_sbpro_3          cdgraphics            ffvhuff              kgv1            mszh              pcx                smacker              vc1_cuvid            ylc
    adpcm_sbpro_4          cdxl                ffwavesynth              kmvc            mts2              pgm                smc                  vc1image            yop
    adpcm_swf          cfhd                fic                  lagarith            mvc1              pgmyuv            smvjpeg              vcr1            yuv4
    adpcm_thp          cinepak            flac              loco            mvc2              pgssub            snow              vmdaudio            zero12v
    adpcm_thp_le          clearvideo            flashsv              m101            mxpeg              pictor            sol_dpcm              vmdvideo            zerocodec
    adpcm_vima          cljr                flashsv2              mace3            nellymoser          pixlet            sonic              vmnc            zlib
    adpcm_xa          cllc                flic              mace6            nuv              pjs                sp5x              vorbis            zmbv
    adpcm_yamaha          comfortnoise            flv                  magicyuv            on2avc              png                speedhq

    Enabled encoders:
    a64multi          ass                ffv1              mjpeg            pbm              pcm_s32le_planar        prores              srt            vorbis
    a64multi5          asv1                ffvhuff              mlp            pcm_alaw          pcm_s64be            prores_aw              ssa            wavpack
    aac              asv2                flac              movtext            pcm_f32be          pcm_s64le            prores_ks              subrip            webvtt
    ac3              avrp                flashsv              mp2            pcm_f32le          pcm_s8            qtrle              sunrast            wmav1
    ac3_fixed          avui                flashsv2              mp2fixed            pcm_f64be          pcm_s8_planar            r10k              svq1            wmav2
    adpcm_adx          ayuv                flv                  mpeg1video        pcm_f64le          pcm_u16be            r210              targa            wmv1
    adpcm_g722          bmp                g723_1              mpeg2video        pcm_mulaw          pcm_u16le            ra_144              text            wmv2
    adpcm_g726          cinepak            gif                  mpeg4            pcm_s16be          pcm_u24be            rawvideo              tiff            wrapped_avframe
    adpcm_ima_qt          cljr                h261              msmpeg4v2            pcm_s16be_planar      pcm_u24le            roq                  truehd            xbm
    adpcm_ima_wav          comfortnoise            h263              msmpeg4v3            pcm_s16le          pcm_u32be            roq_dpcm              tta            xface
    adpcm_ms          dca                h263p              msvideo1            pcm_s16le_planar      pcm_u32le            rv10              utvideo            xsub
    adpcm_swf          dnxhd                h264_nvenc              nellymoser        pcm_s24be          pcm_u8            rv20              v210            xwd
    adpcm_yamaha          dpx                hevc_nvenc              nvenc            pcm_s24daud          pcx                s302m              v308            y41p
    alac              dvbsub            huffyuv              nvenc_h264        pcm_s24le          pgm                sgi                  v408            yuv4
    alias_pix          dvdsub            jpeg2000              nvenc_hevc        pcm_s24le_planar      pgmyuv            snow              v410            zlib
    amv              dvvideo            jpegls              opus            pcm_s32be          png                sonic              vc2            zmbv
    apng              eac3                ljpeg              pam            pcm_s32le          ppm                sonic_ls

    Enabled hwaccels:
    h264_cuvid          hevc_cuvid            mjpeg_cuvid              mpeg1_cuvid        mpeg2_cuvid          mpeg4_cuvid            vc1_cuvid              vp8_cuvid            vp9_cuvid

    Enabled parsers:
    aac              cavsvideo            dpx                  flac            h264              mpeg4video            png                  sipr            vp3
    aac_latm          cook                dvaudio              g729            hevc              mpegaudio            pnm                  tak            vp8
    ac3              dca                dvbsub              gsm            mjpeg              mpegvideo            rv30              vc1            vp9
    adx              dirac                dvd_nav              h261            mlp              opus                rv40              vorbis            xma
    bmp              dnxhd                dvdsub              h263

    Enabled demuxers:
    aa              bintext            epaf              image2_brender_pix    ivr              msf                pcm_u16be              sds            v210
    aac              bit                ffm                  image2pipe        jacosub              msnwc_tcp            pcm_u16le              sdx            v210x
    ac3              bmv                ffmetadata              image_bmp_pipe        jv              mtaf                pcm_u24be              segafilm            vag
    acm              boa                filmstrip              image_dds_pipe        live_flv          mtv                pcm_u24le              shorten            vc1
    act              brstm                flac              image_dpx_pipe        lmlm4              musx                pcm_u32be              siff            vc1t
    adf              c93                flic              image_exr_pipe        loas              mv                pcm_u32le              sln            vivo
    adp              caf                flv                  image_j2k_pipe        lrc              mvi                pcm_u8              smacker            vmd
    ads              cavsvideo            fourxm              image_jpeg_pipe        lvf              mxf                pjs                  smjpeg            vobsub
    adx              cdg                frm                  image_jpegls_pipe        lxf              mxg                pmp                  smush            voc
    aea              cdxl                fsb                  image_pam_pipe        m4v              nc                pva                  sol            vpk
    afc              cine                g722              image_pbm_pipe        matroska          nistsphere            pvf                  sox            vplayer
    aiff              concat            g723_1              image_pcx_pipe        mgsts              nsv                qcp                  spdif            vqf
    aix              data                g729              image_pgm_pipe        microdvd          nut                r3d                  srt            w64
    amr              daud                genh              image_pgmyuv_pipe        mjpeg              nuv                rawvideo              stl            wav
    anm              dcstr                gif                  image_pictor_pipe        mjpeg_2000          ogg                realtext              str            wc3
    apc              dfa                gsm                  image_png_pipe        mlp              oma                redspark              subviewer            webm_dash_manifest
    ape              dirac                gxf                  image_ppm_pipe        mlv              paf                rl2                  subviewer1        webvtt
    apng              dnxhd                h261              image_psd_pipe        mm              pcm_alaw            rm                  sup            wsaud
    aqtitle              dsf                h263              image_qdraw_pipe        mmf              pcm_f32be            roq                  svag            wsd
    asf              dsicin            h264              image_sgi_pipe        mov              pcm_f32le            rpl                  swf            wsvqa
    asf_o              dss                hevc              image_sunrast_pipe    mp3              pcm_f64be            rsd                  tak            wtv
    ass              dts                hls                  image_tiff_pipe        mpc              pcm_f64le            rso                  tedcaptions        wv
    ast              dtshd                hnm                  image_webp_pipe        mpc8              pcm_mulaw            rtp                  thp            wve
    au              dv                ico                  image_xpm_pipe        mpegps              pcm_s16be            rtsp              threedostr        xa
    avi              dvbsub            idcin              ingenient            mpegts              pcm_s16le            sami              tiertexseq        xbin
    avr              dvbtxt            idf                  ipmovie            mpegtsraw          pcm_s24be            sap                  tmv            xmv
    avs              dxa                iff                  ircam            mpegvideo          pcm_s24le            sbg                  truehd            xvag
    bethsoftvid          ea                ilbc              iss            mpjpeg              pcm_s32be            scc                  tta            xwma
    bfi              ea_cdata            image2              iv8            mpl2              pcm_s32le            sdp                  tty            yop
    bfstm              eac3                image2_alias_pix          ivf            mpsub              pcm_s8            sdr2              txd            yuv4mpegpipe
    bink

    Enabled muxers:
    a64              crc                framehash              image2pipe        mov              nut                pcm_s32le              rtsp            truehd
    ac3              dash                framemd5              ipod            mp2              oga                pcm_s8              sap            tta
    adts              data                g722              ircam            mp3              ogg                pcm_u16be              scc            uncodedframecrc
    adx              daud                g723_1              ismv            mp4              ogv                pcm_u16le              segment            vc1
    aiff              dirac                gif                  ivf            mpeg1system          oma                pcm_u24be              singlejpeg        vc1t
    amr              dnxhd                gsm                  jacosub            mpeg1vcd          opus                pcm_u24le              smjpeg            voc
    apng              dts                gxf                  latm            mpeg1video          pcm_alaw            pcm_u32be              smoothstreaming        w64
    asf              dv                h261              lrc            mpeg2dvd          pcm_f32be            pcm_u32le              sox            wav
    asf_stream          eac3                h263              m4v            mpeg2svcd          pcm_f32le            pcm_u8              spdif            webm
    ass              f4v                h264              matroska            mpeg2video          pcm_f64be            psp                  spx            webm_chunk
    ast              ffm                hash              matroska_audio        mpeg2vob          pcm_f64le            rawvideo              srt            webm_dash_manifest
    au              ffmetadata            hds                  md5            mpegts              pcm_mulaw            rm                  stream_segment        webp
    avi              fifo                hevc              microdvd            mpjpeg              pcm_s16be            roq                  swf            webvtt
    avm2              filmstrip            hls                  mjpeg            mxf              pcm_s16le            rso                  tee            wtv
    bit              flac                ico                  mkvtimestamp_v2        mxf_d10              pcm_s24be            rtp                  tg2            wv
    caf              flv                ilbc              mlp            mxf_opatom          pcm_s24le            rtp_mpegts              tgp            yuv4mpegpipe
    cavsvideo          framecrc            image2              mmf            null              pcm_s32be

    Enabled protocols:
    async              data                ftp                  http            md5              pipe                rtmpt              subfile            udp
    cache              ffrtmphttp            gopher              httpproxy            mmsh              prompeg            rtp                  tcp            udplite
    concat              file                hls                  icecast            mmst              rtmp                srtp              tee            unix
    crypto

    Enabled filters:
    abench              anoisesrc            bandreject              curves            fieldorder          lenscorrection        paletteuse              settb            swaprect
    abitscope          anull                bass              datascope            firequalizer          life                pan                  showcqt            swapuv
    acompressor          anullsink            bbox              dcshift            flanger              loop                perms              showfreqs            tblend
    acrossfade          anullsrc            bench              dctdnoiz            format              loudnorm            pixdesctest              showinfo            telecine
    acrusher          apad                biquad              deband            fps              lowpass            premultiply              showpalette        testsrc
    adelay              aperms            bitplanenoise          decimate            framepack          lut                prewitt              showspectrum        testsrc2
    adrawgraph          aphasemeter            blackdetect              deflate            framerate          lut2                psnr              showspectrumpic        threshold
    aecho              aphaser            blend              dejudder            framestep          lut3d                qp                  showvolume        thumbnail
    aemphasis          apulsator            bwdif              deshake            gblur              lutrgb            random              showwaves            tile
    aeval              arealtime            cellauto              detelecine        gradfun              lutyuv            readeia608              showwavespic        transpose
    aevalsrc          aresample            channelmap              dilation            haldclut          mandelbrot            readvitc              shuffleframes        treble
    afade              areverse            channelsplit          displace            haldclutsrc          maskedclamp            realtime              shuffleplanes        tremolo
    afftfilt          aselect            chorus              drawbox            hdcd              maskedmerge            remap              sidechaincompress        trim
    aformat              asendcmd            chromakey              drawgraph            hflip              mergeplanes            removegrain              sidechaingate        unsharp
    agate              asetnsamples            ciescope              drawgrid            highpass          mestimate            removelogo              sidedata            vectorscope
    ahistogram          asetpts            codecview              dynaudnorm        histogram          metadata            replaygain              signalstats        vflip
    ainterleave          asetrate            color              earwax            hqx              midequalizer            reverse              silencedetect        vibrato
    alimiter          asettb            colorbalance          ebur128            hstack              minterpolate            rgbtestsrc              silenceremove        vignette
    allpass              ashowinfo            colorchannelmixer          edgedetect        hue              movie                rotate              sine            volume
    allrgb              asidedata            colorkey              elbg            hwdownload          negate            scale              smptebars            volumedetect
    allyuv              asplit            colorlevels              equalizer            hwmap              nlmeans            scale2ref              smptehdbars        vstack
    aloop              astats            colorspace              erosion            hwupload          noformat            select              sobel            w3fdif
    alphaextract          astreamselect            compand              extractplanes        hwupload_cuda          noise                selectivecolor          spectrumsynth        waveform
    alphamerge          atadenoise            compensationdelay          extrastereo        hysteresis          null                sendcmd              split            weave
    amerge              atempo            concat              fade            idet              nullsink            separatefields          ssim            xbr
    ametadata          atrim                convolution              fftfilt            il              nullsrc            setdar              stereotools        yadif
    amix              avectorscope            copy              field            inflate              overlay            setfield              stereowiden        yuvtestsrc
    amovie              avgblur            crop              fieldhint            interleave          pad                setpts              streamselect        zoompan
    anequalizer          bandpass            crystalizer              fieldmatch        join              palettegen            setsar

    Enabled bsfs:
    aac_adtstoasc          dca_core            extract_extradata          hevc_mp4toannexb        mjpeg2jpeg          mov2textsub            mpeg4_unpack_bframes      remove_extradata        vp9_superframe
    chomp              dump_extradata        h264_mp4toannexb          imx_dump_header        mjpega_dump_header      mp3_header_decompress        noise              text2movsub

    Enabled indevs:
    dv1394              fbdev                lavfi              oss            v4l2              xcbgrab

    Enabled outdevs:
    fbdev              oss                v4l2

    License: LGPL version 2.1 or later
    Creating configuration files ...
    config.h is unchanged
    libavutil/avconfig.h is unchanged
    libavcodec/bsf_list.c is unchanged
    libavformat/protocol_list.c is unchanged


    make
    make install


  • OpenVZ error : Container start failed (try to check kernel messages, e.g. "dmesg | tail") Locked by: pid 166638, cmdline vzctl start 888171


    This container won't start after exhausting its memory.  There are no relevant or helpful messages in dmesg or vzctl.log as well.  Standard troubleshooting such as disabling PPP etc has not helped.

     

    2017-07-06T23:33:29-0400 vzctl : CT 888171 : Locked by: pid 166029, cmdline vzctl start 888171
    2017-07-06T23:33:29-0400 vzctl : CT 888171 : Container already locked
    2017-07-06T23:33:29-0400 vzctl : CT 888171 : Container was stopped
    2017-07-06T23:33:29-0400 vzctl : CT 888171 : Container is unmounted
    2017-07-06T23:33:39-0400 vzctl : CT 888171 : Starting container...
    2017-07-06T23:33:39-0400 vzctl : CT 888171 : Container is mounted
    2017-07-06T23:33:39-0400 vzctl : CT 888171 : Adding IP address(es): 103.25.61.245
    2017-07-06T23:33:40-0400 vzctl : CT 888171 : Setting CPU units: 1000
    2017-07-06T23:33:40-0400 vzctl : CT 888171 : Setting devices
    2017-07-06T23:33:40-0400 vzctl : CT 888171 : Container start failed (try to check kernel messages, e.g. "dmesg | tail")
    2017-07-06T23:33:40-0400 vzctl : CT 888171 : Killing container ...
    2017-07-06T23:33:42-0400 vzctl : CT 888171 : Locked by: pid 166638, cmdline vzctl start 888171
    2017-07-06T23:33:42-0400 vzctl : CT 888171 : Container already locked
    2017-07-06T23:33:42-0400 vzctl : CT 888171 : Container was stopped
    2017-07-06T23:33:42-0400 vzctl : CT 888171 : Container is unmounted

     

     


  • How to extract view contents of initramfs image gzip'd


    Very simple browse to your /boot directory

    It does make more sense to extract the image in its own directory eg "initramfs-blabla-dir" as it will literally extract directly to the pwd.

    cp initramfs.img someotherdir

    cd someotherdir


    zcat initramfs-3.10.0-514.el7.x86_64.img | cpio -idmv


  • Linux how to copy GPT partition table with dd


    The old MBR 512 bytes partition table is no longer valid if you are using GPT. 

    To copy a GPT table with dd to another disk do it like so:

    Below sda is the source disk and destination disk is sdb (change to meet your needs).

    dd if=/dev/sda of=/dev/sdb bs=1536 count=1

    You can also use dd to backup your partition table like normal but with the bs of 1536

    dd if=/dev/sda of=/root/sda-gpt-table-backup.img bs=1536 count=1


  • Centos 7 How To Change Hostname


    Some guides still use the old Centos 6 style (do not use /etc/sysconfig/network).

    In Centos 7 the file is /etc/hostname

    echo "HOSTNAME=yourhostname.com" > /etc/hostname


  • Debian/Mint/Ubuntu Font Packs/Recommended To Install


    This will give you a lot more nice fonts to work with.  Usually you must restart the program you are using to see the new fonts.

    ttf-mscorefonts-installer fonts-larabie-* ttf-xfree86-* ubuntustudio-fonts ttf-* fonts-*


  • Migrate Centos 7 from Single HDD to mdadm RAID 10 array:


    Done on Centos 7.3 very important as clearly based on older guides it was a lot easier and more simpler!  Hint do not use grub2-install!

    One huge caveat if you are an oldschool user or sysadmin who has avoided UEFI booting

    The normal way will not work here if your Centos was using UEFI.  Newer systems use it by default.

    The easiest way to check is to do an fdisk -l if your system disk and check for an EFI partition.

    If using EFI you need a EFI partition usually about 200M.

    Instead of the typical partition 1 being normal boot this will now be EFI.

    • Partion 1 = EFI Boot 200M
    • Partition 2 = Boot 800M
    • Partition 3 = SWAP
    • Partition 4 = /
       

    To match you will now have of course 4 mdadm arrays instead of 3 because of EFI.

    Centos boot issue

    #1 you MUST have an EFI partiton and you MUST be booted as UEFI!
    a.)
    So to make it more complicated with UEFI here is how a standard or at least Centos 7 typically works.

    /boot partion mounted as /boot
    /efi partition mounted as /boot/efi
    b.) EFI partition can be mdadm RAID but must be level 1 and --metadata=1.0 and vfat filesystem
    grub2-install --target=x86_64-efi /dev/sda
    grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg

    If you don't tell grub2-mkconfig to update the EFI grub.cfg you will be greeted to a blank grub boot screen with no menu entries.  No clue why grub2-mkconfig does not seem to update the correct EFI grub.cfg on its own.

    #after booting getting another issue
    dracut-initqueue: Warning: dracut-initqueue timeout -starting timeout scripts
    Started dracut initqueue hook
    Reached target Remote File Systems (Pre).
    Reached target Remote File Systems.
    A start job is running for dev-disk-byx2uuid-8f411f86x2d....device (7min 58s / no limit)

     

    3 arrays:

    md0  = /boot ext4

    *(note md0 this must be --level 1 and --metadata=0.90 or it will not boot/work)

    md1 = swap

    md2 = / ext4

     

    all mounted in /mnt/

     

     

    #install grub2-tools so we can install it

    yum -y install grub2-tools grub2-efi-modules

    lack of efi modules gives the following error (if you didn't install the above): grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.


    mkswap /dev/md1
    Setting up swapspace version 1, size = 31440892 KiB
    no label, UUID=a30ab8dd-f462-4dab-940d-6658bcae4395

    get the UUIDs of each array:

    blkid /dev/md0
    blkid /dev/md1
    blkid /dev/md2

    /dev/md0: UUID="5b51dbfb-f361-48c3-bfdf-5da171e4577c" TYPE="ext4"
    /dev/md1: UUID="a30ab8dd-f462-4dab-940d-6658bcae4395" TYPE="swap"
    /dev/md2: UUID="8f411f86-3816-409b-b291-ebe1a7a170ef" TYPE="ext4"

    mount /dev/md2 /target

    rsync -Pha --exclude="/boot/*" --exclude="/sys/*" --exclude=/proc/* --exclude=/mnt/* / /target

    mount /dev/md0 /target/boot

    #if you have an EFI partition /dev/md3 or whatever you've used it for

    mount /dev/md3 /target/boot/efi

    #rsync the rest

    rsync -Pha /boot/ /target/boot/

    #if you have an EFI partition

    rsync -Pha /boot/efi /target/boot/efi

    Change /mnt/md2 to your mounted root /

     

    mount=/target
    for bind in dev sys proc; do
    mount -o bind /$bind /$mount/$bind
    done

     chroot /mnt/md2

    #run the swapon command on your swap partition othewrise it soudns weird but mdadm WILL not activate the array even if it's in mdadm.conf. 

    swapon /dev/md1

    mdadm --detail --scan > /etc/mdadm.conf
     Update initramfs
    
    #you must specify the exact initramfs image and exact kernel name (matching it) or it will not work/be unbootable - much more finicky than Centos 6
    dracut /boot/initramfs-3.10.0-514.21.2.el7.x86_64.img 3.10.0-514.21.2.el7.x86_64 --force
    
    #if you get a message like this you specified the wrong kernel details in the second parameter
    Kernel version 3.10.0-514.21.2.el7 has no module directory /lib/modules/3.10.0-514.21.2.el7
    #in the above case I forgot the .x86_64 at the end
    
    
    dracut --mdadmconf --fstab --add="mdraid" --filesystems "vfat xfs ext4 ext3 tmpfs devpts sysfs proc" --add-drivers="raid1 raid10" --force 
    #this dracut step is critical because by default it will not have mdadm raid support so it will keep looking for devcies that don't get created
    #also MAKE sure to use the latest or current initramfs (may not be obvious ifyou are booting from a recovery disc).
    dracut --mdadmconf --fstab --add="mdraid" --filesystems "xfs ext4 ext3 tmpfs devpts sysfs proc" --add-drivers="raid1 raid10" /boot/initramfs-3.10.0-514.21.2.el7.x86_64.img --force
    

    Update grub2-config

    #to avoid problems remove any old grub.cfg

    echo y| rm /boot/efi/EFI/centos/grub.cfg

    echo y| rm /boot/grub2/grub.cfg

    grub2-mkconfig

    #something went wrong as it doesn't boot

    The above happens if you are running EFI and didn't specify output to your EFI partition for grub.cfg

    If you have EFI

    grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg

    #not sure why but the above still results in a blank grub screen with no menu entries.  Maybe grub2 needs to be reinstalled as a package or something else first.  I suspect it doesn't contain the right modules to read the boot or efi partition.

     

    Install grub2:

    #NO NO NO - DO NOT USE GRUB2-INSTALL

    This Fedora warning explains it all:

    Stop (medium size).png

    grub2-install shouldn't be used on EFI systems. The grub2-efi package installs a prebaked grubx64.efi on the EFI System partition, which looks for grub.cfg on the ESP in /EFI/fedora/ whereas the grub2-install command creates a custom grubx64.efi, deletes the original installed one, and looks for grub.cfg in /boot/grub2/.

    Solution just do a "yum reinstall grub2-efi"

    One other solution is if you really want grub2-install is to make /boot/grub2/grub.cfg a symlnk to /boot/efi/EFI/centos/grub.cfg

    ln -s /boot/efi/EFI/centos/grub.cfg /boot/grub2/grub.cfg this doesn't work I am certain grub cannot make use of that symlink

    #if you get an error of "grub2-install: error /boot/efi doesn't look like an EFI partition"

    It means you haven't mounted your EFI partition OR you haven't set the partition as EFI (in gdisk this is type ef00).   You'll have to stop the mdadm array for EFI and then do a mkfs.vfat on it and try again (partition must be VFAT and no other fs such as ext4/xfs etc.. it won't work unless it's VFAT).


  • How to change reserved blocks in Linux partition


    user@box:~$ sudo tune2fs -l /dev/md99
    [sudo] password for user:
    tune2fs 1.42.9 (4-Feb-2014)
    Filesystem volume name:   <nuser>
    Last mounted on:          /mnt/md50
    Filesystem UUID:          976a8655-2619-4587-878c-dab07f7b7652
    Filesystem magic number:  0xEF53
    Filesystem revision #:    1 (dynamic)
    Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
    Filesystem flags:         signed_directory_hash
    Default mount options:    user_xattr acl
    Filesystem state:         clean
    Errors behavior:          Continue
    Filesystem OS type:       Linux
    Inode count:              244187136
    Block count:              1953473536
    Reserved block count:     97673676
    Free blocks:              665750586
    Free inodes:              213815139
    First block:              0
    Block size:               4096
    Fragment size:            4096
    Reserved GDT blocks:      558
    Blocks per group:         32768
    Fragments per group:      32768
    Inodes per group:         4096
    Inode blocks per group:   256
    RAID stride:              128
    RAID stripe width:        1048320
    Flex block group size:    16
    Filesystem created:       Wed Dec 28 16:17:14 2016
    Last mount time:          Fri Jun 23 12:48:18 2017
    Last write time:          Fri Jun 23 12:48:18 2017
    Mount count:              22
    Maximum mount count:      -1
    Last checked:             Wed Dec 28 16:17:14 2016
    Check interval:           0 (<nuser>)
    Lifetime writes:          1565 GB
    Reserved blocks uid:      0 (user root)
    Reserved blocks gid:      0 (group root)
    First inode:              11
    Inode size:              256
    Required extra isize:     28
    Desired extra isize:      28
    Journal inode:            8
    Default directory hash:   half_md4
    Directory Hash Seed:      2474f801-44c2-4fe1-8809-34759b56a2fb
    Journal backup:           inode blocks

    user@box:~$ sudo tune2fs -l /dev/md99|grep -i reserved
    Reserved block count:     97673676
    Reserved GDT blocks:      558
    Reserved blocks uid:      0 (user root)
    Reserved blocks gid:      0 (group root)

    Solution change to 2% reserved blocks instead of 5%

    The -m2 means 2% change that to the percentage you want.

    sudo tune2fs -m2 /dev/md99
    tune2fs 1.42.9 (4-Feb-2014)
    Setting reserved blocks percentage to 2% (39069470 blocks)


     


  • Reading package lists... Done W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D46F45428842CE5E


    Still looking for the solution

    Working Solution 2017/07

    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D46F45428842CE5E

    Solution

    gpg --keyserver hkp://subkeys.pgp.net --recv-keys D46F45428842CE5E


    gpg: requesting key 8842CE5E from hkp server subkeys.pgp.net

    gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error
     


  • Centos 7 A start job is running for dev-mapper-clx2droot.device (8min 44s / no limit)


    This error is usually because of some sort of encryption in this case a Seagate enclosure with encryption (even though not enabled) did not allow this hard drive to boot.


  • USB 3.0 External HDD Enclosure Seagate UAS problems - [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 01 70 04 08 68 00 00 00 08 00 00


     

    This is a 8TB Seagate external USB 3.0 device apparently newer kernels use a module called "UAS" instead of "USB Storage" which causes issues as a lot of devices are not properly supported in UAS mode by the kernel driver.  The solution some say is to disable UAS specifically for your USB device but I'd rather just disable UAS altogether.

     
    Solution blacklist UAS: *do not do this it does not work and just causes your USB 3.0 device to stop working!

    sudo vi /etc/modprobe.d/blacklist.conf

    blacklist uas

     Then reboot

    Real Solution:

    lsusb

    Bus 004 Device 003: ID 0bc2:ab38 Seagate RSS LLC
    Bus 004 Device 002: ID 0bc2:ab45 Seagate RSS LLC

    echo options usb-storage quirks=0bc2:ab38:u | sudo tee /etc/modprobe.d/blacklist_uas00.conf
    echo options usb-storage quirks=0bc2:ab45:u | sudo tee /etc/modprobe.d/blacklist_uas01.conf

    sudo update-initramfs -u

    Error example:

    [107277.010389] INFO: task jbd2/md99-8:5142 blocked for more than 120 seconds.
    [107277.010406]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [107277.010411] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [107277.010417] jbd2/md99-8     D ffff880f594b3ae8     0  5142      2 0x00000000
    [107277.010429]  ffff880f594b3ae8 ffff8810084a3300 ffff881008655940 ffff880f594b4000
    [107277.010437]  0000000000000000 7fffffffffffffff ffff88102fff0c68 ffffffff81804cc0
    [107277.010444]  ffff880f594b3b00 ffffffff81804585 ffff88102fc96e00 ffff880f594b3ba8
    [107277.010451] Call Trace:
    [107277.010471]  [] ? bit_wait+0x50/0x50
    [107277.010480]  [] schedule+0x35/0x80
    [107277.010489]  [] schedule_timeout+0x237/0x2d0
    [107277.010497]  [] ? md_make_request+0xec/0x240
    [107277.010508]  [] ? ktime_get+0x3c/0xb0
    [107277.010514]  [] ? bit_wait+0x50/0x50
    [107277.010521]  [] io_schedule_timeout+0xa6/0x110
    [107277.010528]  [] bit_wait_io+0x1b/0x60
    [107277.010535]  [] __wait_on_bit+0x60/0x90
    [107277.010541]  [] ? bit_wait+0x50/0x50
    [107277.010548]  [] out_of_line_wait_on_bit+0x72/0x80
    [107277.010558]  [] ? autoremove_wake_function+0x40/0x40
    [107277.010568]  [] __wait_on_buffer+0x32/0x40
    [107277.010577]  [] jbd2_journal_commit_transaction+0x1702/0x1970
    [107277.010586]  [] kjournald2+0xbb/0x230
    [107277.010593]  [] ? prepare_to_wait_event+0xf0/0xf0
    [107277.010599]  [] ? commit_timeout+0x10/0x10
    [107277.010607]  [] kthread+0xc9/0xe0
    [107277.010613]  [] ? kthread_park+0x60/0x60
    [107277.010620]  [] ret_from_fork+0x3f/0x70
    [107277.010626]  [] ? kthread_park+0x60/0x60
    [107996.987561] INFO: task jbd2/md99-8:5142 blocked for more than 120 seconds.
    [107996.987575]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [107996.987579] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [107996.987584] jbd2/md99-8     D ffff880f594b3ae8     0  5142      2 0x00000000
    [107996.987594]  ffff880f594b3ae8 ffff88100989cc80 ffff881008655940 ffff880f594b4000
    [107996.987601]  0000000000000000 7fffffffffffffff ffff88102ffef4e0 ffffffff81804cc0
    [107996.987606]  ffff880f594b3b00 ffffffff81804585 ffff88102fc16e00 ffff880f594b3ba8
    [107996.987611] Call Trace:
    [107996.987629]  [] ? bit_wait+0x50/0x50
    [107996.987636]  [] schedule+0x35/0x80
    [107996.987644]  [] schedule_timeout+0x237/0x2d0
    [107996.987651]  [] ? md_make_request+0xec/0x240
    [107996.987660]  [] ? ktime_get+0x3c/0xb0
    [107996.987665]  [] ? bit_wait+0x50/0x50
    [107996.987670]  [] io_schedule_timeout+0xa6/0x110
    [107996.987676]  [] bit_wait_io+0x1b/0x60
    [107996.987681]  [] __wait_on_bit+0x60/0x90
    [107996.987686]  [] ? bit_wait+0x50/0x50
    [107996.987692]  [] out_of_line_wait_on_bit+0x72/0x80
    [107996.987700]  [] ? autoremove_wake_function+0x40/0x40
    [107996.987709]  [] __wait_on_buffer+0x32/0x40
    [107996.987716]  [] jbd2_journal_commit_transaction+0x1702/0x1970
    [107996.987724]  [] kjournald2+0xbb/0x230
    [107996.987730]  [] ? prepare_to_wait_event+0xf0/0xf0
    [107996.987734]  [] ? commit_timeout+0x10/0x10
    [107996.987741]  [] kthread+0xc9/0xe0
    [107996.987746]  [] ? kthread_park+0x60/0x60
    [107996.987752]  [] ret_from_fork+0x3f/0x70
    [107996.987756]  [] ? kthread_park+0x60/0x60
    [121425.085756] sd 11:0:0:0: [sdd] tag#27 uas_eh_abort_handler 0 uas-tag 28 inflight: CMD OUT
    [121425.085774] sd 11:0:0:0: [sdd] tag#27 CDB: Write(16) 8a 00 00 00 00 03 41 02 9d 88 00 00 00 18 00 00
    [121425.086060] sd 11:0:0:0: [sdd] tag#20 uas_eh_abort_handler 0 uas-tag 21 inflight: CMD OUT
    [121425.086069] sd 11:0:0:0: [sdd] tag#20 CDB: Write(16) 8a 00 00 00 00 03 40 c2 9c 00 00 00 00 08 00 00
    [121425.086336] sd 11:0:0:0: [sdd] tag#19 uas_eh_abort_handler 0 uas-tag 20 inflight: CMD OUT
    [121425.086343] sd 11:0:0:0: [sdd] tag#19 CDB: Write(16) 8a 00 00 00 00 03 40 a2 9c 10 00 00 00 10 00 00
    [121436.561626] INFO: task kworker/u33:3:32394 blocked for more than 120 seconds.
    [121436.561641]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [121436.561645] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [121436.561650] kworker/u33:3   D ffff8806fbd677c8     0 32394      2 0x00000000
    [121436.561669] Workqueue: writeback wb_workfn (flush-9:99)
    [121436.561675]  ffff8806fbd677c8 ffffffff81e13500 ffff880586b62640 ffff8806fbd68000
    [121436.561681]  ffff88080820f8ec ffff880586b62640 00000000ffffffff ffff88080820f8f0
    [121436.561686]  ffff8806fbd677e0 ffffffff81804585 ffff88080820f8e8 ffff8806fbd677f0
    [121436.561692] Call Trace:
    [121436.561706]  [] schedule+0x35/0x80
    [121436.561714]  [] schedule_preempt_disabled+0xe/0x10
    [121436.561721]  [] __mutex_lock_slowpath+0x95/0x110
    [121436.561734]  [] ? __make_request+0x92b/0xcc0 [raid10]
    [121436.561740]  [] mutex_lock+0x1f/0x2f
    [121436.561747]  [] __jbd2_log_wait_for_space+0xc3/0x1e0
    [121436.561753]  [] add_transaction_credits+0x282/0x2a0
    [121436.561760]  [] ? make_request+0x7e/0x110 [raid10]
    [121436.561765]  [] start_this_handle+0x17b/0x3e0
    [121436.561772]  [] ? kmem_cache_alloc+0x1e2/0x200
    [121436.561776]  [] ? jbd2__journal_start+0x87/0x1f0
    [121436.561781]  [] jbd2__journal_start+0xe9/0x1f0
    [121436.561787]  [] ? ext4_writepages+0x41d/0xcd0
    [121436.561794]  [] __ext4_journal_start_sb+0x6d/0xf0
    [121436.561798]  [] ext4_writepages+0x41d/0xcd0
    [121436.561807]  [] do_writepages+0x1e/0x30
    [121436.561811]  [] __writeback_single_inode+0x45/0x340
    [121436.561817]  [] writeback_sb_inodes+0x26b/0x5c0
    [121436.561822]  [] __writeback_inodes_wb+0x86/0xc0
    [121436.561827]  [] wb_writeback+0x252/0x2e0
    [121436.561832]  [] wb_workfn+0x238/0x3d0
    [121436.561841]  [] process_one_work+0x150/0x3f0
    [121436.561847]  [] worker_thread+0x11a/0x470
    [121436.561853]  [] ? rescuer_thread+0x310/0x310
    [121436.561859]  [] kthread+0xc9/0xe0
    [121436.561864]  [] ? kthread_park+0x60/0x60
    [121436.561869]  [] ret_from_fork+0x3f/0x70
    [121436.561874]  [] ? kthread_park+0x60/0x60
    [121455.076853] sd 11:0:0:0: [sdd] tag#21 uas_eh_abort_handler 0 uas-tag 22 inflight: CMD OUT
    [121455.076870] sd 11:0:0:0: [sdd] tag#21 CDB: Write(16) 8a 00 00 00 00 03 41 a2 9e 50 00 00 00 08 00 00
    [121455.077158] scsi host11: uas_eh_bus_reset_handler start
    [121455.093345] sd 11:0:0:0: [sdd] tag#0 uas_zap_pending 0 uas-tag 1 inflight: CMD
    [121455.093357] sd 11:0:0:0: [sdd] tag#0 CDB: Write(16) 8a 00 00 00 00 03 44 62 9d 98 00 00 00 08 00 00
    [121455.093368] sd 11:0:0:0: [sdd] tag#1 uas_zap_pending 0 uas-tag 2 inflight: CMD
    [121455.093375] sd 11:0:0:0: [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 03 44 c2 9e 28 00 00 00 10 00 00
    [121455.093384] sd 11:0:0:0: [sdd] tag#2 uas_zap_pending 0 uas-tag 3 inflight: CMD
    [121455.093391] sd 11:0:0:0: [sdd] tag#2 CDB: Write(16) 8a 00 00 00 00 03 54 a2 98 80 00 00 00 18 00 00
    [121455.093399] sd 11:0:0:0: [sdd] tag#3 uas_zap_pending 0 uas-tag 4 inflight: CMD
    [121455.093406] sd 11:0:0:0: [sdd] tag#3 CDB: Write(16) 8a 00 00 00 00 03 54 a3 96 48 00 00 00 60 00 00
    [121455.093414] sd 11:0:0:0: [sdd] tag#4 uas_zap_pending 0 uas-tag 5 inflight: CMD
    [121455.093421] sd 11:0:0:0: [sdd] tag#4 CDB: Write(16) 8a 00 00 00 00 00 00 04 0f 58 00 00 00 48 00 00
    [121455.093430] sd 11:0:0:0: [sdd] tag#5 uas_zap_pending 0 uas-tag 6 inflight: CMD
    [121455.093436] sd 11:0:0:0: [sdd] tag#5 CDB: Write(16) 8a 00 00 00 00 01 6e 24 08 08 00 00 00 08 00 00
    [121455.093445] sd 11:0:0:0: [sdd] tag#6 uas_zap_pending 0 uas-tag 7 inflight: CMD
    [121455.093451] sd 11:0:0:0: [sdd] tag#6 CDB: Write(16) 8a 00 00 00 00 01 6e 44 08 08 00 00 00 08 00 00
    [121455.093460] sd 11:0:0:0: [sdd] tag#7 uas_zap_pending 0 uas-tag 8 inflight: CMD
    [121455.093466] sd 11:0:0:0: [sdd] tag#7 CDB: Write(16) 8a 00 00 00 00 01 6e 64 08 08 00 00 00 08 00 00
    [121455.093475] sd 11:0:0:0: [sdd] tag#8 uas_zap_pending 0 uas-tag 9 inflight: CMD
    [121455.093481] sd 11:0:0:0: [sdd] tag#8 CDB: Write(16) 8a 00 00 00 00 01 6e 84 08 10 00 00 00 08 00 00
    [121455.093490] sd 11:0:0:0: [sdd] tag#9 uas_zap_pending 0 uas-tag 10 inflight: CMD
    [121455.093497] sd 11:0:0:0: [sdd] tag#9 CDB: Write(16) 8a 00 00 00 00 01 6e a4 08 08 00 00 00 08 00 00
    [121455.093506] sd 11:0:0:0: [sdd] tag#10 uas_zap_pending 0 uas-tag 11 inflight: CMD
    [121455.093513] sd 11:0:0:0: [sdd] tag#10 CDB: Write(16) 8a 00 00 00 00 01 6e e4 08 08 00 00 00 08 00 00
    [121455.093521] sd 11:0:0:0: [sdd] tag#26 uas_zap_pending 0 uas-tag 12 inflight: CMD
    [121455.093528] sd 11:0:0:0: [sdd] tag#26 CDB: Write(16) 8a 00 00 00 00 03 44 42 a8 e8 00 00 00 18 00 00
    [121455.093537] sd 11:0:0:0: [sdd] tag#11 uas_zap_pending 0 uas-tag 13 inflight: CMD
    [121455.093544] sd 11:0:0:0: [sdd] tag#11 CDB: Write(16) 8a 00 00 00 00 01 6f 04 08 08 00 00 00 08 00 00
    [121455.093552] sd 11:0:0:0: [sdd] tag#13 uas_zap_pending 0 uas-tag 14 inflight: CMD
    [121455.093559] sd 11:0:0:0: [sdd] tag#13 CDB: Write(16) 8a 00 00 00 00 01 6f 84 08 20 00 00 00 08 00 00
    [121455.093568] sd 11:0:0:0: [sdd] tag#14 uas_zap_pending 0 uas-tag 15 inflight: CMD
    [121455.093575] sd 11:0:0:0: [sdd] tag#14 CDB: Write(16) 8a 00 00 00 00 03 43 62 a8 50 00 00 00 08 00 00
    [121455.093583] sd 11:0:0:0: [sdd] tag#15 uas_zap_pending 0 uas-tag 16 inflight: CMD
    [121455.093590] sd 11:0:0:0: [sdd] tag#15 CDB: Write(16) 8a 00 00 00 00 01 6f 84 15 68 00 00 00 18 00 00
    [121455.093598] sd 11:0:0:0: [sdd] tag#16 uas_zap_pending 0 uas-tag 17 inflight: CMD
    [121455.093605] sd 11:0:0:0: [sdd] tag#16 CDB: Write(16) 8a 00 00 00 00 01 6f c4 08 38 00 00 00 08 00 00
    [121455.093613] sd 11:0:0:0: [sdd] tag#17 uas_zap_pending 0 uas-tag 18 inflight: CMD
    [121455.093620] sd 11:0:0:0: [sdd] tag#17 CDB: Write(16) 8a 00 00 00 00 01 6f c4 08 58 00 00 00 08 00 00
    [121455.093628] sd 11:0:0:0: [sdd] tag#18 uas_zap_pending 0 uas-tag 19 inflight: CMD
    [121455.093635] sd 11:0:0:0: [sdd] tag#18 CDB: Write(16) 8a 00 00 00 00 01 6f c4 11 c0 00 00 00 10 00 00
    [121455.093643] sd 11:0:0:0: [sdd] tag#22 uas_zap_pending 0 uas-tag 23 inflight: CMD
    [121455.093650] sd 11:0:0:0: [sdd] tag#22 CDB: Write(16) 8a 00 00 00 00 03 43 82 ad b8 00 00 00 10 00 00
    [121455.093659] sd 11:0:0:0: [sdd] tag#23 uas_zap_pending 0 uas-tag 24 inflight: CMD
    [121455.093665] sd 11:0:0:0: [sdd] tag#23 CDB: Write(16) 8a 00 00 00 00 03 43 a2 a2 30 00 00 00 08 00 00
    [121455.093674] sd 11:0:0:0: [sdd] tag#24 uas_zap_pending 0 uas-tag 25 inflight: CMD
    [121455.093681] sd 11:0:0:0: [sdd] tag#24 CDB: Write(16) 8a 00 00 00 00 03 44 02 9e 68 00 00 00 08 00 00
    [121455.093689] sd 11:0:0:0: [sdd] tag#25 uas_zap_pending 0 uas-tag 26 inflight: CMD
    [121455.093696] sd 11:0:0:0: [sdd] tag#25 CDB: Write(16) 8a 00 00 00 00 03 44 22 9e c8 00 00 00 08 00 00
    [121455.093704] sd 11:0:0:0: [sdd] tag#12 uas_zap_pending 0 uas-tag 27 inflight: CMD
    [121455.093711] sd 11:0:0:0: [sdd] tag#12 CDB: Write(16) 8a 00 00 00 00 01 6f 44 08 08 00 00 00 08 00 00
    [121455.093720] sd 11:0:0:0: [sdd] tag#28 uas_zap_pending 0 uas-tag 29 inflight: CMD
    [121455.093727] sd 11:0:0:0: [sdd] tag#28 CDB: Write(16) 8a 00 00 00 00 03 43 42 9f d8 00 00 00 08 00 00
    [121455.165513] usb 4-1.1: reset SuperSpeed USB device number 3 using xhci_hcd
    [121455.183329] scsi host11: uas_eh_bus_reset_handler success
    [121486.107814] sd 11:0:0:0: [sdd] tag#28 uas_eh_abort_handler 0 uas-tag 29 inflight: CMD OUT
    [121486.107832] sd 11:0:0:0: [sdd] tag#28 CDB: Write(16) 8a 00 00 00 00 01 6f c4 11 c0 00 00 00 10 00 00
    [121486.108119] sd 11:0:0:0: [sdd] tag#27 uas_eh_abort_handler 0 uas-tag 28 inflight: CMD OUT
    [121486.108128] sd 11:0:0:0: [sdd] tag#27 CDB: Write(16) 8a 00 00 00 00 01 6f c4 08 58 00 00 00 08 00 00
    [121486.108387] sd 11:0:0:0: [sdd] tag#26 uas_eh_abort_handler 0 uas-tag 27 inflight: CMD OUT
    [121486.108395] sd 11:0:0:0: [sdd] tag#26 CDB: Write(16) 8a 00 00 00 00 01 6f c4 08 38 00 00 00 08 00 00
    [121486.108672] sd 11:0:0:0: [sdd] tag#25 uas_eh_abort_handler 0 uas-tag 26 inflight: CMD OUT
    [121486.108679] sd 11:0:0:0: [sdd] tag#25 CDB: Write(16) 8a 00 00 00 00 01 6f 84 15 68 00 00 00 18 00 00
    [121486.108949] sd 11:0:0:0: [sdd] tag#24 uas_eh_abort_handler 0 uas-tag 25 inflight: CMD OUT
    [121486.108956] sd 11:0:0:0: [sdd] tag#24 CDB: Write(16) 8a 00 00 00 00 01 6f 84 08 20 00 00 00 08 00 00
    [121486.109220] sd 11:0:0:0: [sdd] tag#23 uas_eh_abort_handler 0 uas-tag 24 inflight: CMD OUT
    [121486.109227] sd 11:0:0:0: [sdd] tag#23 CDB: Write(16) 8a 00 00 00 00 01 6f 44 08 08 00 00 00 08 00 00
    [121486.109493] sd 11:0:0:0: [sdd] tag#22 uas_eh_abort_handler 0 uas-tag 23 inflight: CMD OUT
    [121486.109500] sd 11:0:0:0: [sdd] tag#22 CDB: Write(16) 8a 00 00 00 00 01 6f 04 08 08 00 00 00 08 00 00
    [121486.109770] sd 11:0:0:0: [sdd] tag#21 uas_eh_abort_handler 0 uas-tag 22 inflight: CMD OUT
    [121486.109777] sd 11:0:0:0: [sdd] tag#21 CDB: Write(16) 8a 00 00 00 00 01 6e e4 08 08 00 00 00 08 00 00
    [121512.083064] sd 11:0:0:0: [sdd] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
    [121512.083083] sd 11:0:0:0: [sdd] tag#0 CDB: Write(16) 8a 00 00 00 00 01 6f e4 08 18 00 00 00 08 00 00
    [121512.083361] scsi host11: uas_eh_bus_reset_handler start
    [121512.096423] sd 11:0:0:0: [sdd] tag#1 uas_zap_pending 0 uas-tag 2 inflight: CMD
    [121512.096433] sd 11:0:0:0: [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 01 70 04 08 68 00 00 00 08 00 00
    [121512.096441] sd 11:0:0:0: [sdd] tag#2 uas_zap_pending 0 uas-tag 3 inflight: CMD
    [121512.096447] sd 11:0:0:0: [sdd] tag#2 CDB: Write(16) 8a 00 00 00 00 01 a3 a4 0e d8 00 00 00 08 00 00
    [121512.096454] sd 11:0:0:0: [sdd] tag#3 uas_zap_pending 0 uas-tag 4 inflight: CMD
    [121512.096460] sd 11:0:0:0: [sdd] tag#3 CDB: Write(16) 8a 00 00 00 00 01 a4 e4 0f 50 00 00 00 20 00 00
    [121512.096466] sd 11:0:0:0: [sdd] tag#4 uas_zap_pending 0 uas-tag 5 inflight: CMD
    [121512.096472] sd 11:0:0:0: [sdd] tag#4 CDB: Write(16) 8a 00 00 00 00 01 a5 a4 0f d0 00 00 00 10 00 00
    [121512.096479] sd 11:0:0:0: [sdd] tag#5 uas_zap_pending 0 uas-tag 6 inflight: CMD
    [121512.096484] sd 11:0:0:0: [sdd] tag#5 CDB: Write(16) 8a 00 00 00 00 03 44 e2 a5 68 00 00 00 10 00 00
    [121512.096491] sd 11:0:0:0: [sdd] tag#6 uas_zap_pending 0 uas-tag 7 inflight: CMD
    [121512.096496] sd 11:0:0:0: [sdd] tag#6 CDB: Write(16) 8a 00 00 00 00 03 45 02 9d e8 00 00 00 10 00 00
    [121512.096503] sd 11:0:0:0: [sdd] tag#7 uas_zap_pending 0 uas-tag 8 inflight: CMD
    [121512.096509] sd 11:0:0:0: [sdd] tag#7 CDB: Write(16) 8a 00 00 00 00 03 45 22 9f 70 00 00 00 08 00 00
    [121512.096515] sd 11:0:0:0: [sdd] tag#8 uas_zap_pending 0 uas-tag 9 inflight: CMD
    [121512.096521] sd 11:0:0:0: [sdd] tag#8 CDB: Write(16) 8a 00 00 00 00 01 70 04 14 a8 00 00 00 20 00 00
    [121512.096527] sd 11:0:0:0: [sdd] tag#9 uas_zap_pending 0 uas-tag 10 inflight: CMD
    [121512.096533] sd 11:0:0:0: [sdd] tag#9 CDB: Write(16) 8a 00 00 00 00 01 70 24 08 00 00 00 00 08 00 00
    [121512.096540] sd 11:0:0:0: [sdd] tag#10 uas_zap_pending 0 uas-tag 11 inflight: CMD
    [121512.096545] sd 11:0:0:0: [sdd] tag#10 CDB: Write(16) 8a 00 00 00 00 01 71 44 0f 08 00 00 00 08 00 00
    [121512.096552] sd 11:0:0:0: [sdd] tag#11 uas_zap_pending 0 uas-tag 12 inflight: CMD
    [121512.096558] sd 11:0:0:0: [sdd] tag#11 CDB: Write(16) 8a 00 00 00 00 01 71 64 08 00 00 00 00 08 00 00
    [121512.096565] sd 11:0:0:0: [sdd] tag#12 uas_zap_pending 0 uas-tag 13 inflight: CMD
    [121512.096570] sd 11:0:0:0: [sdd] tag#12 CDB: Write(16) 8a 00 00 00 00 01 71 64 08 48 00 00 00 08 00 00
    [121512.096577] sd 11:0:0:0: [sdd] tag#13 uas_zap_pending 0 uas-tag 14 inflight: CMD
    [121512.096582] sd 11:0:0:0: [sdd] tag#13 CDB: Write(16) 8a 00 00 00 00 01 71 64 0e e8 00 00 00 08 00 00
    [121512.096589] sd 11:0:0:0: [sdd] tag#14 uas_zap_pending 0 uas-tag 15 inflight: CMD
    [121512.096595] sd 11:0:0:0: [sdd] tag#14 CDB: Write(16) 8a 00 00 00 00 01 71 84 08 10 00 00 00 08 00 00
    [121512.096602] sd 11:0:0:0: [sdd] tag#15 uas_zap_pending 0 uas-tag 16 inflight: CMD
    [121512.096608] sd 11:0:0:0: [sdd] tag#15 CDB: Write(16) 8a 00 00 00 00 01 71 a4 08 08 00 00 00 08 00 00
    [121512.096614] sd 11:0:0:0: [sdd] tag#16 uas_zap_pending 0 uas-tag 17 inflight: CMD
    [121512.096620] sd 11:0:0:0: [sdd] tag#16 CDB: Write(16) 8a 00 00 00 00 01 71 c4 08 10 00 00 00 08 00 00
    [121512.096626] sd 11:0:0:0: [sdd] tag#17 uas_zap_pending 0 uas-tag 18 inflight: CMD
    [121512.096632] sd 11:0:0:0: [sdd] tag#17 CDB: Write(16) 8a 00 00 00 00 01 71 e4 08 08 00 00 00 08 00 00
    [121512.096638] sd 11:0:0:0: [sdd] tag#18 uas_zap_pending 0 uas-tag 19 inflight: CMD
    [121512.096644] sd 11:0:0:0: [sdd] tag#18 CDB: Write(16) 8a 00 00 00 00 01 72 24 08 08 00 00 00 08 00 00
    [121512.096650] sd 11:0:0:0: [sdd] tag#19 uas_zap_pending 0 uas-tag 20 inflight: CMD
    [121512.096656] sd 11:0:0:0: [sdd] tag#19 CDB: Write(16) 8a 00 00 00 00 01 72 24 0e b0 00 00 00 08 00 00
    [121512.096662] sd 11:0:0:0: [sdd] tag#20 uas_zap_pending 0 uas-tag 21 inflight: CMD
    [121512.096668] sd 11:0:0:0: [sdd] tag#20 CDB: Write(16) 8a 00 00 00 00 01 72 44 08 10 00 00 00 08 00 00
    [121512.167694] usb 4-1.1: reset SuperSpeed USB device number 3 using xhci_hcd
    [121512.185477] scsi host11: uas_eh_bus_reset_handler success
    [132065.991699] Chrome_ChildThr[4808]: segfault at 0 ip 00007f398c01dcb5 sp 00007f3989ff1b90 error 6 in libxul.so (deleted)[7f398b3ab000+3ee7000]
    [151980.070549] systemd-hostnamed[7174]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
     


  • Centos 7 Cudaminer Nvidia setup guide


    I am using a GTX 1060 but replace the download for the driver with the correct/current version for your particular card by visiting: http://www.nvidia.com/Download/index.aspx?lang=en-us

     

    yum install automake curl openssl-devel libcurl-devel gcc gcc-c++


    yum -y install kernel-devel-`uname -r`

    yum -y install unzip
    #the uname -r command is important it installs the kernel-devel source for your exact running kernel
    #otherwise usually you will be running an older kernel and kernel-devel alone would install a newer kernel-devel which the driver cannot use (you need matching running kernel and kernel-devel for it to work)
    wget http://us.download.nvidia.com/XFree86/Linux-x86_64/375.66/NVIDIA-Linux-x86_64-375.66.run
    bash NVIDIA-Linux-x86_64-375.66.run

     
      ERROR: Unable to find the kernel source tree for the currently running kernel.  Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, 
             be sure you have the 'kernel-source' or 'kernel-devel' RPM installed.  If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.      

                                                                                                                          OK 

    #get nvidia opencl
    #cuda tools

    #visit
    https://developer.nvidia.com/cuda-downloads

    wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run

    bash cuda_8.0.61_375.26_linux-run

    -------------------------------------------------------------
     Do you accept the previously read EULA?
    accept/decline/quit: accept

    Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 375.26?
    (y)es/(n)o/(q)uit: yes

    Do you want to install the OpenGL libraries?
    (y)es/(n)o/(q)uit [ default is yes ]: yes

    Do you want to run nvidia-xconfig?
    This will update the system X configuration file so that the NVIDIA X driver
    is used. The pre-existing X configuration file will be backed up.
    This option should not be used on systems that require a custom
    X configuration, such as systems with multiple GPU vendors.
    (y)es/(n)o/(q)uit [ default is no ]: yes

    Install the CUDA 8.0 Toolkit?
    (y)es/(n)o/(q)uit: yes

    Enter Toolkit Location
     [ default is /usr/local/cuda-8.0 ]: yes

    Toolkit location must be an absolute path.
    Enter Toolkit Location
     [ default is /usr/local/cuda-8.0 ]:

    Do you want to install a symbolic link at /usr/local/cuda?
    (y)es/(n)o/(q)uit: yes

    Install the CUDA 8.0 Samples?
    (y)es/(n)o/(q)uit: yes

    Enter CUDA Samples Location
     [ default is /root ]: /usr/local/cuda/samples

    Installing the NVIDIA display driver...

    Installing the CUDA Toolkit in /usr/local/cuda-8.0 ...
    Missing recommended library: libGLU.so
    Missing recommended library: libXi.so
    Missing recommended library: libXmu.so


    Installing the CUDA Samples in /usr/local/cuda/samples ...
    Copying samples to /usr/local/cuda/samples/NVIDIA_CUDA-8.0_Samples now...
    cp: cannot copy a directory, ‘/usr/local/cuda-8.0/bin/../samples/NVIDIA_CUDA-8.0_Samples’, into itself, ‘/usr/local/cuda/samples/NVIDIA_CUDA-8.0_Samples/NVIDIA_CUDA-8.0_Samples’
    Finished copying samples.

    ===========
    = Summary =
    ===========

    Driver:   Installed
    Toolkit:  Installed in /usr/local/cuda-8.0
    Samples:  Installed in /usr/local/cuda/samples, but missing recommended libraries

    Please make sure that
     -   PATH includes /usr/local/cuda-8.0/bin
     -   LD_LIBRARY_PATH includes /usr/local/cuda-8.0/lib64, or, add /usr/local/cuda-8.0/lib64 to /etc/ld.so.conf and run ldconfig as root

    To uninstall the CUDA Toolkit, run the uninstall script in /usr/local/cuda-8.0/bin
    To uninstall the NVIDIA Driver, run nvidia-uninstall

    Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-8.0/doc/pdf for detailed information on setting up CUDA.

    Logfile is /tmp/cuda_install_6358.log



    #get cudaminer
    #https://github.com/cbuchner1/CudaMiner/wiki/Howto-Compile-cudaminer

    wget https://github.com/cbuchner1/CudaMiner/archive/master.zip -O cudaminer.zip

    unzip cudaminer.zip

    cd CudaMiner-master

    ./autogen.sh

    configure.ac:103: error: possibly undefined macro: AC_MSG_ERROR
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
     

    ./configure: line 6211: syntax error near unexpected token `,'
    ./configure: line 6211: `LIBCURL_CHECK_CONFIG(, 7.15.2, ,'
     

    cd /usr/lib64

    ln -s libcurl.so libcurl-gnutls.so
    ln -s libcurl.so.4 libcurl-gntuls.so.4

    cd /root/CudaMiner

    ./autogen.sh

    ./configure

    make

    ons=-v -I./compat/jansson -o wrapnvml.o -c wrapnvml.cu
    /bin/sh: nvcc: command not found
    make[2]: *** [wrapnvml.o] Error 127
    make[2]: Leaving directory `/root/CudaMiner-master'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/CudaMiner-master'
    make: *** [all] Error 2
     

    export PATH=$PATH:/usr/local/cuda/bin  make  nvcc -g -O2 -Xptxas "-abi=no -v" -arch=compute_10 --maxrregcount=64 --ptxas-options=-v -I./compat/jansson -o wrapnvml.o -c wrapnvml.cu
    nvcc fatal : Value 'compute_10' is not defined for option 'gpu-architecture'
    make[2]: *** [wrapnvml.o] Error 1
    make[2]: Leaving directory `/root/CudaMiner-master'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/CudaMiner-master'
    make: *** [all] Error 2

    sed -i s/arch=compute_10/arch=sm_30/g Makefile

    make

     

    cudaminer

     

    /root/CudaMiner-master/cudaminer: error while loading shared libraries: libcudart.so.8.0: cannot open shared object file: No such file or directory
     

    ln -s /usr/local/cuda-8.0/lib64/libcudart.so.8.0 /usr/lib64/

     

    #now it works


  • USB 3.0 PCI x1 Card Review VIA VL805 on Linux Review and Experience


     

     

     

     

     

    This is a VIA made VL805 USB 3.0 Chipset with 4-ports and MOLEX powered.  First of all this unit was cheap at about only 9 USD with fast shipping.  My biggest concern was if this was a quality unit and would it really give you full USB 3.0 speeds (some people reported with similar cards that for some weird reason they were only getting 50MB/s perhaps they were not using a fast enough device).

    lspci from Linux output:

    0000:05:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)

    In my case I was using a Seagate 8TB USB 3.0 drive, the maximum speed is about 184-185 MB/s and I was able to achieve this speed over this USB 3.0 card just fine.  This is a nice upgrade considering with USB 2.0 I was only getting 39MB/s before!
     

    Performance


    sudo dd if=/dev/sdd of=/dev/null bs=1M count=5000 skip=15000
    5000+0 records in
    5000+0 records out
    5242880000 bytes (5.2 GB) copied, 27.6761 s, 189 MB/s

     

    *Update here is a test on an ADATA 256GB SSD (normally it is around 500MB/s when plugged in as SATA).

    197MB/s is fairly disappointing but I am not sure if the USB to SATA adapter enclosure is the issue or not.  However this system is running PCI 1.1 which may be part of the issue.  I believe this is a X1 card and that would limit the speed to 200MB/s I believe (which is basically the result we see).

     

    sudo dd if=/dev/sde of=/dev/null bs=1M count=5000
    5000+0 records in
    5000+0 records out
    5242880000 bytes (5.2 GB) copied, 26.6155 s, 197 MB/s

    I actually confirmed it that this X1 card is limited to 200MB/s.  The way I tested was to take both USB 3.0 drives connected to it and do a dd (we know the speed results alone are 189MB/s and 197MB/s separately).

    However when doing both drives at once they both get about 100MB/s each proving the available bandwidth is just 200MB/s total.

    5000+0 records in
    5000+0 records out
    5242880000 bytes (5.2 GB) copied, 49.4117 s, 106 MB/s
    5000+0 records in
    5000+0 records out
    5242880000 bytes (5.2 GB) copied, 51.2366 s, 102 MB/s

    [1]-  Done                    sudo dd if=/dev/sde of=/dev/null bs=1M count=5000 skip=10000
    [2]+  Done                    sudo dd if=/dev/sdd of=/dev/null bs=1M count=5000


    I haven't done anything more extensive but I am sure it is up to the full 5gbit per second spec of USB 3.0

    Value

    Excellent value for just $9 USD shipped you get an instant 4-port upgrade with USB 3.0 ports.

    I just realized this but you can pay about $13 to order a USB 3.1 (10gbit) card from China vs the $9 USD within North America option.  The USB 3.1 card from China also has SATA power and an internal USB port which is nice.

    Honestly if I could wait I would have done this but is it a big deal?  Not really because devices I have do not exceed the 5gbit bandwidth.

     

    Pros/Cons

    Others have complained about this, I was very nervous I would break the MOLEX connector off the board.  Molex connectors usually don't go in easily, I was very careful to try an hold the connector on the board in place while shoving in the molex power connector but even then I was worried I would break it off.  Some have complained of this issue.  I am not sure if the power is needed but would assume definitely for powered devices like HDDs it will help.

    I wish this were a x4 Card as this would have given 800MB/s of bandwidth instead.

    Conclusion

    This is a solid and reilable buy with a VIA chipset and a quick, cheap and easy way to get USB 3.0 ports especially if you have none or just need more!


  • rsync run as root sudo without password


    This is a common issue, what if a issue shouldn't have root but you want to use that user to make a full backup of a system?  They of course need root access.

    You can actually just give them passwordless sudo access to rsync in /etc/sudoers:

    sudo vi /etc/sudoers

    yourusername ALL = NOPASSWD: /usr/bin/rsync
     

    Here is how you would execute rsync:

    The key thing for the remote host is to use:

    --rsync-path="sudo rsync"

    This (above) executes rsync on the remote host as root.

    To run rsync locally with root privileges you also need to start it with "sudo rsync" as shown below.

    sudo rsync -e 'ssh -i /home/yourlocalusername/.ssh/id_rsa' --rsync-path="sudo rsync" -Phaz remoteuser@remotehost.com /remote/path /local/path

    It is also important to use the -e swtich as above if you are depending on a key to login (which most will be):

    'ssh -i /home/yourlocalusername/.ssh/id_rsa'

    You are basically specifying your keyfile location so that root doesn't use its own since you are likely not using root's ssh public key (and shouldn't be!)


  • Why won't my Linux Mint boot after I manually installed a new kernel?


    Why won't my Linux Mint boot after I manually installed a new kernel?
    eg.
    apt-get install linux-image-newerone

    Do this

     


    dpkg -l|grep linux-image|grep extra
    ii  linux-image-extra-3.16.0-38-generic                         3.16.0-38.52~14.04.1                                amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP

    If you get a result you need the extra kernel because during install Linux detected some drivers to make your system run were in the "extra" kernel package (I stronlgy disagree with this separation as it is easy to break your system now!).

    Here's how to fix it.
     

     

    1.) For the exact kernel version eg. 3.19.0-80.88~14.04.1 (you can remove anything after the third dot .)

     

    kernlversion=3.19.0-80
     

    2.) Set the variable like above and run the following command:

     

    sudo apt-get install linux-image-headers-$kernelversion linux-image-extra-$kernelversion
     


  • cudaminer freezes Linux Mint taints kernel


    When running cudaminer once it tries to initialize the card the entire screen freezes.  The computer itself is still running but the Xorg is done for, you cannot even switch to another console window and must reboot (even an mdm or Xorg restart does not help).

    At first cudaminer will give you these errors:

    stratrum_recv_line failed

    ...retry after 15 seconds

    GPU #0: Geforce 210 with compute capability 1.2

    GPU #0: interactive: 1, text-cache:0 single-alloc:0

    GPU #0: 32 hash / 4.0 MB per warp.

    Once GPU#0 shows up the screen freezes and you can check the kern log and see the following driver tainting issues


    Jun 15 00:23:52 localhost kernel: [47044.332646] BUG: unable to handle kernel NULL pointer dereference at 0000000000000058
    Jun 15 00:23:52 localhost kernel: [47044.332656] IP: [<ffffffffc0b21dad>] _nv001302rm+0xd/0xb0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.332878] PGD 461ad6067 PUD 7d98b4067 PMD 0
    Jun 15 00:23:52 localhost kernel: [47044.332883] Oops: 0000 [#1] SMP
    Jun 15 00:23:52 localhost kernel: [47044.332888] Modules linked in: nvidia_uvm(POE) i2c_dev forcedeth pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) bnep rfcomm bluetooth 6lowpan_iphc binfmt_misc dm_crypt snd_hda_codec_rea
    ltek snd_hda_codec_generic snd_hda_codec_hdmi hp_wmi sparse_keymap snd_hda_intel snd_hda_controller snd_hda_codec nvidia(POE) dm_multipath snd_hwdep snd_pcm scsi_dh snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_ti
    mer kvm_amd kvm parport_pc drm snd ppdev serio_raw soundcore wmi amd64_edac_mod shpchp i2c_nforce2 edac_core edac_mce_amd k10temp mac_hid lp parport raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq raid0 mul
    tipath linear dm_mirror dm_region_hash dm_log raid10 raid1 hid_generic usbhid hid uas usb_storage mptsas mpt2sas mptscsih psmouse mptbase raid_class firewire_ohci scsi_transport_sas firewire_core pata_acpi crc_itu_t sata_nv pata_amd [last
     unloaded: forcedeth]
    Jun 15 00:23:52 localhost kernel: [47044.332952] CPU: 5 PID: 24838 Comm: cudaminer Tainted: P           OE 3.16.0-38-generic #52~14.04.1-Ubuntu
    Jun 15 00:23:52 localhost kernel: [47044.332957] Hardware name: Hewlett-Packard HP xw9400 Workstation/0A1Ch, BIOS 786D6 v04.03 12/10/2009
    Jun 15 00:23:52 localhost kernel: [47044.332960] task: ffff8808001065e0 ti: ffff8806550dc000 task.ti: ffff8806550dc000
    Jun 15 00:23:52 localhost kernel: [47044.332962] RIP: 0010:[<ffffffffc0b21dad>]  [<ffffffffc0b21dad>] _nv001302rm+0xd/0xb0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333101] RSP: 0018:ffff8806550dfb30  EFLAGS: 00010286
    Jun 15 00:23:52 localhost kernel: [47044.333103] RAX: ffff881002756608 RBX: 0000000000000000 RCX: ffff8807f9854008
    Jun 15 00:23:52 localhost kernel: [47044.333105] RDX: 0000000000000000 RSI: 00000000ffff50f1 RDI: 0000000000000000
    Jun 15 00:23:52 localhost kernel: [47044.333107] RBP: ffff880801ed5bb0 R08: 0000000000000000 R09: 000000ff32340000
    Jun 15 00:23:52 localhost kernel: [47044.333109] R10: 0000000000000000 R11: ffffffffc0cd2d00 R12: 0000000000000000
    Jun 15 00:23:52 localhost kernel: [47044.333111] R13: 0000000000010000 R14: ffff8808026b0008 R15: 0000000000001274
    Jun 15 00:23:52 localhost kernel: [47044.333114] FS:  00007f1059ac2700(0000) GS:ffff88102fc80000(0000) knlGS:0000000000000000
    Jun 15 00:23:52 localhost kernel: [47044.333116] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    Jun 15 00:23:52 localhost kernel: [47044.333118] CR2: 0000000000000058 CR3: 000000045b4bf000 CR4: 00000000000007e0
    Jun 15 00:23:52 localhost kernel: [47044.333120] Stack:
    Jun 15 00:23:52 localhost kernel: [47044.333122]  00000000000007f9 00000000000007f9 ffff8807f9854090 ffffffffc0b21cb9
    Jun 15 00:23:52 localhost kernel: [47044.333126]  00000000000007f9 ffffffffc099b1f8 ffff880801ed5d48 ffff880496026408
    Jun 15 00:23:52 localhost kernel: [47044.333129]  0000000000000000 0000000000010000 ffff8808026b0008 ffffffffc0997110
    Jun 15 00:23:52 localhost kernel: [47044.333132] Call Trace:
    Jun 15 00:23:52 localhost kernel: [47044.333272]  [<ffffffffc0b21cb9>] ? _nv012259rm+0x9/0x20 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333399]  [<ffffffffc099b1f8>] ? _nv005327rm+0x4b8/0x570 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333526]  [<ffffffffc0997110>] ? _nv005146rm+0x520/0xb40 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333652]  [<ffffffffc099706c>] ? _nv005146rm+0x47c/0xb40 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333777]  [<ffffffffc0993619>] ? _nv005144rm+0xf9/0x220 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333902]  [<ffffffffc09935a2>] ? _nv005144rm+0x82/0x220 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333992]  [<ffffffffc0c9f81c>] ? _nv000889rm+0x1a1c/0x1cf0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334081]  [<ffffffffc0c9f05c>] ? _nv000889rm+0x125c/0x1cf0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334171]  [<ffffffffc0c9fc04>] ? _nv000793rm+0x114/0x1b0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334261]  [<ffffffffc0ca5c9a>] ? _nv000700rm+0xda/0xf0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334341]  [<ffffffffc0cfd5c9>] ? _nv000789rm+0x1f9/0x8b0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334419]  [<ffffffffc0d07d03>] ? rm_ioctl+0x73/0x100 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334497]  [<ffffffffc0d164ce>] ? nvidia_ioctl+0x13e/0x460 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334576]  [<ffffffffc0d225af>] ? nvidia_frontend_ioctl+0x2f/0x70 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334652]  [<ffffffffc0d2260d>] ? nvidia_frontend_unlocked_ioctl+0x1d/0x30 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334660]  [<ffffffff811e7360>] ? do_vfs_ioctl+0x2e0/0x4c0
    Jun 15 00:23:52 localhost kernel: [47044.334663]  [<ffffffff811e75c1>] ? SyS_ioctl+0x81/0xa0
    Jun 15 00:23:52 localhost kernel: [47044.334670]  [<ffffffff8176da4d>] ? system_call_fastpath+0x1a/0x1f
    Jun 15 00:23:52 localhost kernel: [47044.334672] Code: 09 d0 83 e0 01 c3 0f 1f 84 00 00 00 00 00 8b 76 24 e9 08 00 00 00 0f 1f 84 00 00 00 00 00 41 54 45 31 e4 53 48 89 fb 48 83 ec 08 <83> 7f 58 04 74 5e 81 fe f1 e3 00 00 74 48 77 36 81 fe a0 50 00
    Jun 15 00:23:52 localhost kernel: [47044.334702] RIP  [<ffffffffc0b21dad>] _nv001302rm+0xd/0xb0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334837]  RSP <ffff8806550dfb30>
    Jun 15 00:23:52 localhost kernel: [47044.334839] CR2: 0000000000000058
    Jun 15 00:23:52 localhost kernel: [47044.334843] ---[ end trace f255d62811b2b79b ]---


  • Linux Mint Intel Screen Tearing Horizontal Line Solution Fix


    sudo mkdir -p /etc/X11/xorg.conf.d/

    sudo vi /etc/X11/xorg.conf.d/20-intel.conf
     

    Type "i" and enter the following:

    Section "Device"
      Identifier      "Intel Graphics"
      Driver          "intel"
      Option          "TearFree"          "true"
    EndSection

    Be sure to use this guide with the correct quotes " (if they have a nice curve to them they are wrong and will cause your graphics/Xorg to not work).

    You don't even need to restart your whole computer but you could just hit "Control + Alt + Backspace"

    If you have an error when restarting you probably have the wrong curved quotes from somewhere else.

     

    [1010978.161] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [1010978.161] Parse error on line 1 of section InputClass in file /etc/X11/xorg.conf.d/20-intel.conf
        The Section keyword requires a quoted string to follow it.

    [1010978.161] (EE) Problem parsing the config file
    [1010978.161] (EE) Error parsing the config file
    [1010978.161] (EE)
    Fatal server error:
    [1010978.162] (EE) no screens found(EE)
    [1010978.162] (EE)

    The above is happening once again due to wrong quotes coming from some bulletin boards and Wordpress blogs.  Make sure your quotes are straight like this " and not curved.  If they are just delete manually and requote and restart.

    sudo service mdm restart


  • process_usershare_file: stat of /var/lib/samba/usershares/dump failed. Permission denied - samba error solution


    [2017/06/12 21:14:04.991169,  0] ../source3/param/loadparm.c:3259(process_usershare_file)
      process_usershare_file: stat of /var/lib/samba/usershares/dump failed. Permission denied


    Issue was the parent directory needed chmod 755


  • imagemagick pdf convert error solution - **** Warning: can't process font stream, loading font by the name. Can't find CMap Identity-UTF16-H building a CIDDecoding resource. Warning: falling back to Identity ordering **** Error reading a conte



       **** Warning: can't process font stream, loading font by the name.
    Can't find CMap Identity-UTF16-H building a CIDDecoding resource.
    Warning: falling back to Identity ordering
       **** Error reading a content stream. The page may be incomplete.
       **** File did not complete the page properly and may be damaged.

       **** This file had errors that were repaired or ignored.
       **** The file was produced by:
       **** >>>> Microsoft: Print To PDF <<<<
       **** Please notify the author of the software that produced this
       **** file that it does not conform to Adobe's published PDF
       **** specification.

    Can't find CMap Identity-UTF16-H building a CIDDecoding resource.



    Solution

    Basically the Microsoft PDF system is non-standard and ImageMagick can't support it.  The simple solution is to just open with another program and then go "File -> Print" and choose to print to a .pdf.  That .pdf can then be converted with ImageMagick to .jpg.


  • php read file into variable


    php read file into variable

    $content = file_get_contents(home.html);


    Otherwise if you want to get the source code of the PHP file, it's the same as a .txt file:


    $content = file_get_contents('/path/to/phpfile.php');

    You can also get from URLs:

    $content = file_get_contents('http://someurl.com/file.txt');


  • USB Device/MP3 Player not working properly and can't browse the device filesystem? Check the cable twice and again!


    Here is a simple MP3 player and now there's a reason to understand why the supplied cable has some kind of capacitor and is very short.  These devices can be VERY finicky and any voltage fluctuation or difference is enough to cause issues.

     

    Take for example the error messages from Linux Mint:

    [804829.895414] usb 1-1: USB disconnect, device number 11
    [806961.109030] usb 1-1: new high-speed USB device number 12 using xhci_hcd
    [806961.237468] usb 1-1: New USB device found, idVendor=0781, idProduct=74f0
    [806961.237481] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [806961.237488] usb 1-1: Product: Clip Jam
    [806961.237494] usb 1-1: Manufacturer: SanDisk
    [806961.237500] usb 1-1: SerialNumber:
    [806961.239253] usb-storage 1-1:1.0: USB Mass Storage device detected
    [806961.239844] scsi host9: usb-storage 1-1:1.0
    [806962.237543] scsi 9:0:0:0: Direct-Access     SanDisk  Clip Jam              PQ: 0 ANSI: 0 CCS
    [806962.237901] scsi 9:0:0:1: Direct-Access     SanDisk  Clip Jam              PQ: 0 ANSI: 0 CCS
    [806962.238743] sd 9:0:0:0: Attached scsi generic sg1 type 0
    [806962.239280] sd 9:0:0:1: Attached scsi generic sg2 type 0
    [806962.241345] sd 9:0:0:0: [sdb] 8179712 1024-byte logical blocks: (8.38 GB/7.80 GiB)
    [806962.241711] sd 9:0:0:0: [sdb] Write Protect is off
    [806962.241721] sd 9:0:0:0: [sdb] Mode Sense: 00 c0 00 00
    [806962.241896] sd 9:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
    [806962.245053] sd 9:0:0:1: [sdc] Attached SCSI removable disk
    [806962.248674]  sdb:
    [806962.250838] sd 9:0:0:0: [sdb] Attached SCSI removable disk
    [806962.544147] FAT-fs (sdb): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [807005.992800] usb 1-1: USB disconnect, device number 12
    [807005.996567] sd 9:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
    [807005.996575] sd 9:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 00 0b ad 38 00 00 78 00 00 00
    [807005.996578] blk_update_request: I/O error, dev sdb, sector 1530480
    [807005.997266] sd 9:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
    [807005.997274] sd 9:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 00 0b ad b0 00 00 78 00
    [807005.997277] blk_update_request: I/O error, dev sdb, sector 1530720

    What was wrong?

    It may look like a problem with your device, your OS config or even the USB port but more often than not it was the cable!  I had two three-foot Tronsmart cables, 1 of them worked fine and the other didn't with this device.  The way I found this out was by swapping the cables for fun and also by trying the device on other units.

    When a device receives power by a pluggable USB cable you should always stick to the factory cable or use one that is the same length or shorter and of very high quality (even though these thick 18AWG gauge Tronsmart cables have worked fine for other uses!)


  • Centos/Linux Bash Script Warning when exiting/logging out of bash/shell/terminal for scripts running in the background


    This is mainly the case on Centos but applies to other distros and situations.  If you are running programs in the background with the &, at least in Centos it is usually not honored and if you quit or are disconnected the backgrounded programs will be sent sighup and be shut down. 

    The simplest way around this instead of using & is to start any programs or commands with "nohup"

    Eg.

    nohup yourscript.sh


  • Wifi Antenna Extension Cable is called RP-SMA


    This sounds silly but if you don't know you don't know and the cable name is "RP-SMA" and allows you to extend your wifi antenna as long as the cable goes.


  • Nvidia Linux Mint/Ubuntu screentearing horizontal line solution


    Finally after ages I found the solution which is on many pages on the net but not obvious and should have been standard or more common info!

    Instant Solution:

    Type this into the terminal (unfortunately the driver config menu doesn't have the option as itis hidden):

    nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"

    Make permanent

     

    Click "Save to X configuration File", choose your name and you can then edit your xorg.conf file.

     

    Edit vi /etx/X11/xorg.conf

    Change the metamodes option like so:


        Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"


        Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"
     

     

     

    Sources:

    https://forums.linuxmint.com/viewtopic.php?f=56&t=174237#p906436

    https://www.reddit.com/r/linuxmint/comments/4rnwdl/screen_tearing_on_linux_mint_18/

    http://www.thelinuxrain.com/articles/got-tearing-with-proprietary-nvidia-try-this


  • Openshot 2.2 is very unstable always crashing in Linux Mint 18.1!


    Jun  1 15:45:42 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:45:42 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02949.MP4
    Jun  1 15:45:57 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:      ui_util:WARNING Icon theme media-playback-start not found. Will use backup icon.
    Jun  1 15:45:57 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     timeline:INFO Adjusting max size of preview image: PyQt5.QtCore.QRect(199, 0, 700, 394)
    Jun  1 15:46:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:46:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02947.MP4
    Jun  1 15:46:03 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:46:03 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02945.MP4
    Jun  1 15:46:15 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:46:15 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02944.MP4
    Jun  1 15:46:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO auto_save_project
    Jun  1 15:46:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO Auto save project file: /home/videoeditor/.openshot_qt/backup/backup.osp
    Jun  1 15:46:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO Saved project /home/videoeditor/.openshot_qt/backup/backup.osp
    Jun  1 15:48:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:48:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02943.MP4
    Jun  1 15:48:28 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:48:28 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02942.MP4
    Jun  1 15:48:32 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:48:32 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02941.MP4
    Jun  1 15:49:37 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:49:37 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02940.MP4
    Jun  1 15:49:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO auto_save_project
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02931.MP4
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO 2.3.3
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO 0.1.6
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO Loaded project /home/videoeditor/.openshot_qt/backup/backup.osp
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:      ui_util:WARNING Icon theme media-playback-start not found. Will use backup icon.
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update item:
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     timeline:INFO Adjusting max size of preview image: PyQt5.QtCore.QRect(57, 0, 700, 394)
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO next_tip
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO hide_tips
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO process tutorial dialogs
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO currentChanged
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO updateSelection
    Jun  1 15:49:56 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO next_tip
    Jun  1 15:49:56 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO hide_tips
    Jun  1 15:49:56 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO process tutorial dialogs
    Jun  1 15:49:58 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO minimize tutorial
    Jun  1 15:50:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO next_tip
    Jun  1 15:50:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO hide_tips
    Jun  1 15:50:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO process tutorial dialogs
    Jun  1 15:50:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:      ui_util:WARNING Icon theme media-playback-start not found. Will use backup icon.
    Jun  1 15:50:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     timeline:INFO Adjusting max size of preview image: PyQt5.QtCore.QRect(199, 0, 700, 394)
    Jun  1 15:50:08 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:      ui_util:WARNING Icon theme media-playback-start not found. Will use backup icon.
    Jun  1 15:50:08 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     timeline:INFO Adjusting max size of preview image: PyQt5.QtCore.QRect(57, 0, 700, 394)
    Jun  1 15:50:09 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO minimize tutorial
    Jun  1 15:50:09 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO minimize tutorial
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02931.MP4
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '591308176', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127938, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02931.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': '59AOWGIS67', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12117281, 'width': 1440, 'video_length': '11700', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 390.378662109375, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02940.MP4
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '56977067', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 128015, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02940.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'V2DXYCQM42', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12142964, 'width': 1440, 'video_length': '1125', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 37.525333404541016, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02941.MP4
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '44797255', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127576, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02941.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'WV8HPZ1PBI', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12136271, 'width': 1440, 'video_length': '885', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 29.525333404541016, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02942.MP4
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '111530097', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127880, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02942.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'E2UN7I8V6L', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12127203, 'width': 1440, 'video_length': '2205', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 73.55733489990234, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02943.MP4
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '636059856', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127976, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02943.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': '0K85PPMU6U', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12117748, 'width': 1440, 'video_length': '12585', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 419.90399169921875, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02944.MP4
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '148728621', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 128002, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02944.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'IY1BL5N7VI', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12128982, 'width': 1440, 'video_length': '2940', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 98.09066772460938, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02945.MP4
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '263124685', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127936, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02945.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'PH9UX5J6B6', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12120429, 'width': 1440, 'video_length': '5205', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 173.65333557128906, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02947.MP4
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '50935248', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 128055, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02947.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'JVBM7W41SK', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12151489, 'width': 1440, 'video_length': '1005', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 33.51466751098633, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02949.MP4
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '86582811', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127994, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02949.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'NX17O22YSH', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12139833, 'width': 1440, 'video_length': '1710', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 57.04533386230469, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02950.MP4
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '19158616', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127915, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02950.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'HUXWXMTL9F', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12249264, 'width': 1440, 'video_length': '375', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 12.501333236694336, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02951.MP4
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '838458848', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127965, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02951.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'OCEITZNUTP', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12117486, 'width': 1440, 'video_length': '16590', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 553.5360107421875, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02952.MP4
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '185838518', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127995, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02952.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'IFM6JXX05R', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12124268, 'width': 1440, 'video_length': '3675', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 122.60266876220703, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02953.MP4
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '576987037', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127972, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02953.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': '6355G6GXN7', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12119014, 'width': 1440, 'video_length': '11415', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 380.864013671875, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02955.MP4
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '233657236', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127931, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02955.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'T40SO3RLKV', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12125912, 'width': 1440, 'video_length': '4620', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 154.13333129882812, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02972.MP4
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '134169762', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 128003, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02972.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'JPEYVKY2GR', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12116223, 'width': 1440, 'video_length': '2655', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 88.57599639892578, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02991.MP4
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '191235053', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127965, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02991.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': '91ICF38EH3', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12129778, 'width': 1440, 'video_length': '3780', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 126.12266540527344, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x37aafa0] Skipping 0 bytes of junk at 176.
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x37aafa0] Estimating duration from bitrate, this may be inaccurate
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['clips'] values: {'alpha': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'layer': 4, 'id': 'YULMPWLLGA', 'file_id': 'PNYUJMSA23', 'anchor': 0, 'display': 0, 'channel_mapping': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'location_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'time': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'perspective_c2_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c1_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'end': 176.61387634277344, 'crop_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'crop_height': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'channel_filter': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'position': 11.04, 'crop_width': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c2_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'crop_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'reader': {'file_size': '7064731', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 24, 'num': 1}, 'audio_stream_index': 0, 'fps': {'den': 1, 'num': 24}, 'audio_bit_rate': 320000, 'acodec': 'mp3', 'path': '/home/videoeditor/Desktop/MixedJustRight/Main Music Folder/So_Bueno.mp3', 'channel_layout': 3, 'pixel_ratio': {'den': 1, 'num': 1}, 'pixel_format': -1, 'vcodec': '', 'top_field_first': True, 'video_stream_index': -1, 'type': 'FFmpegReader', 'video_bit_rate': 0, 'width': 720, 'video_length': '4238', 'display_ratio': {'den': 1, 'num': 1}, 'audio_timebase': {'den': 14112000, 'num': 1}, 'sample_rate': 44100, 'height': 480, 'channels': 2, 'duration': 176.61387634277344, 'has_audio': True, 'has_video': False}, 'effects': [], 'perspective_c3_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c3_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_x': {'Points': [{'interpola
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: tion': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'start': 0, 'has_audio': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'scale_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'shear_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'shear_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'scale': 1, 'volume': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'perspective_c1_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'gravity': 4, 'location_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'title': 'So_Bueno.mp3', 'rotation': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'duration': 176.61387634277344, 'scale_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'wave_color': {'alpha': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'red': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 0}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'blue': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'green': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 123}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}}, 'waveform': False, 'has_video': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}} add: True partial: False remove: False
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO {'alpha': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'layer': 4, 'id': 'YULMPWLLGA', 'file_id': 'PNYUJMSA23', 'anchor': 0, 'display': 0, 'channel_mapping': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'location_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'time': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'perspective_c2_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c1_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'end': 176.61387634277344, 'crop_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'crop_height': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'channel_filter': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'position': 11.04, 'crop_width': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c2_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'crop_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'reader': {'file_size': '7064731', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 24, 'num': 1}, 'audio_stream_index': 0, 'fps': {'den': 1, 'num': 24}, 'audio_bit_rate': 320000, 'acodec': 'mp3', 'path': '/home/videoeditor/Desktop/MixedJustRight/Main Music Folder/So_Bueno.mp3', 'channel_layout': 3, 'pixel_ratio': {'den': 1, 'num': 1}, 'pixel_format': -1, 'vcodec': '', 'top_field_first': True, 'video_stream_index': -1, 'type': 'FFmpegReader', 'video_bit_rate': 0, 'width': 720, 'video_length': '4238', 'display_ratio': {'den': 1, 'num': 1}, 'audio_timebase': {'den': 14112000, 'num': 1}, 'sample_rate': 44100, 'height': 480, 'channels': 2, 'duration': 176.61387634277344, 'has_audio': True, 'has_video': False}, 'effects': [], 'perspective_c3_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c3_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_x': {'Points': [{'interpolation': 2, 'co': {'X': 1,
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  'Y': -1}}]}, 'perspective_c4_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'start': 0, 'has_audio': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'scale_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'shear_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'shear_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'scale': 1, 'volume': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'perspective_c1_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'gravity': 4, 'location_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'title': 'So_Bueno.mp3', 'rotation': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'duration': 176.61387634277344, 'scale_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'wave_color': {'alpha': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'red': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 0}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'blue': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'green': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 123}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}}, 'waveform': False, 'has_video': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}}
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO main::addSelection: item_id: , item_type: effect, clear_existing: True
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO main::addSelection: item_id: YULMPWLLGA, item_type: clip, clear_existing: True
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO dragLeaveEvent - Undo drop
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO actionRemoveClip_trigger
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['clips', {'id': 'YULMPWLLGA'}] values: None add: False partial: False remove: True
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update item:
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x3828680] Skipping 0 bytes of junk at 176.
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x3828680] Estimating duration from bitrate, this may be inaccurate
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['clips'] values: {'alpha': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'layer': 2, 'id': '30QJH7GOVN', 'file_id': 'PNYUJMSA23', 'anchor': 0, 'display': 0, 'channel_mapping': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'location_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'time': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'perspective_c2_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c1_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'end': 176.61387634277344, 'crop_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'crop_height': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'channel_filter': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'position': 13.28, 'crop_width': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c2_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'crop_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'reader': {'file_size': '7064731', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 24, 'num': 1}, 'audio_stream_index': 0, 'fps': {'den': 1, 'num': 24}, 'audio_bit_rate': 320000, 'acodec': 'mp3', 'path': '/home/videoeditor/Desktop/MixedJustRight/Main Music Folder/So_Bueno.mp3', 'channel_layout': 3, 'pixel_ratio': {'den': 1, 'num': 1}, 'pixel_format': -1, 'vcodec': '', 'top_field_first': True, 'video_stream_index': -1, 'type': 'FFmpegReader', 'video_bit_rate': 0, 'width': 720, 'video_length': '4238', 'display_ratio': {'den': 1, 'num': 1}, 'audio_timebase': {'den': 14112000, 'num': 1}, 'sample_rate': 44100, 'height': 480, 'channels': 2, 'duration': 176.61387634277344, 'has_audio': True, 'has_video': False}, 'effects': [], 'perspective_c3_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c3_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_x': {'Points': [{'interpola
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: tion': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'start': 0, 'has_audio': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'scale_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'shear_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'shear_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'scale': 1, 'volume': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'perspective_c1_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'gravity': 4, 'location_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'title': 'So_Bueno.mp3', 'rotation': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'duration': 176.61387634277344, 'scale_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'wave_color': {'alpha': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'red': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 0}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'blue': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'green': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 123}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}}, 'waveform': False, 'has_video': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}} add: True partial: False remove: False
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO {'alpha': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'layer': 2, 'id': '30QJH7GOVN', 'file_id': 'PNYUJMSA23', 'anchor': 0, 'display': 0, 'channel_mapping': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'location_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'time': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'perspective_c2_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c1_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'end': 176.61387634277344, 'crop_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'crop_height': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'channel_filter': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'position': 13.28, 'crop_width': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c2_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'crop_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'reader': {'file_size': '7064731', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 24, 'num': 1}, 'audio_stream_index': 0, 'fps': {'den': 1, 'num': 24}, 'audio_bit_rate': 320000, 'acodec': 'mp3', 'path': '/home/videoeditor/Desktop/MixedJustRight/Main Music Folder/So_Bueno.mp3', 'channel_layout': 3, 'pixel_ratio': {'den': 1, 'num': 1}, 'pixel_format': -1, 'vcodec': '', 'top_field_first': True, 'video_stream_index': -1, 'type': 'FFmpegReader', 'video_bit_rate': 0, 'width': 720, 'video_length': '4238', 'display_ratio': {'den': 1, 'num': 1}, 'audio_timebase': {'den': 14112000, 'num': 1}, 'sample_rate': 44100, 'height': 480, 'channels': 2, 'duration': 176.61387634277344, 'has_audio': True, 'has_video': False}, 'effects': [], 'perspective_c3_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c3_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_x': {'Points': [{'interpolation': 2, 'co': {'X': 1,
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  'Y': -1}}]}, 'perspective_c4_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'start': 0, 'has_audio': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'scale_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'shear_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'shear_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'scale': 1, 'volume': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'perspective_c1_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'gravity': 4, 'location_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'title': 'So_Bueno.mp3', 'rotation': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'duration': 176.61387634277344, 'scale_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'wave_color': {'alpha': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'red': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 0}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'blue': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'green': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 123}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}}, 'waveform': False, 'has_video': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}}
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO main::addSelection: item_id: , item_type: effect, clear_existing: True
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO main::addSelection: item_id: 30QJH7GOVN, item_type: clip, clear_existing: True
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update item: clip
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update frame to 1
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Getting properties for frame 1: OrderedDict([('alpha', {'interpolation': 2, 'name': 'Alpha', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('anchor', {'interpolation': 2, 'name': 'Anchor', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'Canvas'}, {'value': 1, 'selected': False, 'name': 'Viewport'}]}), ('channel_filter', {'interpolation': 2, 'name': 'Channel Filter', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('channel_mapping', {'interpolation': 2, 'name': 'Channel Mapping', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('duration', {'interpolation': 2, 'name': 'Duration', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('has_audio', {'interpolation': 2, 'name': 'Enable Audio', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('has_video', {'interpolation': 2, 'name': 'Enable Video', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('end', {'interpolation': 2, 'name': 'End', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices':
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: []}), ('display', {'interpolation': 2, 'name': 'Frame Number', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'None'}, {'value': 1, 'selected': False, 'name': 'Clip'}, {'value': 2, 'selected': False, 'name': 'Timeline'}, {'value': 3, 'selected': False, 'name': 'Both'}]}), ('gravity', {'interpolation': 2, 'name': 'Gravity', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 8, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Top Left'}, {'value': 1, 'selected': False, 'name': 'Top Center'}, {'value': 2, 'selected': False, 'name': 'Top Right'}, {'value': 3, 'selected': False, 'name': 'Left'}, {'value': 4, 'selected': True, 'name': 'Center'}, {'value': 5, 'selected': False, 'name': 'Right'}, {'value': 6, 'selected': False, 'name': 'Bottom Left'}, {'value': 7, 'selected': False, 'name': 'Bottom Center'}, {'value': 8, 'selected': False, 'name': 'Bottom Right'}]}), ('id', {'interpolation': 2, 'name': 'ID', 'memo': '30QJH7GOVN', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': -1, 'max': -1, 'previous_point_x': -1, 'keyframe': False, 'type': 'string', 'choices': []}), ('location_x', {'interpolation': 2, 'name': 'Location X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('location_y', {'interpolation': 2, 'name': 'Location Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('position', {'interpolation': 2, 'name': 'Position', 'memo': '', 'value': 13.279999732971191, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': Fa
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: lse, 'type': 'float', 'choices': []}), ('rotation', {'interpolation': 2, 'name': 'Rotation', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -360, 'max': 360, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale', {'interpolation': 2, 'name': 'Scale', 'memo': '', 'value': 1, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Crop'}, {'value': 1, 'selected': True, 'name': 'Best Fit'}, {'value': 2, 'selected': False, 'name': 'Stretch'}, {'value': 3, 'selected': False, 'name': 'None'}]}), ('scale_x', {'interpolation': 2, 'name': 'Scale X', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale_y', {'interpolation': 2, 'name': 'Scale Y', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_x', {'interpolation': 2, 'name': 'Shear X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_y', {'interpolation': 2, 'name': 'Shear Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('start', {'interpolation': 2, 'name': 'Start', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('time', {'interpolation': 2, 'name': 'Time', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []})
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: , ('layer', {'interpolation': 2, 'name': 'Track', 'memo': '', 'value': 2, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 20, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': []}), ('volume', {'interpolation': 2, 'name': 'Volume', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('wave_color', {'interpolation': 0, 'red': {'interpolation': 0, 'name': 'Red', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'name': 'Wave Color', 'closest_point_x': 1, 'value': 0, 'points': 1, 'green': {'interpolation': 0, 'name': 'Green', 'memo': '', 'value': 123, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'readonly': False, 'blue': {'interpolation': 0, 'name': 'Blue', 'memo': '', 'value': 255, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'min': 0, 'keyframe': True, 'previous_point_x': 1, 'memo': '', 'type': 'color', 'max': 255, 'choices': []}), ('waveform', {'interpolation': 2, 'name': 'Waveform', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 1, 'selected': False, 'name': 'Yes'}, {'value': 0, 'selected': True, 'name': 'No'}]})])
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO Dropping item on timeline - item_id: 30QJH7GOVN, item_type: clip
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['clips', {'id': '30QJH7GOVN'}] values: {'layer': 4, 'position': 0, 'end': 176.61387634277344, 'id': '30QJH7GOVN', 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'start': 0} add: False partial: False remove: False
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO {'layer': 4, 'position': 0, 'end': 176.61387634277344, 'id': '30QJH7GOVN', 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'start': 0}
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Getting properties for frame 1: OrderedDict([('alpha', {'interpolation': 2, 'name': 'Alpha', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('anchor', {'interpolation': 2, 'name': 'Anchor', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'Canvas'}, {'value': 1, 'selected': False, 'name': 'Viewport'}]}), ('channel_filter', {'interpolation': 2, 'name': 'Channel Filter', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('channel_mapping', {'interpolation': 2, 'name': 'Channel Mapping', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('duration', {'interpolation': 2, 'name': 'Duration', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('has_audio', {'interpolation': 2, 'name': 'Enable Audio', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('has_video', {'interpolation': 2, 'name': 'Enable Video', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('end', {'interpolation': 2, 'name': 'End', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices':
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: []}), ('display', {'interpolation': 2, 'name': 'Frame Number', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'None'}, {'value': 1, 'selected': False, 'name': 'Clip'}, {'value': 2, 'selected': False, 'name': 'Timeline'}, {'value': 3, 'selected': False, 'name': 'Both'}]}), ('gravity', {'interpolation': 2, 'name': 'Gravity', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 8, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Top Left'}, {'value': 1, 'selected': False, 'name': 'Top Center'}, {'value': 2, 'selected': False, 'name': 'Top Right'}, {'value': 3, 'selected': False, 'name': 'Left'}, {'value': 4, 'selected': True, 'name': 'Center'}, {'value': 5, 'selected': False, 'name': 'Right'}, {'value': 6, 'selected': False, 'name': 'Bottom Left'}, {'value': 7, 'selected': False, 'name': 'Bottom Center'}, {'value': 8, 'selected': False, 'name': 'Bottom Right'}]}), ('id', {'interpolation': 2, 'name': 'ID', 'memo': '30QJH7GOVN', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': -1, 'max': -1, 'previous_point_x': -1, 'keyframe': False, 'type': 'string', 'choices': []}), ('location_x', {'interpolation': 2, 'name': 'Location X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('location_y', {'interpolation': 2, 'name': 'Location Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('position', {'interpolation': 2, 'name': 'Position', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'flo
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: at', 'choices': []}), ('rotation', {'interpolation': 2, 'name': 'Rotation', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -360, 'max': 360, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale', {'interpolation': 2, 'name': 'Scale', 'memo': '', 'value': 1, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Crop'}, {'value': 1, 'selected': True, 'name': 'Best Fit'}, {'value': 2, 'selected': False, 'name': 'Stretch'}, {'value': 3, 'selected': False, 'name': 'None'}]}), ('scale_x', {'interpolation': 2, 'name': 'Scale X', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale_y', {'interpolation': 2, 'name': 'Scale Y', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_x', {'interpolation': 2, 'name': 'Shear X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_y', {'interpolation': 2, 'name': 'Shear Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('start', {'interpolation': 2, 'name': 'Start', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('time', {'interpolation': 2, 'name': 'Time', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('layer', {'int
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: erpolation': 2, 'name': 'Track', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 20, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': []}), ('volume', {'interpolation': 2, 'name': 'Volume', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('wave_color', {'interpolation': 0, 'red': {'interpolation': 0, 'name': 'Red', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'name': 'Wave Color', 'closest_point_x': 1, 'value': 0, 'points': 1, 'green': {'interpolation': 0, 'name': 'Green', 'memo': '', 'value': 123, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'readonly': False, 'blue': {'interpolation': 0, 'name': 'Blue', 'memo': '', 'value': 255, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'min': 0, 'keyframe': True, 'previous_point_x': 1, 'memo': '', 'type': 'color', 'max': 255, 'choices': []}), ('waveform', {'interpolation': 2, 'name': 'Waveform', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 1, 'selected': False, 'name': 'Yes'}, {'value': 0, 'selected': True, 'name': 'No'}]})])
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update frame to 1
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Getting properties for frame 1: OrderedDict([('alpha', {'interpolation': 2, 'name': 'Alpha', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('anchor', {'interpolation': 2, 'name': 'Anchor', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'Canvas'}, {'value': 1, 'selected': False, 'name': 'Viewport'}]}), ('channel_filter', {'interpolation': 2, 'name': 'Channel Filter', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('channel_mapping', {'interpolation': 2, 'name': 'Channel Mapping', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('duration', {'interpolation': 2, 'name': 'Duration', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('has_audio', {'interpolation': 2, 'name': 'Enable Audio', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('has_video', {'interpolation': 2, 'name': 'Enable Video', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('end', {'interpolation': 2, 'name': 'End', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices':
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: []}), ('display', {'interpolation': 2, 'name': 'Frame Number', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'None'}, {'value': 1, 'selected': False, 'name': 'Clip'}, {'value': 2, 'selected': False, 'name': 'Timeline'}, {'value': 3, 'selected': False, 'name': 'Both'}]}), ('gravity', {'interpolation': 2, 'name': 'Gravity', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 8, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Top Left'}, {'value': 1, 'selected': False, 'name': 'Top Center'}, {'value': 2, 'selected': False, 'name': 'Top Right'}, {'value': 3, 'selected': False, 'name': 'Left'}, {'value': 4, 'selected': True, 'name': 'Center'}, {'value': 5, 'selected': False, 'name': 'Right'}, {'value': 6, 'selected': False, 'name': 'Bottom Left'}, {'value': 7, 'selected': False, 'name': 'Bottom Center'}, {'value': 8, 'selected': False, 'name': 'Bottom Right'}]}), ('id', {'interpolation': 2, 'name': 'ID', 'memo': '30QJH7GOVN', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': -1, 'max': -1, 'previous_point_x': -1, 'keyframe': False, 'type': 'string', 'choices': []}), ('location_x', {'interpolation': 2, 'name': 'Location X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('location_y', {'interpolation': 2, 'name': 'Location Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('position', {'interpolation': 2, 'name': 'Position', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'flo
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: at', 'choices': []}), ('rotation', {'interpolation': 2, 'name': 'Rotation', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -360, 'max': 360, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale', {'interpolation': 2, 'name': 'Scale', 'memo': '', 'value': 1, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Crop'}, {'value': 1, 'selected': True, 'name': 'Best Fit'}, {'value': 2, 'selected': False, 'name': 'Stretch'}, {'value': 3, 'selected': False, 'name': 'None'}]}), ('scale_x', {'interpolation': 2, 'name': 'Scale X', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale_y', {'interpolation': 2, 'name': 'Scale Y', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_x', {'interpolation': 2, 'name': 'Shear X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_y', {'interpolation': 2, 'name': 'Shear Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('start', {'interpolation': 2, 'name': 'Start', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('time', {'interpolation': 2, 'name': 'Time', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('layer', {'int
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: erpolation': 2, 'name': 'Track', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 20, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': []}), ('volume', {'interpolation': 2, 'name': 'Volume', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('wave_color', {'interpolation': 0, 'red': {'interpolation': 0, 'name': 'Red', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'name': 'Wave Color', 'closest_point_x': 1, 'value': 0, 'points': 1, 'green': {'interpolation': 0, 'name': 'Green', 'memo': '', 'value': 123, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'readonly': False, 'blue': {'interpolation': 0, 'name': 'Blue', 'memo': '', 'value': 255, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'min': 0, 'keyframe': True, 'previous_point_x': 1, 'memo': '', 'type': 'color', 'max': 255, 'choices': []}), ('waveform', {'interpolation': 2, 'name': 'Waveform', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 1, 'selected': False, 'name': 'Yes'}, {'value': 0, 'selected': True, 'name': 'No'}]})])
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update frame to 1
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Getting properties for frame 1: OrderedDict([('alpha', {'interpolation': 2, 'name': 'Alpha', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('anchor', {'interpolation': 2, 'name': 'Anchor', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'Canvas'}, {'value': 1, 'selected': False, 'name': 'Viewport'}]}), ('channel_filter', {'interpolation': 2, 'name': 'Channel Filter', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('channel_mapping', {'interpolation': 2, 'name': 'Channel Mapping', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('duration', {'interpolation': 2, 'name': 'Duration', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('has_audio', {'interpolation': 2, 'name': 'Enable Audio', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('has_video', {'interpolation': 2, 'name': 'Enable Video', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('end', {'interpolation': 2, 'name': 'End', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices':
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: []}), ('display', {'interpolation': 2, 'name': 'Frame Number', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'None'}, {'value': 1, 'selected': False, 'name': 'Clip'}, {'value': 2, 'selected': False, 'name': 'Timeline'}, {'value': 3, 'selected': False, 'name': 'Both'}]}), ('gravity', {'interpolation': 2, 'name': 'Gravity', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 8, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Top Left'}, {'value': 1, 'selected': False, 'name': 'Top Center'}, {'value': 2, 'selected': False, 'name': 'Top Right'}, {'value': 3, 'selected': False, 'name': 'Left'}, {'value': 4, 'selected': True, 'name': 'Center'}, {'value': 5, 'selected': False, 'name': 'Right'}, {'value': 6, 'selected': False, 'name': 'Bottom Left'}, {'value': 7, 'selected': False, 'name': 'Bottom Center'}, {'value': 8, 'selected': False, 'name': 'Bottom Right'}]}), ('id', {'interpolation': 2, 'name': 'ID', 'memo': '30QJH7GOVN', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': -1, 'max': -1, 'previous_point_x': -1, 'keyframe': False, 'type': 'string', 'choices': []}), ('location_x', {'interpolation': 2, 'name': 'Location X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('location_y', {'interpolation': 2, 'name': 'Location Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('position', {'interpolation': 2, 'name': 'Position', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'flo
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: at', 'choices': []}), ('rotation', {'interpolation': 2, 'name': 'Rotation', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -360, 'max': 360, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale', {'interpolation': 2, 'name': 'Scale', 'memo': '', 'value': 1, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Crop'}, {'value': 1, 'selected': True, 'name': 'Best Fit'}, {'value': 2, 'selected': False, 'name': 'Stretch'}, {'value': 3, 'selected': False, 'name': 'None'}]}), ('scale_x', {'interpolation': 2, 'name': 'Scale X', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale_y', {'interpolation': 2, 'name': 'Scale Y', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_x', {'interpolation': 2, 'name': 'Shear X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_y', {'interpolation': 2, 'name': 'Shear Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('start', {'interpolation': 2, 'name': 'Start', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('time', {'interpolation': 2, 'name': 'Time', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('layer', {'int
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: erpolation': 2, 'name': 'Track', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 20, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': []}), ('volume', {'interpolation': 2, 'name': 'Volume', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('wave_color', {'interpolation': 0, 'red': {'interpolation': 0, 'name': 'Red', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'name': 'Wave Color', 'closest_point_x': 1, 'value': 0, 'points': 1, 'green': {'interpolation': 0, 'name': 'Green', 'memo': '', 'value': 123, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'readonly': False, 'blue': {'interpolation': 0, 'name': 'Blue', 'memo': '', 'value': 255, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'min': 0, 'keyframe': True, 'previous_point_x': 1, 'memo': '', 'type': 'color', 'max': 255, 'choices': []}), ('waveform', {'interpolation': 2, 'name': 'Waveform', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 1, 'selected': False, 'name': 'Yes'}, {'value': 0, 'selected': True, 'name': 'No'}]})])
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x7fb418005de0] Skipping 0 bytes of junk at 176.
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x7fb418005de0] Estimating duration from bitrate, this may be inaccurate
    Jun  1 15:52:08 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO currentChanged
    Jun  1 15:52:08 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO updateSelection
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: Caught signal 11 (SIGSEGV)
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: ---- Unhandled Exception: Stack Trace ----
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 ( openshot::FFmpegReader::Close()           + 0x53c )  [0x7fb4a10f4f2c]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 ( openshot::FFmpegReader::Seek(long)        + 0x678 )  [0x7fb4a10f6698]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 ( openshot::FFmpegReader::GetFrame(long)    + 0xa6f )  [0x7fb4a10fd71f]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 ( openshot::FrameMapper::GetOrCreateFrame(long)  + 0x2ea )  [0x7fb4a111904a]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 (                                           + 0x9be26)  [0x7fb4a111be26]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libgomp.so.1 (                                           + 0xf43e)  [0x7fb49dcba43e]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /lib/x86_64-linux-gnu/libpthread.so.0 (                                           + 0x76ba)  [0x7fb4b7b8f6ba]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /lib/x86_64-linux-gnu/libc.so.6 ( clone                                     + 0x6d  )  [0x7fb4b78c582d]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: ---- End of Stack Trace ----
    Jun  1 15:55:55 videoeditor-desktop systemd[1]: Started Session 7 of user videoeditor.
    Jun  1 15:55:55 videoeditor-desktop console-kit-daemon[1735]: (process:11183): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
    Jun  1 15:55:55 videoeditor-desktop console-kit-daemon[1735]: missing action
     


  • Apache SSL very slow response with Firefox Freezes/Loads Very slow when checking self-signed SSL certificate


    I was sure this was a Centos bug with OpenSSL, Apache, MySQL or even PHP.  I tried everything but nothing helped.  One clue is that if you check the Apache logs you will see nothing in the access logs until minutes later (this means Firefox has not even passed your request to the remote Apache/htttpd server).

    When even accepting the invalid certificate message that would show up minutes later when trying to "View the Certificate" Firefox would freeze.  This bug is present in even the latest Firefox 53.

    Eventually I realized it was just with Firefox and I suspected it was related to the self-signed SSL certificate even though I've had no problems before.

    This is the key there is a weird Firefox bug where it cannot handle multiples of the exact same certificate so for example if you are generating completely standard OpenSSL certificates by hitting "Enter" all the way through this will be an issue.  There are also some embeded devices and appliances which do this.

    What is the solution:

    This is certainly a Firefox bug but it's also bad and poor practice to generate generic/default OpenSSL certificates.  The solution was to remake the self-signed SSL certificate by entering proper information.  Probably even entering a different CName or organization etc to make the cert unique would be all it would take.

    Here is a discussion on the bug in Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1056341


  • Track 01: 34 of 1726 MB written (fifo 100%) [buf 99%] 3.6x.Errno: 5 (Input/output error), write_g1 scsi sendcmd: cmd timeout after 1.897 (40) s CDB: 2A 00 00 00 44 A9 00 00 1F 00 resid: 6144 cmd finished after 1.897s timeout 40s write track da


    These errors believe it or not are simply because of not being the root user or running with sudo! However if you didn't know to try as root you'd think there was a problem with your burner or disc  Essentially it looks like without root you cannot send the required scsi commands to continue writing.  I think cdrecord should have built-in tests or safeguards to see if it has the permissions to run the required commands.

    I guess for more advanced users the idea is similar that you cannot do a dd from a device without being root usually.

    cdrecord -v linuxmint-18.1-cinnamon-64bit.iso
    wodim: No write mode specified.
    wodim: Assuming -tao mode.
    wodim: Future versions of wodim may have different drive dependent defaults.
    TOC Type: 1 = CD-ROM
    wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
    Device was not specified. Trying to find an appropriate drive...
    Looking for a DVD-R drive to store 1726.31 MiB...
    Detected DVD-R drive: /dev/sr0
    Using /dev/cdrom of unknown capabilities
    scsidev: '/dev/cdrom'
    devname: '/dev/cdrom'
    scsibus: -2 target: -2 lun: -2
    Linux sg driver version: 3.5.27
    Wodim version: 1.1.11
    Driveropts: 'burnfree'
    SCSI buffer size: 64512
    Device type    : Removable CD-ROM
    Version        : 0
    Response Format: 2
    Capabilities   :
    Vendor_info    : 'HL-DT-ST'
    Identification : 'BD-RE WP50NB40  '
    Revision       : '1.00'
    Device seems to be: Generic mmc2 DVD-R/DVD-RW.
    Current: 0x0011 (DVD-R sequential recording)
    Profile: 0x0043 (BD-RE)
    Profile: 0x0042 (BD-R random recording)
    Profile: 0x0041 (BD-R sequential recording)
    Profile: 0x0040 (BD-ROM)
    Profile: 0x002B (DVD+R/DL)
    Profile: 0x001B (DVD+R)
    Profile: 0x001A (DVD+RW)
    Profile: 0x0016 (DVD-R/DL layer jump recording)
    Profile: 0x0015 (DVD-R/DL sequential recording)
    Profile: 0x0014 (DVD-RW sequential recording)
    Profile: 0x0013 (DVD-RW restricted overwrite)
    Profile: 0x0012 (DVD-RAM)
    Profile: 0x0011 (DVD-R sequential recording) (current)
    Profile: 0x0010 (DVD-ROM)
    Profile: 0x000A (CD-RW)
    Profile: 0x0009 (CD-R)
    Profile: 0x0008 (CD-ROM)
    Profile: 0x0002 (Removable disk)
    Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
    Driver flags   : SWABAUDIO BURNFREE
    Supported modes: PACKET SAO
    Drive buf size : 2293760 = 2240 KB
    Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
    communication breaks or freezes immediately after that.
    FIFO size      : 12582912 = 12288 KB
    Track 01: data  1726 MB       
    Total size:     1982 MB (196:24.96) = 883872 sectors
    Lout start:     1982 MB (196:26/72) = 883872 sectors
    Current Secsize: 2048
    HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
    Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 1414624
    Speed set to 11080 KB/s
    Starting to write CD/DVD at speed   8.0 in real unknown mode for single session.
    Last chance to quit, starting real write in    0 seconds. Operation starts.
    Waiting for reader process to fill input buffer ... input buffer ready.
    Performing OPC...
    Starting new track at sector: 0
    Track 01:   34 of 1726 MB written (fifo 100%) [buf  99%]   3.6x.Errno: 5 (Input/output error), write_g1 scsi sendcmd: cmd timeout after 1.897 (40) s
    CDB:  2A 00 00 00 44 A9 00 00 1F 00
    resid: 6144
    cmd finished after 1.897s timeout 40s
    
    write track data: error after 35997696 bytes
    wodim: A write error occured.
    wodim: Please properly read the error message above.
    Errno: 12 (Cannot allocate memory), test unit ready scsi sendcmd: no error
    CDB:  00 00 00 00 00 00
    status: 0x0 (GOOD STATUS)
    cmd finished after 0.000s timeout 40s
    Writing  time:   54.507s
    Average write speed  28.3x.
    Min drive buffer fill was 99%
    Fixating...
    Errno: 12 (Cannot allocate memory), flush cache scsi sendcmd: no error
    CDB:  35 00 00 00 00 00 00 00 00 00
    status: 0x0 (GOOD STATUS)
    cmd finished after 0.000s timeout 120s
    Trouble flushing the cache
    wodim: Cannot fixate disk.
    Fixating time:    0.000s
    Errno: 12 (Cannot allocate memory), prevent/allow medium removal scsi sendcmd: no error
    CDB:  1E 00 00 00 00 00
    status: 0x0 (GOOD STATUS)
    cmd finished after 0.000s timeout 40s
    wodim: fifo had 758 puts and 568 gets.
    wodim: fifo was 0 times empty and 336 times full, min fill was 97%.
    
    

    Solution

    Simply run cdrecord again as root or with sudo:

    cdrecord -v linuxmint-18.1-cinnamon-64bit.iso


  • Transaction Check Error: file /usr/lib64/php/modules/fileinfo.so conflicts between attempted installs of php-pecl-fileinfo-1.0.4-2.el6.rf.x86_64 and php-common-5.3.3-49.el6.x86_64 solution


    Transaction Check Error:
      file /usr/lib64/php/modules/fileinfo.so conflicts between attempted installs of php-pecl-fileinfo-1.0.4-2.el6.rf.x86_64 and php-common-5.3.3-49.el6.x86_64

    solution you can't install php-pecl-fileinfo it seems to be incompatble with the php5.3 being installed:

    yum --exclude=php-pecl-fileinfo --skip-broken --disablerepo=epel install php-*


  • Intel NUC J3455 Linux Support Ubuntu/Linux Mint Issues


    I get the following error "Installer Crashed" on 18.1 MATE 64-bit when installing by NFS/PXE.  Yet it was able to at least detect and use my NIC (perhaps the driver was only activated because of PXE/NFS being used)?

    When using 18.1 Cinnamon on CD the NIC does not work but the installer did succeed.  However it doesn't work right, I can't login graphically and get some Cinnamon OOM error but how can this be with 8GB of RAM straight from login?


  • Linux Mint Install Netboot PXE Guide Howto


    *Update so this doesn't work it must be something to do with the path of nfs or something else but the installer fails with "Installer crashed" at the end whereas with the CD/USB it works.

    This assumes you've already installed and configured a separate PXE/DHCP server somewhere else and your /tftpboot directory is setup.

    This is for Linux Mint 18.1 but generally applies to most versions although you may have tro change things like "casper" according to the code name of the current release in the directory specifications below.

    This work occurs on the source tftp/pxe/dhcp server of course.

    Assumptions/things to change

    Check the IP 192.168.1.43 (change to your tftp/nfs server).

    Step 1 - Setup Working Paths in /tftpboot

    mkdir -p /tftpboot/images/linuxmintmount
    mkdir -p /tftpboot/images/linuxmint18

    cd /tftpboot/images/
    wget http://download-url.com/linuxmint-18.1-mate-64bit.iso

     

    Step 2 - Mount and copy appropriate files from .iso into /tftpboot


    mount -o loop -t iso9660 linuxmint-18.1-mate-64bit.iso linuxmintmount/
    cp -rp linuxmintmount/* linuxmint18

    Step 3 - Setup your boot menu

    vi /tftpboot/pxelinux.cfg/default

    default menu.c32
    prompt 0
    timeout 300
    ONTIMEOUT local

    MENU TITLE PXE Menu
    menu separator
    LABEL LinuxMint 18
    KERNEL images/linuxmint18/casper/vmlinuz
    APPEND root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.1.43:/tftpboot/images/linuxmint18 initrd=images/linuxmint18/casper/initrd.lz nosplash --

    Step 4 - Setup NFS

    yum -y install nfs-utils

    Specify the network range you want to access to the tftpboot over nfs or it will fail.

    ln -s /tfpboot /srv/

    vi /etc/exports

    /srv/tftpboot    192.168.1.0/24(rw,root_squash,sync,no_subtree_check)

    Setup your exports properly or you'll get this log error:

    uxmint18): unmatched host
    May 30 19:36:46 localhost rpc.mountd[3480]: refused mount request from 192.168.1.51 for /tftpboot/images/linuxmint18 (/tftpboot/images/linuxmint18): unmatched host

     

    Things to double check

    Make sure your firewall is off on the pxe server.


  • xdebug easiest howto get going


    Just make sure you have php-xdebug installed and edit your php.ini:

    [xdebug]
    xdebug.profiler_enable = 0
    xdebug.profiler_enable_trigger = 1

    xdebug.profiler_output_dir = "/tmp/xdebug/"
    xdebug.output_name = "cachegrind.out.%t-%s"

    Also make and set permissions on /tmp/xdebug:

    mkdir /tmp/xdebug

    chmod 777 /tmp/xdebug

    After that simply load the output files into "kcachegrind" on your Desktop.

     


  • [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) - Apache Error Solution


    Does this mean? [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)

    Basically it means you created your SSL Certificate as a CA the wrong way, usually with this command:

    openssl req -new -x509 -nodes -days 1530 -out server.crt -keyout server.key
     

    How can you fix it and do it properly?

    Step 1.) Make a new Private KeyCreate server pass key:

    openssl genrsa -des3 -passout pass:x -out server.pass.key 2048
    Create private key
    openssl rsa -passin pass:x -in server.pass.key -out server.key
    remove server.pass.key (not needed after you have your private key)
    rm server.pass.key
    
    Step 2.) Generate your CSR
    
    Use the newly created server.key (Private Key) to generate your CSR).
    
    openssl req -new -key server.key -out server.csr

    Step 3.) Create .CRT using your CSR

    openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
    
    

     


  • Windows 2012 Essentials r2 error - "system_thread_exception_not_handled (srv.sys)"


    I'm getting this error randomly but suspect it is an update or application conflict.  It also takes ages for this "collection" to happen.

     

    "system_thread_exception_not_handled (srv.sys)"


  • Coolermaster CM Storm Enable LED Backlight in Fedora/Ubuntu/Mint Linux Howto - MB24 Keyboard and MS2K Mouse


    Just type the following in the bash/terminal shell to enable the blue LED light on the Coolermaster CM Storm keyboard:

    xset led 3

    To make it automatic and permanent execute the following as root:

    echo "xset led 3" >> /etc/rc.local
     

    This is a fairly nice gaming keyboard which I bought because I type very quickly and the cheap standard keyboards simply can't keep up!

     


  • wget how to resume download!


    It's very simple you just use the "-c" switch and wget will resume the file (make sure you are in the same directory) or specify -O /path/to/partialdownload.zip

    wget -c http://someurl/file.zip


  • strange vi errors in Linux Mint/Ubuntu line 58: E488: Trailing characters: t_Sbet line 63: E171: Missing :endif


    This happens on any file an even just typing "vi" whereas it never happened before.  I suspect an update or environment variable is causing this issue

    When entering vi I get this weird stuff

    line   58:
    E488: Trailing characters: t_Sbet
    line   63:
    E171: Missing :endif

    When exiting vi I get this weird stuff

      t_Sb=^[[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m

     

    The Solution

    /etc/vim/vimrc is bad

    I added an endif and also commented out a line that caused the problem and commented the "n't wake up system" portion.

    #1) Backup

    cp /etc/vim/vimrc /etc/vim/vimrc-bad

    I am not 100% sure if this harms anything but you can always restore the old/bad file

    Find line 58 and replace everything with this:

    if &term=="xterm"
         set t_Co=8
         "set t_Sbet t_Sf
    "n't wake up system with blinking cursor:
    " http://www.linuxpowertop.org/known.php
    let &guicursor = &guicursor . ",a:blinkon0"
    endif

    After setting the above I no longer get that annoying error/text.  Clearly some update missed up vimrc


  • MySQL Add multiple IPs for remote user including root howto


    To grant the IP 192.168.2.4 to user mysqlguy

    GRANT ALL ON *.* TO 'mysqlguy'@'192.168.2.4';

    To allow any IP for mysqlguy just use the wildcard % character


    GRANT ALL ON *.* TO 'mysqlguy'@'%';

    Also note it is normal and fine to have multiple entries in the mysql table.


  • cPanel error Access denied for user 'root'@'localhost' when adding remote MySQL IP address solution


    Error while connecting to MYSQL: (XID 4ea7s9) Access denied for user 'root'@'localhost' (using password: YES) at /usr/local/cpanel/Cpanel/Mysql.pm line 181
    

    Solution

    This error occurs because the /root/.my.cnf has the wrong/outdated password for MySQL root user.  Simply edit /root/.my.cnf with the correct user. This normally happens if you update outside of cPanel.

     

     


  • Text Editors - Top Linux Ubuntu/Debian/Mint Options


    1.) gedit/pluma

    both very good the only thing I wish is that there was an autosave for unsaved documents!  The only other competitor which is similar but I prefer less is kwrite (although I think kwrite may have proper autosave)

    pluma seems to be a renamed gedit yet gedit is still installable on Linux Mint)
     

    2.) kwrite/kate

    very similar to gedit/pluma but doesn't seem as nice and smooth

     

    3.) leafpad

    very basic like Microsoft Notepad Text Editor

    4.) Scribes

    again more for coding seems heavy duty/slow to load and weird

    5.) Cream

    seems ancient and a basic code editor


  • Linux shows my drive as being dead is it really? Buffer I/O error on device sdb, logical block 0 sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00


    Normally the below would indicate a failing or failed drive.  In this case the SATA port was unplugged and sometimes the Linux kernel/motherboard even with AHCI just don't play nice and can't handle it.

    What happened is I plugged in a new drive after removing another one.  However the log shows that after the old drive was plugged in the Linux kernel kept complaining thinking the drive was there but not responding properly.  This continued even with reseating the new drive.
    So if you've removed an old drive/dead drive and the port doesn't work on the new one, don't assume your new drive is DOA.  Instead reboot or try a new SATA port to be sure.

    May 23 15:01:03 box2 kernel: __ratelimit: 1401 callbacks suppressed
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 20 00
    May 23 15:01:03 box2 kernel: __ratelimit: 1402 callbacks suppressed
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:03 box2 kernel: __ratelimit: 1471 callbacks suppressed
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 1
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 2
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 3
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 0
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 3a 38 60 28 00 00 08 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 976773160
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 122096645
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 3a 38 60 28 00 00 08 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 976773160
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 122096645
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 20 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 1
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 0
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 20 00
    May 23 15:01:07 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
    May 23 15:01:07 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 3a 38 60 28 00 00 08 00
    May 23 15:01:07 box2 kernel: end_request: I/O error, dev sdb, sector 976773160
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 3a 38 60 28 00 00 08 00
    May 23 15:01:07 box2 kernel: end_request: I/O error, dev sdb, sector 976773160
    

    As we can see the same drive comes up fine on another port.

    However the drive was working fine and kept throwing errors like above so a reboot was required. This is the first time I've seen an issue like this.  It seems like the other port's issue affected the entire bus from working with any new device.

     

     


  • use ffmpeg to watermark videos if mencoder/bmovl fail


    If you have this problem: http://realtechtalk.com/mencoder_bmovl_error_vf_bmovl_Unknown_command_Ignoring_-1860-articles

    Then ffmpeg is for you.  Go here if you are using Linux Mint and cannot find or install it to use an external PPA.

    Easy solution and how to use ffmpeg to watermark:

    ffmpeg -i  yourvideo.mp4 -i yourwatermark.jpg -filter_complex "overlay=10:10" outputfile.mp4

    Source: another great ffmpeg watermark tutorial


  • mencoder bmovl error vf_bmovl: Unknown command: ''. Ignoring.


    Based on this tutorial: http://www.linuxjournal.com/content/overlay-images-video-using-mplayer-and-mencoder

    mencoder -oac pcm -ovc raw -vf bmovl=0:0:tfifo -o $output $file


    vf_bmovl: Unknown command: ''. Ignoring.  

    If you get this error use ffmpeg instead and follow this quick/easy tutorial

    Full script as follows does not work on mencoder on Linux Mint 17:

    MEncoder 1.1-4.8 (C) 2000-2012 MPlayer Team
     

     

    #!/bin/bash
    #does work error
    #vf_bmovl: Unknown command: ''. Ignoring.

    watermark=$1
    watermark="FINAL.jpg"
    watermark_height=600
    watermark_width=500
    file=$2
    output=$file-watermark.mp4
    if [ -z "$watermark" ] || [ -z "$file" ]; then
       echo "Usage $0 watermarkfile.jpg file.mp4"
       exit 1
    fi
    #convert watermark to rgba
    convert $watermark tlogo.rgba
    #Copy logo to fifo
    rm -f tfifo
    mkfifo tfifo

    (echo "RGBA32 500 600 0 0 0 1" ; cat tlogo.rgba ) >tfifo &
    mencoder -oac pcm -ovc raw -vfm bmovl=0:0:$watermark -o $output $file


    rm -f tfifo
    rm -f tlogo.rgba

     


  • Linux Mint/Ubuntu/Debian Nvidia driver becomes slow graphics performance issue


    I've had this issue since Ubuntu 9 and now even on Linux Mint 17 no matter what latest version of the Nvidia proprietary driver that I use.  It just becomes slower and slower and only gets better after rebooting or restarting Xorg.

    Someone here has it as well

    https://askubuntu.com/questions/822449/graphics-becomes-slow-after-a-while/917886

    It's very frustrating that this issue has been recurring with all OS's, drivers and different Nvidia cards I've had with no resolution.  I am almost considering going ATI if that driver doesn't have the slowdown issue

     

     

     

     


  • Linux Mint missing ffmpeg solution to install from Ubuntu PPA


    This is very annoying that ffmpeg is missing from Linux Mint!  They have ffmpeg2theora which is a totally different codec and does not work as ffmpeg does at all (it is basically totally different).

    However on Linux Mint 17 I was able to use a Ubuntu PPA and sucessfully install ffmpeg!

    https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media

    Adding this PPA to your system

    You can update your system with unsupported packages from this untrusted PPA by adding ppa:mc3man/trusty-media to your system's Software Sources. (Read about installing)

    sudo add-apt-repository ppa:mc3man/trusty-media
    sudo apt-get update

    Solution Now Install ffmpeg!
          

    sudo apt-get install ffmpeg