Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 24 Sep 2017, 03:08
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
ffmpeg -- SFS for vividpup and tahrpup
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message

Joined: 16 Jun 2008
Posts: 1905
Location: 500 seconds from Sol

PostPosted: Wed 13 May 2015, 23:06    Post subject:  ffmpeg -- SFS for vividpup and tahrpup  

Hi all,

Edit: August 23, 2015: Do you really need ffmpeg for TahrPup? ffmpeg is an application to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. Ubuntu Trusty Tahr, whose binaries were employed in the creation of TahrPup did not include ffmpeg, itself, but rather builtin a "fork" of ffmpeg that includes avconv and avplay. Tahrpup was published with pBurn 3.17.8, pMusic 4.6.1 and ffcovert which for some or all functions expects ffmpeg, but will function using avconv and avplay once "setup" to do so. Installing the "real" ffmpeg will, of course, increase Tahrpup's size by about 68 Mb, compressed, and I don't know if the "real" ffmpeg provides the ability to convert between any format not also provided by avconv. Setting up Tahrpup to use avconv involves creating a symlink, adding only a couple of bytes to your Pup's size. The easiest way to create the symlink is to upgrade to Tahr 6.03. The alternative is to browse to /usr/bin, open a terminal and type

ln -s avconv ffmpeg [press return]

Remember, if this symlink is created and you later decide to use the "real" ffmpeg, you may need to delete it before installing the ffmpeg pet created by rockedge which you can download from here: http://murga-linux.com/puppy/viewtopic.php?p=852066#852066

As far as I know, you may still need ffmpeg for Vividpup. You can download ffmpeg-2.6.3.tar.brz from here, http://ffmpeg.org/download.html, unpack it, unpack the debs within, to access the executables and create a pet or sfs. This is a static build. There are no libraries. The executables can be placed in /usr/bin. Despite that the website provides documentation regarding ffplay, that component isn't included. After spending many hours tracking down debs/libraries-and-executables which would function with the SFS I constructed as above I ended up with a 26 Mb pet. It, together with the ffmpeg.sfs, wasn't able to accomplish anything beyond that accomplished by the avconv to ffmpeg symlink. Consequently, I see no reason to take up web-space and bandwidth to make those available.

Or continue reading.

There were a couple of posts on the Tahrpup thread(s) relating to problems with ffmpeg. My understanding was that the genesis of these problems had to do with the avconv fork from ffmpeg and debian's and Ubuntu's having built applications using the avconv fork while still referring to the underlying application as ffmpeg. That was the state of affairs when Ubuntu published Trusty Tahr. Its binaries were used in the creation of Tahrpup and LxPupTahr. The codec built into Tahrpup and its derivatives are the avconv version. For a discussion of my understanding and zigbert's clarification, start here: http://murga-linux.com/puppy/viewtopic.php?p=844188#844188

Some multimedia applications include their own codec and do not require ffmpeg. One easy work-around where only codec conversion is needed was provided here: http://murga-linux.com/puppy/viewtopic.php?p=751674&sid=b636d5e1d114dc70035acecac3d9ba9e#751674. It involves installing winff, and configuring it to use the avconv libs. See also, http://murga-linux.com/puppy/viewtopic.php?p=844775&sid=df3330835c10e41a80e85c681becb6ba#844775. Much to my surprise, for pBurn's ffmpeg requirement when the objective is to burn an audio CD, the following easy work-around actually worked. http://www.murga-linux.com/puppy/viewtopic.php?p=844467#844467 It involves creating a symlink named ffmpeg to the avconv binary.

It is recommended that, after you consider any “cautions”, if your needs are satisfied, those work-arounds may be preferable to downloading the linked ffmpeg4vivid.sfs

Edit: Better yet, almost immediately after I posted, 666philb --one of those who knows what he's doing-- published a pburn for tahrpup, http://murga-linux.com/puppy/viewtopic.php?p=845536#845536, which weighs-in at 1.4 mb. [In retrospect, perhaps I should have applied to this project the principle of benign neglect Rolling Eyes ].

Further edit: Another solution to Tahrpup's ffmpeg problem. See here, http://www.murga-linux.com/puppy/viewtopic.php?p=821342&sid=52b1f0de382faffe6d3cf767c749b8c2#821342.
Sure wish I had known about it. Sad
Sure wish people got into the habit of communicating solutions on all relevant threads. Crying or Very sad

Puppies, including the Tahrpups, have a number of home-grown applications which can't be configured to use the avconv libraries. Among them could be ffconvert and –with the exception of pBurn-- zigbert's fine applications. For those to continue to be fully useful in Tahrpup, an actual ffmpeg based on Ubuntu binaries may be necessary. Fortunately, with its publication of Vivid Vervet, Ubuntu again decided to change horses.

