The time now is Wed 19 Jun 2013, 12:26
All times are UTC - 4 |
| Author |
Message |
soliver
Joined: 31 Oct 2009 Posts: 22 Location: Germany - Koblenz
|
Posted: Thu 06 May 2010, 05:01 Post subject:
theora |
|
Hello abushcrafter
I'm using puppy 4.12, so don't know if real-media is working properly in 4.31. What I can say is, when you make xinelib 1.28 in 4.12 you'll get a crappy sound with low bitrates (test an the url above).
If you want theora, you'll have to download and compile the source from the website http://theora.org/downloads/ with the dependencies (libogg, libvorbis and SDL). Now you can make the xinelib and/or ffmpeg with theora. That's what I did and it's working. I'm using ucview for my webcam and saving the vids with theora. Most of the time no problems , sometimes it's hanging
Greets
|
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1447 Location: England
|
Posted: Thu 06 May 2010, 14:24 Post subject:
Re: theora |
|
| soliver wrote: | Hello abushcrafter
I'm using puppy 4.12, so don't know if real-media is working properly in 4.31. What I can say is, when you make xinelib 1.28 in 4.12 you'll get a crappy sound with low bitrates (test an the url above).
If you want theora, you'll have to download and compile the source from the website http://theora.org/downloads/ with the dependencies (libogg, libvorbis and SDL). Now you can make the xinelib and/or ffmpeg with theora. That's what I did and it's working. I'm using ucview for my webcam and saving the vids with theora. Most of the time no problems , sometimes it's hanging
Greets | I already have those libs. I guess I will have to compile xine or ffmpeg. Which version should I go for?
|
|
Back to top
|
|
 |
soliver
Joined: 31 Oct 2009 Posts: 22 Location: Germany - Koblenz
|
Posted: Fri 07 May 2010, 03:59 Post subject:
|
|
Hi abushcrafter
| Quote: | | I already have those libs. I guess I will have to compile xine or ffmpeg. Which version should I go for? |
I think I'm not the one to tell you that, because of a "rookie-status". I'll try to explain what I did and hope it helps you, but be careful
I took ffmpeg source 0.5.1 and xinelib 1.28. Have some extras like new lame, speex, mad, musepack, wavpack, sndfile, replaygain... and then compiled it. Sounds easy, but wasn't. If you only need theora and you have compiled the libs, just try
ffmpeg:
use the one from shinobar
and
xinelib:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu --enable-ipv6 --disable-gnomevfs --disable-samba --enable-modplug --enable-antialiasing --with-sdl --with-wavpack --with-vorbis --with-theora --with-external-ffmpeg --with-freetype --with-fontconfig
(as a part of my ./configure lines)
Now xine/gxine can play theora and ffmpeg from shinobar can convert it / play it with ffplay.
Greets
|
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1447 Location: England
|
Posted: Fri 07 May 2010, 06:58 Post subject:
|
|
| soliver wrote: | Hi abushcrafter
| Quote: | | I already have those libs. I guess I will have to compile xine or ffmpeg. Which version should I go for? |
I think I'm not the one to tell you that, because of a "rookie-status". I'll try to explain what I did and hope it helps you, but be careful
I took ffmpeg source 0.5.1 and xinelib 1.28. Have some extras like new lame, speex, mad, musepack, wavpack, sndfile, replaygain... and then compiled it. Sounds easy, but wasn't. If you only need theora and you have compiled the libs, just try
ffmpeg:
use the one from shinobar
and
xinelib:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu --enable-ipv6 --disable-gnomevfs --disable-samba --enable-modplug --enable-antialiasing --with-sdl --with-wavpack --with-vorbis --with-theora --with-external-ffmpeg --with-freetype --with-fontconfig
(as a part of my ./configure lines)
Now xine/gxine can play theora and ffmpeg from shinobar can convert it / play it with ffplay.
Greets | Thank you. I will give that a go when I have the time.
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9910 Location: Arizona USA
|
Posted: Tue 11 May 2010, 00:23 Post subject:
|
|
| soliver wrote: | | Quote: | Flash wrote:
I'm trying out Quirky 021, which comes with FFConvert in the Multimedia section. I'd like to use FFConvert to change the resolution of mp3 files from 192 kbps (or whatever) stereo, to 32 kbps mono, but I can't see any way to do it. |
Just go to the preset MP3 (mono), choose your file and output directory and type 32 in the bitrate:(kbps) area. | It won't work. Here are the FFConvert settings I used, and the result.
Also, I can't see any way to tell FFConvert to convert the whole CD full of mp3 files. It only allows me to do them one at a time, which will take forever as there can be several hundred mp3 files on a mp3 book CD.
| Description |
|
| Filesize |
80.47 KB |
| Viewed |
1777 Time(s) |

|
| Description |
|
| Filesize |
10.91 KB |
| Viewed |
1763 Time(s) |

|
|
|
Back to top
|
|
 |
