Home
Ben FrantzDale [entries|archive|friends|userinfo]
Ben FrantzDale

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

jpg2mpg howto [Jul. 8th, 2009|06:47 am]
[Tags|, , ]

After much fumbling, I figured out how to convert a pile of JPGs into a video. The magic line was this:
convert -delay 20 -resize 800x600 IMG_{1840..1922}.JPG ~/foo.mpg


where -delay is a number in centiseconds (so 20 is 5 fps).

The thing is, Ubuntu's install of ImageMagic (which provides convert) doesn't come with mpeg2encode, which is what it uses to make mpg files. I had to do this:

$ wget ftp://ftp.mpegtv.com/pub/mpeg/mssg/mpeg2vidcodec_v12.tar.gz
$ tar xvzf mpeg2vidcodec_v12.tar.gz
$ cd mpeg2
$ make
$ cd mpeg2enc
$ sudo cp mpeg2encode /usr/bin


Then convert it worked happily.
link1 comment|post comment

Ubuntu keyboard issue [Feb. 1st, 2009|12:33 pm]
[Tags|, , , , ]

For a while, my keyboard has been misbehaving in Ubuntu. In particular, some of the keys just don't work or are mapped strangely. In particular, my arrow keys don't work at all, forward delete (as opposed to backspace) doesn't work, and page down is mapped to the context-menu key and page up is mapped to forward slash. With NumLock turned off, the number-pad arrow keys work.

The keys appear to work normally in the console (Ctrl+Alt+F1).

How would I debug this? I figure some keyboard mapping must be set somewhere since this is a regular keyboard that is just not working right...

Any ideas? This seems to be the same with my PS/2 keyboard plugged in via a USB adapter as with my Apple USB keyboard.
link8 comments|post comment

Backup [Apr. 6th, 2008|06:36 pm]
[Tags|, , , ]
[music |Bob Dylan, All Along the Watchtower]

Since my previous post on the subject, I went and got a 500GB SATA hard drive, threw Ubuntu on it (which was amazingly easy), and cp -rp'd my data over. It is now much much happier, with no clicking and with disk-intensive apps such as f-spot being quite responsive.

With that scare over, it is time to set up a good backup solution. One option would be to get another disk and periodically rsynch to it. On the other hand, I am enamored with the Apple Time Capsule approach of stand-alone storage. It looks like it is possible to use it with Ubuntu Linux. Plus it would Just Work for [info]mew0422's MacBook.

Do any of you have a Time Capsule? Have you tried using it with Linux? Do you have other backup suggestions?

For reference: [info]jwz's backup recommendations.
link9 comments|post comment

Pixels! [Apr. 26th, 2004|09:37 pm]
[Tags|, , ]
[music |Fight Club Commentary]

My monitor came today. I'm very pleased. This will make my personal computing experience better for years to come. Here's what fits on it.

The following is incomplete, but it's the gist.

Top thing Linux has over OS X
Menu keyboard navigation

Top thing Linux has over Windows
UNIX

Top thing Linux has over both
Free Software – If I don't like how it works, I can get it changed. (And I have. If it weren't for my suggestion Gaim's conversations would still have user names in garish vivid red and blue.)

Top Problem with Linux
Hardware Support Linux doesn't JustWork. (More accurately, it's trailing by a year or so in JustWorking, but in that it's keeping up.)


Along those lines, DVDs work, but it's slightly jerky from time to time. I suspect this is because I'm only using the most basic video driver. I may work on that more tonight.
link2 comments|post comment

Another Update [Apr. 26th, 2004|12:54 am]
[Tags|, ]
[music |Natalie Imbruglia, Pigeons And Crumbs]

It's exciting to see the progress Linux is making. Sure not everything is working perfectly yet, but what does is really cool.

Of note:

  • Right-click on an iso disk image and click burn. (in OSX burning ISOs is a big pain).
  • As I was copying files from my laptop, the file size in the file manager updated continuously. Not only that, but for images, the thumbnail updated continuously!
  • DVDs work; Netfix subscription opened.
  • Evolution 1.5 has junk filtering like OSX's mailer.
  • The "media" keys on my keyboard work and are easily remappable, so I have hardware volume buttons, which is great.
  • gThumb, a photo viewer, is looking pretty cool. Not quite as nice as the $50 Adobe one my colleague has, but nice.
  • Ximian's “industrial” theme is really nice. It is very subtle, but anti-aliased.
  • LogJam (the LJ client I use) has a button that detects the song I'm listening to.


Dell hasn't given me a tracking number. How annoying. The additional 609,280 pixels will be nice.
link2 comments|post comment

Linux Fun [Apr. 25th, 2004|03:50 pm]
[Tags|, ]

The ball is rolling again. My new computer is nice and quite quiet now that my laptop is off.

A few things, though...

I had just sort of assumed that by now RedHat would have something equivalent to apt. Red Carpet is nice, but I can't use it to install just anything. Xine for example. I know Apt for RedHat exists, but I haven't been able to resolve dependencies to get it installed. I'm thinking of just installing Debian.

Two other problems:
Sound: Sound kinda works. XMMS will play oggs, but only through the OSS driver, not through ESD. Redhat-config-sound plays a test sound correctly, although as it does it it spits out this warning:

via82cxxx_audio: Device or resource busy
sox: Unable to set audio speed to 44100 (set to 48000)
-8



Similarly, when ESD starts up it says

unsupported playback rate: 44100
Audio device open for 44.1Khz, stereo, 16bit failed
Trying 44.1Khz, 8bit stereo.
unsupported playback rate: 44100
Audio device open for 44.1Khz, stereo, 8bit failed
Trying 48Khz, 16bit stereo.




Video Acceleration:
I downloaded the ATI driver for my 9600, but it isn't working. Here's the relavent output from the XFree86 log:


(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xe09f3000 at 0x40026000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
(II) fglrx(0): FBADPhys: 0xc0000000 FBMappedSize: 0x08000000
(II) fglrx(0): FBMM initialized for area (0,0)-(1280,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1280,1024) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled


Any thoughts?
link2 comments|post comment

navigation
[ viewing | most recent entries ]