Archive for the ‘youtube’ Category

KDE4 built-in screencast for desktop recording

Wednesday, August 20th, 2008

Record your desktop

[I've written elsewhere about video screen capture (a.k.a. screencast) applications. This is KDE4 specific.]

If you’re using KDE4 and have found the screencast feature ( System Settings > Desktop > [All Effects] : Video Record) you’re probably wondering how to play the files it produces. By default (during your KDE4 session) when you toggle “Video Record” mode on and then off with Ctrl-Meta-V it drops a file called kwin_video1.cps into your home directory which none of my video player apps could read - mplayer complained about avisynth.dll, but this doesn’t appear to be the real problem. The file is in the format used by captury, just don’t ask me why.

Playback your KDE4 “Video Record” files

You’ll need a couple of things:

mplayer OR vlc (or anything that can play y4m, a.k.a YUV4MPEG2 files)
capseo (just apt-get install it, it provides cpsrecode)

Then, if you’ve a faster machine use:

cpsrecode -i kwin_video.cps -o - | mplayer -

On my Athlon 1.1GHz that doesn’t do anything. Instead I need to transcode the file first and then play it.

cpsrecode -i kwin_video1.cps -o kwin_video1.cps.y4m

Note that cpsrecode’s man page also gives the option to transcode to “Theora” (using switch “-c theora”) but this didn’t work for me initially, failing with

ERROR: Unsupported output codec: theora

I then tried installing ffmpeg and ffmpeg2theora, neither cpsrecode nor ffmpeg could do the conversion still. Though you could convert the raw output from the .y4m file if you wished using ffmpeg or mencoder or something (thanks to Harald Sitter for this line).

cpsrecode -i kwin_video1.cps -o - \
| mencoder - -o
kwin_video1.avi -ovc lavc -lavcopts vcodec=xvid:autoaspect=1

Hope that helps.

Update:

This doesn’t work at all for me on my main computer (a dual core athlon) running Kubuntu. I get the .cps files made but cpsplay isn’t finished:

user@localhost:~/Videos/screencasts$ cpsplay ./kwin_video2.cps
error: This piece of cursed code is under development!
Please use `cpsrecode movie.cps | mplayer -` to view your movie.

and cpsrecode doesn’t operate (don’t use their suggestted code either, it’s the wrong format, see the man page or read above). The test binary cpsinfo reports the file size and resolution information however:

media:             : ./kwin_video2.cps

video:
frame width      : 1680
frame height     : 1050
frame scale      : 0
fps hint         : 30

cursor
present          : likely

Seems “Video Record” is not yet ready for service. Wonder why .cps was chosen.

I was drinking soup

Monday, March 17th, 2008

Well here’s another YouTube video of J. He suggested the title.

(more…)

YouTube for Football videos and goals

Friday, January 1st, 1971

So I’ve been checking out YouTube recently and watching some football matches, if you’re looking for goal videos or can’t wait to check out what’s been happening down at your local footystad ium then I’ve got just the place for you!

Teams for the 2008-2009 UK Premier League soccer season are (with footystad iums after the colon): Chelsea : Stamford Bridge, Liverpool : Anfield, Man City, Arsenal, West Ham Utd, Middlesbrough, Aston Villa, Bolton, Man Utd, Blackburn, Newcastle, Hull City, Wigan Athletic, Fulham, Stoke City, Portsmouth, Everton, Sunderland, Tottenham, West Bromwich Albion (WBA).

Top scorers to 5 September 2008:

Player Team Top Scorers
1 Gabriel Agbonlahor Aston Villa 3
2 Blumer Elano Manchester City 3
3 Amr Zaki Wigan Athletic 3
4 Dean Ashton West Ham Utd 2
5 John Carew Aston Villa 2
6 Deco Chelsea 2
7 Jermain Defoe Portsmouth 2
8 Darren Fletcher Man Utd 2
9 Ricardo Fuller Stoke City 2
10 Mido Middlesbrough 2
11 Jason Roberts Blackburn 2
12 Robin Van Persie Arsenal 2
13 Shaun Wright-Phillips Manchester City 2
14 Ayegbeni Yakubu Everton 2
15 Afonso Alves Middlesbrough 1
16 Nicolas Anelka Chelsea 1
17 Mikel Arteta Everton 1
18 Roman Bednar WBA 1
19 Craig Bellamy West Ham Utd 1
20 Juliano Belletti Chelsea 1

Ignore this post it’s an SEO experiment.