Archives For jimingkui

Avidemux 2.6.16 Released On The Last Day 2016

Last updated: April 4, 2019

Avidemux video editor

The open-source Avidemux video editor has reached the 2.6.16 release today on the last day of 2016 with core updates, UI / x265 enhancement and some fixes.

  • Avidemux can be built with visual c++ 2015 (losing some ASM)
  • Initialize fontconfig so that subtitling works for OS X
  • Update ffmpeg to 3.0.5
  • Improved build scripts (euma)
  • x265: Enforce complicancy with most devices
  • vaapi : Add resizer
  • Redone UI, revamped contrast filter
  • Dont use too much CPU on playback when there is no audio track
  • Reenabled nvenc + Fixed keyframe detection
  • Fixed a crash when encoding starts very slowly (x265)
  • Allow use of system libass, liba52,libmad (euma)

How to Install Avidemux 2.6.16 in Ubuntu:

Avidemux now has Appimage available for download in its official webpage.

For traditional Ubuntu packages, it refers to the GetDeb repository (no ready at the moment, check the link), and you can follow the steps below to add the repo and install Avidemux 2.6 (qt):

1. Open terminal (Ctrl+Alt+T) and run the command to add the repository for Ubuntu 16.04:

sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu xenial-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'

For Ubuntu 16.10 and derivatives, replace xenial in code with yakkety.

2. Install the key so to trust the packages from that repository:

wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

3. Finally update system package index and install Avidemux video editor:

sudo apt update && sudo apt install avidemux2.6-qt

Uninstall:

To remove Avidemux, use the command below in a terminal window:

sudo apt remove avidemux2.6-qt && sudo apt autoremove

And the GetDeb repository can be removed via Software & Updates utility (Other Software tab).

For those sticking to the latest Kid3 audio tag editor, here’s how to install / upgrade it (version 3.4.4 so far) via PPA in Ubuntu 16.04, Ubuntu 16.10, Ubuntu 14.04, Ubuntu 12.04, and Linux Mint 17 / 18.

Kid3 is an open-source cross-platform audio tag editor for many audio file formats. It supports DSF, MP3, Ogg, FLAC, MPC, MPEG-4 (mp4/m4a/m4b), AAC, Opus, SPX, TrueAudio, APE, WavPack, WMA, WAV, AIFF, tracker modules.

The latest version so far is Kid3 3.4.4 that brings new features include a portable mode storing the configuration file in the application folder, copying of images to the clipboard and an MPRIS D-Bus interface for the audio player on Linux. Also it fixes the import of durations when importing from file or clipboard, and building with Chromaprint 1.4.

How to Install / Upgrade Kid3 in Ubuntu / Linux Mint:

The editor has an official PPA repository that so far offers the latest packages for Ubuntu 12.04, Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, and their derivatives.

1. Open terminal (Ctrl+Alt+T) and run command to add the PPA:

sudo add-apt-repository ppa:ufleisch/kid3

Type in your password (no visual feedback) when it asks and hit Enter to continue.

2. After that, search for and install kid3 via your package manager, or run the commands below in terminal to install it for the first time:

sudo apt update 

sudo apt install kid3

For Qt version (without KDE libraries), use sudo apt install kid3-qt instead. There’s also command line version kid3-cli available.

For those who have a previous release installed, launch Software Updater (or Update Manager) to upgrade Kid3 after checking for updates:

How to Uninstall:

To uninstall Kid3 audio tagger, either use your package manager or run the command below in terminal:

sudo apt remove kid3 kid3-qt kid3-cli && sudo apt autoremove

The PPA repository can be removed by going to System Settings -> Software & Updates -> Other Software tab.

 

Don’t have a built-in webcam in your Ubuntu PC? You can use your Android or iPhone as wireless or USB webcam.

By installing a free open-source ‘DroidCam‘ app in both your phone and Linux Desktop, then you can use the Android/iOS phone just like built-in webcam, through either wireless network or USB cable.

It also works with OBS/XSplit/etc for streaming to Twitch or YouTube. You can also use DroidCam as an IP webcam (or Surveillance Camera) via a Internet browser virtually on all networks. Use it as a simple pet cam, spy cam, or a security camera.

Features:

  • Chat using “DroidCam Webcam” on your computer, including Sound and Picture.
  • Connect over WiFi or USB cable.
  • Use other apps with DroidCam in background (Android).
  • Surveillance/IP webcam MJPEG access

