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 Thu 27 Nov 2014, 08:09
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
FFmpeg-0.7.6 and xine-lib for Puppy 4.x
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 3 Posts_count   Goto page: 1, 2, 3 Next
Author Message
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Tue 20 Jul 2010, 08:26    Post_subject:  FFmpeg-0.7.6 and xine-lib for Puppy 4.x
Sub_title: with most recent codecs
 

FFmpeg-0.7.6(stable libav version) and codecs compiled on Puppy 4.3.1(JP)
Hopefully works on Puppy/Pupplets 4.x.
DO NOT install on recent 5.x. They already have recent ffmpeg pre-installed.
But there is FFmpeg-0.8.12 for Wary/Racy-5.3

upload: 24 July 2012
ffmpeg_runall-0.7.6-p4.pet
http://shino.pos.to/party/bridge.cgi?puppy/pup4/opt/pets/

Configure option:
Code:
export LIBRARY_PATH=$LD_LIBRARY_PATH
./configure --prefix=/usr --cpu=i486 --enable-shared --enable-gpl --enable-nonfree --enable-pic --enable-x11grab --enable-network --enable-small --enable-runtime-cpudetect --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libfaac --enable-libfreetype --enable-libmp3lame --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-zlib --enable-postproc --disable-debug --enable-bzlib --enable-version3 --enable-libtheora --enable-swscale


(old version)
ffmpeg_runall-0.7.2-p4.pet (28 Dec 2011)
ffmpeg-runall-0.6-i686-p4.pet (20 Jul 2010)
If you are using Lupu version 511 and older, install ffmpeg1-0.6-Lucid and ffmpeg_dependencys-0.6-Lucid from the Lucid repository.
NOTE: it does not contain FFConvert.
WARNING: Installing this pet, primerly installed ffmpeg and libraries are overwritten. If you install and uninstall, your multimedia environment may corrupt.

If your Puppy have gxine and like to use it with the ffmpeg here, also install
xine-lib-1.1.19-p4.pet available at the same place above.
upload: 28 Oct 2010, install size: 15MB

Contents:
  • ffmpeg-0.6
  • faac-1.2.8
  • faad2-2.7
  • flac-1.2.1
  • lame-3.98.4
  • libao-1.0.0
  • libogg-1.2.0
  • libtheora-1.1.1
  • libvorvis-1.3.1
  • libvpx-0.9.1
  • opencore-amr-0.1.2
  • SDL-1.2.14
  • speex-1.2rc1
  • x264-snapshot-0100714-2245
  • xvidcore-1.2.2

Code:
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul 15 2010 17:29:31 with gcc 4.2.2
  configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-libfaad --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libtheora --enable-libxvid --enable-swscale --enable-mmx --enable-libvpx


DEVELOPMENT FILES:
ffmpeg-runall_DEV-0.6-i686-p4.pet at the same place.
If your devx files has '/usr/include/ffmpeg' directory, it is not of this DEV-PET. Rename '/usr/include/ffmpeg' to '/usr/include/ffmpeg.old' to compile with this ffmpeg.

xine-lib-1.1.19-p4-FULL.pet has xine-lib development files and NLS.
xine-lib-1.1.19 compile option:
Code:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --host=i486-t2-linux-gnu --disable-rpath --with-gnu-ld --disable-dxr3 --disable-glu --disable-gnomevfs --with-x --without-xcb --with-external-ffmpeg --without-imagemagick --with-freetype --without-esound --without-jack --with-libflac --disable-altivec --disable-vis --disable-opengl --disable-aalib --disable-fb --enable-directfb --disable-oss --disable-mng --enable-mmap --with-sdl --with-external-libfaad

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Wed 21 Jul 2010, 11:37    Post_subject:  

It works Very Happy! Including the WebM format. Which did not need loads of resources to play. I used this test WebM video: http://lachy.id.au/lib/media/elephantsdream/Elephants_Dream-360p-Stereo.webm from: Custom controls WebM video. Thanks muchly.
_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send_private_message Visit_website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Wed 21 Jul 2010, 12:54    Post_subject:  

Awesome. Thanks for this.

Is there a matching Ffmpeg_DEV pet?
Back to top
View user's profile Send_private_message Visit_website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Thu 22 Jul 2010, 04:49    Post_subject:  

Now what I could do with now is a full featured new build of Mplayer, eg. with multi core support and maybe a full featured new build of Xine too. Please.
_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send_private_message Visit_website 
Iguleder


Joined: 11 Aug 2009
Posts: 1924
Location: Israel, somewhere in the beautiful desert

PostPosted: Thu 22 Jul 2010, 04:52    Post_subject:  

Got a very similar pack on my puplet. It's brilliant, I'd recommend this to any 4.x user. Plays FLV (x264), OGG, xVid ... it's awesome.
_________________
My homepage
Back to top
View user's profile Send_private_message Visit_website MSNM 
ICQ 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Thu 22 Jul 2010, 05:29    Post_subject:  

Arr Mad! This ffmpeg does not know what vorbis is!

Code:
# ffmpeg -i "/mnt/sda6/Media/Audio/Music/CD/Buyed/Riped/Drum & Bass/Pendulum/Hold Your Colour/02 - Slam - Pendulum.flac" -f ogg -acodec vorbis -aq 60 -vn -ac 2 ./
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul 15 2010 17:29:31 with gcc 4.2.2
  configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-libfaad --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libtheora --enable-libxvid --enable-swscale --enable-mmx --enable-libvpx
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.73. 2 / 52.73. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Input #0, flac, from '/mnt/sda6/Media/Audio/Music/CD/Buyed/Riped/Drum & Bass/Pendulum/Hold Your Colour/02 - Slam - Pendulum.flac':
  Metadata:
    ALBUM           : Hold Your Colour
    ARTIST          : Pendulum
    COMMENT         : BonkEnc v1.0.9 <http://www.bonkenc.org/>
    DATE            : 2007
    GENRE           : Drum & Bass
    TITLE           : Slam
    TRACKNUMBER     : 2
  Duration: 00:05:46.97, bitrate: 1069 kb/s
    Stream #0.0: Audio: flac, 44100 Hz, 2 channels, s16
