| Author |
Message |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: 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.
| Description |
|

Download |
| Filename |
faad2-2.6.pet |
| Filesize |
175.15 KB |
| Downloaded |
624 Time(s) |
| Description |
|

Download |
| Filename |
faac-1.26.pet |
| Filesize |
50.15 KB |
| Downloaded |
616 Time(s) |
| Description |
|

Download |
| Filename |
ffmpeg_dev-svn-r14332.pet |
| Filesize |
54.67 KB |
| Downloaded |
717 Time(s) |
Last edited by plinej on Mon 21 Jul 2008, 23:21; edited 2 times in total
|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: 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?
big_bass
|
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: 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.
| Description |
|

Download |
| Filename |
faad2_dev-2.6.pet |
| Filesize |
48.47 KB |
| Downloaded |
380 Time(s) |
| Description |
|

Download |
| Filename |
faac_dev-1.26.pet |
| Filesize |
2.24 KB |
| Downloaded |
370 Time(s) |
Last edited by plinej on Mon 21 Jul 2008, 23:23; edited 1 time in total
|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: 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
sorry for the false alarm
all your work looks fine now that I have all of it
good job!
big_bass
|
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: Mon 21 Jul 2008, 23:32 Post subject:
|
|
updated to latest svn
|
|
Back to top
|
|
 |
Aung
Joined: 19 Jan 2007 Posts: 108 Location: Hervey Bay
|
Posted: 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
| Description |
|
| Filesize |
12.73 KB |
| Viewed |
2826 Time(s) |

|
|
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: 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:
| Description |
|

Download |
| Filename |
yasm-0.7.1.pet |
| Filesize |
206.01 KB |
| Downloaded |
444 Time(s) |
| Description |
|

Download |
| Filename |
x264-snapshot-20080725-2245.pet |
| Filesize |
534.02 KB |
| Downloaded |
444 Time(s) |
| Description |
|

Download |
| Filename |
xvidcore-1.1.3.pet |
| Filesize |
203.5 KB |
| Downloaded |
440 Time(s) |
Last edited by plinej on Sat 10 Jan 2009, 15:32; edited 1 time in total
|
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: Sat 26 Jul 2008, 10:00 Post subject:
|
|
Here are the dev files for the version posted right above this message.
| Description |
|

Download |
| Filename |
x264_dev-snapshot-20080725-2245.pet |
| Filesize |
7.4 KB |
| Downloaded |
391 Time(s) |
| Description |
|

Download |
| Filename |
xvidcore_dev-1.1.3.pet |
| Filesize |
9.27 KB |
| Downloaded |
397 Time(s) |
| Description |
|

Download |
| Filename |
yasm_dev-0.7.1.pet |
| Filesize |
54.16 KB |
| Downloaded |
397 Time(s) |
|
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: Sat 26 Jul 2008, 10:01 Post subject:
|
|
and finally, the ffmpeg dev files for the version posted 2 messages above.
| Description |
|

Download |
| Filename |
ffmpeg-xvid_dev-svn-r14332.pet |
| Filesize |
54.68 KB |
| Downloaded |
425 Time(s) |
|
|
Back to top
|
|
 |
Aung
Joined: 19 Jan 2007 Posts: 108 Location: Hervey Bay
|
Posted: 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
|
|
 |
can8v
Joined: 15 Jul 2006 Posts: 433 Location: Yuba City, CA
|
Posted: 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.
_________________ Check out the Puppy WiFi Assistant
http://salis.sutteryuba.com/WiFi.php
The development thread: http://www.murga-linux.com/puppy/viewtopic.php?t=28434
|
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: Tue 12 Aug 2008, 20:59 Post subject:
|
|
I know nothing of PHP so I can't help.
|
|
Back to top
|
|
 |
can8v
Joined: 15 Jul 2006 Posts: 433 Location: Yuba City, CA
|
Posted: 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.
_________________ Check out the Puppy WiFi Assistant
http://salis.sutteryuba.com/WiFi.php
The development thread: http://www.murga-linux.com/puppy/viewtopic.php?t=28434
|
|
Back to top
|
|
 |
can8v
Joined: 15 Jul 2006 Posts: 433 Location: Yuba City, CA
|
Posted: 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.
_________________ Check out the Puppy WiFi Assistant
http://salis.sutteryuba.com/WiFi.php
The development thread: http://www.murga-linux.com/puppy/viewtopic.php?t=28434
|
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 4944 Location: Australia
|
Posted: 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
|
|
 |
|