Text file hacks in Yawcam
Posted: Tue Jan 05, 2010 3:03 am
There are some settings in Yawcam that can't be changed in the ordinary setting dialogs.
To change these settings you create empty text files with specific names in the .yawcam directory in the users home folder.
In windows vista or windows 7 this could typically be:
C:\Users\username\.yawcam
and in windows 2000 or windows xp:
C:\Documents and Settings\username\.yawcam
where username is the name of the account you are using.
Now the files that can be used:
activatewindowsmedia.txt
This file will give you the option to stream video in windows media format. This stream type can however not be regarded as stable and might not work for you.
enableplaysound.txt
Adds a menu on the stream page that lets the viewers play predefined sound files on the Yawcam computer.
This is a special text-file-hack in the sense that it actually need some contents in the file. The file should contain full paths to the sound files that can be played. It can look something like this:
C:\Users\malun\.yawcam\stream\alert.wav
C:\Windows\Media\Windows Ringin.wav
Please note that only wav files encoded in PCM are supported. MPEG encoded files will not work.
releasecamera.txt
Releases the camera when not needed, so that other applications can use the camera even if Yawcam is running. Be careful when using this hack though, as it might result in that Yawcam won't be able to access the camera if another application has acquired the camera.
javarendering.txt
Yawcam uses "java rendering" instead of DirectX rendering for the preview window. If you have problems with that the preview window goes black, try this text file hack.
This is regarded as a compatibility mode. It uses more CPU than the DirectX rendering.
timezone.txt
Forces Yawcam to use the timezone specified in the text file. Enter the timezone on the first row on the format GMT+3
forceoverlayimageupdate.txt
Reloads the overlay images every 5 seconds. Use this if your overlay images are updated while Yawcam is running.
ipcheckurl.txt
Use this to change the URL to the service that determines the public ip of the Yawcam computer. Enter the URL on the first row in the file. The service must respond with the only the ip address.
/malun
To change these settings you create empty text files with specific names in the .yawcam directory in the users home folder.
In windows vista or windows 7 this could typically be:
C:\Users\username\.yawcam
and in windows 2000 or windows xp:
C:\Documents and Settings\username\.yawcam
where username is the name of the account you are using.
Now the files that can be used:
activatewindowsmedia.txt
This file will give you the option to stream video in windows media format. This stream type can however not be regarded as stable and might not work for you.
enableplaysound.txt
Adds a menu on the stream page that lets the viewers play predefined sound files on the Yawcam computer.
This is a special text-file-hack in the sense that it actually need some contents in the file. The file should contain full paths to the sound files that can be played. It can look something like this:
C:\Users\malun\.yawcam\stream\alert.wav
C:\Windows\Media\Windows Ringin.wav
Please note that only wav files encoded in PCM are supported. MPEG encoded files will not work.
releasecamera.txt
Releases the camera when not needed, so that other applications can use the camera even if Yawcam is running. Be careful when using this hack though, as it might result in that Yawcam won't be able to access the camera if another application has acquired the camera.
javarendering.txt
Yawcam uses "java rendering" instead of DirectX rendering for the preview window. If you have problems with that the preview window goes black, try this text file hack.
This is regarded as a compatibility mode. It uses more CPU than the DirectX rendering.
timezone.txt
Forces Yawcam to use the timezone specified in the text file. Enter the timezone on the first row on the format GMT+3
forceoverlayimageupdate.txt
Reloads the overlay images every 5 seconds. Use this if your overlay images are updated while Yawcam is running.
ipcheckurl.txt
Use this to change the URL to the service that determines the public ip of the Yawcam computer. Enter the URL on the first row in the file. The service must respond with the only the ip address.
/malun