LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-26-2024, 10:01 AM   #16
Bouboulov
Member
 
Registered: Apr 2022
Location: France
Distribution: Slackware64-current
Posts: 35

Rep: Reputation: 5

Maybe a Solved tag now ?
 
Old 01-31-2024, 01:18 PM   #17
fredmyra
Member
 
Registered: Dec 2019
Location: Sweden
Posts: 295

Original Poster
Rep: Reputation: Disabled
Quote:
posted by @boubolov:
Maybe a Solved tag now ?
I am sorry for my silence. Distrohoppers have a hard time finding time.

Today I was finally able to read some and update the system for installing restricted ffmpeg - as a distrohopper I am never very fluent in any distro, so everything takes much extra time.

I am not sure of how to interpret (my bold)
Quote:
posted by @kgha:
1) download and manually upgrade to AlienBob's "restricted" ffmpeg-4.4.2 package
Should I set:
Code:
PKGS_PRIORITY=( restricted:ffmpeg)
and
Code:
REPOPLUS=(restricted slackpkgplus alienbob)
in </etc/slackpkg/slackpkg.conf> and then run

Code:
# slackpkg download ffmpeg-4.4.2-x86_64-1alien
slackpkg upgrade ffmpeg
???


Is that what it means?
 
Old 01-31-2024, 02:57 PM   #18
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,090

Rep: Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761
Download:
Code:
wget https://slackware.uk/people/alien/restricted_sbrepos/15.0/x86_64/ffmpeg/ffmpeg-4.4.2-x86_64-1alien.txz
Upgrade: as root, cd to the directory where your downloaded file is, and
Code:
upgradepkg https://slackware.uk/people/alien/restricted_sbrepos/15.0/x86_64/ffmpeg/ffmpeg-4.4.2-x86_64-1alien.txz

Last edited by kgha; 01-31-2024 at 03:15 PM.
 
1 members found this post helpful.
Old 01-31-2024, 04:43 PM   #19
fredmyra
Member
 
Registered: Dec 2019
Location: Sweden
Posts: 295

Original Poster
Rep: Reputation: Disabled
Quote:
posted by @kgha:
Download:
Code:

wget https://slackware.uk/people/alien/re..._64-1alien.txz

Upgrade: as root, cd to the directory where your downloaded file is, and
Code:

upgradepkg https://slackware.uk/people/alien/re..._64-1alien.txz
Ouch!

so simple- and SSR immediately showed H264.

THIS IS SOLVED!!!

1000 thanks, as the swedes like to say!

P.S.:
Well, just for your (much deserved) amusement I report what happened after reading your post:

Code:
root@fujieq:~# wget https://slackware.uk/people/alien/restricted_sbrepos/15.0/x86_64/ffmpeg/ffmpeg-4.4.2-x86_64-1alien.txz
--2024-01-31 23:15:23--  https://slackware.uk/people/alien/restricted_sbrepos/15.0/x86_64/ffmpeg/ffmpeg-4.4.2-x86_64-1alien.txz
Resolving slackware.uk (slackware.uk)... 2a02:2498:e004:2a::a861, 216.119.155.61
Connecting to slackware.uk (slackware.uk)|2a02:2498:e004:2a::a861|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17986252 (17M) [application/octet-stream]
Saving to: ‘ffmpeg-4.4.2-x86_64-1alien.txz’

ffmpeg-4.4.2-x86_64- 100%[=====================>]  17.15M  10.4MB/s    in 1.7s    

2024-01-31 23:15:25 (10.4 MB/s) - ‘ffmpeg-4.4.2-x86_64-1alien.txz’ saved [17986252/17986252]

