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 Wed 01 Jul 2015, 17:27
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 Posts_count  
Author Message

Joined: 16 Jun 2008
Posts: 1011
Location: Union New Jersey USA

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

Hi all,

Edit May 24, 2015: If you're running Tahrpup then the best and easiest solution appears to be to "upgrade" to 6.03. One of the fixes provided in that upgrade is to create a symlink named ffmpeg to avconv. After that symlink the builtin pBurn 3.17.8 will burn CDs; pMusic 4.6.1 can be installed and will function properly; and ffconvert will function.

Edit June 11, 2015: Thankfully, rockedge has compiled ffmpeg for Tahrpup. You'll find his post and link to his ffmpeg pet a couple of posts below this. I recommend using his pet in preference to my cobbled together build. I'll leave the rest of his post and its links for awhile just in case.

If you actually need ffmpeg for anything else 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 documention 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   441 Time(s)


Back to top
View user's profile Send_private_message 

Joined: 29 Mar 2006
Posts: 6035
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_website 

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

PostPosted: Thu 11 Jun 2015, 16:54    Post_subject:
Sub_title: 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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
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 attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0741s ][ Queries: 12 (0.0135s) ][ GZIP on ]