Autor Tema: Como compilar las utilidades MKVTOOLNIX y MKVTOOLNIX-GUI en Mint 19.x x86_64 *v 57.0.0*  (Leído 8105 veces)

Fl0ppy

  • Administrador
  • Usuario Héroe
  • *****
  • Mensajes: 9577
NOTA: PAQUETES .DEB COMPILADOS BAJO LINUX MINT 19.3 , GLIBC 2.27, Kernel 5.4.0-70-generic #78~18.04.1-Ubuntu

Por lo visto los repositorios de este utilidad están bastante descuidados y los actualizados pues a veces funcionan y a veces no, con lo cual que mejor que compilarselo uno mismo :D

Las instrucciones están extraidas de aquí
https://mkvtoolnix.download/source.html#requirements

Pero he hecho una modificaciones porque a mi no me funcionaban muy bien

1-Instalamos estos paquetes
He añadido el "qt5-default" porque en mi sistema se volvia loco por algo del las Qt4 antiguas y no se podia compilar al GUI (que usa QT5)

Quote (selected)
sudo apt install build-essential fakeroot debhelper ruby libbz2-dev liblzo2-dev zlib1g-dev libmagic-dev libflac-dev libogg-dev libvorbis-dev libcurl4-gnutls-dev libboost-dev  libboost-filesystem-dev libboost-regex-dev  libboost-date-time-dev libboost-system-dev qt5-default qtbase5-dev qtbase5-dev-tools qtmultimedia5-dev pkg-config po4a docbook-xsl xsltproc libgtest-dev

Estos dos programas no me aparecian en los repositorios, pero bajándolos e instalándos solventan el problema
Quote (selected)
wget mkvtoolnix.download/ubuntu/pool/xenial/main/libc/libcmark-dev/libcmark-dev_0.28.3-1~bunkus01_amd64.deb
wget https://launchpad.net/ubuntu/+archive/primary/+files/nlohmann-json-dev_2.1.1-1_all.deb
sudo dpkg -i libcmark-dev_0.28.3-1_bunkus01_amd64.deb nlohmann-json-dev_2.1.1-1_all.deb

Esto ya viene en el manual pero he reemplazado el curl por wget
Quote (selected)
curl -O https://mkvtoolnix.download/sources/mkvtoolnix-57.0.0.tar.xz
tar xJf mkvtoolnix-57.0.0.tar.xz
cd mkvtoolnix-57.0.0
cp -R packaging/debian debian
dpkg-buildpackage -b -uc -us

Esperamos un rato (unos 30 minutos), si todo ha ido bien en el directorio anterior veremos los .deb

Solo necesitamos los ficheros mkvtoolnix_57.0.0-0~bunkus01_amd64.deb y mkvtoolnix-gui_57.0.0-0~bunkus01_amd64.deb

https://github.com/johna23-lab/MkvToolnix_Linux_Mint_19.3_glibc_2_27

Para instalarlos, previamente borrar las versiones antiguas si estan instaladas
Quote (selected)
sudo apt-get remove mkvtoolnix mkvtoolnix-gui

e instalamos las nuevas
Quote (selected)
sudo dpkg -i *.deb

Adjunto los .deb ya compilados
Siempre que pasa igual sucede lo mismo



Fl0ppy

  • Administrador
  • Usuario Héroe
  • *****
  • Mensajes: 9577
He compilado la nueva versión que ha salido, la 23 y de paso modificado el programa de compilación que incluye los siguientes cambios respecto al original:

-Crea el binario estático en el mkvtoolnix
-Ahora ya no crea/compila los ficheros debug -dbg-, ahorrando espacio y tiempo

Para tal hecho se tiene de descargar el fichero fix.txz adjuntado en el post principal y seguir las instrucciones de compilado del post inicial
Siempre que pasa igual sucede lo mismo



Fl0ppy

  • Administrador
  • Usuario Héroe
  • *****
  • Mensajes: 9577
Como compilar las utilidades MKVTOOLNIX y MKVTOOLNIX-GUI en Mint 19.x x86_64 *v 57.0.0*
« Respuesta #2 en: 29 de Julio de 2018, 04:47:47 pm »
Compilada la versión 25 y he añadido un mini script que incluye estas instrucciones, ya explicadas en el post principal
Actualizado post principal y adjuntos, es importante descargar y aplicar el fix (actualizado, no useis el anterior que os bajasteis), ya que en el tar.xz de las fuentes faltan los ficheros para crear los .deb, se los habrá olvidado

