ffmpeg-svn-r7400
ffmpeg-svn-r7400
I compiled a new ffmpeg with these options:
--prefix=/usr --libdir=/usr/lib --mandir=/usr/man --disable-debug --enable-mp3lame --enable-a52 --enable-gpl --enable-shared --enable-pp --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb --enable-pthreads --enable-dts --enable-faac --enable-faad --enable-libogg --disable-audio-beos
I used the source code that I posted over in this thread:
http://www.murga-linux.com/puppy/viewto ... 98&t=14213
which is the svn source from Janruary 2nd 2007. I compiled the svn from today and a day last week but both versions seem to be corrupt. They wouldn't allow me to use any specified audio bitrates with the -ab parameter (tried mp3, mp2, and ac3). It would just default to the worst possible quality for some reason. I'll have to submit a bug to the ffmpeg guys. The package extracted is 6.47 mb's.
You will need libfaac:
http://www.murga-linux.com/puppy/viewtopic.php?t=16947
You will need libfaad:
http://www.murga-linux.com/puppy/viewtopic.php?t=16948
You will need libdts:
http://www.murga-linux.com/puppy/viewtopic.php?t=16946
Here's the link to the ffmpeg package:
http://puppyfiles.org/dotpupsde/dotpups ... -r7400.pet
I included the following binary executables:
ffmpeg
ffplay
ffserver
--prefix=/usr --libdir=/usr/lib --mandir=/usr/man --disable-debug --enable-mp3lame --enable-a52 --enable-gpl --enable-shared --enable-pp --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb --enable-pthreads --enable-dts --enable-faac --enable-faad --enable-libogg --disable-audio-beos
I used the source code that I posted over in this thread:
http://www.murga-linux.com/puppy/viewto ... 98&t=14213
which is the svn source from Janruary 2nd 2007. I compiled the svn from today and a day last week but both versions seem to be corrupt. They wouldn't allow me to use any specified audio bitrates with the -ab parameter (tried mp3, mp2, and ac3). It would just default to the worst possible quality for some reason. I'll have to submit a bug to the ffmpeg guys. The package extracted is 6.47 mb's.
You will need libfaac:
http://www.murga-linux.com/puppy/viewtopic.php?t=16947
You will need libfaad:
http://www.murga-linux.com/puppy/viewtopic.php?t=16948
You will need libdts:
http://www.murga-linux.com/puppy/viewtopic.php?t=16946
Here's the link to the ffmpeg package:
http://puppyfiles.org/dotpupsde/dotpups ... -r7400.pet
I included the following binary executables:
ffmpeg
ffplay
ffserver
Last edited by plinej on Tue 03 Apr 2007, 21:43, edited 8 times in total.
AAC support
Im trying to convert some videos for my website to flash video (.FLV) format from 3gp taken with my phone, what would I have to add to this to enable it to be done?
I found this post but dont understand most of it (Im new to this)
http://flixforums.com/archive/index.php/t-240.html
I found this post but dont understand most of it (Im new to this)
http://flixforums.com/archive/index.php/t-240.html
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
Hi
Have tried this, and while the video converted ok, the sound was absent (I have tried converting between other formats with a lot of success though). I have the idea that mplayer and ffmpeg are somehow linked? I cant hear any sound in mplayer (or gxine) even on other videos I have downloaded from the web.
I know the sound is on the 3gp because I have been uploading samples of it from my phone to video sharing sites (such as youtube, eyespot etc) and I can hear the sound on there.
Apparently 3gp uses some strange audio format? Heres a link to the open source player I want to use on my site, and it describes something to do with the audio.
btw plinej, I have been admiring your program for creating dvd's. ffmpeg is the only free tool I have come across for converting video on windows or Linux (google for "convert flash video" you will see what I mean!, and seems amazingly powerful if you have an understanding of the various codecs and formats. It would be great to have an open source graphical converter that would simply take in some parameters and convert the video. With the explosion of web 2.0 and videophones then I am sure that it would be an extremely popular addition to open source. could your converter be extended?
I know the sound is on the 3gp because I have been uploading samples of it from my phone to video sharing sites (such as youtube, eyespot etc) and I can hear the sound on there.
Apparently 3gp uses some strange audio format? Heres a link to the open source player I want to use on my site, and it describes something to do with the audio.
btw plinej, I have been admiring your program for creating dvd's. ffmpeg is the only free tool I have come across for converting video on windows or Linux (google for "convert flash video" you will see what I mean!, and seems amazingly powerful if you have an understanding of the various codecs and formats. It would be great to have an open source graphical converter that would simply take in some parameters and convert the video. With the explosion of web 2.0 and videophones then I am sure that it would be an extremely popular addition to open source. could your converter be extended?
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
Yeah, I have thought about adding more in Pupdvdtool but just have been sidetracked with some other projects lately. Once I look at that program again I'll probably want to re-write some of it since I've been learning quite a bit lately. I'm thinking adding on to the ffmpeg gui is a good idea but I've got to do some studying up on these formats since I don't use them. I see on the link you provided the page says to compile ffmpeg with these options:
./configure --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb --enable-mp3lame
I don't remember if or what extras I may have enabled but I doubt if I did all of those. If I've got time on Tuesday afternoon I'll re-compile ffmpeg like that and see if it will work for you.
./configure --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb --enable-mp3lame
I don't remember if or what extras I may have enabled but I doubt if I did all of those. If I've got time on Tuesday afternoon I'll re-compile ffmpeg like that and see if it will work for you.
It won't configure with amr support for some reason. I get this error:
AMR WB FLOAT NOTICE ! Make sure you have downloaded TS26.204
V5.1.0 from
http://www.3gpp.org/ftp/Specs/archive/2 ... 04-510.zip
and extracted the source to libavcodec/amrwb_float
AMR NB FIXED POINT NOTICE! Make sure you have downloaded TS26.073
REL-5 version 5.1.0 from
http://www.3gpp.org/ftp/Specs/archive/2 ... 73-510.zip
and extracted src to libavcodec/amr
You must also add -DMMS_IO and remove -pedantic-errors to/from CFLAGS in libavcodec/amr/makefile.
i.e. CFLAGS = -Wall -I. $(CFLAGS_$(MODE)) -D$(VAD) -DMMS_IO
config.h is unchanged
------------------------------------------------------------------------------------------
even though I did exactly those things. I'll try messing with it some more.
AMR WB FLOAT NOTICE ! Make sure you have downloaded TS26.204
V5.1.0 from
http://www.3gpp.org/ftp/Specs/archive/2 ... 04-510.zip
and extracted the source to libavcodec/amrwb_float
AMR NB FIXED POINT NOTICE! Make sure you have downloaded TS26.073
REL-5 version 5.1.0 from
http://www.3gpp.org/ftp/Specs/archive/2 ... 73-510.zip
and extracted src to libavcodec/amr
You must also add -DMMS_IO and remove -pedantic-errors to/from CFLAGS in libavcodec/amr/makefile.
i.e. CFLAGS = -Wall -I. $(CFLAGS_$(MODE)) -D$(VAD) -DMMS_IO
config.h is unchanged
------------------------------------------------------------------------------------------
even though I did exactly those things. I'll try messing with it some more.
I've messed with it for a while and am just not sure why it won't compile. I've followed the instructions but no luck. If anyone wants to give it a shot you can download the ffmpeg svn version at:
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
Of course you'll need subversion installed. It is available as an alien package that works in pupget.
http://www.murga.org/~puppy/download.php?id=2310
And of course you'll need the appropriate devx_xxx.sfs to compile in puppy.
http://www.puppyos.net/test/
When configuring use these commands:
./configure --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb --enable-mp3lame --enable-shared
The enable shared will give you seperate libs as opposed to packing everything in the ffmpeg executable.
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
Of course you'll need subversion installed. It is available as an alien package that works in pupget.
http://www.murga.org/~puppy/download.php?id=2310
And of course you'll need the appropriate devx_xxx.sfs to compile in puppy.
http://www.puppyos.net/test/
When configuring use these commands:
./configure --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb --enable-mp3lame --enable-shared
The enable shared will give you seperate libs as opposed to packing everything in the ffmpeg executable.
Thanks plinej
Thanks for that plinej. I dont understand a lot of what you put ( I *will* get round to understanding how to compile!!!), but I did notice that one of the downloads that you need to do it was different to one that was reported in a forum link an earlier post.
http://www.3gpp.org/ftp/Specs/archive/2 ... 04-510.zip
http://www.3gpp.org/ftp/Specs/archive/2 ... 04-510.zip
Hope you will try it again
Ecomoney systems
I think the links in the top two lines re the ones that work with mplayer, perhaps they are the ones that work in ffmpeg too?It has been my experience that only this code from 3gpp actually works.
http://www.3gpp.org/ftp/Specs/archive/2 ... 04-510.zip
http://www.3gpp.org/ftp/Specs/archive/2 ... 04-510.zip
Once you've pulled those down you need to unzip the top level to get to the actual code.
mkdir working
cd working
unzip -q 26104-510.zip
unzip -q 26204-510.zip
Now add into MPlayer
cd MPlayer
mkdir libavcodec/amr_float
mkdir libavcodec/amrwb_float
cd libavcodec/amr_float
unzip -q /working/26104-510_ANSI_C_source_code.zip
cd libavcodev/amrwb_float
unzip -q /working/26204-510_ANSI-C_source_code.zip
When you compile mplayer it should figure out that AMR is now enabled and add it in.
kashani
http://www.3gpp.org/ftp/Specs/archive/2 ... 04-510.zip
http://www.3gpp.org/ftp/Specs/archive/2 ... 04-510.zip
Hope you will try it again
Ecomoney systems
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
For future reference it seems you need to make 3 directories in the libavcodec directory of the ffmpeg source code before compiling ffmpeg with amr support.
amr
amr_float
amrwb_float
download and extract
http://www.3gpp.org/ftp/Specs/archive/2 ... 04-510.zip
to amrwb_float
download and extract
http://www.3gpp.org/ftp/Specs/archive/2 ... 73-510.zip
to amr
download and extract
http://www.3gpp.org/ftp/Specs/archive/2 ... 04-510.zip
to amr_float
You also need to change a line in libavcodec/amr/makefile
from:
CFLAGS = -Wall -pedantic-errors -I. $(CFLAGS_$(MODE)) -D$(VAD)
to
CFLAGS = -Wall -I. $(CFLAGS_$(MODE)) -D$(VAD) -DMMS_IO
and then go back to the ffmpeg directory and configure with these options:
./configure --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb --enable-mp3lame --enable-shared --enable-a52 --enable-gpl
then:
make
amr
amr_float
amrwb_float
download and extract
http://www.3gpp.org/ftp/Specs/archive/2 ... 04-510.zip
to amrwb_float
download and extract
http://www.3gpp.org/ftp/Specs/archive/2 ... 73-510.zip
to amr
download and extract
http://www.3gpp.org/ftp/Specs/archive/2 ... 04-510.zip
to amr_float
You also need to change a line in libavcodec/amr/makefile
from:
CFLAGS = -Wall -pedantic-errors -I. $(CFLAGS_$(MODE)) -D$(VAD)
to
CFLAGS = -Wall -I. $(CFLAGS_$(MODE)) -D$(VAD) -DMMS_IO
and then go back to the ffmpeg directory and configure with these options:
./configure --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb --enable-mp3lame --enable-shared --enable-a52 --enable-gpl
then:
make
Last edited by plinej on Tue 05 Dec 2006, 22:46, edited 2 times in total.
WORKS!!!!!! Hurrraaaarrrrrrr!!!!!
Hiya Plinej
Works Beautifully!!!
Here is a quick video (beware I had just woken up!) that I 'translated' directly from 3gp format into flash video (.flv) with the command:-
I literally just pulled the thanksplinej.3gp file from my w300i videophone using MUT, converted it with this command and uploaded it to my servage webspace (now I know what all that bandwidth is for!). I put it in the same directory as a copy of the open source flash player swf flowplayer along with a quick html file like this
Viola instant opensource youtube!!!
This is going to make a big difference to Ecomoney's community projects at www.ecomoney.co.uk and www.scunnymoney.com. We will be able to post video introductions of volunteers and community groups and make the site a lot more attractive.
This is the crux of it done, but just a few other questions (I would like to write a tutorial for this).
1. When converting to other formats
then I get no picture only sound, (notice the .avi on the end, Im converting from 3gp to avi), while
works flawlessly?
2. When playing .flv files in gxine or mplayer, I cant seem to control the bar at the bottom to select where I am in the video, though it plays from start to finish without a problem.
Thanks again for your great work and persistance
Ecomoney
Works Beautifully!!!
Here is a quick video (beware I had just woken up!) that I 'translated' directly from 3gp format into flash video (.flv) with the command:-
Code: Select all
ffmpeg -i thanksplinej.3gp -s 176x144 -ar 44100 -r 12 thanksplinej.flv
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>FlowPlayer</title>
</head>
<body bgcolor="#CCCCCC">
<!--
Flashvars are used to configure the player. All configuration settings
can be specified here in HTML object tag using the 'flashvars' parameter.
Alternatively an external configuration file can be used. In this case
the name of the configuration file must be specified here in flashvars.
Please refer to flowPlayer.js for documentation of the different configuration
parameters that are available also to be used as flashvars.
-->
<object type="application/x-shockwave-flash" data="FlowPlayer.swf"
width="640" height="480" id="FlowPlayer">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="FlowPlayer.swf" />
<param name="quality" value="high" />
<param name="scale" value="noScale" />
<param name="wmode" value="transparent" />
<param name="flashvars" value="videoFile=thanksplinej.flv" />
</object>
</body>
</html>
This is going to make a big difference to Ecomoney's community projects at www.ecomoney.co.uk and www.scunnymoney.com. We will be able to post video introductions of volunteers and community groups and make the site a lot more attractive.
This is the crux of it done, but just a few other questions (I would like to write a tutorial for this).
1. When converting to other formats
Code: Select all
ffmpeg -i thanksplinej.3gp -s 176x144 -ar 44100 -r 12 thanksplinej.avi
Code: Select all
ffmpeg -i thanksplinej.3gp -s 176x144 -ar 44100 -r 12 thanksplinej.wmv
2. When playing .flv files in gxine or mplayer, I cant seem to control the bar at the bottom to select where I am in the video, though it plays from start to finish without a problem.
Thanks again for your great work and persistance
Ecomoney
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
I compiled a new ffmpeg with these options:
--prefix=/usr --libdir=/usr/lib --mandir=/usr/man --disable-debug --enable-mp3lame --enable-a52 --enable-gpl --enable-shared --enable-pp --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb --enable-pthreads --enable-dts --enable-faac --enable-faad --enable-libogg --disable-audio-beos
The dotpet is just about 2 mb's so it's too big to post in this forum. I need an alternate place to post it and then I will provide a link. I used the source code that I posted over in this thread:
http://www.murga-linux.com/puppy/viewto ... 98&t=14213
which is the svn source from Janruary 2nd 2007. I compiled the svn from today and a day last week but both versions seem to be corrupt. They wouldn't allow me to use any specified audio bitrates with the -ab parameter (tried mp3, mp2, and ac3). It would just default to the worst possible quality for some reason. I'll have to submit a bug to the ffmpeg guys. The full package extracted is 6.47 mb's. I'll post a link at the top of this thread when I find a place to host the dotpet.
--prefix=/usr --libdir=/usr/lib --mandir=/usr/man --disable-debug --enable-mp3lame --enable-a52 --enable-gpl --enable-shared --enable-pp --enable-amr_nb --enable-amr_nb-fixed --enable-amr_wb --enable-pthreads --enable-dts --enable-faac --enable-faad --enable-libogg --disable-audio-beos
The dotpet is just about 2 mb's so it's too big to post in this forum. I need an alternate place to post it and then I will provide a link. I used the source code that I posted over in this thread:
http://www.murga-linux.com/puppy/viewto ... 98&t=14213
which is the svn source from Janruary 2nd 2007. I compiled the svn from today and a day last week but both versions seem to be corrupt. They wouldn't allow me to use any specified audio bitrates with the -ab parameter (tried mp3, mp2, and ac3). It would just default to the worst possible quality for some reason. I'll have to submit a bug to the ffmpeg guys. The full package extracted is 6.47 mb's. I'll post a link at the top of this thread when I find a place to host the dotpet.
video decoder
Oh NO!!!!
Went to get the 3gp converter and it had disappeared!!! Ive spent a lot of time getting version 2.02 to work, and .PETS dont work with this. Can we have a link to the old ffmpeg pup for us old timers please. If mirror space is a problem, Ive got plenty just send me a pm thanx .
Went to get the 3gp converter and it had disappeared!!! Ive spent a lot of time getting version 2.02 to work, and .PETS dont work with this. Can we have a link to the old ffmpeg pup for us old timers please. If mirror space is a problem, Ive got plenty just send me a pm thanx .
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
Phew
Phew, managed to find an old copy of this file, and have uploaded it to my mirror here
http://www.ecomoney.eu/puppy/pups/video ... 07-svn.pup
BEWARE, this file seems to delete itself every time it is installed, so if you have an "installs" directory for new setups it WILL delete itself from it and you will need to re-download it from here.
http://www.ecomoney.eu/puppy/pups/video ... 07-svn.pup
BEWARE, this file seems to delete itself every time it is installed, so if you have an "installs" directory for new setups it WILL delete itself from it and you will need to re-download it from here.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
Thanx
I will give it a try with the new version next time I need to install, thanks. I used to be an experimenter but now when I find a way that works I just stick with it.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!