|
At the crossroad of New media, Engineering, Research and Development
|
|
Archive for ‘May, 2007’
Do we need someway of telling the google van that we don’t want to be in their photographs? Judge for yourselves…. May
31
2007
How to use a custom DNS name with bloggerSo I finally broke down and registered nerdlogger.com with easydns.com. I’ve used their service for my own ayromlou.ca canadian domain, so I figured, why not. Under ayromlou.ca I was doing all kinds of redirects to get www.ayromlou.ca to point to nerdlogger.blogspot.com (which is the standard addressing scheme for blogs on blogger). Now, here is how I got my custom domain name (nerdlogger.com) to work:
May
30
2007
Screencasts of Installing MythTV Via MythDora 4.0MythDora 4.0–Fedora Core 6.0 plus MythTV costumizations–is out. It is designed to format your hard drive and install everything needed for a fully functional MythTV System. MythPVR.com has created a three-part screencast of the installation process covering MythDora installation, configuration, and MythTV setup. Well now that the dl.tv guys are doing it, I guess everyone will want to know. Yes, you can go to these websites and “ITube” yourself…..LIVE!!!! Well, go on then, there is a world of people waiting to see you pick your nose on the net :-) Okay just came across Stage6…..and one word….WOW. I think we finally have something that will compete directly with TV (SD or HD) that is actually flexible enough for artists to create custom frame sizes in (think 2.35 aspect for your youtube movies with divx codec). Very nice….. Check it out at: May
29
2007
Getting HP IPAQ Bluetooth Folding Keyboard to work with Nokia N800Okay this was relatively simple…..
Thought this might be useful for someone: Install the libraw1394 and libavc1394 If you want to be able to stream from a DV camcorder, then you need to install the libraries libraw1394 and libavc1394: If you use a Fedora Core distribution then you just need to install the libraries using: %yum update If you want to install the libraries from the source then you must download them from the libraw1394 and libavc1394 from their projects website. If you have a distribution that uses udev, then you must add/change the following line to the file 50-udev.rules in your /etc/udev/rules.d directory. %vi /etc/udev/rules.d/50-udev.rules The following sections assume that you have a working linux installation with the IEEE 1394 (Firewire) libraries installed, either manually from the source code or through your distributions upgrade mechanism. Stream with DV Connect the DV camcorder with a Firewire cable to your computer, and check the creation of the file /dev/raw1394. Run VLC with the following command line : % vlc -vvv dv/rawdv:///dev/raw1394 -dv-caching 10000 –sout ‘#transcode{vcodec=WMV2,vb=512,scale=1,acodec=mp3,ab=192,channels=2}:std{access=mmsh,mux=asfh,url=:8080}’ –sout-transcode-fps=25.0 where:
Using hdhomerun_config command you issue the following (after tuning into the channel ofcourse): 1) hdhomerun_config set /tuner0/target none MCast Address is in range of: 224.0.0.0 –> 239.255.255.255 Front: Single LED – Power. Window – left to right: Back: Looking at the back – left to right: May
28
2007
HDHomeRun: Monitoring Signal Strength from command lineThe Windows GUI version of hdhomerun_config will display the signal strength and signal quality updating every second. Under linux or osx you can use “watch” with hdhomerun_config: (If you have more than one HDHomeRun then specify the device ID rather than FFFFFFFF) May
28
2007
HDHomeRun: Links for OTA Channels and Rogers Digital ChannelsMay
28
2007
HDHomeRun: Automatic Channel Scan from command lineThe CLI version of hdhomerun_config supports running an automatic channel scan. The CLI version of hdhomerun_config can be downloaded from: Usage: hdhomerun_config FFFFFFFF scan For example: OTA ATSC: Digital Cable: May
28
2007
HDHomeRun: To save the RAW TS stream to diskTo save a 30 second unfiltered clip of a broadcast stream: 1) Use HDHomeRun Config (GUI) to choose the physical channel. 2) Open a cmd prompt and change into the HDHomeRun program directory: 3) Set the filter: 4) Save the stream to disk: 5) Wait 30 seconds and stop the stream by pressing Ctrl-C. May
28
2007
HDHomeRun: Linux/OSX command line reference for hdhomerun_configYou use hdhomerun_config to manually configure HDHomeRun to stream video to a PC running VLC… You will need: VLC – http://www.videolan.org/vlc/ 1) Discover HDHomeRun Run “hdhomerun_config discover” to find the HDHomeRun units on the local network. If you have more than one HDHomeRun on your network then replace the wildcard FFFFFFFF Device ID in the examples with the Device ID of the HDHomeRun you wish to control. 2) Run a channel scan hdhomerun_config FFFFFFFF scan /tuner0 3) Set the channel Antenna: Note that the channel is the physical ATSC channel, not the channel advertised by the TV station. Antennaweb.org is a good site for determining which stations are nearby and what physical channels they operate on: http://www.antennaweb.org/aw/Address.aspx Check the signal strength using the following command: 4) Select the program number hdhomerun_config FFFFFFFF get /tuner0/streaminfo hdhomerun_config FFFFFFFF set /tuner0/program 5) Launch VLC and open network stream From the GUI: 6) Set the target for the video stream hdhomerun_config FFFFFFFF set /tuner0/target Note that the target setting is automatically cleared if the target machine is not listening on the specified port. ie if VLC is not running or you quit VLC. Troubleshooting Check the signal strength using the following command: Check the target using the following command: If it reports “none” then most likely the pc was not listening on the target port and the ip/port was automatically cleared. Double check the following and then set the target again: If the target is correct and the LED on the HDHomeRun indicates it is streaming video then the most likely problem is a firewall blocking the port (UDP port 1234 used in this example). May
27
2007
Create ISO CD/DVD image with Mac OS X Tiger and Command-line1. Insert CD/DVD source 2. Fire up a Terminal, you can then determine the device that is you CD/DVD drive using the following command:
Type: DVD-ROM Name: /dev/disk1 3. Umount the disk with the following command: $ diskutil unmountDisk /dev/disk1 4. Create the ISO file with the dd utility (may take some time): $ dd if=/dev/disk1 of=file.iso bs=2048 5. Test the ISO image by mounting the new file (or open with Finder):
6. The ISO image can then be burnt to a blank CD/DVD. To take a screen shot, hold down the following keyboard shortcuts. * shift + command (the Apple key) + 3 for a shot of the entire screen. Easy enough. Each of these saves a file to your desktop named “Picture 1.jpg” (or a higher number if the file already exists). If you want to take a screenshot using the Terminal (Macintosh HD/Applications/Utilities) here is how. Just type the commands in (except the quotes). * “screencapture ~/Desktop/screen.jpg” Takes a full screen shot and save it to screen.jpg on your Desktop. Grab (Macintosh HD/Applications/Utilities) can also be used to take screenshots. It provides an easy user interface, as well as a way of doing timed screen shots and changing the mouse pointer style (option located in the preferences). So I’ve been wondering about Folder Actions for a while now….they are actually quite neat, if you know what they do. This is a feature of the Finder that very few people use, yet it is so powerful. Folder actions allow you to perform an action to any file that is dropped into the folder. What you can do is only limited by what you can script, or what scripts you can find. Start by creating a new folder and checking that folder actions are enabled by right-clicking (control-clicking) and selecting “Enable Folder Actions”. If it says “Disable Folder Actions” then you are all right, and don’t need to change anything. Next, attach an action to the folder by again right-clicking (control-clicking) on the folder and choosing “Attach a Folder Action…”. A number of example scripts are located in Library/Scripts/Folder Action Scripts. The majority of these examples involve image manipulation and converting from one file format to another. Selecting one of these format converting scripts will mean, for example, that all jpeg images dropped into the folder will be turned into tiff images. However, as I mentioned at the start of this tip, this is only a taste of what you can do. Any applescript, automator workflow or shell script can be attached, and therefore the possibilities are endless! Many Mac OS X applications allow rectangular selections. That is, selecting multiple lines of text, without having to select up to the end of each line. This can be useful if you have created a text formatted table, and want to select an entire column, or if you want to modify the same thing on every line in a document. To do this type of selection, hold down the Option (alt) Key while the cursor is over a block of text in a cocoa application. Notice that the mouse arrow changes to a cross. With the Option Key still held, click and drag to make a selection without the text up to the end of the line being automatically selected when you drag down over multiple lines. If you want to do something particularly neat, once you have made a selection hold down the Command Key as well as the Option Key, which will allow you to make another selection somewhere else in the document, whilst keeping the first block of text still selected. This works just about everywhere you are able to edit text, including Microsoft Word (although the cursor doesn’t change to a cross) and text boxes in Safari. As you would expect, it works in TextEdit, Mail, and all the other usual Cocoa Apps. So all you Mac freaks….here is something to show your PC friends. Set your system screen saver to something cool (RSS Visualizer) and run the Terminal. At the command line type the following command (make sure your Desktop’s background is not covered with windows): /System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background Neat or what? You can stop it using Ctrl-C. |