my iPhone camera screen in OBS Studio

Step 1: Install DroidCam in Ubuntu:

To install the app in Ubuntu & other Linux, first go to the Github release page to download the latest package:

Then, in user Downloads folder extract the package. Right-click on new generated folder, and select “Open in Terminal” (or Open Terminal Here).

In the pop-up terminal, finally run command to install Droidcam:

  • First, run command to install the client:
    sudo ./install-client
  • Then, install the DKMS kernel model:
    sudo ./install-dkms

    It defaults to 640×480 resolution. To change it, use sudo ./install-dkms 1920 1080 for example to set 1920×1080.

Once installed, you can start “DroidCam” from start menu or ‘Activities’ overview depends on your desktop environment.

Step 2: (optional) Install usbmuxd

If you would like to connect through USB cable, then you have to install and enable usbmuxd service in Ubuntu Linux.

First, press Ctrl+Alt+T on keyboard to open terminal. When terminal opens, run command to install usbmuxd:

sudo apt install usbmuxd

Then, start the service by running command:

systemctl start usbmuxd

And verify by running systemctl status usbmuxd.service

Step 3: Install DroidCam in your Phone

The app is available for Android and iPhone either from Google Play or App Store:

Step 4: Start connecting

Finally, either connect both phone and Ubuntu PC into same local network, or connect through USB.

Open the app in both devices, and select either WiFi or USB in Ubuntu client app, try phone IP address if required and click “Connect”.

Once successfully connected, open up a V4L2 compatible program (e.g., VLC player, Skype, OBS Studio) and you should see DroidCam listed as a video device.

In addition, as you see in last screen, the app has a few buttons to configure white-balance, exposure-locked, zoom in/out, flip/mirror, and toggle LED flash, etc.

As well as screen resolution, user can edit the .config/droidcam (press Ctrl+H to view in Files) file for the configurations.

Uninstall:

To remove DroidCam client in Ubuntu, simply open terminal (Ctrl+Alt+T) and run command to run uninstall script:

sudo /opt/droidcam-uninstall

Merry Christmas to all my dear readers!

OpenShot 2.2 Released, Install it in Ubuntu via PPA

Last updated: December 22, 2016

Then OpenShot video editor has reached the 2.2 release with optimized editing of HD videos. Qt version has been made into the official Ubuntu PPA.

New features in OpenShot 2.2:

  • Editing HD videos (5K, 4K, 2.5K, and 1080p) is vastly improved.
  • A new caching engine supports both memory and disk back-ends.
  • opening huge projects up to 10x faster.
  • Many critical bug-fixes.
  • Keyframe Enhancements.
  • Improved error handling and real-time error reporting.
  • New title templates.
  • New 2.5k and 4k profiles added
  • And see here for more details.

How to install OpenShot 2.2 in Ubuntu:

For Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, and their derivatives, e.g, Linux Mint 17, 18, follow the steps below to add OpenShot Stable PPA and install / upgrade the latest release:

1. Open terminal (Ctrl+Alt+T) and run command to add the PPA:

sudo add-apt-repository ppa:openshot.developers/ppa

Type in your password when it asks and hit Enter.

2. For those who have a previous Qt version installed, launch Software Updater and upgrade OpenShot after checking for updates.

or just run the commands below in terminal to check for updates and install OpenShot 2.2:

sudo apt update

sudo apt install openshot-qt

A new maintenance release for Oracle Virtualbox 5.1 has been released one day ago with Linux hosts and guests fixes and kernel 4.9, 4.10, 2.2.68 compile fixes.

