SliTaz SliTaz Forum

You are not logged in.

#1 2012-06-23 11:36:05

gdesilva
Member
Registered: 2011-04-07
Posts: 419

ffmpeg cook fails

Trying to cook ffmpeg with libmp3lame support but getting an error message stating that ffmpeg/stuff is not found.

Can someone tell me how to get ffmpeg/stuff from hg?

Thanks

Offline

#2 2012-06-23 12:35:31

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: ffmpeg cook fails

Permanent link to the latest ffmpeg in the wok: http://hg.slitaz.org/wok/file/tip/ffmpeg

Offline

#3 2012-06-23 13:53:22

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: ffmpeg cook fails

Ah, seems Bellard split ffmpeg into ffmpeg and ffplay. So maybe installing ffplay will fix this?

Offline

#4 2012-06-23 14:55:55

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: ffmpeg cook fails

@gdesilva

[c]mkdir stuff /path/to/local/wok/ffmpeg[/c]

[c]cd /path/to/local/wok/ffmpeg/stuff[/c]

Click on each file then choose Raw in Navigation menu:

http://hg.slitaz.org/wok-stable/file/85ebe54ab5d2/ffmpeg/stuff

Use wget with the url of each raw file to download into stuff folder.

Offline

#5 2012-06-24 08:42:10

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: ffmpeg cook fails

I may be going off a tangent here...so please bear with me! I am trying to use ffmpeg to extract mp3 audio from a flv file. When I run ffmpeg without any output codec options I get the following error;

Encoder (codec id 86017) not found for output stream #0.0

When I use vlc to convert the file, I get a message stating that ffmpeg does not have mp3 encoder support.

Checking elsewhere I found that ffmpeg needs to be compiled with libmp3lame support for what I am trying to do and hence the attempt at cooking ffmpeg with this option. However, receipt does not have any libmp3lame options listed.

What am I missing or is there a better way to do what I am trying to do in the first place?

Many thanks.

Offline

#6 2012-06-24 09:28:49

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: ffmpeg cook fails

you are already supported by masters of the forum, and I will not take anything away, but maybe not what you were looking for, or did not understand the purpose, however I used to play all kinds of multimedia files including flv a package that supports all the functions in a single player.

will appeal or not, remains cmq found the only fully functional in SliTaz

http://www.freefilehosting.net/smplayer-svn-32666.

greetings Gibor

Offline

#7 2012-06-24 16:07:57

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: ffmpeg cook fails

@gdesilva

Strip/decode audio to wav with ffmpeg from sample.flv:

[c]ffmpeg -i sample.flv -vn -ar 44100 -ac 2  -f wav  sample.wav[/c]

Transcode the wav with another program to the audio format you choose with the desired options.

Convert wav to mp3 with lame:

[c]lame -V2 sample.wav sample.mp3[/c]

Offline

#8 2012-06-25 02:50:23

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: ffmpeg cook fails

@mojo, works like a charm - thanks a lot.

@gibor, will give smplayer a try. This was just a one off thing I wanted to do and mojo's suggestion was ideal for the purpose. Thanks for your response.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]