dweez
Joined: 11 May 2010 Posts: 3
|
Posted: Wed 12 May 2010, 14:39 Post subject:
convert directory |
|
Hello Flash
to convert whole directory try this:
- go to directory and open terminal
- type/paste
for f in *.mp3;do ffmpeg -i "$f" -y -f mp3 -acodec libmp3lame -ab 32k -ac 1 -ar 22050 /root/My-Music/"$f";done
- wait
You can change the output directory and/or the input filetype.
Can someone integrate this in ffconvert?
Hope this works
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9910 Location: Arizona USA
|
Posted: Wed 12 May 2010, 16:12 Post subject:
|
|
Thanks, dweez. I'll try it tonight, I hope.
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9910 Location: Arizona USA
|
Posted: Tue 18 May 2010, 00:12 Post subject:
|
|
It didn't work.
It almost did. (In Quirky 1.0) I created a directory in /tmp called Dallas,/Whiter to hold the converted mp3 files, mounted the mp3 CD, opened a terminal in the CD directory, pasted the code as you see it below, and here's the error it gave:
| Code: | # for f in *.mp3;do ffmpeg -i "$f" -y -f mp3 -acodec libmp3lame -ab 32k -ac 1 -ar 22050 /tmp/Dallas,/Whiter/"$f";done
ffmpeg: symbol lookup error: /usr/lib/libavcodec.so.52: undefined symbol: speex_header_free |
|
|
Back to top
|
|
 |
soliver
Joined: 31 Oct 2009 Posts: 22 Location: Germany - Koblenz
|
Posted: Wed 19 May 2010, 13:36 Post subject:
converting directory |
|
Hi ho flash
For ME it seems that it is a problem of your/shinobars ffmpeg. Like you see (picture) it works well. I mounted a stick instead a cd, named the directory and copied the code....
Two differences : a) another puppy version (think don't matter) b) I have ffmpeg latest stable (because of the x264) compiled by myself with all dependencies (like new liblame). It looks that ffmepg isn't compiled against your liblame and others so it won't work.
Sorry for that, but seems you'll have to compile it yourself with all the dependencies. Don't know what other people think but the code is working well.
Greets
and
take care
| Description |
|

Download |
| Filename |
ffmpeg.png |
| Filesize |
28.57 KB |
| Downloaded |
670 Time(s) |
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2271 Location: Japan
|
Posted: Thu 20 May 2010, 03:40 Post subject:
ffmpeg/ffconvert update |
|
Hi flash and to all,
if you installed my ffmpeg of the large pet, try to upgrade:
ffmpeg-20100408-0.7.pet, which contains libspeex.
ffconvert also updated to version 0.7, with small bugfix.
Last edited by shinobar on Thu 20 May 2010, 03:43; edited 1 time in total
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2271 Location: Japan
|
Posted: Thu 20 May 2010, 03:41 Post subject:
ffmpeg/ffconvert update |
|
The large pet ffmpeg-20100408-0.7.pet, which contains libspeex.
The small pet ffconvert-0.7.pet, with small bugfix.
Both available from the top of this topic.
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6874 Location: Perth, Western Australia
|
Posted: Thu 20 May 2010, 21:34 Post subject:
Re: ffmpeg/ffconvert update |
|
| shinobar wrote: | The large pet ffmpeg-20100408-0.7.pet, which contains libspeex.
The small pet ffconvert-0.7.pet, with small bugfix.
Both available from the top of this topic. |
Hi, you have uploaded the 'ffconvert-0.7' directory, not the .pet.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2271 Location: Japan
|
Posted: Fri 21 May 2010, 10:32 Post subject:
Re: ffmpeg/ffconvert update |
|
| BarryK wrote: | | [Hi, you have uploaded the 'ffconvert-0.7' directory, not the .pet. |
Thanks Barry. Uploaded the pet now.
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9910 Location: Arizona USA
|
Posted: Sun 23 May 2010, 23:06 Post subject:
Re: convert directory |
|
| dweez wrote: | Hello Flash
to convert whole directory try this:
- go to directory and open terminal
- type/paste
| Code: | | for f in *.mp3;do ffmpeg -i "$f" -y -f mp3 -acodec libmp3lame -ab 32k -ac 1 -ar 22050 /root/My-Music/"$f";done |
|
After installing shinobar's big ffmpeg-0.7.pet, this did the job. The only hitch, which had no effect on the result, was that when it ran out of mp3 files to convert, it gave this confusing error: | Quote: | Input #0, mp3, from '153END.mp3':
Metadata:
TIT2 : 153 The End - Pearl of China
TPE1 : Recorded Books
Duration: 00:00:00.00, start: 0.000000, bitrate: -2147483 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, 2 channels, s16, 128 kb/s
Output #0, mp3, to '/mnt/sdf1/Mp3_books/Min,/Pearl/153END.mp3':
Metadata:
TSSE : Lavf52.61.0
Stream #0.0: Audio: libmp3lame, 22050 Hz, 1 channels, s16, 32 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[libmp3lame @ 0x809f460]lame: output buffer too small (buffer index: 9508, free bytes: 284)
Audio encoding failed
# |
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9910 Location: Arizona USA
|
Posted: Sun 23 May 2010, 23:32 Post subject:
|
|
GNOME MPlayer started working in Quirky 100 after I installed shinobar's big ffmpeg-0.7.pet.
|
|
Back to top
|
|
 |
|
|
|
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
|