$ ffmpeg -f alsa -i pulse -f x11grab -r 25 -s 1280x720 -i :0.0+320,180 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 output.mkv ffmpeg version 0.10.6 Copyright (c) 2000-2012 the FFmpeg developers built on Jan 28 2013 19:05:57 with gcc 4.6.3 configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe' --extra-cflags='-march=native -O2 -pipe' --extra-cxxflags='-march=native -O2 -pipe' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --enable-openssl --enable-nonfree --enable-gnutls --enable-libmp3lame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libfaac --enable-nonfree --enable-openal --disable-indev=v4l --disable-indev=oss --disable-indev=jack --enable-x11grab --enable-libv4l2 --disable-outdev=oss --enable-libfreetype --enable-libass --enable-pthreads --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libgsm --enable-libdirac --enable-libschroedinger --enable-libspeex --enable-libvpx --disable-amd3dnow --disable- libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 [alsa @ 0x22d6ad0] Estimating duration from bitrate, this may be inaccurate Input #0, alsa, from 'pulse': Duration: N/A, start: 1359485256.096559, bitrate: N/A Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s [x11grab @ 0x22d7f10] device: :0.0+320,180 -> display: :0.0 x: 320 y: 180 width: 1280 height: 720 [x11grab @ 0x22d7f10] shared memory extension found [x11grab @ 0x22d7f10] Estimating duration from bitrate, this may be inaccurate Input #1, x11grab, from ':0.0+320,180': Duration: N/A, start: 1359485256.139655, bitrate: 737280 kb/s Stream #1:0: Video: rawvideo (BGRA / 0x41524742), bgra, 1280x720, 737280 kb/s, 25 tbr, 1000k tbn, 25 tbc File for preset 'lossless_ultrafast' not found
On Tue, Jan 29, 2013 at 7:38 PM, Christ-Jan Wijtmans <cj.wijtm...@gmail.com> wrote: > $ ffmpeg -f alsa -i pulse -f x11grab -r 25 -s 1280x720 -i :0.0+0,24 > -acodec pcm_s16le-vcodec libx264 -vpre lossless_ultrafast -threads 0 > output.mkv > ffmpeg version 0.10.6 Copyright (c) 2000-2012 the FFmpeg developers > built on Jan 28 2013 19:05:57 with gcc 4.6.3 > configuration: --prefix=/usr --libdir=/usr/lib64 > --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared > --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ > --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe' > --extra-cflags='-march=native -O2 -pipe' > --extra-cxxflags='-march=native -O2 -pipe' --disable-static > --enable-gpl --enable-version3 --enable-postproc --enable-avfilter > --disable-stripping --disable-debug --disable-doc --enable-openssl > --enable-nonfree --enable-gnutls --enable-libmp3lame > --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libtheora > --enable-libvorbis --enable-libx264 --enable-libfaac --enable-nonfree > --enable-openal --disable-indev=v4l --disable-indev=oss > --disable-indev=jack --enable-x11grab --enable-libv4l2 > --disable-outdev=oss --enable-libfreetype --enable-libass > --enable-pthreads --enable-libopencore-amrwb > --enable-libopencore-amrnb --enable-libgsm --enable-libdirac > --enable-libschroedinger --enable-libspeex --enable-libvpx > --disable-amd3dnow --disable- libavutil 51. 35.100 / 51. 35.100 > libavcodec 53. 61.100 / 53. 61.100 > libavformat 53. 32.100 / 53. 32.100 > libavdevice 53. 4.100 / 53. 4.100 > libavfilter 2. 61.100 / 2. 61.100 > libswscale 2. 1.100 / 2. 1.100 > libswresample 0. 6.100 / 0. 6.100 > libpostproc 52. 0.100 / 52. 0.100 > [alsa @ 0xf61ad0] Estimating duration from bitrate, this may be > inaccurate > Input #0, alsa, from 'pulse': > Duration: N/A, start: 1359484541.886370, bitrate: N/A > Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 > kb/s > [x11grab @ 0xf62f10] device: :0.0+0,24 -> display: :0.0 x: 0 y: 24 > width: 1280 height: 720 > [x11grab @ 0xf62f10] shared memory extension found > [x11grab @ 0xf62f10] Estimating duration from bitrate, this may be > inaccurate > Input #1, x11grab, from ':0.0+0,24': > Duration: N/A, start: 1359484541.929326, bitrate: 737280 kb/s > Stream #1:0: Video: rawvideo (BGRA / 0x41524742), bgra, 1280x720, > 737280 kb/s, 25 tbr, 1000k tbn, 25 tbc > [NULL @ 0xf93020] Unable to find a suitable output format for > 'libx264' > libx264: Invalid argument > christ@HTPC ~ $ emerge -p ffmpeg > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] media-video/ffmpeg-0.10.6 USE="X aac alsa amr bzip2 > dirac encode faac gnutls gsm libass libv4l mmx mmxext mp3 network > openal openssl schroedinger sdl speex ssse3 theora threads truetype > v4l vaapi vdpau vorbis vpx x264 zlib -3dnow -3dnowext -aacplus > (-altivec) -avx -bindist -cdio (-celt) -cpudetection -debug -doc > -frei0r -hardcoded-tables -ieee1394 -jack -jpeg2k -modplug (-neon) > -oss -pic -pulseaudio -rtmp -static-libs {-test} (-vis) -xvid" > FFTOOLS="-aviocat -cws2fws -ffeval -graph2dot -ismindex -pktdumper > -qt-faststart -trasher" 0 kB > > Total: 1 package (1 reinstall), Size of downloads: 0 kB > > > On Tue, Jan 29, 2013 at 7:25 PM, wille <wille....@gmail.com> wrote: >> Hi, Christ-Jan >> >> Have you tried to capture using ffmpeg? >> >> http://wiki.oz9aec.net/index.php/High_quality_screen_capture_with_Ffmpeg >> https://ffmpeg.org/trac/ffmpeg/wiki/Capturing%20audio%20with%20FFmpeg%20and%20ALSA >> >> >> >> 2013/1/29 Christ-Jan Wijtmans <cj.wijtm...@gmail.com> >>> >>> Hi, >>> >>> I recently wanted to start a youtube channel where i record and make >>> commentary to games. >>> The games i want to promote are primarily those whom work on linux >>> since i want to promote linux as an OS where you can play games on. >>> Here comes the problems... qt-recordmydesktop is an absolute nightmare >>> to work with the only way i get it to work properly is to turn >>> compression off and put FPS at 10. >>> If i put FPS higher than 10 the video would speed up and not be in >>> sync with audio. Now that it records "fine" it only records 10 frames >>> per second, no bueno for recording games. >>> I have kdenlive installed for quiet a while now and i have always >>> realized it doesnt play well with recordmydesktop either way. >>> So i finally came to a bug tracker where i saw kdenlive is now being >>> modified to use ffmpeg instead, which i cannot comment on since i >>> havent tried it. >>> Basically it would be easier for the user(me) did not have to worry >>> about compression details and such and could just select a youtube >>> profile which it work with. >>> You can even rip off some code of qt-recordmydesktop(not updated in 5 >>> years i believe) to get the window selector button(if ffmpeg can play >>> with x11 windows?). >>> The point is that i do not want to rush anyone but i want to promote >>> linux here and it is cool games are finally coming to linux, but >>> lacking any decent capturing software will be a culprit in promoting >>> linux for gaming. >>> My question is if you can get a working version of kdenlive 0.9.3 >>> where capturing video "just works". >>> I am using gentoo and kdenlive 0.9.3 is not in unstable or stable yet, >>> is it still in development, can i install an overlay for a live build? >>> >>> Live long and prosper, >>> >>> Christ-Jan Wijtmans >>> >>> >>> ------------------------------------------------------------------------------ >>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >>> MVPs and experts. ON SALE this month only -- learn more at: >>> http://p.sf.net/sfu/learnnow-d2d >>> _______________________________________________ >>> Kdenlive-devel mailing list >>> Kdenlive-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel >> >> >> >> >> -- >> Wille >> http://wille.blog.br >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. ON SALE this month only -- learn more at: >> http://p.sf.net/sfu/learnnow-d2d >> _______________________________________________ >> Kdenlive-devel mailing list >> Kdenlive-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel >> ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Kdenlive-devel mailing list Kdenlive-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kdenlive-devel