Unknown encoder 'vorbis'
#

At least ffmpeg2theora works and it copys metadata across converted media files Very Happy.

_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send_private_message Visit_website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Thu 22 Jul 2010, 18:58    Post_subject:  

Update: Vorbis works if you use "libvorbis".
_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Fri 23 Jul 2010, 23:12    Post_subject: DEV files  

Uploaded ffmpeg-runall_DEV-0.6-i686-p4.pet at the same place.
Back to top
View user's profile Send_private_message Visit_website 
paulski

Joined: 06 Oct 2006
Posts: 127
Location: Cologne, Germany &/or Perth, Australia

PostPosted: Sat 31 Jul 2010, 12:39    Post_subject:  

@ Shinobar
There is a lot of good work you have done to compile this and the other work you contribute to puppy.
I'd love to download this ffmpeg pet but I the link times out on me and I cannot download it. :/

Could you check to see if it is okay?
Perhaps someone else could offer to mirror this package?
Back to top
View user's profile Send_private_message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Sun 01 Aug 2010, 18:01    Post_subject:  

paulski wrote:
Perhaps someone else could offer to mirror this package?
Here: http://www.adrive.com/public/f106a12fe4b1fba023f17f23bdc075c6e0fc1e362e45672fd4c02a9d419af73a.html URL dies in 14 days from now.
_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sun 01 Aug 2010, 18:56    Post_subject: Dead link  

Sorry and thank you paulski and abushcrafter. The link now fixed.
Back to top
View user's profile Send_private_message Visit_website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Sun 01 Aug 2010, 19:18    Post_subject:  

Some how the contents of this post did not get posted a few days after you posted the dev PET Confused.

Dad helped me at looking at the source code from dev PET and he (Maybe we?) could not find any thing that stood out as being a problem, The problem being of needing to use "libvorbis" instead of "vorbis" for the audio codec parameter (Don't know if any other parameters that are affected by the same problem.). So when I have the time I intent lean some/more bash to write a simple wrapper script for FFmpeg which changes the audio codec parameter "vorbis" to "libvorbis".

_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send_private_message Visit_website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Fri 01 Oct 2010, 18:45    Post_subject: FFmpeg Wrapper  

Here is the FFmpeg Wrapper script. It corrects the acodec "vorbis" parameter to "libvorbis". This is because older versions of FFmpeg used "vorbis" as the acodec parameter and in new version it was changed to "libvorbis". This way old pre-sets/scripts are still compatible with this version of FFmpeg.

To use, rename the "ffmpeg" binary to "fmpeg.bin" and save this script in "/usr/bin/" using the name "ffmpeg".
[EDIT: CODE DOES NOT WORK! SEE UPDATE.]
Code:

#!/bin/sh

#Version=0.0.1
#Date (dd.mm.yyyy hh:mm:ss)=30.09.2010 23:20:36
#Thanks to the dad of Alexander .S.T. Ross (abushcrafter) (I got stuck again :).)

var=$(echo "$@" | sed 's/-acodec vorbis/-acodec libvorbis/g')
ffmpeg.bin "$var"

_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send_private_message Visit_website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Fri 08 Oct 2010, 18:04    Post_subject:  

The new FFmpeg Wrapper that works!
[EDIT]The ffmpeg command now has the ".bin" bit added.
[Update]Now corrects "-vcodec xvid" to "-vcodec libxvid".
Code:

#!/bin/sh

#FFmpeg Wrapper
#Version=0.0.5
#Date (dd.mm.yyyy hh:mm:ss)=08.10.2010 22:42:38
#Thanks to the dad (SSR) of Alexander .S.T. Ross (abushcrafter) (Again :).)

#ChangeLog ----------------------------------------------------------------------
#    12.10.2010 Alexander .S.T. Ross (abushcrafter) Email: <http://www.google.com/recaptcha/mailhide/d?k=01uNeUuXxeNm9FA3Zciuoqzw==&c=nVfKeb7kjqZVVIQanqJwEC2DP5zrALkSERTopYvj_pU=>
#      * 0.0.5: Now corrects "-vcodec xvid" to "-vcodec libxvid".


# Bash script to modify edit parameters in command line.
# Designed to cope with spaces in parameters .

prevparam="none"
count=1
args=("$@")

while [ $count -ne  $# ] ; do
if [ "$prevparam" = "-acodec" ] ; then
    args[$count]=$(echo ${args[$count]}| sed s/vorbis/libvorbis/g )
fi
if [ "$prevparam" = "-vcodec" ] ; then
    args[$count]=$(echo ${args[$count]}| sed s/xvid/libxvid/g )
fi
prevparam=${args[$count]}
#echo $count "  " ${args[$count]}  #Debugging: Comment out in final code.
count=$((count+1))
done
ffmpeg.bin "${args[@]}"


_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4380

PostPosted: Mon 11 Oct 2010, 14:40    Post_subject:  

the bitrate parameter has changed too - this causes some scripts to make really large or very poor quality output depending on the direction of the mismatch ... this should be somewhat stabilized since the 0.5.1 release ... anyone ever heard of a stable api?
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 3 Posts_count   Goto page: 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0935s ][ Queries: 11 (0.0035s) ][ GZIP on ]