I have been playing a lot of lately, and really getting into the entire. One part of the community that I recently discovered has been live streams of games (some from pros) via sites like. There are plenty of articles online talking about how to stream your desktop on Windows based machines, but virtually none on how to do it from a Mac. This article will show how to use Adobe Flash Media Live Encoder (and a couple of other tools) to live stream your desktop to justin.tv (although the setup would also work for other streaming sites).I am going to divide the article up into a couple of sections. The first part will show how to get a basic desktop stream going, including system sound.
![]()
CamTwist is a third party application that provides additional functionality to OS X system and enjoys a popularity among Mac users. However, instead of installing it by dragging its icon to the Application folder, uninstalling CamTwist may need you to do more than a simple drag-and-drop to the Trash.
The second section will show a more advanced sound setup that allows you to also broadcast your microphone, and audio from other apps such as skype. Basic Desktop Streaming SetupThe basic setup will allow us to stream our desktop and system audio to justin.tv. This requires the following software:.: Encodes and streams video and audio to justin.tv.: Used to capture desktop as a video source.: Utility used to capture and redirect system output. justin.tv config file: Only required if you are streaming to justin.tv (link provided below)The basic setup is pretty simple, and essentially requires setting up CamTwist to capture your desktop as a video source, and have Flash Media Live Encoder take that video source, combine it with the system audio, and stream it to the server (in this case justin.tv). A Note on PerformanceKeep in mind that encoding and broadcasting live video feeds can be very CPU intensive, and thus may require significant system resources. Depending on what you are streaming, this may affect other applications running on your system, or even the quality of the stream. Configuring CamTwistFirst, download and install CamTwist.
Once it is installed, open it up, and under the Step 1 section, double click “Desktop” (not “Desktop+”). “Desktop+” allows you to select a specific window to broadcast, but since we are going to be broadcasting our entire desktop, we will just use the Desktop preset.You can save these settings by clicking the “Save Setup” button.Do not select any effects in Step 2.In Step 3 make sure that “Desktop” is included and checked. In the settings window, make sure that screen is set to “Main Screen”.
This ensures that only the main screen will be broadcast (which only matters if you have multiple monitors).Also make sure that “Full Screen” and “Show mouse pointer (simulated)” are selected.Once you have set all of these settings, you can save them by clicking the “Save Setup” button. Now, open the preferences ( CamTwist Preferences), and select the “General Tab”.
Set the frame rate to the same frame rate you plan to encode at. I am using 24 FPS.
The higher the FPS, the smoother the video, but the more bandwidth and CPU required to encode and transmit it.Set video size to “Custom” and set it to your desktop resolution. In my case, I have it set to 1920 x 1200, which is my native desktop resolution. Set it to the native resolution even if you are going to broadcast at a lower resolution. We will have Adobe Flash Media Live Encoder scale the video down, as my experience has been that it does it much more efficiently than CamTwist. Once you have set the preferences, close the window and restart CamTwist.
Make sure the “Desktop” section is selected. You can test that everything is working by selecting Tools Preview, which will give you a small preview of the video being captured. Configuring Audio with SoundflowerIn order to capture audio, we need a way to capture the system’s audio output, and make it an input for Flash Media Live encoder.
Mac OS X does not have native support for doing this, but the free Soundflower utility enabled this.Soundflower is a utility that can combine multiple audio outputs and redirect them into a single audio output. We can use this to capture system audio, and pass it on to FMLE to include the audio for our video stream.First, download and install. Once it is installed, launch it.
It won’t open an application window, but will add a small menu item icon (a flower) on the top right of the menu bar.We need to tell OS X to direct system audio output to Soundflower. Open Sound preferences ( System Preferences Sound Output) and select “Soundflower (2ch)”.
Basically, anything that you would hear through your speakers will now be directed first through Soundflower.Next, click the Soundflower icon on the menu bar, and for “Soundflower (2ch)” select what you would normally have set as your system output (such as headphone, or Line-Out). This will redirect the audio through Soundflower, and pass it through your normal output so you can still hear it. However, because it is first directed through Soundflower, we can now also use that as an input source in FMLE. There is a lot more advanced stuff we can do with Soundflower, which we will cover later in the article. Configuring Adobe Flash Media Live Encoder(FMLE) is a free tool provided by Adobe that can take a video and audio feed, and create either a VP6 or H.264 encoded video stream that can be streamed to servers and sites such as justin.tv.Download and install the latest version of FMLE (this article is using version 3.2).
If CamTwist is not already running, go ahead and open it. Once FMLE is installed, open it up.Now, before we start changing settings, we need to first download a config file for our specific justin.tv account. This will include information specific to our account that justin.tv uses to determine which account the stream is associated with. If you are not using justin.tv, you may to skip this section, although you may need to look up docs on how to configure the stream for your specific server.Log into your justin.tv account, and then visit.
![]()
At the bottom of the page is section for “Flash Media Encoder”. Click the “Config File” button. This is the XML config file for FMLE specific for your justin.tv account. Click the button and download the file to your desktop.Note: This file will allow anyone who has it to stream to your justin.tv account, so be careful to protect it.Once you have downloaded the file, we are ready to import it into FMLE.
Switch to FMLE and select File Open Profile. You may get a warning that some tags are not support, and defaults are being used.
Just ignore this.If you look in the output panel on the right side of FMLE, you should see the FMS URL set to something like: rtmp://live.justin.tv/app, and the stream attribute have a value similar to: live12345678XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.Again, this second string is specific to your account, and will allow anyone to stream to your justin.tv account. You can hide the panel it is shown in (so it wont be displayed on your stream), by selecting “Panel Options” and setting it to “Meta Data” (so the panel wont be displayed). Note that you may need to do this each time your start FMLE.We are now ready to set up the encoding options for FMLE.
First, we will setup the video encoding settings. Some of the settings may vary depending on your system, but I will point out where and why you might want to tweak them. FMLE: Video SettingsFirst, in the video panel, make sure that “Video” is checked. For “Device”, select “CamTwist”. If “CamTwist” does not appear as an option, make sure that CamTwist is running and is set to broadcast the desktop.
If it isn’t, start it, and then restart FMLE.Once you have selected CamTwist, you can confirm that it is working by making sure “Input Video” is selected in the “Preview” panel at the top. With this selected, you should see the video feed preview of your desktop.Next, we need to set the video codec we will be encoding to as well as its options. There is a choice between H.264 and VP6. I am not going to go into a discussion about which is better. In general though H.264 offers higher quality at lower bitrates, with slightly higher CPU usage, while VP6 offers lower quality, with higher bitrates and slightly lower CPU usage.
For this article, I will be using H.264 to stream to the server.Select “H.264″ as the Format, and click the little wrench icon. This will open a panel where we can set additional setting specific to the codec.Set the profile to “Main”.The “Level” value will vary depending on the resolution you will be encoding at.
In our case, I will be encoding at 720p (1280 x 720) at 24 FPS, so I need to set the level to “3.1″. You can find a list of levels and resolutions / FPS in the.Finally, we need to set the Keyframe Frequency. This determines how frequently keyframes (complete captures of the image) are inserted into the stream.
We will use the default of “5″. Once you have set the codec settings, click the “OK” button.Back in FMLE, set the Frame Rate to “24.00″ fps. Higher framerates provide smoother video, but require more CPU and bandwidth. Lower framerates provide choppier video, but require less CPU and bandwidth.
I think that 24 FPS is a good middle ground, but feel free to experiment. Just remember that if you change this, you should also change it in the CamTwist preferences, so they are the same.Set “Input Size” to the size that you will be broadcasting / encoding at. We do this, even though the input received from CamTwist is a higher resolution. FMLE will scale the video to the appropriate size. It has been my experience that this uses less CPU that having CamTwist do the scaling.We could set input size to the full resolution of the input stream, and then have the output size as a scaled down stream. However, in my case, i have a 16:10 stream resolution which FMLE currently doesn’t support, which would result in part of the stream being chopped at the top and bottom.
By having the scaling done at the Input Size, I was able to get the content scaled correctly, without having any part of the stream cropped. (If anyone has more feedback on this, please post it in the comments.).Make sure that “Maintain Aspect Ratio” is also checked for “Input Size”. This prevents the video from being skewed when it is scaled.Now, FMLE can encode and output multiple streams and sizes (which I believe justin.tv supports), however, we will just be broadcasting one stream.Make sure the first stream is checked, and set the “Bit Rate” to “1000″ kbps. This setting basically specifies how much data is included in the stream. The higher the value, the clearer the image (less compression) and the more bandwidth required. The main thing to consider when setting this is how much upstream bandwidth you have available. You can get a general idea by doing a and looking at the upload results.
On the right of the stream section in FMLE, will be an estimate of the total bandwidth required to stream at the current setting. You want to make sure that you have some buffer between what you are sending, and what your upstream bandwidth is. Otherwise, viewers of your stream may see frequent drops and stutters.To start with, I would set it at 1000, test, and then move the value up (in increments of 500) until you find a good balance between bandwidth usage and video quality.Set the “Output Size” to the output size you want to stream at. For this article, we will be streaming at 720p (“1280 x 720″), which is a standard HD resolution, and I feel provides a good tradeoff for providing high quality stream for the bandwidth required. Again, adjusting the resolution will affect the amount of bandwidth required for the stream.You can leave both “Deinterlace” (since we are running at 720p) and “Timecode” unchecked. FMLE: Audio SettingsAudio settings are a bit less involved than video settings, and mostly requires finding a balance between quality and bandwidth required.Make sure that “Audio” is checked at the top of the Audio section.For “Device”, select “Soundflower (2ch)”. If this does not appear, make sure Soundflower is running.
If it is not, start it and restart FMLE.Once it is set, you can test that is is working by checking “Audio” in the preview panel and thenm play an audio source on your system. You should see the audio levels reflected in the preview panel (on the right).
You should also be able to hear the audio through your headphones / speakers. If you dont, make sure that you have set the output correctly in Soundflower (see above).For Format, select “Mp3″, and set “Channels” to “Stereo” and “Sample Rate” to “44100″.The “Bit Rate” setting determines how much data is used to encode the audio. Higher values mean clearer audio / less compression but require more bandwidth.
![]()
Unless you are streaming high quality audio / music, then 128 Kbps should be fine, and depending on your bandwidth, you may want to set it slightly lower.Turn the volume all the way up. At this point, look at the bandwidth required estimate under the Volume setting.
Make sure this is not too high in relation to your upstream bandwidth. You want to ensure there is some padding for data spikes, or if your available bandwidth goes down a bit. If the bandwidth required is too high, then go through and tweak the settings (see above) until you get the bandwidth to an acceptable level. You may need to do some live testing to find the best compromise between audio / video quality and required bandwidth.Now that we have entered all of the settings, we want to save our FMLE profile, so we can easily use it again. Select File Save Profile and save the profile onto your system. By default, FMLE will open with the last settings used, but you can also open the saved profile by going to File Open Profile.All that is left to do, is to start the stream, and make sure everything is working with justin.tv.
Click the green “Start” button and switch over to your justin.tv channel. You should see your desktop and audio being streamed on your channel (there may be some delay between your desktop and the playback on the stream).Make sure audio and video quality are good. If they are not, then stop the stream, tweak the settings and try again.If you run into any errors, just check the “Encoding Log” panel in FMLE (which will open when you start the stream). You can also get general statistics on your stream in the Encoding pane which can be useful for trying to track down issues. At this point, if you have configured your streaming according the the instructions above, your microphone input will now be included in the audio for your stream. However, if you test this, you will also notice that the microphone input is also output to your system audio (since system Sound output is set to Soundflower (2ch)). Hearing yourself in your speakers / headphone as you speak can be very confusing and distracting (not to mention annoying), so we need to configure things so microphone input is not output locally.This is where the second instance of LineIn comes in.
If you havent already, launch LineIn2. Set the “Input from” to “Soundflower (16ch)” and set the “Output to” to “Soundflower (2ch)”. Once you have done this, click the “Pass Thru” button to enable the changes. At this point, we now have two separate Soundflower channels. One (“Soundflower (2ch)”) includes both system audio and microphone input, and one (“Soundflower 16ch”) includes all system audio, minus the microphone input.We don’t need to change anything in FMLE, since it is already set to use Soundflower (2ch) as its audio input.
However, in order to hear the correct audio locally, we need to change the Soundflower local output. Click the Soundflower icon on the menu bar. Set “Soundflower (2ch)” to “None (Off)”, and set “Soundflower (16ch)” to the local output you want to use (which ever output your speakers / headphone is connected to). You should now be able to hear all system audio locally without hearing the microphone. However, the stream includes the audio from both the local system and microphone.At this point, anything you output to “Soundflower (16ch)” will be included in the stream (and played locally). This means you can set other applications, such as Skype, to also output to Soundflower (16ch) in order to include them in the stream.Configuring this in is easy. Just open Skype, and launch the Audio / Video preferences ( Skype Preferences Audio / Video).
Set the “Speakers” to “Soundflower (16ch)” and close the preferences. Now any audio that comes through Skype, will be included in the stream.
You can do this with any application that allows you to specify sound output. You just need to keep in mind that you only have 16 channels total (which should be plenty).With this setup, you can stream your desktop, system audio, local microphone and skype conversations all of the same time (useful, for example, if you are streaming multiple player games while playing / chatting with friends).
ConclusionWhile setting up desktop streaming on Mac OS X can seem a bit daunting at first, it is not too difficult. Once you do get it setup with the configuration describe in this article, you have a lot of flexibility in how things are broadcast, including which audio sources are included / excluded. Additional Resources Applications.Articles / Resources.: Great walkthrough for streaming your desktop from Windows.: Great video series by Sean “Day9” Plott.If you have any questions or suggestions, then post them in the comments.This entry was posted in and tagged.
Bookmark the.
Unlike the software developed for Windows system, most of the applications installed in Mac OS X generally can be removed with relative ease. CamTwist is a third party application that provides additional functionality to OS X system and enjoys a popularity among Mac users. However, instead of installing it by dragging its icon to the Application folder, uninstalling CamTwist may need you to do more than a simple drag-and-drop to the Trash.
Download Mac App Remover
When installed, CamTwist creates files in several locations. Generally, its additional files, such as preference files and application support files, still remains on the hard drive after you delete CamTwist from the Application folder, in case that the next time you decide to reinstall it, the settings of this program still be kept. But if you are trying to uninstall CamTwist in full and free up your disk space, removing all its components is highly necessary. Continue reading this article to learn about the proper methods for uninstalling CamTwist.
Manually uninstall CamTwist step by step:
Most applications in Mac OS X are bundles that contain all, or at least most, of the files needed to run the application, that is to say, they are self-contained. Thus, different from the program uninstall method of using the control panel in Windows, Mac users can easily drag any unwanted application to the Trash and then the removal process is started. Despite that, you should also be aware that removing an unbundled application by moving it into the Trash leave behind some of its components on your Mac. To fully get rid of CamTwist from your Mac, you can manually follow these steps:
1. Terminate CamTwist process(es) via Activity Monitor
Before uninstalling CamTwist, you’d better quit this application and end all its processes. If CamTwist is frozen, you can press Cmd +Opt + Esc, select CamTwist in the pop-up windows and click Force Quit to quit this program (this shortcut for force quit works for the application that appears but not for its hidden processes).
Open Activity Monitor in the Utilities folder in Launchpad, and select All Processes on the drop-down menu at the top of the window. Select the process(es) associated with CamTwist in the list, click Quit Process icon in the left corner of the window, and click Quit in the pop-up dialog box (if that doesn’t work, then try Force Quit).
2. Delete CamTwist application using the Trash
First of all, make sure to log into your Mac with an administrator account, or you will be asked for a password when you try to delete something.
Open the Applications folder in the Finder (if it doesn’t appear in the sidebar, go to the Menu Bar, open the “Go” menu, and select Applications in the list), search for CamTwist application by typing its name in the search field, and then drag it to the Trash (in the dock) to begin the uninstall process. Alternatively you can also click on the CamTwist icon/folder and move it to the Trash by pressing Cmd + Del or choosing the File and Move to Trash commands.
For the applications that are installed from the App Store, you can simply go to the Launchpad, search for the application, click and hold its icon with your mouse button (or hold down the Option key), then the icon will wiggle and show the “X” in its left upper corner. Click the “X” and click Delete in the confirmation dialog.
Download Mac App Remover
3. Remove all components related to CamTwist in Finder
Though CamTwist has been deleted to the Trash, its lingering files, logs, caches and other miscellaneous contents may stay on the hard disk. For complete removal of CamTwist, you can manually detect and clean out all components associated with this application. You can search for the relevant names using Spotlight. Those preference files of CamTwist can be found in the Preferences folder within your user’s library folder (~/Library/Preferences) or the system-wide Library located at the root of the system volume (/Library/Preferences/), while the support files are located in '~/Library/Application Support/' or '/Library/Application Support/'.
Open the Finder, go to the Menu Bar, open the “Go” menu, select the entry:|Go to Folder... and then enter the path of the Application Support folder:~/Library
Search for any files or folders with the program’s name or developer’s name in the ~/Library/Preferences/, ~/Library/Application Support/ and ~/Library/Caches/ folders. Right click on those items and click Move to Trash to delete them.
Meanwhile, search for the following locations to delete associated items:
Besides, there may be some kernel extensions or hidden files that are not obvious to find. In that case, you can do a Google search about the components for CamTwist. Usually kernel extensions are located in in /System/Library/Extensions and end with the extension .kext, while hidden files are mostly located in your home folder. You can use Terminal (inside Applications/Utilities) to list the contents of the directory in question and delete the offending item.
4. Empty the Trash to fully remove CamTwist
If you are determined to delete CamTwist permanently, the last thing you need to do is emptying the Trash. To completely empty your trash can, you can right click on the Trash in the dock and choose Empty Trash, or simply choose Empty Trash under the Finder menu (Notice: you can not undo this act, so make sure that you haven’t mistakenly deleted anything before doing this act. If you change your mind, before emptying the Trash, you can right click on the items in the Trash and choose Put Back in the list). In case you cannot empty the Trash, reboot your Mac.
Download Mac App Remover
Tips for the app with default uninstall utility:
You may not notice that, there are a few of Mac applications that come with dedicated uninstallation programs. Though the method mentioned above can solve the most app uninstall problems, you can still go for its installation disk or the application folder or package to check if the app has its own uninstaller first. If so, just run such an app and follow the prompts to uninstall properly. After that, search for related files to make sure if the app and its additional files are fully deleted from your Mac.
Automatically uninstall CamTwist with MacRemover (recommended):
No doubt that uninstalling programs in Mac system has been much simpler than in Windows system. But it still may seem a little tedious and time-consuming for those OS X beginners to manually remove CamTwist and totally clean out all its remnants. Why not try an easier and faster way to thoroughly remove it?
If you intend to save your time and energy in uninstalling CamTwist, or you encounter some specific problems in deleting it to the Trash, or even you are not sure which files or folders belong to CamTwist, you can turn to a professional third-party uninstaller to resolve troubles. Here MacRemover is recommended for you to accomplish CamTwist uninstall within three simple steps. MacRemover is a lite but powerful uninstaller utility that helps you thoroughly remove unwanted, corrupted or incompatible apps from your Mac. Now let’s see how it works to complete CamTwist removal task.
1. Download MacRemover and install it by dragging its icon to the application folder.2. Launch MacRemover in the dock or Launchpad, select CamTwist appearing on the interface, and click Run Analysis button to proceed.3. Review CamTwist files or folders, click Complete Uninstall button and then click Yes in the pup-up dialog box to confirm CamTwist removal.
The whole uninstall process may takes even less than one minute to finish, and then all items associated with CamTwist has been successfully removed from your Mac!
Benefits of using MacRemover:
MacRemover has a friendly and simply interface and even the first-time users can easily operate any unwanted program uninstallation. With its unique Smart Analytic System, MacRemover is capable of quickly locating every associated components of CamTwist and safely deleting them within a few clicks. Thoroughly uninstalling CamTwist from your mac with MacRemover becomes incredibly straightforward and speedy, right? You don’t need to check the Library or manually remove its additional files. Actually, all you need to do is a select-and-delete move. As MacRemover comes in handy to all those who want to get rid of any unwanted programs without any hassle, you’re welcome to download it and enjoy the excellent user experience right now!
This article provides you two methods (both manually and automatically) to properly and quickly uninstall CamTwist, and either of them works for most of the apps on your Mac. If you confront any difficulty in uninstalling any unwanted application/software, don’t hesitate to apply this automatic tool and resolve your troubles.
Download Mac App Remover![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |