Simple Live Streaming with Wirecast

Some months ago, I became concerned that my trusty old Canon Vixia tape-based videocamera might be getting to the end of its lifespan. Replacing the camera actually meant replacing my entire video streaming setup, because there’s been a generational change in most of the components. I eventually ended up with this new kit:

Equipment Needed

  • MacBook Pro with Thunderbolt connector – not the latest model, but with plenty of horsepower for video processing.
  • Wirecast software. The UStream Producer Pro software I had been using is a customized version of Wirecast, with fewer options. This makes it easier if you’re only going to use it with the UStream streaming service, but the full version of Wirecast offers many more possibilities. Documented below is only the minimum I needed to figure out to do my usual streaming.
  • UltraStudio Mini Recorder
  • Thunderbolt cable
  • HDMI cable
  • Videocamera with HDMI output – which is almost any consumer-grade videocamera made today. I got a recent Canon Vixia ($250) which records only to SD cards (32 GB = about 4 hours).
  • This setup assumes that you already have a UStream account with one or more channels you’ve created.

Warning: The set of steps below may be incomplete; I have not had much occasion to actually use this setup in production yet. In particular, you may have to do some fiddling to get the UltraStudio Mini Recorder recognized as an input device by your laptop.

Hardware Setup

  1. Put camera on tripod.
  2. Attach camera to power.
  3. Attach HDMI cable to the camera’s HDMI port, attach the other end to the HDMI port on the UltraStudio Mini Recorder.
  4. Attach the UltraStudio Mini Recorder to the laptop using the Thunderbolt cable.
  5. Ensure that the camera is set to record in HD.

Setting Up Camera Input

  1. Open Wirecast.
  2. Go to Sources | Show Sources Settings.
  3. Set as shown here – select the UltraStudio Mini Recorder:    source settings
  4. Click Apply, and then the red button to close the dialog.
  5. In the shots area below the monitor area in Wirestream, hover over the + button next to a Blank Shot: blank shot
    until you see icons: icons
  6. Click on the camera icon (upper left) to get this menu:
    add camera menu
  7. Select Add UltraStudio Mini Recorder… You should now see the camera’s view in the new shot:
    select ultrastudio
  8. Select the new shot to display it in the monitoring window.

Setting Up Output

  1. In Wirecast, select Output | Output Settings…
  2. In Select an Output Destination, choose UStream from the menu, click OK.
  3. In the Output Settings dialog, enter your UStream username into the Username box and click Authenticate.
  4. Enter the password as requested in the next dialog box. You should then see a list of channels available on your UStream account.
  5. Select the channel you want to broadcast on.
  6. In the same dialog box, select Add in the lower left.
  7. This will again open the Select an Output Destination dialog. This time choose Record to Disk – MP4 from the menu, and click OK – this way you’ll be recording to your local hard disk (as well as the camera’s SD card, if you remember to press the record button on the camera!) while also streaming.
  8. Click OK again to return to the main Wirecast window.
  9. NOTE: You are not actually streaming or recording anything yet, at this point you have only told Wirecast where you will want to stream and record to!

Streaming and Recording

To start streaming and recording (yes, you should do both!) go to the Output menu and select Start / Stop Broadcasting | Start All, then Start / Stop Recording | Start All.

Broadcasting to a Google Hangout

