Video Broadcast-Requirements (2013) Justin.tv

16
Forums / Knowledge Base / Broadcast Guides and Information Broadcast Requirements Here at Justin.tv, we’ve experienced a massive surge in demand for viewing on non-computer devices; such as tablets and mobile phones. We want your viewers to be able to watch in all these places, so we’re making changes to our infrastructure to service this growth! This article will cover everything you need to know to prepare. Contents 1. Broadcast Requirements 2. Warning Messages You May See 2.1 Video codec must be set to h.264 2.2 Audio codec must be set to MP3 or AAC 2.3 Max keyframe interval 2.4 The broadcast is not set to constant bitrate (CBR) 3. Adjusting Your Broadcast Software 3.1 Flash Media Encoder 3.2 Wirecast 3.3 XSplit Broadcast Requirements Moving into the future, we will require the following settings: Video Requirements Codec: H.264 Mode: Strict CBR Keyframe Interval: 2 seconds Audio Requirements Codec: AAC-LC or MP3, Stereo or Mono Maximum bit rate: 160 kbps (AAC), 128 kbps (MP3) Sampling frequency: any (AAC), 44.1 KHz (MP3) These configurations are already supported and made default by the latest versions of our most popular broadcast software options. This is also made default by our Web Broadcaster. In the event that your current configuration will not be supported with our infrastructure changes, you will receive a warning message on the top of your channel page with specific information. If you receive this warning message on your channel page, important broadcast settings have not been met. The broadcast will not work anywhere on Justin.tv once we move to HLS. We'll provide instructions below on how to properly configure popular broadcast software our community uses. Warning Messages You May See Here are the four errors you can receive and quick ways to fix them. Video codec must be set to h.264 (it is currently "{codec}") If you are receiving this error, the video codec you are using will not be supported. The solution is to set the video codec on your broadcast software to h.264 (AVC) All the software displayed on http://www.justin.tv/broadcast can provide h.264 encoding. Detailed Instructions for Flash Media Encoder, Wirecast, Xsplit. Audio codec must be set to MP3 or AAC (it is currently "{codec}") Only MP3 and AAC are supported in HLS. Be careful as some of the more exotic hardware encoders will come with audio codecs that may not play nice with our transcoding and demuxing tools! As always, the software we list on http://www.justin.tv/broadcast will fully support MP3 or AAC! Detailed Instructions for Flash Media Encoder, Wirecast, Xsplit. Max keyframe interval is currently at {current} seconds. Please set it to {target} seconds. Dylan Reichstadt posted this on August 07, 2013 16:09 Page 1 of 16 Broadcast Requirements : Justin.tv Support Center 1/23/2014 https://help.justin.tv/entries/25128411-Broadcast-Requirements

description

Video Broadcast-Requirements2013justin.tv.pdf

Transcript of Video Broadcast-Requirements (2013) Justin.tv

Page 1: Video Broadcast-Requirements (2013) Justin.tv

Forums / Knowledge Base / Broadcast Guides and Information

Broadcast Requirements

Here at Justin.tv, we’ve experienced a massive surge in demand for viewing on non-computer devices; such as tablets and mobile phones. We want your viewers to be able to

watch in all these places, so we’re making changes to our infrastructure to service this growth! This article will cover everything you need to know to prepare.

Contents

1. Broadcast Requirements

2. Warning Messages You May See

2.1 Video codec must be set to h.264

2.2 Audio codec must be set to MP3 or AAC

2.3 Max keyframe interval

2.4 The broadcast is not set to constant bitrate (CBR)

3. Adjusting Your Broadcast Software

3.1 Flash Media Encoder

3.2 Wirecast

3.3 XSplit

Broadcast Requirements

Moving into the future, we will require the following settings:

Video Requirements

• Codec: H.264

• Mode: Strict CBR

• Keyframe Interval: 2 seconds

Audio Requirements

• Codec: AAC-LC or MP3, Stereo or Mono

• Maximum bit rate: 160 kbps (AAC), 128 kbps (MP3)

• Sampling frequency: any (AAC), 44.1 KHz (MP3)

These configurations are already supported and made default by the latest versions of our most popular broadcast software options. This is also made default by our Web

Broadcaster.

In the event that your current configuration will not be supported with our infrastructure changes, you will receive a warning message on the top of your channel page with

specific information.

If you receive this warning message on your channel page, important broadcast settings have not been met. The broadcast will not work anywhere on Justin.tv once we move

to HLS. We'll provide instructions below on how to properly configure popular broadcast software our community uses.

Warning Messages You May See

Here are the four errors you can receive and quick ways to fix them.

Video codec must be set to h.264 (it is currently "{codec}")

• If you are receiving this error, the video codec you are using will not be supported.

• The solution is to set the video codec on your broadcast software to h.264 (AVC)

• All the software displayed on http://www.justin.tv/broadcast can provide h.264 encoding.

• Detailed Instructions for Flash Media Encoder, Wirecast, Xsplit.

Audio codec must be set to MP3 or AAC (it is currently "{codec}")

• Only MP3 and AAC are supported in HLS.

• Be careful as some of the more exotic hardware encoders will come with audio codecs that may not play nice with our transcoding and demuxing tools!

• As always, the software we list on http://www.justin.tv/broadcast will fully support MP3 or AAC!

• Detailed Instructions for Flash Media Encoder, Wirecast, Xsplit.

Max keyframe interval is currently at {current} seconds. Please set it to {target} seconds.

Dylan Reichstadt

posted this on August 07, 2013 16:09

Page 1 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 2: Video Broadcast-Requirements (2013) Justin.tv