Código: [Seleccionar]
wget https://mkvtoolnix.download/sources/mkvtoolnix-25.0.0.tar.xz
tar xJf mkvtoolnix-25.0.0.tar.xz
cp fix.txz mkvtoolnix-25.0.0
cd mkvtoolnix-25.0.0
tar xvfa fix.txz
dpkg-buildpackage -b -rfakeroot -uc -us
Siempre que pasa igual sucede lo mismo



Fl0ppy

  • Administrador
  • Usuario Héroe
  • *****
  • Mensajes: 9577
Como compilar las utilidades MKVTOOLNIX y MKVTOOLNIX-GUI en Mint 19.x x86_64 *v 57.0.0*
« Respuesta #3 en: 27 de Agosto de 2018, 07:55:03 pm »
Creada versión actualizada a la 26, el código del automatizador solo cambia el número y en el fix se ha añadido la nueva versión del changelog, aparte de eso no he creado otros cambios

Código: [Seleccionar]
wget https://mkvtoolnix.download/sources/mkvtoolnix-26.0.0.tar.xz
tar xJf mkvtoolnix-26.0.0.tar.xz
cp fix.txz mkvtoolnix-26.0.0
cd mkvtoolnix-26.0.0
tar xvfa fix.txz
dpkg-buildpackage -b -rfakeroot -uc -us
Siempre que pasa igual sucede lo mismo



paddddd

  • Usuario Héroe
  • *****
  • Mensajes: 1775
Como compilar las utilidades MKVTOOLNIX y MKVTOOLNIX-GUI en Mint 19.x x86_64 *v 57.0.0*
« Respuesta #4 en: 09 de Septiembre de 2018, 12:21:26 pm »
Imprescindible el MKVTOOLNIX.   :ok:

Fl0ppy

  • Administrador
  • Usuario Héroe
  • *****
  • Mensajes: 9577
Como compilar las utilidades MKVTOOLNIX y MKVTOOLNIX-GUI en Mint 19.x x86_64 *v 57.0.0*
« Respuesta #5 en: 10 de Septiembre de 2018, 01:31:10 am »
Imprescindible el MKVTOOLNIX.   :ok:

Sobretodo ahora que el codec AV1 está avanzando rápidamente
Siempre que pasa igual sucede lo mismo



Fl0ppy

  • Administrador
  • Usuario Héroe
  • *****
  • Mensajes: 9577
Como compilar las utilidades MKVTOOLNIX y MKVTOOLNIX-GUI en Mint 19.x x86_64 *v 57.0.0*
« Respuesta #6 en: 30 de Septiembre de 2018, 10:24:47 am »
Compilada versión 27
Actualizado post principal y los ficheros adjuntos  :ok:
Siempre que pasa igual sucede lo mismo



Fl0ppy

  • Administrador
  • Usuario Héroe
  • *****
  • Mensajes: 9577
Como compilar las utilidades MKVTOOLNIX y MKVTOOLNIX-GUI en Mint 19.x x86_64 *v 57.0.0*
« Respuesta #7 en: 06 de Noviembre de 2018, 09:35:47 pm »
Compilada versión 28.2.0
Actualizado post principal y los ficheros adjuntos 
Siempre que pasa igual sucede lo mismo



Fl0ppy

  • Administrador
  • Usuario Héroe
  • *****
  • Mensajes: 9577
Como compilar las utilidades MKVTOOLNIX y MKVTOOLNIX-GUI en Mint 19.x x86_64 *v 57.0.0*
« Respuesta #8 en: 07 de Enero de 2019, 11:46:06 am »
Compilada versión 30.1.0
Actualizado post principal y los ficheros adjuntos
Siempre que pasa igual sucede lo mismo



Fl0ppy

  • Administrador
  • Usuario Héroe
  • *****
  • Mensajes: 9577
Como compilar las utilidades MKVTOOLNIX y MKVTOOLNIX-GUI en Mint 19.x x86_64 *v 57.0.0*
« Respuesta #9 en: 17 de Febrero de 2019, 11:08:23 am »
Compilada versión 31.0.0
Actualizado post principal y los ficheros adjuntos

CAMBIOS
Spoiler for Hiden:
# Version 31.0.0 "Dolores In A Shoestand" 2019-02-09

## New features and enhancements

* all programs: added a new option `--abort-on-warnings` that will cause the
  program to abort after it has emitted the first warning, similar to how it
  aborts after the first error. Implements #2493.
