Last edited by FakeOutdoorsman; July 2nd, 2010 at 11:26 PM.
What an awesome tutorial, thanks a lot!
Tingueu presents les normes d'or dels fòrums d'Ubuntu: poseu un títol entenedor i apropiat als vostres fils; digueu quina versió i variant d'Ubuntu feu servir i a quina màquina; i què heu provat abans de demanar ajut.
Always doing it.Code:sudo aptitude ffmpeg ffmpeg-dbg
Registered Linux user,number 507113.02-01-2013: ASUS M4A785TD-V EVO 785G |Athlon 2 X4 640|4 GiB DDR|1 TiB SATA2|Radeon HD 6570(HDMI)|Realtek 7.1 HDMI audio|Gigabit Lan|Kubuntu 12.10 Quanzal AMD64
I'm getting the following error when compiling ffmpeg:
Any ideas?Code:/home/ravenel/source/ffmpeg/libavformat/libavformat.a(id3v2.o): In function `read_ttag': /home/ravenel/source/ffmpeg/libavformat/id3v2.c:142: undefined reference to `ff_id3v1_genre_str' collect2: ld returned 1 exit status make: *** [ffmpeg_g] Error 1
FYI, here are the configuration options I passed:
Code:./configure --enable-pthreads --enable-gpl --enable-postproc --enable-memalign-hack --enable-runtime-cpudetect --disable-devices --disable-filters --disable-encoders --disable-muxers --disable-network --disable-outdevs --disable-decoder=aac,ac3,adpcm_*,alac,als,ape,atrac?,cook,dca,dsicinaudio,dxa,eac3,flac,interplay_dpcm,mlp,mp1,mp2,mp3,mp3*,mpc?,pcm_*,qcelp,ra_*,sipr,truehd,truespeech,tta,vorbis,wavpack,wma*,twinvq --disable-demuxer=aac,ac3,pcm_*,ape,amr,***,au,avs,dts,eac3,flac,mp3,mpc,mpc8,truehd,tta,w64,wav,wv --disable-parser=aac,ac3,dca,mlp,mpegaudio
Apparently this is due to a bug in ffmpeg. I retried using source from 6/1 (just a date I picked), and it worked fine.
I'm curious as to why you are disabling so many options. Have you tried the --disable-everything option? You can use that and then follow it with whatever --enable-foo that you want. Might make your ./configure a little smaller and easier to read.
r24030 using both the ./configure from the guide and your ./configure compiled fine for me on x86_64 Lucid.
This happens once in a while when compiling FFmpeg SVN. Occasionally a revision will break something, but it is rare when a fix doesn't come quickly. Last time I let the developers in the #ffmpeg-devel IRC channel know that the most recent revision failed to make it was fixed very quickly.
Update: You probably don't need --enable-memalign-hack unless you're cross-compiling for Windows.
Last edited by FakeOutdoorsman; July 3rd, 2010 at 09:55 PM.
Thanks! I was following a guide from MakeMKV which suggested those options: http://www.makemkv.com/forum2/viewto...t=1313&start=0
I talked with the author of that guide, and he found a way to get it running--notably by doing just as you suggested and running --disable-all and then just enabling the things we needed.
Thanks for the informative response, much appreciated. Great guide!
It's better to add zero step:
because output of svn info is locale sensitive.Code:LC_LANG="en_US.utf8"
Just did a test run converting a .ogv (recordMyDesktop file) to a mp4 using ffmpeg (built using this threads tutorial).I must say it went very well and quality seems to be good. Any tips or remarks on the way I converted this file?Code:$ ffmpeg -i all-in-one-seo-img-2.ogv -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -vpre slow -crf 22 -threads 0 output.mp4
Last edited by Stoneface; July 5th, 2010 at 02:03 PM.
process `skype' is using obsolete setsockopt SO_BSDCOMPAT
Bookmarks