• Means the gaps between their keyframes are too large. In the case of Xsplit there is a setting called max keyframe interval that they can adjust. In the case of OBS they need to add a manual parameter to the advanced options: -keyint X where X is their framerate * 2.

• With more exotic encoders such as the elemental, you can change the GOP size to create the 2 second keyframe interval state needed (depending on the framerate)

The broadcast is not set to constant bitrate (CBR). [Current average: {avg} kbps, current max: {max} kbps]

• This means the bitrate we’re seeing is fluctuating too much. On average they are transmitting at {avg}, but they peak up to {max}, and the difference is too big. There are settings in the various broadcast tools to ensure CBR.

Adjusting Your Broadcast Software to These Requirements

To help this transition, we will provide instructions on how to adjust your broadcast software to comply with our requirements. We will cover popular broadcast software Flash

Media Encoder, Wirecast and Xsplit.

Flash Media Live Encoder

The broadcast configuration for Flash Media Live Encoder can be changed in the "Encoding Options" tab (default to display on initial startup).

Video Codec

Labeled "Format" on the left side (under Video), you can adjust between H.264 and VP6. To comply with

our recommended requirements:

1. Choose H.264 for your Format

2. Click on the wrench next to H.264

3. Select Profile "Main"

4. Select Level "3.1"

5. Select Keyframe Frequency "2 second"

6. Click OK on the Advanced Encoder

7. Set Frame Rate to 30 FPS

Audio Codec

Labeled "Format" on the right side (under Audio), you can adjust between MP3 and AAC. To comply with our

recommended requirements:

1. Choose AAC for your Format

2. Select a Bit Rate less than 160 kbps

Note: If AAC is not available, choose MP3 with a Max Bitrate of 128 kbps and set the Sampling Frequency to

44.1 kHz

Wirecast

The broadcast configuration for Wirecast can be changed in the Encoder Presets. To access this:

1. Click Broadcast on the menu options and then Broadcast Settings

2. Under Encoder Presets click New

3. Enter a Preset Name, such as "JTV HLS Widescreen"

Video Codec

Labeled "Video Encoding" on the Encoder Presets section

1. Choose H.264 for Encoder

2. Set Frames Per Second to 30

3. Select Profile "Main"

4. Type in 60 for Key Frame every __ frames

Audio Codec

Labeled "Audio Encoding (AAC)" on the Encoder Presets section

1. Choose a target bitrate less than 160 kbps (we recommend 144 kbps)

Xsplit

While planning these video infrastructure updates, we worked very closely with XSplit to make

this transition as easy as possible. XSplit will now automatically select the necessary Video and

Audio Codes that are compatible with our system.

Below are instructions to reconfigure your Channel Setup:

1. Upon login, if you are presented with a prompt to update the Justin.tv plugin (version 1.3.1308.0701 at this time), please do so.

2. Click Broadcast / Add Channel / Justin.tv

3. Navigate through the guided prompts to configure your client. The default configuration XSplit has prepared for your broadcast session should be enough to broadcast in compliance to our updated requirements (see screenshot).

Page 2 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 3: Video Broadcast-Requirements (2013) Justin.tv

5 people found this useful. - Me too!

Comments

candyscoopstore

We have NO audio....!!! What do you do then? We are using ManyCam.

September 16, 2013 14:28

gnuhurd4

there :

http://community.justin.tv/mediawiki/index.php/Category:Tutorial

click on

• Stereo Mixing

you must allow system settings

if you use mac

click on

• Mac audio

P.S. Look on manycam if there volume is not on minimum or is not mute

September 16, 2013 19:06

Dylan Reichstadt

Justin.tv Support Center

@candyscoopstore At this time you must broadcast audio (even if it is just silence). HLS does not support a feed that is not sending any audio

unfortunately.

September 16, 2013 19:08

salinshaw

Hi , what happend whit meebo chat? thanks

we need meebo o some chat haha

September 17, 2013 17:17

gnuhurd4

