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 18 Dec 2014, 18:38
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
ffmpeg-svn-r14332
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Author Message
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sat 12 Jan 2008, 19:19    Post subject:  ffmpeg-svn-r14332
Subject description: 2008-07-21
 

This was compiled in Puppy 4 and may not work in other Puppies.

ffmpeg website:
http://ffmpeg.mplayerhq.hu/

I compiled it like this:
--prefix=/usr --cpu=i486 --enable-shared --enable-small --enable-liba52 --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-postproc --enable-swscale --enable-pthreads --disable-debug --enable-libfaac --enable-libfaad

ffmpeg dotpet:
http://www.savefile.com/files/1681213

Here's the source package for this version of ffmpeg
http://www.savefile.com/files/1681243

If you want to use ffplay you'll need SDL installed. I made a dotpet at:
http://www.murga-linux.com/puppy/viewtopic.php?p=166473

The dev files are below.

Also the dependants of faac & faad are posted below.
faad2-2.6.pet
Description 
pet

 Download 
Filename  faad2-2.6.pet 
Filesize  175.15 KB 
Downloaded  763 Time(s) 
faac-1.26.pet
Description 
pet

 Download 
Filename  faac-1.26.pet 
Filesize  50.15 KB 
Downloaded  665 Time(s) 
ffmpeg_dev-svn-r14332.pet
Description 
pet

 Download 
Filename  ffmpeg_dev-svn-r14332.pet 
Filesize  54.67 KB 
Downloaded  764 Time(s) 

Last edited by plinej on Mon 21 Jul 2008, 23:21; edited 2 times in total
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Sun 04 May 2008, 23:11    Post subject: Re: ffmpeg-r11518-2008-01-12
Subject description: 2008-01-12
 

plinej wrote:
This was compiled in Puppy 4 and may not work in other Puppies.

ffmpeg website:
http://ffmpeg.mplayerhq.hu/

I compiled it like this:
--prefix=/usr --enable-shared --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-x11grab --enable-liba52 --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libvorbis --disable-debug --enable-zlib --enable-small --arch=i486

ffmpeg dotpet:
http://myfreefilehosting.com/f/35c88a644d_1.57MB

If the above link doesn't work you can download it from my yahoo briefcase at:
http://tinyurl.com/3cyy8a

If you want to use ffplay you'll need SDL installed. I made a dotpet at:
http://www.murga-linux.com/puppy/viewtopic.php?p=166473

The dev files are below.


Hey plinej

I compiled the latest ffmpeg and I was wondering about your ffmpeg it has headers but no libs
and my question is did you do this so you could compile VLC?
looking at an error you get when compiling VLC made me think about the way you set this up

my compile then converted to pet gave me the libs also 12MB as a pet
I compiled shared using puppy 3.01 and added a few more important libs
I have it installed on my machine and I will run some tests on it before I upload

the reason I am doing this is for Mplayer
on my 3.01 machine trying to have it updated to the latest

any testers ?
any need ?
anybody? Very Happy

big_bass
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Mon 05 May 2008, 17:21    Post subject:  

I'm not sure what you mean. The dev files are posted to the forum but the other packages are links since they exceed the limits of this forum.

I'll post the dev files for faac & faad below.
faad2_dev-2.6.pet
Description 
pet

 Download 
Filename  faad2_dev-2.6.pet 
Filesize  48.47 KB 
Downloaded  421 Time(s) 
faac_dev-1.26.pet
Description 
pet

 Download 
Filename  faac_dev-1.26.pet 
Filesize  2.24 KB 
Downloaded  414 Time(s) 

Last edited by plinej on Mon 21 Jul 2008, 23:23; edited 1 time in total
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Mon 05 May 2008, 18:37    Post subject:  

plinej wrote:
I'm not sure what you mean. The dev files are posted to the forum but the other packages are links since they exceed the limits of this forum.


my error I downloaded only the dev pet I just downloaded your other and all is fine
I did not plan to install yours since it was for version 4 and I needed version 3.01 but I did want to see if the compile was like mine .. well I used some different libs and my configure options are not the same but after such a long time of crunching out code I needed something to compare to Wink

sorry for the false alarm
all your work looks fine now that I have all of it Laughing

good job!

big_bass
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Mon 21 Jul 2008, 23:32    Post subject:  

updated to latest svn
Back to top
View user's profile Send private message 
Aung

Joined: 19 Jan 2007
Posts: 119
Location: Hervey Bay

PostPosted: Sat 26 Jul 2008, 08:53    Post subject:  

@plinej
I had a bash at compileinj ffmpeg and includeing xvid and x264 in it , from the source on this page, it didnt quite compilej.

I have Kdenlive running in Puppy 403 and cant encode to xvid or x264. Xvid and x264 are installed on my drive, but I dont know if they have to be inside ffmpeg or ffmpeg compilej for them latches onto them when needed. Can you build me a big fat ffmpeg with everything possible in it. For instance, the 'nlive team made some howto's demos in a .ogg format and 'nlive itself cant even play them, the fatter the better. Aung
ffmpeg.png
 Description   
 Filesize   12.73 KB
 Viewed   3020 Time(s)

ffmpeg.png

Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sat 26 Jul 2008, 09:57    Post subject:  

@ Aung, give this version a try:
http://www.savefile.com/files/1960174

You'll need these installed too:
yasm-0.7.1.pet
Description 
pet

 Download 
Filename  yasm-0.7.1.pet 
Filesize  206.01 KB 
Downloaded  495 Time(s) 
x264-snapshot-20080725-2245.pet
Description 
pet

 Download 
Filename  x264-snapshot-20080725-2245.pet 
Filesize  534.02 KB 
Downloaded  482 Time(s) 
xvidcore-1.1.3.pet
Description 
pet

 Download 
