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 Wed 16 Apr 2014, 01:34
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
FFConvert - multimedia converter
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 14 [207 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 12, 13, 14 Next
Author Message
soliver

Joined: 31 Oct 2009
Posts: 22
Location: Germany - Koblenz

PostPosted: 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 Smile , sometimes it's hanging Confused

Greets
Back to top
View user's profile Send private message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: 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 Smile , sometimes it's hanging Confused

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
View user's profile Send private message Visit poster's website 
soliver

Joined: 31 Oct 2009
Posts: 22
Location: Germany - Koblenz

PostPosted: 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 Rolling Eyes

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
View user's profile Send private message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: 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 Rolling Eyes

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
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10653
Location: Arizona USA

PostPosted: 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. Sad

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.
FFConvert settings.jpg
 Description   
 Filesize   80.47 KB
 Viewed   1887 Time(s)

FFConvert settings.jpg

FFConvert results.png
 Description   
 Filesize   10.91 KB
 Viewed   1865 Time(s)

FFConvert results.png

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

Joined: 11 May 2010
Posts: 3

PostPosted: 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 Rolling Eyes

You can change the output directory and/or the input filetype.
Can someone integrate this in ffconvert?

Hope this works
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10653
Location: Arizona USA

PostPosted: Wed 12 May 2010, 16:12    Post subject:  

Thanks, dweez. I'll try it tonight, I hope. Smile
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10653
Location: Arizona USA

PostPosted: Tue 18 May 2010, 00:12    Post subject:  

It didn't work. Sad

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
View user's profile Send private message 
soliver

Joined: 31 Oct 2009
Posts: 22
Location: Germany - Koblenz

PostPosted: 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
ffmpeg.png
Description 
png

 Download 
Filename  ffmpeg.png 
Filesize  28.57 KB 
Downloaded  892 Time(s) 
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2384
Location: Japan

PostPosted: 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
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2384
Location: Japan

PostPosted: 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
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: 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/news/
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2384
Location: Japan

PostPosted: 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
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10653
Location: Arizona USA

PostPosted: 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
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10653
Location: Arizona USA

PostPosted: 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. Very Happy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 14 [207 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 12, 13, 14 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
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.0857s ][ Queries: 13 (0.0112s) ][ GZIP on ]