@salinshaw, meebo was bought by google and they shut down meebo after that :(

there is similar instant chat like meebo:

https://help.justin.tv/entries/25312966-How-about-IM-like-meebo-or-similar-

September 17, 2013 17:49

Page 3 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 4: Video Broadcast-Requirements (2013) Justin.tv

dj_tony_romeo

If you use many cams? Then send many cams through adobe flash media encoder.

September 17, 2013 17:54

dj_tony_romeo

the crew at BPMSounds is glad and on board with all the upgrades Dylan... We love to see improvements... Thanks.

September 17, 2013 18:03

magic_kids_90s

Hola , yo uso xsplit y no me deja cambiar el codec de video a H.264 ! que puedo hacer ?

September 18, 2013 08:45

mwconjtv1

i love upgrades, but some of us are not using the fastest computers out their, and the new forced switch to h.264 transcoding is slowing my server to a halt.

using the vp6, im able to use the highest settings and acheive smooth frame rate still. good luck on your new upgrades or whatever you call them, we call

them more bugs that will never be fixed, and a pain in the rear end.

September 19, 2013 06:34

xxxproducerx2

yea.. as usual ,.. you suck.. my broadcastings are h264/aac encoded.. though .. I m receiving your warning message. explain how this is possible?

September 19, 2013 18:54

xxxproducerx2

oh and my encodings were set up 4 years ago by one of the guy (Robert Swain) that actually work on the ffmpeg/h264 project.. I paid for it i recognize..

jtv , you suck

September 19, 2013 18:56

xxxproducerx2

i m going to explain why this can happen (because they won't) it s like user agent for a browser.. if your browser doesn't send the message HELLO I AM

GOOGLE CHROME , then you are not identified.. therefore you don't qualify for the party.. basically that's it bullshit as usual

September 19, 2013 18:59

Dylan Reichstadt

Justin.tv Support Center

@magic_kids_90s: We worked with XSplit to have them update the default recommended settings to work with HLS. Please update your XSplit software

and use the default suggested settings in the setup wizard.

@mwconjtv1: Yes, unfortunately h.264 does require more resources. However, this is a direction we need to take in efforts to expand our mobile audience.

@xxxproducerx2: Checking into this now and your settings seem to be compatible. Where are you seeing the message? Is it the system alert on the

channel page?

September 20, 2013 10:46

xxxproducerx2

yes, it s the red alert that warn me about my broadcast being soon incompatible with your news standarts

http://gyazo.com/5ef3d88f0d5ed2a97281d191a551af18.png

I have seen a thread about problems between hsl and ffmpeg.. not sure if it s related but it seems pretty obvious that the stream itself isn't the problem but

either ffmpeg either the remote server don't see the information , reason it state "unknown" about my video codec.

September 20, 2013 14:54

http://forum.xbmc.org/showthread.php?tid=169172 (not sure at all if this is related or similar to our problem here..)

"I know ffmpeg was recently bumped to v1.2 and that it supports HLS much better now."

Page 4 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 5: Video Broadcast-Requirements (2013) Justin.tv

xxxproducerx2 I ll recompile my ffmpeg tomorrow and see if it changes anything. But usually. for server, a ffmpeg version compiled (from git/svn) 6 months ago is still

pretty recent.

September 20, 2013 15:16

xxxproducerx2

I don't know if you disabled the compatibility warning message.. anyway I recompiled my library and I haven't seen the message again.

Did it fix the problem? no idea. You better know

September 21, 2013 16:21

Dylan Reichstadt

Justin.tv Support

Center

Hey xxxproducerx2,

I didn't make any modifications. You look to be compatible, so that's good! Keep the same settings you're using.

September 21, 2013 18:37

mwconjtv1

im using vlc and jtvlc, the settings im using are

acodec=mp3,ab=128,channels=2,samplerate=44100

the warning message above the stream on jtv website gave me the error about the audio codec im using, and it says {codec} "unknown" . how is this not

compatible? im using the lame codecs built into vlc for audio. any help to make it more compliant? also im having a problem with jtvlc telling me i have the

wrong username or stream key, and it only connects successfuly (without change, everything is correct on my end) whenever it feels like it. i dont know

how long that is, or when its ready to connect again. any help on that too?

September 22, 2013 01:35

mwconjtv1

im using windows7 by the way, most of the online documents for vlc and jtvlc are all for linux and mac

September 22, 2013 01:40

Dylan Reichstadt

Justin.tv Support

Center

Hey mwconjtv1-

When is the next time you plan to broadcast? I'll check the compatibility settings on our end and see what is going on.

September 22, 2013 12:39

mwconjtv1

id love to tell you when, but jtvlc keeps shutting down on me at random times, and wont let me login, says check my username or stream key. both are

correct. it connects to the stream whenever it feels like it. if i disconnect for any reason, it gives me the error again. vlc is configured correctly, jtvlc seems to

be configured correctly via 2 bat files. is there a reason it does this? do i have to live with it?

September 22, 2013 20:55

mwconjtv1

im more worried about getting the software that was written for your api to work correctly, then i am a minor audio codec issue

September 22, 2013 20:57

matuest

Hi. My pc is not powerful enought to put h.264 at 30 fps. i do not need any audio. cos my upload speed is 1/4 mb/s so the no audio helps to keep up the

resolution i can provide. Please do not try to make all to use one and the same thing while the world is so different.

September 23, 2013 03:18

Hi, i have a big Problem. My PC is good (i7 3rd. Generation @4,1Ghz) 8GB RAM, NVIDIA GeForce 680GTX. My Internet 100MB Down - 6MB Upload. Any

settings on Xsplit doesnt work with jtv/twitch. what i can do?? stream on pc works not soooo good and for tablets etc. tis horrible... need help..

September 27, 2013 17:26

Page 5 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 6: Video Broadcast-Requirements (2013) Justin.tv

xxmadnezzxx

gnuhurd4

@xxmadnezzxx

first what OS you use? ( i mean it's obvious that is some windows what i ask is which one exactly and what architecture that mean it's 32bit or 64bit

version)

if you try to use above 3500 Kbps will not work

look there :

https://docs.google.com/spreadsheet/ccc?key=0AgrreMlF5qoRdGVXTlRmUzNlUGUxc2lvTjdTT240NWc#gid=0

for Xsplit guides:

http://www.youtube.com/playlist?list=PLEC176E6FEFD3FFCB

or read there

https://v1.xsplit.com/forum/viewtopic.php?f=3&t=8333

• Recommended bitrate for 1080p: 3000-3500

• Recommended bitrate for 720p: 1800-2500

• Recommended bitrate for 480p: 900-1200

• Recommended bitrate for 360p: 600-800

• Recommended bitrate for 240p: Up to 500

P.S. your machine is good so use something new like FFsplit or OBS i recommend OBS (open software broadcaster )

http://www.ffsplit.com/download/

http://obsproject.com/download

you need VC++ after 2012 version , .NET Framework 4 , and last DirectX for both

September 28, 2013 07:07

gnuhurd4

Almost Forgot .......

x264 CPU Preset: This will set the encoding level.

So jtv / twat recommend "veryfast" unless you have no bandwidth and beastly computer. Then, set it to be slower. Warning: setting your stream to a lower

setting when at a high resolution is very CPU intensive.

so you can try on slow but not use slower or veryslower and always check there in process manager how your machine ( CPU) handle those presents and

use what is better for your stream so if your CPUs goes on 100% then use fast for present or veryfast ....

September 28, 2013 07:25

gnuhurd4

I'm really sorry i post 3rd time one after another but until there is no editing for those notes but only form this that open thread i should write like that :(

and there above must read as "jtv / twitch" so i wrote by mistake probably "jtv / twat"

@xxmadnezzxx

how is Dylan up there recommend to use CBR ( Constant Bite Rate) strictly ! i'm not sure but i think it's VBR (variable bite rate) by default in Xsplit so you

must put there CBR ...

September 28, 2013 08:06

orejas_1963

Que herramientas se requieren para transmitir en vivo por internet ?

October 03, 2013 16:52

Page 6 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 7: Video Broadcast-Requirements (2013) Justin.tv

orejas_1963

alguien que comente por favor

October 03, 2013 16:53

Dylan Reichstadt

Justin.tv Support

Center

Hi xxmadnezzxx,

What exactly do you mean your settings do not work? Are you able to connect to our ingest server? If you can be more detailed on why exactly it doesn't

work, that will help us be able to assist.

October 05, 2013 11:17

jdcnservices

I'm having basically the same problem, "Audio codec must be set to MP3 or AAC (it is currently "unknown").", as mwconjtv1, except I'm using avconv (split

from ffmpeg). So, I finally get everything set up on a box more dedicated for the use and have to go through this again!

I am streaming from an IP camera to a Linux machine, and the IP camera doesn't understand rtp/rtmp, only http. I get the same results on two different

machines, just as a sanity check, as they are slightly different builds of Linux.

At any rate, I'm no avconv or lame expert by any means, but here is the commandline trimmed down to bare minimum, but still produces the red warning

about "unknown" codec at the top of the page: avconv -i "$CAMADD?user=$CAMUSER&pwd=$CAMPWD&resolution=64&rate=0" -vcodec libx264

-acodec libmp3lame -ar 44100 -f flv "rtmp://live.justin.tv/app/$API_KEY"

I've looked for some more complete options for libmp3lame, but I feel like I'm looking for a needle in the haystack.

October 10, 2013 08:40

jdcnservices

As a followup, I figured out the library that can be used for AAC without paying for it ("-c:a libvo_aacenc -ar 44100" in place of the bolded above), and I get

the same result. It is obvious that avconv/ffmpeg are not putting out what Justin.TV is looking for, but I don't know what that is. Avconv makes it clear that

it is using the correct libraries:

Metadata:

encoder : Lavf53.21.1

Stream #0.0: Video: libx264, yuv420p, 640x480, q=-1--1, 1k tbn, 1k tbc

Stream #0.1: Audio: libvo_aacenc, 44100 Hz, 1 channels, s16, 200 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (mjpeg -> libx264)

Stream #0:1 -> #0:1 (adpcm_ima_wav -> libvo_aacenc)

October 10, 2013 11:36

jayteevee007

Jdcnservices,

I don't see an audio bitrate setting in your command line.

I checked your most recent video and saw that your audio is 192Kb/s MP3. HLS supports up to 128Kb/s MP3, or up to 160Kb/s AAC. Try adding "-b:a

128k" to your audio settings for MP3..

October 10, 2013 11:54

jdcnservices

@jayteevee007: Yes, I tried playing with that earlier, but 1. I don't understand the difference between -ar and -b, and 2. I couldn't find a parameter that

worked. At any rate, I tried your suggestion anyhow, and I get the same problem. I don't think the bitrate has anything to do with it, but rather that the

codec is "unknown" to whatever is checking the header for MP3/AAC. To be honest, I didn't know anything else could work on Justin.TV, and the sound

does play through the current interface.

October 10, 2013 12:48

gnuhurd4

@jdcnservices

read there my post below original :

https://help.justin.tv/entries/24532992-Broadcasting-Guide

ffmpeg -f video4linux2 -s 640×480 -r 15 -i /dev/video0 -f alsa -i pulse -ac 1 -ab 128kb -ar 44100 -r 15 -b 550kb -f flv

“rtmp://live.justin.tv/app/Sream_Key″

-ar - is audiorate 44100 - 44.1 kHz

-b:a 128kb is biterate audio ( actually you can use -ab it's the same )

Page 7 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 8: Video Broadcast-Requirements (2013) Justin.tv

-c:a libmp3lame ( is codecs audio)

-c:v libx264 ( is codecs video)

broadcast linux jtvlc+vlc two consoles for ip cam :

fist console:

vlc -vvv -I rc rtsp://XXX.XXX.XXX/v00 --sout="#transcode{venc=x264

{keyint=1,idrint=2},vcodec=h264,vb=300,scale=1,acodec=mp3,ab=128,channels=2,samplerate=44100}:rtp

{dst=127.0.0.1,port=1234,sdp=file:///tmp/vlc.sdp}"}'

where rtsp://XXX.XXX.XXX/v00 is your IP CAM ( ip address)

download jtvlc from :

http://apiwiki.justin.tv/mediawiki/index.php/VLC_Broadcasting_API

or from there:

https://github.com/justintv/jtvlc

after extract from jtvlc folder

from second terminal

./jtvlc j tv_or_twitch_username StreamKey "/tmp/vlc.sdp"

October 10, 2013 22:37

jdcnservices

@gnuhurd4: OK, I'll try that, as it seems that the more I look into ffmpeg/avconv, the less it seems like it is going to work. One of the machines I'm testing

on runs Raspian, and the libx264 just plain chokes. The dev version is only slightly better, as it doesn't crash, but it freezes for long periods of time. There

are two reasons I haven't been using VLC: 1. I didn't even know there was a Linux JTV API. 2. When I previously used the JTV API on Windows, it was

sluggish and often (but not always) the video never even appeared at the receiving endpoint computer. Maybe I'll have better luck under Linux. If it works,

then at least I'm not trying to figure out which patch, if any, needs to be applied in order to recompile codecs. I'll post back here if this works.

October 11, 2013 07:21

jdcnservices

Now I remember why I don't like the JTVLC program even more than the occasional video issues. There's no clean way to shut it down. So, you run it,

don't like it, tweak it, wait because you cannot login, run it and start over. It literally takes hours to get it set right.

October 11, 2013 14:57

xxxproducerx2

seems your system still has some bugs

http://gyazo.com/da89188825c5eb2ab5a46ac5fb2cf4bf

haven't met the problem since september 20

October 11, 2013 18:23

xxxproducerx2

and please, don t come to me this time saying "we didn't change anything in our settings"...

October 11, 2013 18:52

jdcnservices

Well, I gave up on the JTVLC "solution" on Ubuntu. Honestly, it sucks as much as the Windows vesion. It barfs too often, stalls, and it is just bubblegum

and paperclips. So, I went back and did some more tweaking with avconv, and I actually learned something this time. Here is what I found out:

1. It matters a lot what resolution you are streaming. My IP camera's output can be set for 640x480, which is more or less standard on this type of

camera. I had plugged in a larger number (not sure where I got it), and the picture was stretched. When I set it back to 640x480, I got the h.264 error

without making any other changes. So, if you have an IP camera, I suggest trying double both of those, which seemed to work in my case.

2. The libmp3lame library needs to be updated to the development version (as easy as: sudo apt-get install libmp3lame-dev). The released version

doesn't seem to have whatever Justin.TV is looking for.

Page 8 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 9: Video Broadcast-Requirements (2013) Justin.tv

After making these two changes on Ubuntu using avconv, the error messages went away. Still no solution for Raspian, though. Of course, that was meant

to be temporary anyhow, but it is a disappointment. Here is the appropriate line from the bash script:

avconv -i "$CAMADD?user=$CAMUSER&pwd=$CAMPWD&resolution=64&rate=0" -vf "drawtext=fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-

Bold.ttf: text='\%F_\%T': fontcolor=white: fontsize=30: x=7: y=920" -c:v libx264 -crf 30 -s "$OUTRES" -c:a libmp3lame -ar 44100 -b:a 128k -threads 0 -f flv

"rtmp://live.justin.tv/app/$API_KEY"

Obviously, you have to fill in your own $CAMADD, $CAMUSER, $CAMPWD, $OUTRES and $API_KEY as appropriate.

NOTE: This is for a Wanscam, which is a Foscam knockoff. Check out iSpy Connect's website for other strings and/or other cameras.

I'm publishing this here and next week on my blog, as it seems that this information is sort of difficult to find for these cheap cameras. I claim no

responsibility for anyone using this information in any way, shape or form whatsoever, legally, illegally, within or without standard usage. Use at your own

risk. No warranty implied or stated. Not responsible for user stupidity, loss of data or making smoke come out of your camera. Otherwise, have a nice

day.

October 12, 2013 17:58

iglediscristop_6

Hola Cuando sale la configuración para Xsplit pues es el programa que utilizamos para streeming, gracias por sus respuestas

October 13, 2013 07:18

magic_kids_90s

Hola ! .. como cambio el coded de video en xsplit ? tengo la version full y no puedo cambiarla!

October 15, 2013 16:28

dayszonex2

Fatal! eso no es bueno

October 16, 2013 19:33

mwconjtv1

any news from the staff would be awesome? or is this a dead thread and are we wasting our times as usual?

October 17, 2013 10:15

lorelei0922

Can someone tell me how to ( Easily for a dummy please ) broadcast silence as an option on FME? i choose not to have audio at some points as i

broadcast ferrets in my living room and we dont always want intrusive audio on...

so if this is a new requirement i'll have to learn how to set it so its playing nothing instead??

October 17, 2013 13:38

gnuhurd4

@lorelei0922

do opposite of this :

http://community.justin.tv/mediawiki/index.php/Stereo_Mixing

in recording device settings on your system just disable stereo mixing and you'll have no sound on your stream

October 18, 2013 02:52

shauna_on_jtv

As a Xsplit user this messes everything up on broadcasting..Xsplits 1.3(the updated version) dosnt work and now even with the 1.2 version I can stream

stuff on my channel but I cant see chat or even type chat myself on my own channel...JTV is always changing crap and has made it not worth the time to

bother coming to the site.

October 18, 2013 04:32

Page 9 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 10: Video Broadcast-Requirements (2013) Justin.tv

magic_kids_90s

VEO QUE IGNORAN A LOS QUE USAN XSPLIT ! DEVERIAN DARNOS UNA SOLUCION ! SI NOS EXIGEN CAMBIAR EL CODEC DE VIDEO

USTEDES DEVERIAN INFORMARNOS COMO CAMBIARLO EN EL XSPLIT !

October 18, 2013 10:49

Dylan Reichstadt

Justin.tv Support Center

xxxproducerx2 - Have you seen this issue recently? I can check into your stream to see if I can find more details as to what is triggering this.

lorelei0922 - Unfortunately these updates makes broadcasting without audio more difficult. On Flash Media Encoder there is a volume slider beneath the

audio settings. You can put that all the way to 0. There is also a little speaker icon on the left side of the preview window that you can click to mute.

shauna_on_jtv - It sounds like this problem isn't related to these video infrastructure updates. I suggest you create a topic in the Community Help section

and we can look into this.

magic_kids_90s - Let me log into Windows and get an XSplit tutorial up. Thanks for your patience!

October 20, 2013 20:53

jdcnservices

Well, I will take back what I said about avconv working. It worked for about 24 hours and then started up the error message again. I've been too pissed off

to post about it. I have tried recompiling ffmpeg (what a mess), and I upgraded to Saucy Salamander, which had the broken avconv. Finally, a proposed

patch came out for that today, and guess what? It still doesn't work. I have tried even using libvo_aacenc and the experimental aac parameters for -c:a,

and JTV claims once again. "Audio codec must be set to MP3 or AAC (it is currently 'unknown')."

So, basically Linux users are screwed, and I will have to find somewhere else to stream to.

October 25, 2013 08:25

mwconjtv1

my suggestion is veetle, everybody seems to be flocking there. and you can stream multiple streams from 1 pc (they allow it, as an option)

October 25, 2013 11:25

mwconjtv1

thats not an advertisement, merely a suggestion for those of us who are pissed off at jtv's neverending buggy website

October 25, 2013 11:26

jdcnservices

Well, I took a look at Veetle, and their software won't even install on Ubuntu 13.10. Not impressed. I looked at some other sites too, but there is a lot less

documentation about using Ubuntu on them even though they are established sites.

I made some minor tweaks on my virtual machine that has the proposed Avconv changes on it, and so far, it seems to be working. Either that, or JTV's

software is faking me out again and will start complaining in 24 hours. All I did was change (see previous code posting) "-c:a libmp3lame" back to "-acodec

libmp3lame", and changed "-b:a 128k" to "-qscale 3 -b 712000". I would guess it is the "-qscale" that makes the difference. If it is still working in a couple

of days, I'll play around with the "-b" parameter, as that seems insanely high for what I'm trying to accomplish.

October 27, 2013 19:19

fmindierock

hola, buenas tardes, necesito saber com opuedo transmitir sin camara web? desde ya muchas gracias. para nosotros, como radio, no es muy util el justin!!

saludos

October 30, 2013 15:50

magic_kids_90s

Hola, mi version de pluging para xsplit es 1.3.1306.1101 , y no me veo ninguna actualizacion! como lo actualizo???

October 31, 2013 11:39

lmasseur

Why don't you offer the possibility to broadcast in more different codecs, but make more cut-offs and restrictions concerning the codecs?! This is a step

backward in my opinion! Have you never heard about "VERSION"?! Why don't you make different channel-versions instead of more restrictions?! Do you

want to get rid of users or why do you put obstacles on the users way?!

November 12, 2013 08:47

Page 10 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 11: Video Broadcast-Requirements (2013) Justin.tv

jag_is_here

Hello I Am Useing Xslipt But I Paid For Mine For The Hq Settings Can Anyone Tell Me What Is The Right Settings For The Paid Verison Of Xspilt To Have

Hq Video And Sound. Thanks

November 19, 2013 10:20

jallball

Hii I am using D3DGear program, but i cant stream becouse of this new thing here... and i cant adjust enything there in the option, so what can i do about

this, i did pay 32 dollar for this program. and i am trying to get my streamkey aswell but i am gettin an Error.

December 03, 2013 14:21

Dylan Reichstadt

Justin.tv Support Center

These Requirements Will Be Enforced Starting Monday!

Please ensure you have adjusted your settings to be HLS Compatible.

December 07, 2013 08:58

Dylan Reichstadt

Justin.tv Support

Center

lmasseur - Unfortunately the above requirements are set by HLS, and not exactly our decision. I wish we could offer more, but there are many great

benefits for mobile devices on HLS.

jallball - Oh no! I've never used this program. Do they have a support department you can ask about advanced broadcast configuration?

December 07, 2013 08:59

jdcnservices

My settings were adjusted long ago, but it is your system that does not recognize it. If it stops working, I'll just delete my account and be done with it.

December 07, 2013 09:06

Dylan Reichstadt

Justin.tv Support Center

Hey jdcnservices- Sorry to hear this! What have you adjusted the settings to?

Also, when do you plan to have your next broadcast? Could you run a test broadcast at some point this weekend so that I can check the settings that we're

getting?

December 07, 2013 09:11

jdcnservices

I have always, except for testing after this all started, used the standard libmp3lame library, yet your system claims the codec is "unknown". It is being sent

using "-ar 44100 -qscale 3 -b 712000 -threads 0 -bufsize 512k -maxrate 128k", which seemed to work for a short while but then the error message

reappeared.

I am broadcasting right now.

December 07, 2013 09:19

Dylan Reichstadt

Justin.tv Support

Center

Hey jdcnservices- Thanks for the heads up. I'm looking into this now.

December 07, 2013 09:22

jallball

I did talk to D3DGear Support and they are working on it already i think so ill hope they fix it :)

December 07, 2013 09:27

Thanks for the update. I hope so. I can do what I need to do in other ways, but they are a bit of a pain. :)

December 07, 2013 09:29

Page 11 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 12: Video Broadcast-Requirements (2013) Justin.tv

jdcnservices

liceonair_website

Hello, (sorry bad language) I streaming whit Jtvlc, now I recevid message by justintv for problem audio mp3 sampling...ok

I trye change in 44100KHz but non run...

possible solution?

December 08, 2013 09:38

liceonair_website

If I wait, after a while the stream is activated, but no sound first attempt, the second attempt after a short audio went asynchronous and rushed the following

message 503 etc etc ...sorry double post.

December 08, 2013 10:30

tabernaculoconcepcionba3

como hago para encontrar el lugar donde hacer la configuracion de

Wirecast

December 08, 2013 13:19

professor_phere

I'm broadcasting fine to the PC on the webpage. I am using xsplit. I try to open the channel in the Android app and it tells me "Cannot open stream".

I attempted to change the setting as instructed above, and it still gives me the same message.

December 08, 2013 19:54

liceonair_website

When I finish transmitting the stream remains ''ON''....uffff

December 09, 2013 06:28

Dylan Reichstadt

Justin.tv Support Center

Reminder: Today we plan to transition to HLS. We will carefully monitor this thread

jdcnservices: Just to follow up - our video team is looking into why compatibility is triggering as false on your channel. I do see the MP3 audio codec

coming in from your channel. I'll keep an eye on your channel today as well.

liceonair_website: Unfortunately we stopped officially supporting and maintaining jtvlc, so I haven't actually used it. I'll see if I can play around with it and

get it to work.

tabernaculoconcepcionba3: Generally in the menu bar Broadcast / Broadcast Settings or Output / Output Settings (depending on your version). Do you see

that?

professor_phere: That is an unrelated problem. Likely we are unable to offer your channel on a mobile device at that time. We are currently limited to the

top 200 channels, but hope to increase that soon.

December 09, 2013 08:12

professor_phere

I do not have an MP3 option in Xsplit. What do I do?

December 11, 2013 02:50

sonnybeach

I'm running Linux Mint 16 and Firefox. I'm using VLC for streaming and jtvlc for connection. I've got the VLC to stream but jtvlc quits with an error 100

saying my user name or streaming key is incorrect. I've downloaded the XML file on my broadcast page and opened it with a text editor to find the stream

key. I've gone over and over both my username and the stream key and I'm pretty sure I'm putting them into the batch file correctly. I"ve even tried two

versions with a upper case "O" (oh) and a zero character incase that was a problem. Same error both times.

I'm getting real close now after messing with VLC for three days and reading everything on the net... just that one little hitch to fix before I can stream

from my webcam now. Any similar problems from other Linux users that might have found a fix?

December 11, 2013 07:47

Page 12 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 13: Video Broadcast-Requirements (2013) Justin.tv

sonnybeach

Linux Mint 16 and Firefox: just an update. I got it to work... once. The vid quality was really poor and I got the audio codec warning on the top of my channel

display page, like many above have commented on. It said "connected to Wowza" on the jtvlc terminal screen. But then it wouldn't do it again. I tried

tweaking a few things like changing the audio codec from MP4a to MP3 and that didn't work. So I went back to my original batch file command line (which I

had carefully saved in it's original form) and it wouldn't work again. So, I don't think I'm having a problem with username or stream key at all. I think the jtvlc

and/or the VLC software is behaving in a random fashion, as computers sometimes do. BTW I'm using the latest jtvlc 0.41 and the latest VLC that comes

with Linux Mint.

December 11, 2013 08:49

jayteevee007

Professor_phere,

You will need to use AAC in Xsplit. Since the free version of Xsplit does not appear to allow AAC on JTV, you will need to have a paid version of Xsplit or

another program to broadcast to JTV.

Have you tried Adobe FMLE with ManyCam? FMLE supports MP3. Both FMLE and ManyCam are free.

December 11, 2013 10:21

liceonair_website

Sonny, I am using windows and Jtvlc and I had the same problems your, very annoying that remains ON, after the broadcast, someone would know tell me

a command line to properly close the stream? thanks

December 12, 2013 02:02

xtremetv_1618

necesito emitir solo video que hago?

December 12, 2013 02:15

xtremetv_1618

como hago, yo solo quiero emito audio pero me sale un error de video, yo emito con adobe.

December 12, 2013 02:17

commandrx

Casting with the above mentioned setting in FME and I get Failed to load video. Please Submit and Issue Report

http://prntscr.com/2an03z

December 12, 2013 10:19

commandrx

EDIT:

This may be caused by password protecting channel. I removed my PW and the player worked. Reapplied my password and got the error message "Failed

to load video".

December 12, 2013 14:35

arconaithemighty

I have tried to read through all the comments - tried all sorts of settings though my broadcasts continue to have this "letter box" in the video player when

everything is 16:9 - When I refresh it fits to the screen.. 2 minutes later it goes offline then does "loading video" and is letter boxed again. Any solution to

this?

December 14, 2013 05:46

I don't think changing the broadcast requirements and the player at the same time was such a good idea. I spent hours trying to figure out why I wasn't

broadcasting, and it turns out I am. The video is uploaded and saved, but the player just spins around and then gives up after a time.

December 14, 2013 06:20

Page 13 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 14: Video Broadcast-Requirements (2013) Justin.tv

jdcnservices

Dylan Reichstadt

Justin.tv Support

Center

@arconaithemighty: What resolution are you broadcasting in? We're working through some of the issues with some lower 16:9 resolutions not filling the

entire player.

@jdcnservices: Does it give you an error, or is there simply a spinning wheel?'

@commandrx: That's correct unfortunately. https://help.justin.tv/entries/23445059-Access-Coded-Channels-and-t...

@xtremetv_1618: Can you provide me with more detail?

December 14, 2013 09:39

jdcnservices

@Dylan Reichstadt: It varies. It used to do "Loading video" and then after some time switch to "Failed..." something or other. Lately, it just says "Offline",

although as I said it still records it and saves it in Videos. Weird. To be honest, this isn't the worst thing in the world, as my biggest reason for using

Justin.TV is the ability to save and highlight past videos offline, but obviously it isn't the ideal and it requires me to watch real time a different way.

December 14, 2013 09:50

jdcnservices

Too many typos. "offline" obviously should be "online"

December 14, 2013 09:51

arconaithemighty

@Dylan - I use mainly 768 x 432 fps 30 bitrate 1k ect ....I'll use 1280 x 720 also but I've noticed even 1280 and 1080 still letter box a little bit. When I go

online its completely fine , then randomly goes offline and says loading video and restarts to the "letter box" I hope this information helps

December 14, 2013 14:11

mwconjtv_1_lmtv

#transcode{vfilter=canvas{width=480, height=360, aspect=4:3}, deinterlace-mode{linear}, deinterlace, vb=900, threads=0, acodec=mpga, channels=2,

ab=96, samplerate=44100, venc=x264{bpyramid=none, weightp=0, keyint=250, idrint=25, cabac=0, bframes=0}, vcodec=h264, sfilter=marq

{marquee="$N$_$T/$D",color=16776960,position=4,size=13}:marq{marquee=$L/$D,color=16776960,position=4,size=12};'}:duplicate{;dst=standard

{access=http, mux=asf, dst=localhost:1234};, dst=rtp{dst=127.0.0.1, port=1234, mux=ts, ttl=10,sdp=file:///C:\Users\CGI\Desktop\VLC\vlc.sdp}}

im receiving the red flag at the top of my stream saying the stream isnt compatible....

there is my code, here is my screenshot of the error above the stream:

http://ctrdlv.in/271108

please confirm if my settings are wrong or if its your system as always. my stream was working prior to the new updates a few days ago.

December 16, 2013 08:21

mwconjtv_1_lmtv

i show live now with no stream being shown, all day, all night, cmon staff

December 16, 2013 08:22

djbrooksy

why do i now have 2 broadcast audio?? i run a radio channel and my audio has 2 go through my stream as i have it on tunein and wen audio is broadcast

thru vid player it messes all sound up with the dj's i have video so u can see the dj's at work i cant run it with audio on

December 16, 2013 08:35

jallball

Hii again.. i still having issues with Justin.tv and D3DGear, when i trying to stream at my channel its going online and straight offline again, , and i did talk to

D3DGear Developer and he says they have no issues with justin.tv, so what is wrong ? i use Win8.1 , i7 3770, and 16Gb Ram, so now its up to you in justin

to figure this out becouse me and other cant do enything to fix this, i had no issues with this before Justin did make this change.... its pretty strange that

D3DGear Developer had no issues and i did... why the change, you guys had the perfect setup ! Now its ruin, i cant stream enymore and i have to tell

my audience now i have to quit becouse of this new thing of yours.

Page 14 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 15: Video Broadcast-Requirements (2013) Justin.tv

Jallball

December 16, 2013 08:50

mwconjtv_1_lmtv

STILL CANT STREAM AND MY SETTINGS ARE CORRECT!

December 16, 2013 17:29

dj_tony_romeo

adobe flash media encoder don't work.. if it does stream? it is choppy and pixelated… the settings are correct.. Please help.. and your wire cast settings for

4.X aren't correct either… And wire cast 5.1 only works well with twitch settings.. please send out proper settings and procedures.

December 16, 2013 18:00

mwconjtv_1_lmtv

for some reason, and i thank you for it, my stream went live on the same settings as ive had, no change to the code.

December 16, 2013 18:58

lmasseur

This is just stupid. "improvement" means to give more possibilities and not to take away possibilities.... just think about it.... this is a step backward...

December 17, 2013 12:31

waterstained

Lot of confusion over this latest change and I find myself totally confused. In your (Dylan) post, it says "Mode: Strict CBR", although in the diagram you

have provided you have VBR selected. The quality of my stream has really suffered and there appears no reason for this at my end, which is why I would

really appreciate clarification on this. I broadcast with Xsplit.

December 18, 2013 05:41

Dylan Reichstadt

Justin.tv Support Center

@jdcnservices: Are you still having this issue? See: https://justintv.zendesk.com/entries/23509374-Video-Player-Failed-T...

@arconaithemighty: Should be fixed. https://help.justin.tv/entries/24002685-Scaling-of-16-9-Resolutions

@mwconjtv_1_lmtv: It looks like that error is being falsely triggered, as h.264 is also known as AVC. Is that jtvlc that you're using? You should still be able

to broadcast.

@dj_tony_romeo: We're going to be recommending software other than Flash Media Encoder, as FME is relatively outdated (Adobe abandoned it) and

does not support Strict CBR. I would recommend Open Broadcast Software - http://obsproject.com/. More info to come soon.

@waterstained: Ah yes, you are right. I'll get an up-to-date screenshot and also expand on CBR. This documentation follows the bare minimums for

compatibility, but CBR will certainly help with the quality of your broadcast. Thanks!

December 19, 2013 13:11

15west

My settings are exactly as you have set forth in your post. My connection is 100 down 15 up, which is more than adequate. And yet, the stream cuts out for

no reason whatsoever. Xsplit, which never before dropped frames, is now dropping them to the point that the stream stops dead in the water. I just don't

know what to do.

December 20, 2013 08:23

Justin.tv is the easiest way to create live video and

Info

About Us

Blog

Jobs

Business

Advertise

Partners

Pro Accounts

Legal

Terms of Service

Terms of Sale

Privacy Policy

Help

Support Center

Language

Page 15 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements

Page 16: Video Broadcast-Requirements (2013) Justin.tv

what's happening right now.

© Justin.tv Inc. 2013

API Premium Accounts DMCA Guidelines

Page 16 of 16Broadcast Requirements : Justin.tv Support Center

1/23/2014https://help.justin.tv/entries/25128411-Broadcast-Requirements