What is the situation with FFmpeg in Aramo?
- Inicie sesión ou rexístrese para enviar comentarios
OS: Trisquel GNU/Linux Aramo (11.0) mini (LXDE) edition
I downloaded the ISO, extracted its content, and booted the system with GRUB2 in live mode.
Downloaded yt-dlp, then a YouTube video with it, but yt-dlp could not merge the video and audio files since could not find FFmpeg. It turned out that FFmpeg is not installed:
$ ffmpeg -version
Could not find command-not-found database. Run 'sudo apt update' to populate it.
ffmpeg: command not found
I know that mpv uses FFmpeg.
$ mpv --version
mpv 0.34.1 Copyright © 2000-2021 mpv/MPlayer/mplayer2 projects
built on UNKNOWN
FFmpeg library versions:
libavutil 56.70.100
libavcodec 58.134.100
libavformat 58.76.100
libswscale 5.9.100
libavfilter 7.110.100
libswresample 3.9.100
FFmpeg version: 4.4.2-0ubuntu0.22.04.1
A little contradiction: ffmpeg command not found but mpv reports its version.
I searched the net and found that maybe Ubuntu uses avconv as ffmpeg.
$ avconv
Could not find command-not-found database. Run 'sudo apt update' to populate it.
avconv: command not found
Searched also Trisquel forum and there are a lot of topics containing "ffmpeg". Unfortunately no one helps for this situation.
Video editing app for future Trisquel releases
https://trisquel.info/en/forum/video-editing-app-future-trisquel-releases
10/06/2023 JC8
"It exist and it's included already on the default install, it's called ffmpeg, it can edit and reencode all sorts of media, video, audio and picture."
Now I am using a default live system and FFmpeg is not installed ...
My questions: What is the situation with FFmpeg? If it is not installed, why not? What is the correct command to install it considering that some parts of FFmpeg (libraries) are already installed?
I suppose that one forum topic can have only one subject but I want to say something related to this FFmpeg issue. The software selection for Trisquel Mini is not appropriate. There are applications no real use for this light version: Synaptic (CLI is enough), Gigolo, Abiword, mtPaint (maybe I am too stupid but I could not edit any image with it in my life), Celluloid (buggy). But not installed that really needed: FFmpeg, pavucontrol (pulseaudio without pavucontrol?!?), SMPlayer (the best GUI media player), GIMP (this is usable!). Also Geany would be much better than Mousepad, Viewnior than Gpicview. And for a light version would be enough the English language without the Spanish. I found a project on Gitlab to create Trisquel live systems (ISOs) but as I understood you cannot specify any software selection. You gave the edition name and get the standard edition ... Also there are a netinstall ISO to download but I suppose that this is only for installation and cannot generate a custom ISO. In the end I found a description how to remaster a downloaded Trisquel live ISO (editon). But even the light LXDE version contains a lot of unnecessary things. And a real light version (with no X/desktop) is not available ...
> And a real light version (with no X/desktop) is not available ...
Use the netinstall and there you can install a headless machine and customize from scratch to get your own selection.
I'm pretty sure you need to get the backports version of yt-dlp if you want it to work well.
As per this thread: https://trisquel.info/en/forum/youtube-dl-0#comment-170383
"uncomment the backports line in /etc/apt/sources.list [and do an apt update] and install yt-dlp [or do an apt upgrade]"
What is the correct command to install it considering that some parts of FFmpeg (libraries) are already installed?
That would do:
$ sudo apt install ffmpeg
In my humble opinion, there is little need for ffmpeg in the default install, because those who know ffmpeg usually know how to install it too.
Apt did the job:
# apt install ffmpeg
Csomaglisták olvasása... Kész
Függőségi fa építése... Kész
Állapotinformációk olvasása... Kész
Javasolt csomagok:
ffmpeg-doc
Az alábbi ÚJ csomagok lesznek telepítve:
ffmpeg
0 frissített, 1 újonnan telepített, 0 eltávolítandó és 0 nem frissített.
Letöltendő adatmennyiség: 1.696 kB.
A művelet után 2.288 kB lemezterület kerül felhasználásra.
Letöltés:1 http://archive.trisquel.org/trisquel aramo-updates/main amd64 ffmpeg amd64 7:4.4.2-0ubuntu0.22.04.1 [1.696 kB]
Letöltve 1.696 kB 2mp alatt (756 kB/s)
Selecting previously unselected package ffmpeg.
(Adatbázis olvasása ... 141099 files and directories currently installed.)
Preparing to unpack .../ffmpeg_7%3a4.4.2-0ubuntu0.22.04.1_amd64.deb ...
Unpacking ffmpeg (7:4.4.2-0ubuntu0.22.04.1) ...
Beállítás: ffmpeg (7:4.4.2-0ubuntu0.22.04.1) ...
Processing triggers for man-db (2.10.2-1) ...
# ffmpeg -version
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Thanks to Magic Banana. So this aspect of the issue is resolved. Now yt-dlp works well, mpv with "--version" option gives the same output as before. I thank also the help of other participants.
On the other hand, my humble opinion differs from Magic Banana's humble opinion. I consider that the software included in "default install" (ISOs for download) should be chosen on how useful are for the users of the OS and not on the condition if the potential user of the software is capable to install it or not (of course limiting to an appropriate ISO size). And FFmpeg is a very useful software and as you can see it added only 2.288 kB to system. I forgot to specify that I use only live operating systems. So, it's important to me to not have to install things or I can resolve my needs by using portable applications. For example I have downloaded SMPlayer, GIMP appimages, and they work well with Aramo Mini. This was the reason I wrote about remastering. There are really good live systems: Knoppix, Puppy, Porteus ... Unfortunately a fully free (Trisquel like) dedicated live OS does not exist. Trisquel works well in live mode but there are some inconveniences as I wrote in this topic. But it would be a good base for a dedicated free live system.
It looks like you are into multimedia production. If so, Dynebolic 4 may be what you are searching for: https://dyne.org/software/dynebolic/
Like Trisquel, it is 100% free software.
Those into multimedia production are a minority. Even more those into multimedia production with command lines. FFmpeg is very useful to you but not to most Trisquel users. In the same way, Emacs, GCC, GDB, Make, ... are very useful to me and to other developers, but I do not think it should be included by default in a general-purpose distribution such as Trisquel.
How I use Aramo with GRUB2: Downloaded trisquel-mini_11.0_amd64.iso.torrent and then using the torrent the ISO file into RAM. I used Knoppix in live mode, in an installed system you can use /dev/shm, /tmp for RAM download.
# mkdir /mnt/1
# mount -o loop,ro,noatime\
/home/knoppix/Downloads/tik/trisquel-mini_11.0_amd64.iso /mnt/1
# cp -a /mnt/1/* /MOUNT_POINT/boot/trisquel/trisquel-mini_11.0_amd64/
Before copying to boot device (i.e. a bootable USB stick) check the download using the provided checksums. Relevant parts of the the main grub.cfg file (in the root of USB stick):
# Partition holding files. Use blkid command for UUID.
set myuuid=UUID
export myuuid
# Loading boot configuration files. For all CFG files: the first
# menuentry should be the most used one, for the rest create a submenu.
source /boot/trisquel/trisquel.cfg
boot/trisquel/trisquel.cfg (the whole file):
menuentry "Trisquel Mini 11.0 LTS Aramo amd64 (Ubuntu 22.04 LTS) hu hu-us-kbd" {
set myos="boot/trisquel/trisquel-mini_11.0_amd64"
set live_media="/dev/disk/by-uuid/$myuuid"
linux /$myos/casper/vmlinuz boot=casper live-media=${live_media} \
live-media-path=/$myos/casper noprompt hostname=unknown \
debian-installer/language=hu keyboard-configuration/layoutcode?=hu,us \
file=/$myos/preseed/trisquel.seed fsck.mode=skip --
initrd /$myos/casper/initrd
}
submenu "More/Tobb Trisquel Mini 11.0 ->" {
menuentry "Trisquel Mini 11.0 hu-us-kbd" {
set myos="boot/trisquel/trisquel-mini_11.0_amd64"
set live_media="/dev/disk/by-uuid/$myuuid"
linux /$myos/casper/vmlinuz boot=casper live-media=${live_media} \
live-media-path=/$myos/casper noprompt hostname=unknown \
keyboard-configuration/layoutcode?=hu,us \
file=/$myos/preseed/trisquel.seed fsck.mode=skip --
initrd /$myos/casper/initrd
}
menuentry "Trisquel Mini 11.0 hu-us-kbd cli" {
set myos="boot/trisquel/trisquel-mini_11.0_amd64"
set live_media="/dev/disk/by-uuid/$myuuid"
linux /$myos/casper/vmlinuz boot=casper live-media=${live_media} \
live-media-path=/$myos/casper noprompt hostname=unknown \
keyboard-configuration/layoutcode?=hu,us systemd.unit=multi-user.target \
file=/$myos/preseed/trisquel.seed fsck.mode=skip --
initrd /$myos/casper/initrd
}
menuentry "Trisquel Mini 11.0 hu hu-us-kbd toram" {
set myos="boot/trisquel/trisquel-mini_11.0_amd64"
set live_media="/dev/disk/by-uuid/$myuuid"
linux /$myos/casper/vmlinuz boot=casper live-media=${live_media} \
live-media-path=/$myos/casper noprompt hostname=unknown \
debian-installer/language=hu keyboard-configuration/layoutcode?=hu,us toram \
file=/$myos/preseed/trisquel.seed fsck.mode=skip --
initrd /$myos/casper/initrd
}
}
See: https://manpages.ubuntu.com/manpages/jammy/man7/casper.7.html
- Inicie sesión ou rexístrese para enviar comentarios