Changes in Virtualbox 5.1.12:

  • VMM: fixed VERR_IEM_ASPECT_NOT_IMPLEMENTED Guru Meditations with certain Linux guests if KVM paravirtualization is enabled
  • VMM: fixed VERR_VMX_UNABLE_TO_START_VM Guru Meditations under rare conditions
  • GUI: prevent a crash under certain conditions if the VM is terminated very early
  • GUI: fixed certain keyboard capture issues for OS X hosts.
  • GUI: fixed dragging guest windows in seamless mode with the keyboard captured (X11 hosts only)
  • GUI: fixed a problem where the new version detected dialog was covered by the appliance import dialog (Mac OS X hosts only
  • Storage: fixed NVMe reset processing when doing rmmod nvme; modprobe nvme in a Linux guest
  • Storage: fixed creating a snapshot when the VM is running and an NVMe controller is present
  • Storage: fixed a problem with the LsiLogic SCSI controller where requests could be lost with SMP guests
  • E1000: fixed “cable disconnected” issue for Mac OS X guests
  • E1000: fixed “TX unit hang” issue for Linux guests only
  • Parallel ports: fixed port enumeration on Windows host
  • API: don’t crash when sanitizing certain VM names
  • Linux hosts: automatically disable asynchronous I/O on Linux 2.6.18 kernels
  • Linux hosts / guests: Linux 2.6.28 compile fix
  • Linux hosts: compile Linux 4.9 compile fix
  • Linux Additions: warn the user about a known bug with older Linux guests (e.g. Debian 7) requiring manual work to get 3D working
  • Linux Additions: fix the graphics driver build with Linux 4.10 and later
  • Windows Additions: fixed a crash in the WDDM driver under certain conditions

Download / Install Virtualbox 5.1.12 in Ubuntu:

The official Linux binary packages are available for download at the link below:

Grab the package (i386 for 32-bit, or amd64 for 64-bit) for you system and click install via Ubuntu Software.

For those who have a previous VBox 5.1 release installed, launch Software Updater to upgrade the software if you have Virtualbox Linux repository added in your system:

To manually add Virtualbox Linux repository:

1. Open terminal (Ctrl+Alt+T) and run command:

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list'

Replace xenial in the code with yakkety (for 16.10), or trusty for 14.04 and Linux Mint 17.x.

2. Then setup the keyring:

wget -q -O - http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc | sudo apt-key add -

wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

Vimix – A Flat Material Design Theme for GTK3

Last updated: December 19, 2016

Vimix is a flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell which supports GTK 3 and GTK 2 based desktop environments like Gnome, Unity, Budgie, Pantheon, XFCE, Mate, etc.

This theme is based on Flat-Plat gtk theme of nana-4. The theme offers:

  • dark theme, dark doder, dark ruby.
  • light theme, light doder, light ruby.

Following pictures are Vimix theme with Numix icons in Unity Desktop (with plank):

Vimix Light with Numix icons (Unity with Plank)

Vimix Dark with Numix icons in Unity

Install Vimix GTK Theme in Ubuntu 16.10:

The theme project page offers .deb and .rpm packages for Gtk 3.20 and Gtk 3.22. So you need at least Ubuntu 16.10.

For other Gtk3.22 or other packages, go to github.com.

After installed the .deb packages via Ubuntu Software or dpkg command, launch Unity Tweak Tool, Gnome Tweak Tool, or other configuration tool and apply new GTK themes and enjoy!

PyCharm has reached the 2016.3.1 release. For those sticking to the latest community version, here’s how to install it in Ubuntu 16.04, Ubuntu 16.10 via the GetDeb repository.

PyCharm 2016.3.1 release highlights:

  • Add option to disable the automatic activation of the project’s virtualenv in terminal.
  • Terminal path can be configured globally
  • The terminal on macOS will source your .bash_profile upon activation
  • Django: Warnings for non-existing config files, closing tags, code intentions
  • IPython and Jupyter Notebook fixes
  • Docker: Entrypoints in docker-compose configurations, environment variables on mac, working directory issues
  • Python Console: Execute code in console (Shift+Alt+E) indentation fixed, tab completion
  • And various other bug-fixes.

How to Install PyCharm 2016.3.1 in Ubuntu:

Mystic-Mirage has stopped maintaining PPA repository for PyCharm, you can now install only the community version from the GetDeb repository for Ubuntu 16.04, Ubuntu 16.10 and their derivatives.

1. Open terminal (Ctrl+Alt+T) and run command to add the repository:

sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu yakkety-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'

Then setup the keyring to trust the updates from that repository:

wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

2. Then update package index and install the IDE:

sudo apt update

sudo apt install pycharm

Uninstall PyCharm:

To uninstall the software, simply run apt command with remove flag:

sudo apt remove pycharm && sudo apt autoremove

The GetDeb repository can be removed by going to Software & Updates -> Other Software tab.

The Vivaldi web browser has reached the 1.6 release today, features ability to display notifications in tabs, rename tab stacks, and tab selection by domain.

Vivaldi 1.6 brings tab notifications features, which displays overlay icons on both pinned and regular tabs that notify you of new emails or messages coming through social media websites.

After enabling “Allow Tab Stack Renaming” in settings, Vivaldi 1.6 also allows you to rename tab stack by right clicking on a tab and choose “Rename Tab Stack” option.

Another feature: Tab selection by domain. You can select multiple tabs at once by simply holding Ctrl (or ⌘ on macOS) and double-clicking on one of the tabs. All open tabs from the same domain will now be selected.

Download Vivaldi browser:

Download the .deb package from the link below, then click install it via Ubuntu Software:

Opera 42 Released with Built-in Currency Converter

Last updated: December 13, 2016

Opera 42, a new stable release of this Chromium based web browser, was released today. The new release features built-in currency converter and improved newsreader.

Opera 42 Features:

  • Built-in currency converter. Simply select the price you want to convert on the page and Opera will automatically show it in your local currency.
  • Even smarter and faster startup
  • Easier way to discover feeds. Opera’s personal newsreader offers a newspaper icon on address bar. (Disabled by default)

Download & Install Opera 42:

For those who have a previous release installed and added the Opera for Linux repository, just launch Software Updater to upgrade the browser:

Or you can download the .deb package and click to install via Ubuntu Software from the link below:

Download Opera for Linux

Linux Kernel 4.9 was finally released last night as ‘the biggest release’ said in the announcement. Linus Torvalds wrote on lkml.org:

So Linux 4.9 is out, and the merge window for 4.10 is thus open.

With the extra week for 4.9, the timing for the merge window is obviously a bit awkward, and it technically closes in two weeks on Christmas Day. But that is a pure technicality, because I will certainly stop pulling on the 23rd at the latest, and if I get roped into xmas food prep, even that date might be questionable.

I could extend the merge window rather than cut it short, but I’m not going to. I suspect we all want a nice calm winter break, so if your stuff isn’t ready to be merged early, the solution is to just not merge it yet at all, and wait for 4.11. Just so you all know (I already bcc’d the main merge window suspects in a separate mailing last week, I’m just repeating myself here to avoid anybody being confused about timing).

Anyway, back to 4.9 itself.

I’m pretty sure this is the biggest release we’ve ever had, at least in number of commits. If you look at the number of lines changed, we’ve had bigger releases in the past, but they have tended to be due to specific issues (v4.2 got a lot of lines from the AMD GPU register definition files, for example, and we’ve had big re-organizations that caused a lot of lines in the past: v3.2 was big due to staging, v3.7
had the automated uapi header file disintegration, etc). In contrast, 4.9 is just big.

Admittedly a chunk of that is the new greybus staging support, but that really isn’t the bulk of it – it’s just another small detail in the overall “yes, v4.9 is big” picture.

Other than just the size, 4.9 looks fairly normal. A bit over two thirds drivers (staging, GPU and networking are the bulk of it, but it’s all over), with the rest looking fairly normal too: arch updates, documentation, generic networking, filesystems..

The shortlog (16k+ commits, with another 1100 merge commits to round things out) is obviously much too big to put here, and wouldn’t be legible anyway. So as is my wont, I’m appending just the log of my merges.

New Features in Linux Kernel 4.9:

  • Virtual Display Support and improved GPU reset for AMDGPU.
  • Various fixes and improvements to Intel DRM.
  • Memory protection keys (MPK) support.
  • Support for vmapped kernel stacks.
  • 29 more ARM machines support, including Raspberry Pi Zero, LG Nexus 5, etc.
  • Various file-system improvements and more.

How to Install Linux Kernel 4.9:

The Ubuntu kernel team has build the new kernel release, and the binaries are available for download at the link below:

Depends on your OS type, grab and install the packages below one by one:

  • linux-headers-4.9.0-xxxxxx_all.deb
  • linux-headers-4.9.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  • linux-image-4.9.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

To get the Kernel 4.9 from the command console, run the commands below one by one:

For 64-bit OS:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900_4.9.0-040900.201612111631_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-image-4.9.0-040900-generic_4.9.0-040900.201612111631_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900_4.9.0-040900.201612111631_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-headers-4.9.0-040900-generic_4.9.0-040900.201612111631_i386.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9/linux-image-4.9.0-040900-generic_4.9.0-040900.201612111631_i386.deb

sudo dpkg -i *.deb

After installed these .debs, restart and enjoy!

Uninstall Linux Kernel 4.9:

Start/restart your machine and select boot with the previous kernel in Grub2 -> Advanced menu. Then use Ubuntu Tweak, or other system tool to remove the Kernel 4.9, or you may see this post that teach you how to remove old kernels.