#1  
Old 4th November 2011, 21:13
civicplaza civicplaza is offline
Junior Member
 
Join Date: Jan 2009
Posts: 3
Default Any success with Flazr streaming?

I have been playing with Flazr (flazr.com), trying to us it to stream a file to LiveStream. So far, I have not had the stream show up in my channel studio, but it does seem to stream from my computer to somewhere. I get an outgoing data rate of around 400KB and what I think is success from Flazr. Has anyone one had any success with LiveStream?

Here is what I used to at least get data flowing:
C:\flazr>client -version 00000000 -live -host publish.livestream.com -D username=myUser -D password=myPassword -D isAutoStart=true -app mogulus/myChannel x C:\Videos\FLV\t.flv


Here is the output during streaming:

C:\flazr>java -Xmx512m -cp conf;lib\commons-cli-1.2.jar;lib\commons-codec-1.2.jar;lib\commons-httpclient-3.1.jar;lib\flazr-0.7-RC2.jar;lib\jcl104-over-slf4j-1.4.2.jar;lib\log4j-1.2.14.jar;lib\netty-3.1.5.GA.jar;lib\slf4j-api-1.4.2.jar;lib\slf4j-log4j12-1.4.2.jar -Dflazr.log.suffix=-client com.flazr.rtmp.client.RtmpClient -version 00000000 -live -host publish.livestream.com -D username=MyUSer -D password=myPassword -D isAutoStart=true -app mogulus/myChannel MyUser C:\Videos\FL
V\t.flv

18:21:59,154 [main] INFO [ClientOptions] - options: [host: 'publish.livestream.com' port: 1935 appName: 'mogulus/myChannel' streamName: 'MyUser' saveAs: 'null' rtmpe: false publish: LIVE clientVersionToUse: '00000000' start: -2 length: -1 buffer: 100 params: {username=MyUser, isAutoStart=true, password=MyPassword} args: null load: 1 loop: 1 threads: 10]

Flazr <http://flazr.com> Copyright (C) 2009 Peter Thomas.
This program comes with ABSOLUTELY NO WARRANTY.
Flazr is free software, and you are welcome to redistribute it
under certain conditions. You should have received a copy of the
GNU Lesser General Public License along with Flazr.
If not, see <http://www.gnu.org/licenses/>