(Just because I figured out how. Not sure I’ll actually use this for anything; it only allows 9 people to join a broadcast.

hangout

  1. In Wirecast, set as shown above.
  2. Select Start.
  3. Start a Google Video Hangout.
  4. In the video window, select the Settings icon at the top of the screen.
  5. In the Settings dialog, select Wirecast Virtual Camera as shown:
    virtual camera
  6. Note that the image you see in your Hangout will be mirrored (yeah, whatever Google), but others in the hangout will see it the right way round, ie text will not be reversed!

Easter Flower Walk

My personal celebration on this beautiful spring day included yoga class, then a walk to the local farmer’s market, taking photographs along the way of my neighbors’ gardens. Whoever has raised that spectacular pink and white rhododendron tree deserves a special blessing!

The Boys’ and Girls’ Book About Divorce

When you start losing parents, it’s natural and normal to contemplate your own mortality. For me, the death of my father, the great storyteller, meant not only that I am closer to my own death, but that I have lost parts of my history that I will never be able to recover, except via my own faulty and incomplete memories. (My mother, with whom I choose to have no contact now, declared in late 2007 that my brother and I had one year in which to ask her any questions about the past, after which she would never again discuss it. She responded angrily to the one question I did ask, so I did not learn much from her in that year.)

One way I can try to reconstruct my past is to revisit places and objects that are still available to me, such as The Boys’ and Girls’ Book About Divorce. It was the first book aimed at “those who are usually most affected by a family breakup: the 3,000,000 or more American children of divorced parents” (Time magazine). I think my dad gave me a copy soon after we arrived in Pittsburgh in 1972. I was the first kid I knew to have divorced parents, and I was desperate to understand my situation.

I hadn’t seen the divorce coming, let alone had any inkling what it would mean for me. I had known for some time that my parents were not happy together: they fought loudly and bitterly (behind closed doors, but I could hear them all over our large house), which frightened me and made me angry. But, growing up in a small community of expatriates in Bangkok, I may not have understood that it was even possible for one’s family to be blown apart in this way.

Sometime in 1972, I was told that my family was “returning” to the US, a homeland I remembered only from a Christmas visit two years earlier (we had been living in Thailand for the half of my life that I could remember). My dad would be going to grad school in Pittsburgh. Dad’s and Mom’s relatives mostly lived in Louisiana and Texas; we would have no family nearby to ease re-entry. Not that I knew my extended family very well: they, too, were familiar only from that one visit and a few, dim earlier memories.

We packed up our possessions in 55-gallon drums for shipping by sea, except for the armful of stuffed animals I insisted on carrying on the plane with me. The house with its lush tropical garden, beloved pets, servants who were part of the family, my school and my few friends: all would be left behind forever.

My parents had told me that my mother was staying behind to deal with some paperwork, and would follow later, with my infant brother. I was therefore puzzled that she cried upon saying goodbye to me at the airport. If she was sad, I assumed that I should be, too, so I cried along with her. But soon I was thrilled to be off on an adventure with my dad, including stopovers in Tokyo and Honolulu en route back to the US.

We eventually made our way to my aunt’s mobile home outside Coupland, Texas. I was happy to spend time in the country with my cousin, who had lots of animals to play with, and even horses to ride!

I can’t remember whether the letter from my mother was addressed to me or to my father. Whether I read it myself or someone read it to me or told me its contents. However it was conveyed, it was in Aunt Rosie’s home that I finally learned the truth. I remember focusing intently, dizzily on Rosie’s white curtains while someone explained to me that my parents were divorcing, and my mother would not be joining us: she was staying in Bangkok, and my brother Ian with her.

So I came to understand that I had lost everything I had known about my life – except my father – in one fell swoop.

As fas as I could tell at the time, this book did not help much.

Dr. Richard A. Gardner, a psychiatrist specializing in children, started his book by explaining the phrase Hobson’s Choice, and applying it to marriage: sometimes all you’re left with is the choice between an unhappy marriage, or no marriage at all. This made sense to me, but I was baffled by Dr. Gardner’s statement that: “Many children keep trying to get their parents to marry one another again.” My parents were living half a world apart, and already in new relationships. As a practical matter, I could not imagine how they might be brought together again, nor could I imagine them being happy together when I knew very well how unhappy they had been before. So I didn’t waste any pining on that scenario.

The book largely dealt with the then-standard American pattern for divorce, in which Mother stayed in the family home with the children, while Father lived somewhere nearby and saw the kids on weekends.

This was very different from my situation: my brother and I were separated, he staying with my mother in Bangkok while I was with my dad in Pittsburgh. I did not see my mother for a year, then she visited us once. I don’t remember much about this visit. I did not see her again until I was 18, in part because, during those years, both she and my father remarried and moved several times to several different countries. Most of my contact with Mom was via letters, and, even on paper, our relationship was rocky.

Though it did not fit my unusual story, Dr. Gardner’s book was somehow comforting. Years after I had left it behind, I remembered that it contained cartoon drawings of kids and their parents in various scenarios and moods – happy, sad, frightened, angry – accompanied by text saying that all these feelings were natural and ok to have, my feelings didn’t make me a bad person, and none of what had happened was my fault.

One thing kids hear a lot when their parents are divorcing (both then and now) is: “Mommy and Daddy both love you and will always love you, even if they no longer love each other, even if one of them has to go away.” Dr. Gardner took some heat, back in the day, for being honest with kids about the fact that, sometimes, a parent actually does not love you all that much. And, while that hurts, it’s not your fault: “…If a parent doesn’t love you, it does not mean that you are not good enough to be loved or that you are very bad or that no one will ever be able to love you… start trying to get love and friendship from other people.”

Even though I did not consciously remember this advice, I applied it. Whoever’s fault it was that I did not see my mother for so long and do not get on with her now (she blames my father), I went on to find allomothers throughout my childhood and youth, some of whom remained in my life well into adulthood. They (plus years of therapy) helped me survive and recover from the many losses that I have endured, as well as adding much to my life in their own right.

In retrospect, I probably have Dr. Gardner to thank for my instinct to move on and find substitutes for my mother’s presence and love. So: a belated thank you, Dr. Gardner. Your book helped after all.

Wrong Number

Once upon a time, ’round about 1983, my mother was living in Houston, where I occasionally visited her while I was attending the University of Texas at Austin.

One evening during one of these visits, the phone rang in her apartment. She answered, the man’s voice on the other end asked for some name who didn’t live there, then apologized for dialing the wrong number. Mom told him to think nothing of it. Then, somehow, they ended up in a conversation, most of which I could hear (the voice and/or the phone was unusually loud). This complete stranger ended up pouring out his heart to my mother.

The crux of the matter was: he liked wearing women’s clothing, and he wanted to tell someone about it. He seemed lonely, looking for acceptance, which my mother provided. She was completely unfazed by his deep, dark secret, refusing to find it upsetting or disgusting, or to think that he was a bad person for wanting to wear lingerie and stockings. At some point she must have mentioned that her daughter was visiting, because he then wanted to talk to me, and ask all the same things over again: did I think he was weird or disgusting? No, not at all. He seemed relieved that we didn’t slam the phone down on him. He talked eagerly, asking what kinds of clothes we liked (neither of us had much interest in fashion; perhaps that part of the conversation was disappointing).

He wondered if he should be a woman instead of a man, and we didn’t find that strange, either. I had never, to my knowledge, met anyone who was contemplating a sex change. I felt shy to voice an opinion on so big a topic, but I tried to be supportive.

Eventually, he thanked us for listening to him, said goodbye, and hung up.

I’ve always remembered that call, because it struck me how isolated he seemed – so afraid that he was a horrible person, and that everyone around him would shun him if they knew who he really was, or wanted to be. He might well have been right about that, at that time and place. It seemed likely that the call had not been a wrong number at all, but a random dial in hopes of finding a sympathetic ear. Whoever he was, I hope he worked it out and finally got to be who he wanted, and that he didn’t have to do it alone.

What Linux Can Learn from Solaris Performance, and Vice-Versa

Brendan Gregg keynoted the Southern California Area Linux Expo this year, to a packed room, with this talk:

How does Linux system performance compare to other OSes, particularly the performance-focused Solaris family? What features inspired by them could be added to Linux?

Both are bristling with performance features and optimizations, and it’s difficult enough to fully understand the performance of the Linux kernel and its distributions, let alone other kernels and OSes for comparison. Brendan Gregg has unique insight into the performance features and analysis capabilities of both Linux and Solaris-based systems, which he covers in depth in his new book:Systems Performance: Enterprise and the Cloud. He also works at Joyent, a high performance cloud provider, where OS performance is core to the business, and frequently debugs head-to-head performance comparisons. It’s not just each OS’s baseline performance that matters, but also their analysis tools, and how quickly potential customer benchmarks can be debugged and tuned. This talk will include specific areas where SmartOS – an open source illumos kernel derivative of OpenSolaris – often beats Linux performance, and vice-versa. How does Linux compare today, and what can it do next? … and what could the Solaris family learn from Linux?

Deirdré Straughan on Italy, India, the Internet, the world, and now Australia