Video Capture FLASH .swf are simpler than .flv. Possible tools recordmydesktop: Great man page. Only does format .ogv. Get screen id with: xwininfo | awk '/Window id:/ {print $4}' then click on the target window with mouse (See recordmydesktop man). Window capture includes borders and scroll bar, but not title bar. recordmydesktop -windowid 0x1200008 -o squat.ogv -fps 10 -channels 1 [--no-sound] [--overwrite] (consider -v_bitrate 430000, but may just be bigggger than default of 45k). Might as well work with stereo even though mixer records mono, since .ogv will deliver output in stereo. xvidcap: Does .avi format, but won't work for me, and can't target a Window. ucview: SUCKS!!! .ogv = Ogg-Theora-Vorbis (aka Theora) ffmpeg -i file.ogv file.avi (See http://howto-pages.org/ffmpeg ) pyvnc2swf (Phython port of vnc2swf) Kdenlive mjpegtools can generate mpegs from series of jpegs (jpeg2yuv) Try Google Video instead of Youtube. See http://www.tizag.com/htmlT/htmlvideocodes.php Goolg FlashVars: http://muzso.hu/node/3169 Can't figure out how to "replace" an audio track with ffmpeg. Can do it with mencoder, but mencoder doesn't support .ogv (or .mp3 directly): mencoder cap.avi -o captst.avi -ovc copy -oac copy -audiofile /tmp/audacity.mp3 ffmpeg: Really need to know the streams in files. Specify input streams like -map inFileNum:inFileTracl. IMPORTANT!!! To prevent video quality from degrading, use first switch of: -sameq (*.ogv have a useless stream 0). Run: "ffmpeg -i input.file" to list streams in the file. MAPPINGS are used to alway specify the source of the Vid then the source of the Audio. (Probably depends on output format, but this is true for my output formats). List available encoders with "ffmpeg -formats". It shows which are available for encoding and which for decoding. I guess D = Decode, E = encode. ffmpeg -i cap.ogv -acodec pcm_s16le cap.wav # Extract audio track normalize cap.wav # In-place normalize ampiltude ffmpeg -i cap.ogv -i cap.wav -map 0:1 -map 1:0 -vcodec mpeg4 -acodec mp2 capbad.avi # FROM .ogv -> .ogg ffmpeg -i cap.ogv -acodec pcm_s16le cap.wav # Extract audio track ffmpeg -i term3b.ogv -acodec vorbis -ab 128k -vn term3b_raw.ogg (mencoder /tmp/FILE0001.MOV -ovc lavc -vf scale=640:480 -oac lavc -o morgpract.avi) Better to crop than screw up aspect ratio. Top trim right 80 pixels: mencoder /tmp/FILE0001.MOV -ovc lavc -vf crop=640:480:0:0 -oac lavc -o morgpract.avi (Crop specifies w:h:x:y of rectangle to KEEP). # This works much much better for Aiptek .MOVs. Do not know how to get non-AVI Mpeg4s from mencoder!!!!! DOWNSIZING ffmpeg -i squat.avi -s qvga squat-downsized.avi Konsole kde-backport: Change font to the size-10 variant (from 11). Then reset size again to vt100. This makes video output of 592x384. kde3-base: Change font to the size-9 variant (from 10). Then reset size again to vt100. This makes video output of 594x433 (xwininfo -geometry + 2*Abs.-upper-left-X + Abs.-upper-left-X+-Y). Convert .ogv to .swf and stagger the a/v. (itsoffset in other position with + offset does not work as documented... this here is actually not working as documented, since it should effect all remaining input files). ffmpeg -itsoffset -00:00:0.8 -i sc1.ogv -i tmp.ogv -map 0:1 -map 0:2 sc1.swf Need to use Kdenlive to add titles and transition, so final output will be 640x480 (Square NTSC). For Kivio, set Page format to Screen. When do export, set DPI to 96. This makes for 549 x 469 output. TO DETERMINE REQUIRED STAGGERING, run "mplayer testoutput.x" and use +/- to move the audio start time. http://howto-pages.org/ffmpeg/ (Tried exporting to med. qual 320x240 .flv. See how that goes... ffmpeg mp3 encoder: libmp3lame moviemk.exe 640x480 30 fps Export formats HQ L 30 fps (var. rate) Local playback 2.1 Mbps ... 1.5 Mbps LAN 1.0 Mbps *LAN 768 Kbps To pull Vorbis audio out of an .ogv file, use -i infile.ogv -acodec vorbis -vn outfile.ogg CONVERTING AFRICA ACTION'S .mpg FILES TO .flv. Adds a little blur. Reduce 50%. ffmpeg -y -sameq -i m2u00064.mpg -pass 1 -an m2-nomd.flv ffmpeg -y -sameq -i m2u00064.mpg -b 1000k -ac 2 -ar 22050 -pass 2 m2-nomd.flv yamdi -i m2-nomd.flv -o m2.flv