* mkvmerge, mkvextract: when closing files that were opened for writing,
  cached data will not be flushed to storage automatically anymore. This
  reverts the workaround implemented for #2469. A new option was added to both
  programs (`--flush-on-close`) that re-enables flushing for people who are
  affected by data loss such as described in #2469.

  The reason is that automatic flushing causes long delays in processing
  queues when the output by mkvmerge/mkvextract isn't the final product but
  just an intermediate result to be processed further.

  Implements #2480.
* MKVToolNix GUI: multiplexer: the dialog previewing different character sets
  for text subtitles will now keep the position of the displayed text when
  switching between character sets. Implements #2489.

## Bug fixes

* mkvmerge: AVI reader: using DV type 1 AVIs will now result in an unsupported
  file type being reported (as the underlying AVI library doesn't support
  them) instead of crashing mkvmerge. Fixes #2491.
* mkvmerge: HEVC: the height of interlaced streams will now be set correctly
  to the height of the full frame instead of the height of a single interlaced
  field. Fixes #2446.
* mkvmerge: MP4 reader: edit lists consisting solely of elements that mkvmerge
  doesn't support (such as dwells) are simply ignored. Before no data was read
  for such tracks at all. Fixes #2487.
* mkvmerge: text subtitles: entries with an explicit duration of 0ms will now
  be handled correctly: the 0ms duration will be stored in Matroska instead of
  the difference between the current and the following entry. Fixes #2490.
* MKVToolNix GUI: multiplexer, chapter editor: fixed drag & drop handling with
  Qt 5.12.0 and newer. Fixes #2472.
* MKVToolNix GUI: multiplexer: the GUI did not clean up temporary files
  created when running `mkvmerge`. Fixes #2499.

## Build system changes

* Qt 5.4.0 or newer has required (up from 5.3.0) since version 30.0.0; I just
  forgot to include this entry.
Siempre que pasa igual sucede lo mismo



Fl0ppy

  • Administrador
  • Usuario Héroe
  • *****
  • Mensajes: 9577
Como compilar las utilidades MKVTOOLNIX y MKVTOOLNIX-GUI en Mint 19.x x86_64 *v 57.0.0*
« Respuesta #10 en: 16 de Marzo de 2019, 06:38:44 pm »
Compilada versión 32.0.0
Actualizado post principal y los ficheros adjuntos

CAMBIOS
Spoiler for Hiden:
Version 32.0.0 "Astral Progressions"

New features and enhancements
mkvinfo: when sizes are output the size of the element's data portion is output in addition to the element's total size.
MKVToolNix GUI: info tool: the element's data portion is shown as an extra column.
MKVToolNix GUI: multiplexer: added column "Delay" to the track list containing the additional delay to apply during multiplexing. Implements #2506.

Bug fixes
all: fixed handling of Unicode code points > U+FFFF. Fixes #2516.
mkvmerge: Windows: mkvmerge was crashing with an exception when trying to identify certain files that can be used on Blu-rays (such as MPEG transport streams of MPLS play list files) and when the file name was given as a UNC path (e.g. \\servername\sharename\path\to\file.m2ts). The GUI emitted errors such as "the JSON output could not be parsed" in that case. Fixes #2507.

MKVToolNix GUI: the portable mode wasn't detected correctly when the current working directory the GUI was started from wasn't the directory the GUI's executable file was located it. Examples for when this is the case are Windows' "send to" or "open with" functions. Fixes #2501.
MKVToolNix GUI: multiplexer: using button to change the current destination directory to one of the recently used ones did not update the file name according to the "make file name unique" setting. Part of the fix of #2519.
MKVToolNix GUI: multiplexer: the function "set destination file name from selected file's name" will now only change the destination file's name but not its path. Part of the fix of #2519.

