mc4man, that sudo ldconfig resolved it. Thanks a ton.
Maybe the guide needs to be updated with this
I updated the guide. It is now static so running ldconfig or monkeying with any environment variables are now not required.
One more thing FakeOutdoorsman
Under the FFmpeg compile section, in ./configure --enable-x11grab is missing. It only says to omit for servers but I did it for a desktop and now I got a
"Unknown input format: 'x11grab'
I fixed the problem by reinstalling ffmpeg. So I dont have the complete console output
However the command I used is
Code:ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -r 30 \ -s $(xwininfo -frame | grep -oEe 'geometry [0-9]+x[0-9]+' | grep -oEe '[0-9]+x[0-9]+') \ -i :0.0+$(xwininfo -frame | grep -oEe 'Corners:\s+\+[0-9]+\+[0-9]+' \ | grep -oEe '[0-9]+\+[0-9]+' | sed -e 's/\+/,/' ) \ -acodec pcm_s16le -vcodec libx264 -preset ultrafast -crf 0 -threads 0 \ -y ~/Public/screencast/aa_screencast_baking.mkv
Last edited by cannon_dt; September 4th, 2012 at 07:53 AM. Reason: Make it look cleaner
In the wiki for FFmpeg it shows:-
I think that libopencore-amrwb is only a DEcoder, not an ENcoder.Code:./configure... --enable-libopencore-amrnb --enable-libopencore-amrwb ...
ffmpeg -codecs shows:-
Doesn't it need vo-amrwbenc to be compiled and installed to enable amr-wb encoding?Code:DEA D libopencore_amrnb OpenCORE AMR-NB (Adaptive Multi-Rate Narrow-Band) D A D libopencore_amrwb OpenCORE AMR-WB (Adaptive Multi-Rate Wide-Band)
I have compiled from here ---> http://sourceforge.net/projects/open...les/vo-aacenc/
But it looks as though there's a git version here ---> https://github.com/mstorsjo/vo-aacenc
(libvo-amrwbenc-dev is in the repo for Oneiric-Pangolin-Quantal)
Last edited by ron999; September 6th, 2012 at 03:48 AM.
x11grab isn't working for me. I've installed ffmpeg using the tutorial on the wiki, and ffmpeg seems to work, except for x11grab
For example, if I try
I get thisCode:ffmpeg -f x11grab -i hw:0 test.mkv
Any help?Code:ffmpeg version N-35113-g509f502 Copyright (c) 2000-2012 the FFmpeg developers built on Sep 14 2012 15:44:58 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5) configuration: libavutil 51. 73.100 / 51. 73.100 libavcodec 54. 55.100 / 54. 55.100 libavformat 54. 27.100 / 54. 27.100 libavdevice 54. 2.100 / 54. 2.100 libavfilter 3. 16.103 / 3. 16.103 libswscale 2. 1.101 / 2. 1.101 libswresample 0. 15.100 / 0. 15.100 Unknown input format: 'x11grab'