root@fujieq:~# ls
ffmpeg-4.4.2-x86_64-1alien.txz
root@fujieq:~# cd ..
root@fujieq:/# ls
bin/   dev/  home/  lib64/       media/  opt/   root/  sbin/  sys/  usr/
boot/  etc/  lib/   lost+found/  mnt/    proc/  run/   srv/   tmp/  var/
root@fujieq:/# ^C
root@fujieq:/# mv ffmpeg-4.4.2-x86_64-1alien.txz /home/arthur/Downloads/SlackForge  
mv: cannot stat 'ffmpeg-4.4.2-x86_64-1alien.txz': No such file or directory
root@fujieq:/# mv /ffmpeg-4.4.2-x86_64-1alien.txz /home/arthur/Downloads/SlackForge 
mv: cannot stat '/ffmpeg-4.4.2-x86_64-1alien.txz': No such file or directory
root@fujieq:/# mv /tmp/ffmpeg-4.4.2-x86_64-1alien.txz /home/arthur/Downloads/SlackForge 
mv: cannot stat '/tmp/ffmpeg-4.4.2-x86_64-1alien.txz': No such file or directory
root@fujieq:/# cd /tmp
root@fujieq:/tmp# cg/home/arthur/Downloads/SlackForge 
-su: cg/home/arthur/Downloads/SlackForge: No such file or directory
root@fujieq:/tmp# '
> 
> 
> 
> ^C
root@fujieq:/tmp# 
root@fujieq:/tmp# find / -maxdepth 9 -name ffmpeg-4.4.2-x86_64-1alien.txz
find: ‘/run/user/1000/doc’: Permission denied
find: ‘/run/user/1000/gvfs’: Permission denied
/root/ffmpeg-4.4.2-x86_64-1alien.txz
^C
root@fujieq:/tmp# mv /root/ffmpeg-4.4.2-x86_64-1alien.txz /home/arthur/Downloads/SlackForge 
root@fujieq:/tmp# cd /home/arthur/Downloads/SlackForge root@fujieq:/home/arthur/Downloads/SlackForge# ls
ffmpeg-4.4.2-x86_64-1alien.txz
root@fujieq:/home/arthur/Downloads/SlackForge# 
upgradepkg https://slackware.uk/people/alien/restricted_sbrepos/15.0/x86_64/ffmpeg/ffmpeg-4.4.2-x86_64-1alien.txz
Cannot install https://slackware.uk/people/alien/restricted_sbrepos/15.0/x86_64/ffmpeg/ffmpeg-4.4.2-x86_64-1alien.txz: file not found
root@fujieq:/home/arthur/Downloads/SlackForge# ffmpeg-4.4.2-x86_64-1alien.txz-su: ffmpeg-4.4.2-x86_64-1alien.txz: command not found
root@fujieq:/home/arthur/Downloads/SlackForge# uppgradepkg ffmpeg-4.4.2-x86_64-1alien.txz
-su: uppgradepkg: command not found
root@fujieq:/home/arthur/Downloads/SlackForge# upgradepkg ffmpeg-4.4.2-x86_64-1alien.txz

+==============================================================================
| Upgrading ffmpeg-4.4.1-x86_64-2 package using ./ffmpeg-4.4.2-x86_64-1alien.txz
+==============================================================================
Pre-installing package ffmpeg-4.4.2-x86_64-1alien...
Removing package: ffmpeg-4.4.1-x86_64-2-upgraded-2024-01-31,23:28:04
  --> Deleting /usr/doc/ffmpeg-4.4.1/COPYING.GPLv2
  --> Deleting /usr/doc/ffmpeg-4.4.1/COPYING.GPLv3
  --> Deleting /usr/doc/ffmpeg-4.4.1/COPYING.LGPLv2.1
  --> Deleting /usr/doc/ffmpeg-4.4.1/COPYING.LGPLv3
  --> Deleting /usr/doc/ffmpeg-4.4.1/CREDITS
  --> Deleting /usr/doc/ffmpeg-4.4.1/Changelog
  --> Deleting /usr/doc/ffmpeg-4.4.1/INSTALL.md
  --> Deleting /usr/doc/ffmpeg-4.4.1/LICENSE.md
  --> Deleting /usr/doc/ffmpeg-4.4.1/MAINTAINERS
  --> Deleting /usr/doc/ffmpeg-4.4.1/README.md
  --> Deleting /usr/doc/ffmpeg-4.4.1/RELEASE
  --> Deleting /usr/doc/ffmpeg-4.4.1/RELEASE_NOTES
  --> Deleting /usr/doc/ffmpeg-4.4.1/VERSION
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/developer.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/faq.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/fate.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffmpeg-all.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffmpeg-bitstream-filters.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffmpeg-codecs.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffmpeg-devices.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffmpeg-filters.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffmpeg-formats.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffmpeg-protocols.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffmpeg-resampler.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffmpeg-scaler.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffmpeg-utils.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffmpeg.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffplay-all.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffplay.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffprobe-all.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/ffprobe.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/general.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/git-howto.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/libavcodec.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/libavdevice.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/libavfilter.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/libavformat.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/libavutil.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/libswresample.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/libswscale.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/mailing-list-faq.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/nut.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/html/platform.html
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/build_system.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/errno.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/fate.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/ffmpeg.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/filter_design.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/issue_tracker.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/libav-merge.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/mips.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/multithreading.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/optimization.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/rate_distortion.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/snow.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/swresample.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/swscale.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/tablegen.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/undefined.txt
  --> Deleting /usr/doc/ffmpeg-4.4.1/txt/writing_filters.txt
  --> Deleting empty directory /usr/doc/ffmpeg-4.4.1/txt/
  --> Deleting empty directory /usr/doc/ffmpeg-4.4.1/html/
  --> Deleting empty directory /usr/doc/ffmpeg-4.4.1/