Build system changes
libEBML v1.3.7 and libMatroska 1.5.0 are now required as they fix their handling of Unicode code points > U+FFFF (see #2516).
Siempre que pasa igual sucede lo mismo



Fl0ppy

  • Administrador
  • Usuario Héroe
  • *****
  • Mensajes: 9577
Como compilar las utilidades MKVTOOLNIX y MKVTOOLNIX-GUI en Mint 19.x x86_64 *v 57.0.0*
« Respuesta #11 en: 14 de Abril de 2019, 07:09:49 pm »
Compilada versión 33.0.0
Actualizado post principal y los ficheros adjuntos

CAMBIOS
Spoiler for Hiden:
Version 33.0.0 "A Little Bit of Madness" 2019-04-12

Bug fixes
mkvinfo: when using the --size option, mkvinfo will now report the correctly if an element has an unknown size. Part of the fix of #2530.

MKVToolNix GUI: info tool: clusters with an unknown size will now be read and displayed correctly. Part of the fix of #2530.

MKVToolNix GUI: multiplexer: Windows: trying to open Blu-ray index or playlist files failed when the path to the files contained symbolic links (e.g. when mounting a drive in a sub-folder via Windows’ disk management utility). Fixes #2522.

MKVToolNix GUI: multiplexer: if a destination file names ends with a number in parenthesis (e.g. a year such as "(2017)"), that number will not be stripped anymore during the process of ensuring the destination file name is unique. Only those suffixes added automatically in prior attempts to make the file name unique will be removed. Fixes #2521.

MKVToolNix GUI: multiplexer: Windows: the GUI will let the user change the drive letter part of the destination file name freely again and only verify its validity right before starting to mux/adding to the job queue. Before it tried to force that into something valid, often resulting in unintentional paths (such as "C:\users\…\DC\files\…"). Fixes #2527.
Siempre que pasa igual sucede lo mismo



Fl0ppy

  • Administrador
  • Usuario Héroe
  • *****
  • Mensajes: 9577
Como compilar las utilidades MKVTOOLNIX y MKVTOOLNIX-GUI en Mint 19.x x86_64 *v 57.0.0*
« Respuesta #12 en: 27 de Abril de 2019, 02:43:52 pm »
Compilada versión 33.1.0
Actualizado post principal y los ficheros adjuntos

CAMBIOS
Spoiler for Hiden:
# Version 33.1.0 "Primrose" 2019-04-15

## Bug fixes

* MKVToolNix GUI: multiplexer: Windows: using UNC paths (e.g. `\\server\Videos`) when the option "automatically set the destination  file name" was set in the preferences, the GUI would create a destination file name with forward slashes (e.g. `//server/Videos/outputfile.mkv`), a  syntax not supported by `mkvmerge`. Fixes #2533 & #2534.

* build system: the programs were accidentally built without stack protection (`-fstack-protector-strong`) on recent versions of gcc and clang.
Siempre que pasa igual sucede lo mismo



Fl0ppy

  • Administrador
  • Usuario Héroe
  • *****
  • Mensajes: 9577
Como compilar las utilidades MKVTOOLNIX y MKVTOOLNIX-GUI en Mint 19.x x86_64 *v 57.0.0*
« Respuesta #13 en: 19 de Mayo de 2019, 04:14:17 am »
Compilada versión 34.0.0
Actualizado post principal y los ficheros adjuntos

CAMBIOS
Spoiler for Hiden:
Quote (selected)
# Version 34.0.0 "Sight and Seen" 2019-05-18

## Bug fixes

* mkvmerge: all subtitle frames are now treated as key frames in order to fixwrong data in source files. Fixes #2541.
* mkvmerge: AV1: fixed frame timestamp calculation when reading bitstreams that lack timing information from IVF files. Fixes #2553.
* mkvmerge: Matroska reader: fixed an infinite loop that could happen with large video frames and applied timestamp files due to too much data being buffered at the wrong time. Fixes #2550.
Siempre que pasa igual sucede lo mismo



Fl0ppy

  • Administrador
  • Usuario Héroe
  • *****
  • Mensajes: 9577
Como compilar las utilidades MKVTOOLNIX y MKVTOOLNIX-GUI en Mint 19.x x86_64 *v 57.0.0*
« Respuesta #14 en: 24 de Junio de 2019, 05:41:07 pm »
Compilada versión 35.0.0
Actualizado post principal y los ficheros adjuntos

CAMBIOS
Spoiler for Hiden:
Quote (selected)
# Version 35.0.0 "All The Love In The World" 2019-06-22

## New features and enhancements

* mkvmerge: JSON identification: the "codec name" track property will be
  output as `codec_name`. The JSON schema has been bumped to v12 for this
  change.
* MKVToolNix GUI: job queue: added a new type of action to execute after job
  completion: deleting source files for of multiplexer jobs. As this is a
  destructive operation, the action is disabled by default. Implements #869
  and #2570.

## Bug fixes

* mkvmerge: the "codec name" track property wasn't copied from Matroska
  files. Fixes #2566.
* MKVToolNix GUI: multiplexer: Windows: clearing the destination file name
  will reset the tab name to "\<No destination file\>" again. Fixes #2571.
* MKVToolNix GUI: multiplexer: the file types were not re-translated if the UI
  language was changed. Fixes #2572.

https://mkvtoolnix.download/doc/NEWS.md
Siempre que pasa igual sucede lo mismo