The best solution would be for someone who actually knows what he or she is doing to compile in Puppy a version of ffmpeg for Tahrpup and Vividpup from sources. The second best solution would be for someone with sufficient expertise to publish a “stripped” application –removing all files included in Ubuntu debs which aren't actually needed by Puppies. I haven't removed anything, not even documentation I know isn't necessary to run the application. The linked ffmpeg4vivid.sfs is, I think, the fourth build after reported missing libs were tracked down in the prior builds and tested under vividpup and Tahrpup. Considering that I am among those who actually don't need it, I've run out of patience.

The debs were those obtained via ppm running vividpup. Thirty debs were necessary for vivid, and an additional two for Tahrpup. For anyone considering building their own from Ubuntu debs, the accompanying screenshot shows the ones I've included in the SFS. Remember, I used Vivid debs. Those for Tahr or Unicorn may differ. You can figure out what additional libraries Tahrpup needs by downloading and dissembling the attached pet.

I've tested both its video and audio conversion ability, albeit, the latter was using winff's convert to Wav for CD and the output file played from my hard-drive using deadbeef.

In Tahrpup, after installing the additional libs and loading the SFS, the following applications performed as expected:
pMusic 4.6.1, Deadbeef, ffconvert, winff, Guayadeque music player, pupRadio. A music clip played in mhWaveEdit.

Untested in UnicornPup.

Please post your own experience for the benefit of others considering this app.

Do not expect me to provide any “fixes”. Considering the limited extent of my knowledge, I'm surprised it worked at all. Do let me know if there are download problems.

As always, use at your own risk.

You can also download from http://www.mediafire.com/download/jmdx60k5qgoc85u/ffmpeg4vivid.sfs

Pet containing additional libs needed by Tahrpup: http://www.mediafire.com/download/iud6ajgzpes7sd5/add-libs4Tahrpup.pet

I would not have attempted this project were it not for Lazy Puppy's excellent application, PaDS, http://murga-linux.com/puppy/viewtopic.php?t=81511 by which multiple debs (and other packages) can easily be combined to create an SFS. Despite his having specifically advised me how to do so, it took me awhile to realize that after installing the PaDS app, all that was necessary was to place all the desired deb (or other packages) in one otherwise empty folder and then right-click that folder and select from the drop-down menu “Combine to SFS”. I kept looking for PaDS on the drop-down menu.
 Description   Vivid Vervet debs included in SFS
 Filesize   39.03 KB
 Viewed   1738 Time(s)


Last edited by mikeslr on Sun 23 Aug 2015, 13:49; edited 9 times in total
Back to top
View user's profile Send private message 

Joined: 29 Mar 2006
Posts: 6475
Location: Valåmoen, Norway

PostPosted: Thu 14 May 2015, 04:21    Post subject:  

Thank you
I have added links in pBurn and pMusic thread (also in main post) to this info


Stardust resources
Back to top
View user's profile Send private message Visit poster's website 

Joined: 11 Apr 2012
Posts: 395
Location: Connecticut, United States

PostPosted: Thu 11 Jun 2015, 16:54    Post subject:
Subject description: FFMPEG 2.7 PET for tahr 6.0.2 - tahr 6.0.3

Here is FFMPEG compiled and is available as a PET here :

compiled with tahr 6.0.3 CE with devx 6.0.2.

68M in size...... I test installed it with a fresh tahr 6.0.2 and ffmpeg worked right out of the box.

root# ffmpeg
ffmpeg version 2.7 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.6 (Ubuntu/Linaro 4.6.4-6ubuntu2)
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 41.100 / 56. 41.100
  libavformat    56. 36.100 / 56. 36.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg

if this does not appear remove the sym-link to avconv in /usr/bin/
Back to top
View user's profile Send private message Visit poster's website 

Joined: 10 Sep 2011
Posts: 12530
Location: Mer méditerrannée (1 kms°)

PostPosted: Wed 23 Dec 2015, 04:10    Post subject: Thanks a lot for yr command, it works perfectly.  

Thanks a lot for yr command, it works perfectly.
Our puppies producers care of their Money (devise is MB not dollars) in 2015.
Slacko 5.3.3 thin and Racy had ffmpeg, a browser included as Firefox or Seamonkey. I don't really where producers spend their money, their 200 MBs and more

Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
Back to top
View user's profile Send private message Yahoo Messenger 

Joined: 10 Sep 2011
Posts: 12530
Location: Mer méditerrannée (1 kms°)

PostPosted: Wed 01 Jun 2016, 02:59    Post subject: Pmusic is useless whithout audio  

Pmusic is useless whithout audio, but still in the menu. (Pupjibaro jessie). Link does not work to activate it.
Mplayer is not in the debian jessie ppm
Run a Wary 511 click here if your newest Puppies don't do what you like, dear users.

Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
Back to top
View user's profile Send private message Yahoo Messenger 

Joined: 10 Sep 2011
Posts: 12530
Location: Mer méditerrannée (1 kms°)

PostPosted: Tue 12 Jul 2016, 11:59    Post subject: Relance  

Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0431s ][ Queries: 14 (0.0038s) ][ GZIP on ]