tag:blogger.com,1999:blog-8159347714709177573.post1096547512748596018..comments2022-12-04T19:45:30.050-08:00Comments on Devin Kennedy: Live screencasting using ffmpegDevinhttp://www.blogger.com/profile/01878976545962101641noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-8159347714709177573.post-77984283328889050192012-08-19T08:17:27.510-07:002012-08-19T08:17:27.510-07:00Thanks for catching that. Hope things worked out ...Thanks for catching that. Hope things worked out for you -- I'd be surprised if there weren't other corrections/updates to be made, seeing as this post is nearly three years old.Devinhttps://www.blogger.com/profile/01878976545962101641noreply@blogger.comtag:blogger.com,1999:blog-8159347714709177573.post-33686596097988063912012-08-19T07:58:17.092-07:002012-08-19T07:58:17.092-07:00Small typo: `-i 0:0+[X],[Y]` should be `-i 0.0+[X]...Small typo: `-i 0:0+[X],[Y]` should be `-i 0.0+[X],[Y]` (with a dot in lieu of the colon). You have the right command a few lines down when you write out the whole thing as: `ffmpeg -f x11grab -s 640x480 -r 25 -i :0.0`. Great article though, thanks!Chris Nolethttp://kickfolio.comnoreply@blogger.comtag:blogger.com,1999:blog-8159347714709177573.post-29430254288891024302010-08-06T03:15:41.469-07:002010-08-06T03:15:41.469-07:00I bet the delay was caused by pulseaudio ..I bet the delay was caused by pulseaudio ..Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8159347714709177573.post-47713292210225621822010-07-29T06:24:57.641-07:002010-07-29T06:24:57.641-07:00Hey Devin..
I am getting the foll Error :
ffmpeg...Hey Devin..<br /><br />I am getting the foll Error :<br /><br />ffmpeg -f x11grab -s 640x480 -r 25 -i :0.0 -f alsa -i pulse http://localhost:8090/exile.ffm<br />FFmpeg version SVN-r24577, Copyright (c) 2000-2010 the FFmpeg developers<br /> built on Jul 29 2010 18:11:55 with gcc 4.4.3<br /> configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab<br /> libavutil 50.23. 0 / 50.23. 0<br /> libavcore 0. 1. 0 / 0. 1. 0<br /> libavcodec 52.84. 1 / 52.84. 1<br /> libavformat 52.77. 0 / 52.77. 0<br /> libavdevice 52. 2. 0 / 52. 2. 0<br /> libavfilter 1.26. 1 / 1.26. 1<br /> libswscale 0.11. 0 / 0.11. 0<br /> libpostproc 51. 2. 0 / 51. 2. 0<br />[x11grab @ 0x9b85470] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 640 height: 480<br />[x11grab @ 0x9b85470] shared memory extension found<br />[x11grab @ 0x9b85470] Estimating duration from bitrate, this may be inaccurate<br />Input #0, x11grab, from ':0.0':<br /> Duration: N/A, start: 1280409845.986681, bitrate: 245760 kb/s<br /> Stream #0.0: Video: rawvideo, bgra, 640x480, 245760 kb/s, 25 tbr, 1000k tbn, 25 tbc<br />[alsa @ 0x9b91c40] capture with some ALSA plugins, especially dsnoop, may hang.<br />[alsa @ 0x9b91c40] Estimating duration from bitrate, this may be inaccurate<br />Input #1, alsa, from 'pulse':<br /> Duration: N/A, start: 1280409845.967494, bitrate: N/A<br /> Stream #1.0: Audio: pcm_s16le, 44100 Hz, 1 channels, s16, 705 kb/s<br />[buffer @ 0x9baa5b0] w:640 h:480 pixfmt:bgra<br />[scale @ 0x9ba7270] w:640 h:480 fmt:bgra -> w:320 h:240 fmt:yuv420p flags:0xa0000004<br />[libx264 @ 0x9ba8100] broken ffmpeg default settings detected<br />[libx264 @ 0x9ba8100] use an encoding preset (vpre)<br />Output #0, ffm, to 'http://localhost:8090/exile.ffm':<br /> Stream #0.0: Audio: libmp3lame, 22050 Hz, 1 channels, s16, 64 kb/s<br /> Stream #0.1: Video: libx264 (hq), yuv420p, 320x240, q=2-31, 128 kb/s, 1000k tbn, 15 tbc<br />Stream mapping:<br /> Stream #1.0 -> #0.0<br /> Stream #0.0 -> #0.1<br />Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or heightParth Lawatehttps://www.blogger.com/profile/14705818335167709552noreply@blogger.comtag:blogger.com,1999:blog-8159347714709177573.post-79036204572637084182009-11-06T20:47:22.577-08:002009-11-06T20:47:22.577-08:00I, too, was unable to completely avoid the delay. ...I, too, was unable to completely avoid the delay. Five to ten seconds seemed to be as close as I could get to realtime. Another weird thing to watch out for is that sometimes the audio can slip out of sync ... I'm not sure whether that problem was in the server or the client (VLC), in my case. Report back if you figure anything out!Devinhttps://www.blogger.com/profile/01878976545962101641noreply@blogger.comtag:blogger.com,1999:blog-8159347714709177573.post-86496356302879045712009-11-04T14:44:40.051-08:002009-11-04T14:44:40.051-08:00Hey, awesome post! Just one question, were you abl...Hey, awesome post! Just one question, were you able to do in it realtime? I'm just testing via localhost for now and it's working great. I am planning on using it on our intranet so our transfer speed should be decent. There's always a few seconds delay even when connecting from localhost, I tried ?buffer=[3,10,30]. Thanks in advance, Vincent.Vincenthttps://www.blogger.com/profile/12522111847470892761noreply@blogger.com