Filename  xvidcore-1.1.3.pet 
Filesize  203.5 KB 
Downloaded  492 Time(s) 

Last edited by plinej on Sat 10 Jan 2009, 15:32; edited 1 time in total
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sat 26 Jul 2008, 10:00    Post subject:  

Here are the dev files for the version posted right above this message.
x264_dev-snapshot-20080725-2245.pet
Description 
pet

 Download 
Filename  x264_dev-snapshot-20080725-2245.pet 
Filesize  7.4 KB 
Downloaded  434 Time(s) 
xvidcore_dev-1.1.3.pet
Description 
pet

 Download 
Filename  xvidcore_dev-1.1.3.pet 
Filesize  9.27 KB 
Downloaded  443 Time(s) 
yasm_dev-0.7.1.pet
Description 
pet

 Download 
Filename  yasm_dev-0.7.1.pet 
Filesize  54.16 KB 
Downloaded  436 Time(s) 
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sat 26 Jul 2008, 10:01    Post subject:  

and finally, the ffmpeg dev files for the version posted 2 messages above.
ffmpeg-xvid_dev-svn-r14332.pet
Description 
pet

 Download 
Filename  ffmpeg-xvid_dev-svn-r14332.pet 
Filesize  54.68 KB 
Downloaded  470 Time(s) 
Back to top
View user's profile Send private message 
Aung

Joined: 19 Jan 2007
Posts: 119
Location: Hervey Bay

PostPosted: Sun 27 Jul 2008, 09:20    Post subject:  

Quick work Plinej.
At the internet now, will let you know tomorrow
( I dont know if to over write the origional or rename it for safe keeping, will have to think about it) Aung
Back to top
View user's profile Send private message 
can8v

Joined: 15 Jul 2006
Posts: 584
Location: Yuba City, CA

PostPosted: Tue 12 Aug 2008, 17:37    Post subject:  

PlineJ & co.
I have installed this pet package and all other required files. Everything seems to work great (from a terminal). It took quite a bit of digging a tinkering to figure out the best way to do all of the conversions I needed to do. Now I have determined to do my video conversions on my webserver. My webhost already has ffmpeg installed and available at /usr/bin/ffmpeg. Before I try it on my webhost I wanted to try it on my localhost. I have written a php script to see if i can convert video formats using a PHP script. I think I am only an inch away from success, but can't quite cross the finish line.

Here is the test script:
Code:

<?php

   echo '<html><head><title>Conversion test 1</title></head><body><p>Video conversion using ffmpeg..</p>';

//   input files dirname has to exist

   $inputVideoPath = "ClientFiles/mov/".$f.".mov";

//   output files dirname has to exist

   $outputVideoPath = "ClientFiles/flv/".$f.".flv";

// path to ffmpeg

   $ffmpegPath = "/usr/bin/ffmpeg";

//   sampling rate (valid values are 11025, 22050, 44100)

   $audSampleRate = 25050;      

//   bit rate of audio (valid values are 16,32,64)

   $audBitRate = 64;

// Frame Width

   $frameWidth = 640;

// Frame Height

   $frameHeight = 480;

exec("ffmpeg -i " . $inputVideoPath . " -ar " . $audSampleRate . " -ab " . $audBitRate . " -f flv -s " . $frameWidth . "x" . $frameHeight . " " . $outputVideoPath);

   echo 'Converting : '.$inputVideoPath.'<br />to<br />'.$outputVideoPath;
        echo '</body></html>';


I call the script by including the $f variable in the url like so:
http://localhost/www/conversion1.php?f=testVideo

I actaully get a file name testVideo.flv in the ClientFiles/flv/ directory, but the file size is 0kb. The same command typed directly into the terminal works flawlessly, but as soon as I uses PHP exec() I get 0kb.

I was wondering if anyone on the forum could tell me if I am not executing the command from PHP correctly or if I am need to recompile ffmpeg with a different configuration. Alternatively is there a way to read error messages from ffmpeg when executed from PHP. I have googled for several hours trying to figure this one out to no avail. Surely there is a tutorial for this somewhere.
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 12 Aug 2008, 20:59    Post subject:  

I know nothing of PHP so I can't help.
Back to top
View user's profile Send private message 
can8v

Joined: 15 Jul 2006
Posts: 584
Location: Yuba City, CA

PostPosted: Wed 13 Aug 2008, 03:43    Post subject:  

Plinej
Thanks for the quick response nonetheless. I have figured out the issue. I was using a Audo Sampling Rate of 25050 instead of 22050. Anyway with a successful PHP test out of the way I am now coding the upload form and video gallery.
Back to top
View user's profile Send private message Visit poster's website 
can8v

Joined: 15 Jul 2006
Posts: 584
Location: Yuba City, CA

PostPosted: Wed 13 Aug 2008, 04:45    Post subject:  

Is it possible for someone to compile this with the libamr codec so I can covert the 3gp videos from my cell phone? Any takers?
I can provide the PHP script I am working on if anyone is interested. I can also set it up as an extremely lightweight and flexible GUI to run on a localhost. Of course you would have to set up your own webserver, though there are a number of options as .pet packages or sfs modules, as well as xampp for Linux.
Back to top
View user's profile Send private message Visit poster's website 
tempestuous

Joined: 10 Jun 2005
Posts: 5293
Location: Australia

PostPosted: Wed 13 Aug 2008, 05:22    Post subject:  

can8v wrote:
Is it possible for someone to compile this with the libamr codec so I can covert the 3gp videos from my cell phone?

MPlayer/Mencoder with libamr support is here
http://www.murga-linux.com/puppy/viewtopic.php?t=26511
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0924s ][ Queries: 12 (0.0046s) ][ GZIP on ]