18:21:59,522 [main] INFO [ClientHandler] - channel opened: [id: 0x009664a1] OPEN
18:21:59,706 [New I/O client worker #1-1] INFO [ClientHandshakeHandler] - connected, starting handshake
18:21:59,723 [New I/O client worker #1-1] INFO [RtmpHandshake] - using client version 00000000
18:21:59,933 [New I/O client worker #1-1] INFO [ClientHandler] - handshake complete, sending 'connect'
18:21:59,944 [New I/O client worker #1-1] INFO [ClientHandler] - sending command (expecting result): [0 COMMAND_AMF0 c3 #0 t0 (0) s0] name: connect, transactionId: 1, object: {app=mogulus/myChannel, flashVer=WIN 9,0,124,2, tcUrl=rtmp://publish.livestream.com:1935/mogulus/myChannel, fpad=false, audioCodecs=1639.0, videoCodecs=252.0, objectEncoding=0.0, capabilities=15.0, videoFunction=1.0, username=MyUser, isAutoStart=true, password=myPassword}, args: null
18:22:00,138 [New I/O client worker #1-1] INFO [ClientHandler] - result for method call: connect
18:22:00,141 [New I/O client worker #1-1] INFO [ClientHandler] - sending command (expecting result): [0 COMMAND_AMF0 c3 #0 t0 (0) s0] name: createStream, transactionId: 2, object: null, args: []
18:22:00,310 [New I/O client worker #1-1] INFO [ClientHandler] - result for method call: createStream
18:22:00,318 [New I/O client worker #1-1] INFO [FileChannelReader] - opened file: C:\Videos\FLV\t.flv
18:22:00,539 [New I/O client worker #1-1] INFO [ClientHandler] - publish mode, stream begin, will start [0 CONTROL c2 #0 t0 (0) s6] STREAM_BEGIN streamId: 1
18:22:00,702 [New I/O client worker #1-1] INFO [ClientHandler] - onStatus code: NetStream.Publish.Start
18:22:13,526 [New I/O client worker #1-1] INFO [ClientHandler] - ack from server: [0 BYTES_READ c2 #0 t0 (0) s4] 625575
18:22:25,499 [New I/O client worker #1-1] INFO [ClientHandler] - ack from server: [0 BYTES_READ c2 #0 t0 (0) s4] 1252835
18:22:39,338 [New I/O client worker #1-1] INFO [ClientHandler] - ack from server: [0 BYTES_READ c2 #0 t0 (0) s4] 1877138
18:22:53,424 [New I/O client worker #1-1] INFO [ClientHandler] - ack from server: [0 BYTES_READ c2 #0 t0 (0) s4] 2504221
18:23:06,510 [New I/O client worker #1-1] INFO [ClientHandler] - ack from server: [0 BYTES_READ c2 #0 t0 (0) s4] 3134574
18:23:18,073 [New I/O client worker #1-1] INFO [ClientHandler] - ack from server: [0 BYTES_READ c2 #0 t0 (0) s4] 3753826
18:23:30,274 [New I/O client worker #1-1] INFO [ClientHandler] - ack from server: [0 BYTES_READ c2 #0 t0 (0) s4] 4378535
18:23:42,191 [New I/O client worker #1-1] INFO [ClientHandler] - ack from server: [0 BYTES_READ c2 #0 t0 (0) s4] 5004084
18:23:56,680 [New I/O client worker #1-1] INFO [ClientHandler] - ack from server: [0 BYTES_READ c2 #0 t0 (0) s4] 5630196
18:24:11,335 [New I/O client worker #1-1] INFO [ClientHandler] - ack from server: [0 BYTES_READ c2 #0 t0 (0) s4] 6255471
18:24:25,716 [New I/O client worker #1-1] INFO [ClientHandler] - ack from server: [0 BYTES_READ c2 #0 t0 (0) s4] 6881441
18:24:39,031 [New I/O client worker #1-1] INFO [ClientHandler] - ack from server: [0 BYTES_READ c2 #0 t0 (0) s4] 7509237
18:24:51,421 [New I/O client worker #1-1] INFO [ClientHandler] - ack from server: [0 BYTES_READ c2 #0 t0 (0) s4] 8131967
18:25:04,098 [New I/O client worker #1-1] INFO [ClientHandler] - ack from server: [0 BYTES_READ c2 #0 t0 (0) s4] 8758180
18:25:15,756 [New I/O client worker #1-1] INFO [RtmpPublisher] - finished, start: 0, elapsed 195, streamed: 137
18:25:16,428 [New I/O client worker #1-1] INFO [ClientHandler] - onStatus code: NetStream.Unpublish.Success
18:25:16,428 [New I/O client worker #1-1] INFO [ClientHandler] - unpublish success, closing channel
18:25:16,430 [New I/O client worker #1-1] INFO [ClientHandler] - channel closed: [id: 0x009664a1, /192.168.0.104:57520 => publish.livestream.com/204.77.212.65:1935] CLOSED
18:25:16,432 [New I/O client worker #1-1] INFO [FileChannelReader] - closed file: C:\Videos\FLV\t.flv

Thanks and good luck.
Reply With Quote
  #2  
Old 4th November 2011, 23:53
davidaron davidaron is offline
Livestream Community Help
 
Join Date: Aug 2008
Location: New York, NY
Posts: 586
Send a message via Skype™ to davidaron
Default

This is very interesting. Do you get success when you stream your file to an RTMP server on your local machine (like red5 for example) using the flazr client?
Reply With Quote
  #3  
Old 5th November 2011, 22:20
civicplaza civicplaza is offline
Junior Member
 
Join Date: Jan 2009
Posts: 3
Default

I have a Wowza 2.2.3 development server to test locally. The following Flazr client command works with Wowza to send a file to the server.

client -version 00000000 -live -host 97.xxx.xxx.xxx -app live test t.flv
My router sends port 1935 to my server on the local intranet in my home.

I can play the file on a wireless Android tablet. It works without any flaws.

Oh, I'm using Wowza on Windows Vista 64-bit SP2 on a Dell using Intel dual core T8100 2.1GHz processor with 4GB RAM if that makes any difference.

Last edited by civicplaza; 6th November 2011 at 00:23. Reason: Added information
Reply With Quote
  #4  
Old 4th April 2012, 20:47
sherifhanna sherifhanna is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
Default

I played around with your settings and I was able to get a set of parameters that got the stream to show up in Livestream Studio, and I was able to cue it:

Try this:
C:\flazr>client -version 00000000 -live -host publish.livestream.com -app mogulus/MYCHANNEL/username=MYUSERNAME/password=MYPASSWORD/isAutoLive=true/aspectWidth=WIDTH/aspectHeight=HEIGHT/bufferTime=1/autoRecord=false/autoVOD=false/autoPilot=false x C:\Videos\FLV\t.flv
Reply With Quote
Reply

Tags
flazr stream publish live

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump