ffmpeg-svn-r14332

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

ffmpeg-svn-r14332

#1 Post by plinej »

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.
Attachments
faad2-2.6.pet
(175.15 KiB) Downloaded 960 times
faac-1.26.pet
(50.15 KiB) Downloaded 874 times
ffmpeg_dev-svn-r14332.pet
(54.67 KiB) Downloaded 970 times
Last edited by plinej on Tue 22 Jul 2008, 03:21, edited 2 times in total.

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

Re: ffmpeg-r11518-2008-01-12

#2 Post by big_bass »

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? :D

big_bass

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#3 Post by plinej »

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.
Attachments
faad2_dev-2.6.pet
(48.47 KiB) Downloaded 612 times
faac_dev-1.26.pet
(2.24 KiB) Downloaded 641 times
Last edited by plinej on Tue 22 Jul 2008, 03:23, edited 1 time in total.

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#4 Post by big_bass »

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 :lol:

good job!

big_bass

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#5 Post by plinej »

updated to latest svn

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#6 Post by Aung »

@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
Attachments
ffmpeg.png
(12.73 KiB) Downloaded 3118 times

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#7 Post by plinej »

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

You'll need these installed too:
Last edited by plinej on Sat 10 Jan 2009, 19:32, edited 1 time in total.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#8 Post by plinej »

Here are the dev files for the version posted right above this message.
Attachments
xvidcore_dev-1.1.3.pet
(9.27 KiB) Downloaded 640 times
yasm_dev-0.7.1.pet
(54.16 KiB) Downloaded 666 times

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#9 Post by plinej »

and finally, the ffmpeg dev files for the version posted 2 messages above.
Attachments
ffmpeg-xvid_dev-svn-r14332.pet
(54.68 KiB) Downloaded 658 times

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#10 Post by Aung »

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

can8v
Posts: 586
Joined: Sat 15 Jul 2006, 08:20
Location: Yuba City, CA
Contact:

#11 Post by can8v »

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: Select all

<?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.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#12 Post by plinej »

I know nothing of PHP so I can't help.

can8v
Posts: 586
Joined: Sat 15 Jul 2006, 08:20
Location: Yuba City, CA
Contact:

#13 Post by can8v »

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.

can8v
Posts: 586
Joined: Sat 15 Jul 2006, 08:20
Location: Yuba City, CA
Contact:

#14 Post by can8v »

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.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#15 Post by tempestuous »

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

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#16 Post by Aung »

Plinej, just checking in, xvid and x264 work a treat in Kino, but alas I did a Humpty Dumpty with kdenlive. 4.03 was not seeing my flash drive and /usr/share/applications would crash X when clicked so I decided to up to 4.04. Cant put Humpty back togeather again. I have never done a pudd, pbackup or pmirror and choose pudd, it looked the best option. I remember choosing not to fill the whole partition and set off but I cant remember what triggered me to halt pudd, I saw something amiss, but it was too late, you guessed it, pudd had already nuked all the miss-mash of rpms amd debs I built kdenlive with (even used a .pet for libfam and SDL). Pudd needs a big FAT warning that it is going to nuke that partition first. For more than a year I have been trying to install kdenlive so for the past couple of weeks I have been trying it with debs only plus kdelibs, and qt, like it says so below. I choose debs, Debian has the best librarys's set out and depends, makes the other's look like a dogs breakfast.

by Aung on Sat Jun 09, 2007 5:46 am
Is it possible to use Kdenlive without KDE installed.
What in KDE is needed to use Kdenlive? Is it possible to build Kdenlive with just the dependents - modules that Kdenlive needs. I am using Puppy Linux with JWM window manager and Rox file manager. If KDE is fully needed, what are the minumun requirements. Aung

by j-b-m on Sun Jun 10, 2007 6:19 pm
Basically, for the KDE part you should only need kdelibs, kdelibs-devel, qt and qt-devel packages. regards jbm

Alas not quite the Full Humpty, something missing, cant load a raw dv clip from kino, some sort of 'malformed URL' message. Putting the project on hold untill someone builds an amd64 kernel. Back to using kino. Aung

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#17 Post by vtpup »

plinej, thanks for compiling ffmpeg.

I was hoping to download the "fat" version you made for Aung -- you listed the download url here:

http://www.savefile.com/files/1690407

but the link is dead.

Do you have it hosted elsewhere, and what is the filename?

Thanks!

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#18 Post by plinej »

I updated the link. It's now here:

http://www.savefile.com/files/1960174

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#19 Post by vtpup »

Thanks! :D

Post Reply