Verifying package ffmpeg-4.4.2-x86_64-1alien.txz.
Installing package ffmpeg-4.4.2-x86_64-1alien.txz:
PACKAGE DESCRIPTION:
# ffmpeg (software to record, convert and stream audio and video)
#
# FFmpeg is a complete solution to record, convert and stream audio and
# video. It includes libavcodec, the leading audio/video codec library. 
#
# ffmpeg home: http://ffmpeg.org/
#
Executing install script for ffmpeg-4.4.2-x86_64-1alien.txz.
Package ffmpeg-4.4.2-x86_64-1alien.txz installed.
Package ffmpeg-4.4.1-x86_64-2 upgraded with new package ./ffmpeg-4.4.2-x86_64-1alien.txz.
root@fujieq:/home/arthur/Downloads/SlackForge# ^C
root@fujieq:/home/arthur/Downloads/SlackForge#
 
Old 02-01-2024, 01:50 AM   #20
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,090

Rep: Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761
Glad you got it sorted

wget is a convenient command, but as you found out, it can be tricky to find the downloaded file. If you open a fresh terminal window as user and run wget, the file would normally land in your /home/<user>/ directory. If it's difficult to find, try
Code:
find /home -type f -iname <filename>
(or / -type f -iname <filename> for searching the whole system)

Or put the https://slackware.uk/people/alien/re..._64-1alien.txz in your browser's adress field.

It's not necessary to cd into the proper directory, you can run

Code:
upgradepkg /any/old/directory/downloadedfile.txz
If/when Pat releases a later ffmpeg version, it will of course upgrade the one you installed if you upgrade via slackpkg. AlienBob will provide the new version, but sometines there might be a time gap.
 
1 members found this post helpful.
Old 02-02-2024, 07:41 AM   #21
fredmyra
Member
 
Registered: Dec 2019
Location: Sweden
Posts: 295

Original Poster
Rep: Reputation: Disabled
Quote:
posted by @kgha:
...
If/when Pat releases a later ffmpeg version, it will of course upgrade the one you installed if you upgrade via slackpkg. AlienBob will provide the new version, but sometines there might be a time gap.
Thanks for all the 'bonus' info !

I am glad I posted this question. Learned so much from it in a simple and quick way.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Codec not supported: VLC could not decode the format "h264" (H264 - MPEG-4 AVC (part 10)) rahulvishwakarma Linux - Software 7 08-22-2022 06:50 PM
mencoder & x264 help steve51184 Linux - Software 14 05-21-2009 04:58 AM
h264/x264 performance jaykup Linux - Software 2 01-07-2008 09:27 AM
Cannot compile MPlayer 1.0pre7 with x264 support ginobili_mvp Linux - Software 3 12-04-2005 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration