PDA

View Full Version : Broadcasting Help - FME


blitzered
11-30-2009, 06:12 PM
Hello everyone I have taken a strong interest in broadcasting, gaming specifically. My plans are to eventually do console streams but at the moment I want to just get PC streaming to work first.

I have decided to follow a couple of guides to attempt to get started and I have been running into a road block.

Just to get it out of the way, I am using firefox. Both flash and firefox are fully updated. Using Vista 64x.

My first attempt at broadcasting today was just following a simple tutorial. I installed FME 2.5 and VHScrCap. When I went to broadcast on the website, I got the little box that said allow/deny. When I click allow I get VHMultiCam dialog box and firefox crashes.

My second attempt was following this guide (http://community.justin.tv/forums/showthread.php?t=1298). I liked it because of how well written and easy to understand it was. I followed all the instructions, ran the .bat file and nothing happened but a VHMultiCam dialog box coming up. I then figured out with some googling that I could disable this from coming up which I did.

Finally, I ran the .bat again and got the following...

================================================== ===============
File: C:\Program Files (x86)\Adobe\Flash Media Encoder 2.5\FMEcmd.exe
Description: Adobe® Flash® Media Encoder
Copyright: © 2007 - 08 Adobe Systems Incorporated. All Rights Reserved. Adobe, the Adobe logo, and Flash are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. All other trademarks are the property of their respective owners. <AdobeIP#0000410>
Version: 2.5.0.2086
================================================== ===============


Mon Nov 30 2009 20:59:45 :
Video Settings :-
Device : VHScrCap
Format : VP6
Size : 1920x1080 60.00 fps
Crop : Top 0 Bottom 3
Left 0 Right 0
Resize : Disabled
Timecode : Disabled
Bit rate : 1000 Kbps
Deinterlace : Disabled

Audio Settings :-
Device : "What U Hear" (Creative SB X-Fi
Format : Mp3 Stereo
Sample Rate : 44100 Hz
Bit rate : 128 Kbps
Volume : 75 %

Stream to Flash Media Server :-
FMS URL : rtmp://live.justin.tv/app
Backup URL :
Stream Name : *********KEY HIDDEN********

Mon Nov 30 2009 20:59:45 : Selected video input device: VHScrCap
Mon Nov 30 2009 20:59:45 : Selected audio input device: "What U Hear" (Creative SB X-Fi
Mon Nov 30 2009 20:59:45 : Failed to start encoding.
Mon Nov 30 2009 20:59:45 : Closing Application.

I am totally lost, as all these tutorials I been reading have not dealt with these issues.

blitzered
11-30-2009, 06:31 PM
Small update...

Instead of using the console I loaded up FME and then opened up the profile I made with my key/etc.

When I clicked start I got the following...

Mon Nov 30 2009 21:30:38 : Selected video input device: VHScrCap
Mon Nov 30 2009 21:30:39 : Selected audio input device: "What U Hear" (Creative SB X-Fi
Mon Nov 30 2009 21:30:43 : Resample Required.
Mon Nov 30 2009 21:30:43 : Primary - Connected
Mon Nov 30 2009 21:30:44 : Primary - Stream Status: Success
Mon Nov 30 2009 21:30:44 : Primary - Stream Status: NetStream.Publish.Start
Mon Nov 30 2009 21:30:44 : Session Started
Mon Nov 30 2009 21:30:44 : Primary - Stream Status: NetStream.Unpublish.Success

And it stopped :(

blitzered
11-30-2009, 06:44 PM
Figured out the issue.

I used CCCP codec pack for watching video files. Seems like something in there conflicted.

Up and streaming :)

blitzered
11-30-2009, 07:03 PM
Well I continue to solve my issues by realizing CCCP was not the issue.

Having ventrilo open while starting the stream was the issue...

Anyone know why I would get an audio encode conflict with ventrilo open? Ventrilo should only be using my microphone/speakers.

The encode is using "what u hear"

I would love to be on ventrilo talking to people while I am streaming. :(

witespy
12-01-2009, 06:31 AM
hummm.

that is weird . you could run vent in vmware .

MajiShine
12-01-2009, 08:39 AM
Well I continue to solve my issues by realizing CCCP was not the issue.

Having ventrilo open while starting the stream was the issue...

Anyone know why I would get an audio encode conflict with ventrilo open? Ventrilo should only be using my microphone/speakers.

The encode is using "what u hear"

I would love to be on ventrilo talking to people while I am streaming. :(

The main problem is, when you set up your computer to use "What You Hear" as an audio source that also includes the Mic, even if it's not set to hear it in with Windows Audio Control.

Therefore when you have another program open that is trying to use the Mic, one of two things usually happens.
There is a huge conflict because two programs are trying to access the mic at the same time. Or the second program, in your case Ventrilo, will use "What You Hear" as the mic source, causing everyone on Ventrilo to constantly hear what is happening on you computer instead of your Mic, unless you have your Mic set to hear it thru your computer speakers, at which point, everyone on Ventrilo will hear you speaking AND your computer audio, as well as everyone watching the broadcast will hear you speaking and the computer audio as well.

Most sound cards aren't designed to allow multiple applications to access the mic at the same time. Most do allow for Recording from the "What You Hear" or "Stereo Mix" line and letting an application like Skype access the Mic at the same time, but not many were designed to allow that same type of access for streaming video/audio.

It's really just a limitation of the Sound Card itself.

witespy
12-01-2009, 08:49 AM
The main problem is, when you set up your computer to use "What You Hear" as an audio source that also includes the Mic, even if it's not set to hear it in with Windows Audio Control.

Therefore when you have another program open that is trying to use the Mic, one of two things usually happens.
There is a huge conflict because two programs are trying to access the mic at the same time. Or the second program, in your case Ventrilo, will use "What You Hear" as the mic source, causing everyone on Ventrilo to constantly hear what is happening on you computer instead of your Mic, unless you have your Mic set to hear it thru your computer speakers, at which point, everyone on Ventrilo will hear you speaking AND your computer audio, as well as everyone watching the broadcast will hear you speaking and the computer audio as well.

Most sound cards aren't designed to allow multiple applications to access the mic at the same time. Most do allow for Recording from the "What You Hear" or "Stereo Mix" line and letting an application like Skype access the Mic at the same time, but not many were designed to allow that same type of access for streaming video/audio.

It's really just a limitation of the Sound Card itself.


You could get second USB Sound card. $10

http://www.usbgear.com/computer_cable_details.cfm?sku=USBG-SV5&cats=121&catid=136%2C121

and use a second mic for vent

blitzered
12-01-2009, 03:08 PM
Thanks for the replies. I actually have on-board Realtek sound card bios disabled atm since I been using my X-Fi.

After speaking to a friend and now reading your posts it seems like enabling this second card should fix my problem.

Before I do that though I was hoping someone could answer a question for me.

Ideally I would want to keep my current setup because I love the quality I have / mic / etc.

If I were to simply re-enable my realtek onboard and use the "What U Hear" option from there, would that work? Or does the "What U Hear" option only include what is currently being processed by the sound card. Hope that makes sense.

Put it a bit more simply...

Soundblaster X-Fi -> Speaker/Headphone Output
Soundblaster X-Fi -> Mic Input

RealTek Onboard -> "What U Hear" (Think its Stereo something for that instead) as the input for the stream/encoding.

Will that "What U Hear" include the outputs from the soundblaster? If not I guess my only other option would be to input my microphone into the onboard like...

Soundblaster X-Fi -> Speaker/Headphone Output
Soundblaster X-Fi -> "What U Hear"

RealTek Onboard -> Mic

Hope that makes sense.

Thanks again!

witespy
12-01-2009, 04:12 PM
That is a tricky one. I guess it would all depend.

I know you can use http://audacity.sourceforge.net/ to port one sound card over to the other.

Catreina
12-02-2009, 01:18 PM
You can also use Virtual Audio Cable to do what you need. The generic install of it will allow you to set "listen to" all of your devices on the "Line 1 (Virtual Audio Cable)" device, including your microphone. Then you set FME to use the recording device of the same name as it's input source.

I could set up a tutorial on how to do this at some point.

Side note: I tried using Audacity and could not get it to work, though I did not try long.