Author Topic: Subtitles filter disappeared  (Read 1695 times)

kimnaru

  • Newbie
  • *
  • Posts: 5
Subtitles filter disappeared
« on: March 17, 2019, 03:06:28 PM »
Hello everyone. I have Avidemux 2.7.2 installed on Ubuntu 18.04. Everything was working fine but suddenly subtitles filter just disappeared. I tried googling and as I understand I have to install this filter separately?... How can I fix this problem? Thanks in advance.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3400
Re: Subtitles filter disappeared
« Reply #1 on: March 17, 2019, 07:13:05 PM »
Did you compile yourself, run the appImage or a third-party build?

kimnaru

  • Newbie
  • *
  • Posts: 5
Re: Subtitles filter disappeared
« Reply #2 on: March 18, 2019, 02:05:39 AM »
No, I did nothing. It looks like the filter disappeared after Ubuntu got updated but I'm not sure actually. Anyway I didn't do anything myself.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3400
Re: Subtitles filter disappeared
« Reply #3 on: March 18, 2019, 07:42:56 PM »
There are no official Avidemux packages for Ubuntu, please explain where and in what form did you obtain the application so that it would be possible to assess the problem.

kimnaru

  • Newbie
  • *
  • Posts: 5
Re: Subtitles filter disappeared
« Reply #4 on: March 19, 2019, 03:57:09 AM »

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3400
Re: Subtitles filter disappeared
« Reply #5 on: March 19, 2019, 07:49:48 AM »
This means you use a third-party build. The subtitles filter plugin is in avidemux2.7-plugins-common package, it uses bundled libass.

In general, third-party builds are supported by the third party which provides them. If you wish, I can assist you in compiling Avidemux from source.

kimnaru

  • Newbie
  • *
  • Posts: 5
Re: Subtitles filter disappeared
« Reply #6 on: March 19, 2019, 03:19:02 PM »
Yes, please, it would be so great!

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3400
Re: Subtitles filter disappeared
« Reply #7 on: March 19, 2019, 04:35:36 PM »
Good, the first step would be to uninstall currently installed Avidemux packages:

Code: [Select]
sudo apt-get purge "avidemux*"
Then you should install git (if git is already installed, skip this step):

Code: [Select]
sudo apt-get update
sudo apt-get install git

Clone the Avidemux git repository to your home directory:

Code: [Select]
cd $HOME
git clone https://github.com/mean00/avidemux2.git

Checkout the ffmpeg4x branch, which contains the current code (the master branch is far behind at the moment):

Code: [Select]
cd avidemux2
git checkout ffmpeg4x

Install build dependencies:

Code: [Select]
bash createDebFromSourceUbuntu.bash --deps-only
Install optional additional packages so that Avidemux plugins like the subtitle filter, the libmad based audio decoder and the MP4v2 muxer use system libraries instead of bundled versions:

Code: [Select]
sudo apt-get install libass-dev liba52-0.7.4-dev libmad0-dev libmp4v2-dev
If your PC has a pretty recent NVIDIA graphics card used with the closed-source driver, you might want to enable the build of NVENC-based H.264 and HEVC encoders. You would need to clone nv-codec-headers for that:

Code: [Select]
cd $HOME
git clone https://github.com/FFmpeg/nv-codec-headers

If your NVIDIA driver version is 390 (the most recent one available for 18.04.x), checkout the sdk/8.1 branch:

Code: [Select]
cd nv-codec-headers
git checkout sdk/8.1

Build and install the headers:

Code: [Select]
make
sudo make install

Change directory back to the avidemux2 folder:

Code: [Select]
cd ~/avidemux2
Further steps depend from how would you like to install (or not install) Avidemux. If more than a single user should be able to run Avidemux, it must be installed. Otherwise, it can be run as a portable app without installation. I am going to describe the latter option first, because it suites the best for testing the latest changes in the code.

Build Avidemux from scratch:

Code: [Select]
bash bootStrap.bash --with-system-libass --with-system-liba52 --with-system-libmad --with-system-libmp4v2
If the build succeeds, copy "run_avidemux_template.sh" as "avidemux" to a folder in your $PATH, e.g. to /usr/local/bin and make it executable:

Code: [Select]
sudo cp run_avidemux_template.sh /usr/local/bin/avidemux
sudo chmod +x /usr/local/bin/avidemux

Now you should be able to run Avidemux from terminal simply by executing

Code: [Select]
avidemux
Later builds may be greatly sped up by reusing the products of the previous compilation. Add the --rebuild option to the bootStrap.bash command line for that.

If any of the above steps fails, don't proceed with the next one. Report the failure here so that the reason can be identified and the recipe updated or bugs in the convenience script fixed.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: Subtitles filter disappeared
« Reply #8 on: March 20, 2019, 10:32:24 AM »
Following above procedure should produce a working avidemux 2.7.2 with available Subtitles filter.

kimnaru

  • Newbie
  • *
  • Posts: 5
Re: Subtitles filter disappeared
« Reply #9 on: March 21, 2019, 03:24:34 AM »
Installation failed at this point :( It says: This repository is turned off as safe updating from it is impossible.



Install build dependencies:

Code: [Select]
bash createDebFromSourceUbuntu.bash --deps-only

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3400
Re: Subtitles filter disappeared
« Reply #10 on: March 21, 2019, 07:07:51 AM »
Installation failed at this point :( It says: This repository is turned off as safe updating from it is impossible.

You should have posted the terminal output of the command to know which build dependencies were already installed and to identify and remove the faulty repository and preferably all packages installed from that source. The error means simply that the package manager (apt) configuration on your system is broken and needs to be fixed anyway.

https://wiki.debian.org/SourcesList
https://help.ubuntu.com/community/Repositories/CommandLine
« Last Edit: March 21, 2019, 07:24:52 AM by eumagga0x2a »