StreetJelly BLOG: Community News, Video Streaming, Online Busking, and more…
Home » 2017

Fix Audio Sync in OBS

Ever notice a live stream that has audio a little off from the video?  We’ll help you fix that when broadcasting with OBS Studio.

You often hear audio issues called “lag.”  However, that term gets confusing since many people use it as a catch-all phrase.  Let’s define when people say lag, but really mean…

Latency  Latency is the term we use to describe the time it takes from the broadcaster to send his or her stream up to the internet, travel across the planet, and get pulled down to the viewer’s computer.  Many factors determine how long this can take, anywhere from a few seconds to 20 or more seconds.  This time is based on the internet speed of the broadcaster AND the viewer.  Different viewers will experience the live broadcast at different times than other viewers.  As a broadcaster, you all have experienced this when you ask your audience a question and have to wait until they respond.  Improving latency is a factor of improving your internet connection (upgrading to a better ISP or broadband connection); and reducing the amount of data your stream (turn down your broadcast quality).  We’ll go into more detail about improving latency in another blog.

Audio Sync  Audio Sync is today’s topic.  It is the synchronization of the audio with the video.  When the audio and video get “out of sync,” you witness the phenomenon where you see the lips move but hear the voice slightly later, or vice versa.  It is like watching a badly dubbed foreign movie.  There can be a number of contributing factors why this occurs, but the chief reason is a slow computer / CPU.  It takes more cycles, or computing power, to process video than it takes to process audio.  The audio is often ready to stream slightly ahead of the video.  When a chunk of audio data gets combined with a chunk of video data that represents two different points in time, the broadcast will be out of sync.

OBS is great broadcasting software and handles many sophisticated internal features.  It typically requires more computing power than simple one-cam broadcasting from within a browser.  Audio Sync issues do appear more often when broadcasting with OBS.  However, there is an easy fix to this problem (without having to upgrade your computer to a monster size CPU and GPU).

In OBS, adjust the “Audio Delay” to bring the timing of the audio precisely in with the video.

On the main screen, click on the Audio Mixer.  (Below are two images, one from OBS v18 and one from v20. They slightly changed the way to open the Audio Mixer between updates.)

OBS v18 – click the Mixer gear icon in middle of screen

v18 – Audio Mixer Icon, click image to enlarge

 

OBS v20+ – click the Mixer gear icon next to your audio device, then choose Advanced Audio Properties

v20+ – Audio Mixer Icons, click image to enlarge

Audio Mixer Menu, click image to enlarge

 

Find the audio device you want to adjust and enter the number of milliseconds (MS) to slow down the sound.

Audio Delay, click image to enlarge

 

Recommended Approach:

  • First, fire up your webcam and microphone.  You should see the video output in the main screen of OBS.
  • Start Recording your stream locally. In other words, DO NOT START live streaming.
  • Perform a short bit by speaking slowly into the camera so you can watch your lip-sync closely later.  Clapping your hands is another good technique to dial in the sync.
  • Watch the recorded video to get a sense how far off the sync is.  Most likely, you will hear the audio first, and then see the video catch up.  It’s tricky at first to tell which way the sync is messed up (sometimes the video comes first and the audio is behind).  But you will get the hang of it.
  • Adjust the Audio Delay for your specific mic by adding a number of milliseconds.  Start with 30ms.
  • Record another video and check the sync again.
  • Repeat this process until you can not notice any sync problems.  Use 30ms increments when adjusting.  For instance, if on the first try 30ms did not fix the sync, next time try 60ms, then 90ms, etc.
  • Last, you can also adjust the Video Delay in OBS v20+. Same principle applies here, too.  Adjust small amounts, record, check, repeat.

When you are all done, you are ready to live stream.  OBS will remember your delay settings for the next broadcast.  But it is good practice to occasionally recheck as your audio/mic setup may have changed in your studio, your computer may have upgraded to newer software, and so on.

A note about “video delay” and your studio sound setup.  For musicians who use a sound board, mixers, auto-tuning, delay pedals, etc; the audio delay may be attributed to the processing in the sound system itself – and not in OBS or your computer.  This is generally the cause when video comes in first and the audio comes in behind.  The fix here is to delay the video so it slows down to match the audio.

Jellypalooza 5 – 2017

Special post by StreetJelly CEO and Founder: Frank Podlaha

Happy Birthday, StreetJelly!

It is with great honor that StreetJelly has reached its 5th year – uhh, its 5th Jellyversary!  August 15th, 2012 StreetJelly launched the musician-first, online busking, website concept. What a wonderful and crazy five years it has been!

As you know, each year we celebrate our birthday with the live streaming festival: Jellypalooza.  This year, the festival falls on August 20th (we always do it on a Sunday).  We encourage all our musicians to play on Sunday, have a good time, and stop in to watch the other acts.  Viewers, sit back and enjoy.  Everyone, wear a tie-dye or groovy palooza shirt.

This past year has been an interesting one.  Our biggest focus at SJ has been the ever changing technology of the internet.  First, we’ve been upgrading our broadcasting methods to meet the phasing out of Flash and (npapi) Plugins by the major browsers.  It’s a lot of work that only gets us even to where we began – not always the favorite thing to do in business.  But we hope the transition to WebRTC and OBS Studio goes smoothly for all.

Second, we have added a number of broadcasting features this past year:  24-hour Replays, broadcast recording, local black-out streaming (pro-level), juke-box tipping (pro-level), and so on.  We continue rolling out these features in phases.

“Peace ☮ Love Streaming”

The tag-line for Jellypalooza has always been “Peace, Love and Streaming.” Now, more than ever, this is so important. SJ is a music venue, here to provide a world-wide stage for independent musicians; a way to share and build friendships; and hopefully a method for musicians to make a few bucks for their art. We are here for the of love music, to spread that love, and hopefully make the world a tiny bit more peaceful. Please don’t forget: Peace… Love… and Streaming.

And now back to our usual fun and silly antics…

Many thanks to the Real Life Heavies for their help on this video.  Check them out…  http://reallifeheavies.com

Jellynamite!

5 Best Music Android Apps of 2017

“Member Blog Series” guest post submitted by StreetJelly member: Vincent Hill

5 Best Music Android Apps of 2017

Modern day iPhones and android phones come with a lot of features such as stereo speakers, audio capabilities and Dolby Atmos support. It is not surprising that people store most music on their smart phones.

If you are searching for best android apps for free music downloads, then you don’t have to worry, because there are lots of options in the play store, so all you need is just to make your own collection. To help you make the right selection, here are 5 best music android apps of 2017 you can use:

Shuttle Music Player

This is a unique music player that deserves attention at all times. This app has an appealing user interface, and it can be customized to the hilt with themes. Shuttle Music player includes support for sleep timer, built-in 6 band equalizer, embedded lyrics, gapless playback and many more. Although it has a free version, but the paid version comes with added features like ID3 tag editing, extra themes, folder browsing, Chromecast support etc.

Media Monkey

Media Monkey has so many features such as podcasts, audio books, and the capacity to sort music by composer, instead of sorting it by just artists. Media monkey has amazing stuff like an equalizer. It is extremely unique due to its capacity to sync your music library from your phone to your computer and vice versa. This app has a simple interface.

Poweramp

This is one of the best music player apps for most android users. People are fond of using it because it comes with themes you can easily download directly from Google play store. Also, it comes with sleek interface. It’s effective and highly efficient. It supports all kinds of playlists and includes many features like cross fade, gapless playback, tag editing, widgets and lots of customization settings.

Some users have confirmed that poweramp is the most popular music players on android. It comes with a complex interface; this is the reason it supports all kinds of musical formats and playlist formats you can ever imagine such as m3u, ogg, wav, wma, flac, alac etc.

To sum up this analysis, do you want to get the most amazing music player on your tablet or android phone? Then check out for Poweramp music player. The free version is available for 14 days for your usage, after which you can subscribe for the paid version.

Black Player music player

This is one of the reliable music player apps, due to its UI and balance of features. The app really looks amazing due to its minimal and dark theme, sleek transitions, and tabbed layout. With it, it will be easy for you to customize anything you want without issues.

You can as well change the font, animation, styling of the colors or how the sliding menu looks. It comes with an in-built equalizer, but you can still use an external equalizer. Also, it supports crossfading, gapless playback, sleep timer, ID3 tag editor, and capacity to edit and view embedded lyrics.

Neutron Music Player

This is another popular music app, which comes with many interesting features such as 32/64 bit audio rendering engine. Users are overtly happy with it, because it enables music to sound better. Other amazing features include, but not limited to more unique file types, audiophile specific features, in-built equalizer etc. Although, Neutron music player is expensive, but so many people are confirming that it is a highly recommended go-to-music player app you can ever have.

Was this article helpful? Share your thoughts with us below!

Additional info:  https://alltechtrix.com/best-mp3-music-downloader-apps-android/

WebRTC Streaming Survey Findings …and news

In April 2017, we sent out a survey to the streaming musicians that have used the WebRTC broadcasting method.  The questions were simple, “did WebRTC work for you?”  “What kind of browser / computer did you use?”  And so on.

For the hundreds of surveys we sent out, response was above 60%.  Thank you all so much, that is a great response rate for any survey.

The main question, “how well the WebRTC technology worked for everyone,” is what we really wanted to know.  It also had the most interesting answer:  from a scale of 1 to 7 (1 being it didn’t work at all, and 7 being it worked great) …the responses were evenly spread from 1, 2, 3, 4, 5, 6, 7.  Statistically speaking, that’s really hard to make a conclusion from that answer.  Normally, one would expect a rating-scale answer to skew to one side or the other, or in the middle.  A statistician or survey-guru would probably conclude the question was flawed.  But the question was pretty simple, did it work or not.

So what does it mean for us?  Well, best explanation is that it confirms what we already know:  the new WebRTC technology is not working perfectly and to our complete satisfaction (more about that in a minute).

Some of the other questions in the survey; browser type, operating system, webcam type, were meant to help correlate if those who had problems were using any particular type of platform.  Again, the answers were spread wide.  No correlation to hardware or system could be concluded.

One question did stand out with a surprise answer.  The question was whether a musician relies on viewers in the chat for streaming help, or whether they use a trusted friend or techie.  The sliding scale, 1 to 7, was skewed far to the “rely on any viewers in the chat” side.  In fact, not a single person answered #7 (as of 4/22) that they use “a trusted friend, colleague, or tech person.”

In our opinion, this is quite a surprise.  You all know the admins on StreetJelly are also active in the chat community.  We have a different perspective of what’s going on because we also have access to the video servers, bandwidth logs, etc.  We see many disruptive comments in the chat about video quality, bandwidth, etc. that are just not technically true.  As much as we try to help, those false comments get repeated over and over again.  I hate to say it this way, but it’s much like the “fake news” phenomenon of late.  The surprise answer to this questions means many musicians are unknowingly getting and listening to conflicting advice.  We at StreetJelly need to step up our game and get more help out to those that need it.  But we also need your help.  Nothing disrupts a show more than the same misinformed chat viewers constantly complaining about someone’s low bandwidth.  We can all help by explaining to the viewers that we understand the internet provider and networks are slow – and there is nothing we can change right now in the middle of the performance.  {rant over}

Survey conclusion and a bit of news…  We are not 100% satisfied with the reliability and success of WebRTC, yet.  It’s new technology, for sure, and we fully expect many improvements from the browser makers in the months to come.  But we also have the looming deadlines (not yet exactly known) when all plugins and Flash will be discontinued from all browsers …eventually.  We do not want to be relying on only one broadcast method, specifically WebRTC, when that day arrives.

StreetJelly will be releasing an alternative broadcasting method in the coming weeks by allowing musicians to stream directly to the StreetJelly Cloud with the OBS Studio broadcasting software platform.  This is a significant change in how StreetJelly approaches the complexity of video streaming to our musicians.  We always strive to make it as easy as possible – one click and it should just work.  OBS Studio is fantastic software, and it far surpasses other broadcasting software like Adobe’s FMLE.  However, it is much more complicated to use than a simple webpage click-a-few-buttons approach.

OBS Studio is stand alone, open source, free software you must download and install on your computer.  StreetJelly will give you all the info, URLs, and credentials it will take to connect up to our cloud.  There will still be a “broadcaster page” on StreetJelly for the musician.  This page will bind the stream coming from OBS to a show and chat on StreetJelly.  We will try to make it as simple as possible for those who wants to tackle OBS, and provide as much help and tutorials as we can.

This is a major change in streaming for some.  But for those wanting to take it on, it also brings with it many new features to your performance.  A few examples include multi-cameras, video transitions and fades, alternate audio sources, audio mixing, and so on.  Exciting times ahead.

We will be releasing the OBS broadcasting in phases.  Stay tuned.

Your Favorite Browser – Fantastic or Rocky?

Special guest post submitted by StreetJelly veteran, Martina!

Why using a certain browser can make all the difference between a fantastic broadcast and a rocky one.

Recently, Firefox and Chrome browsers made significant technical changes by disallowing plugins. This will affect musicians and viewers. I would like to explain this fairly complex subject in a condensed version. We understand that these changes have caused some StreetJelly users confusion and frustration. Hopefully, this blog will help all of you to have a much better and smoother streaming and viewing experience.

Not all browsers made changes at the same time and many updates will follow. This is the reason why we sometimes recommend one browser over another. Our recommendations go hand in hand with new developments in streaming technology and their direct impact on our broadcasting tools.

The Flash broadcaster
These developments have no effect on this broadcasting option. The only thing we noticed is that some viewers don’t realize that this change turned off Flash on their computer and it needs to be turned on in the browser settings. This might be necessary each time there is a new browser version. Internet Explorer still allows plugins but for a limited time.

The old plugin Jellycaster
Chrome and Firefox do not allow plugins anymore and therefore the old Jellycaster is not functional on those browsers.

The new Jellycaster WebRTC
This is an entirely different streaming technology and expected to totally replace Flash in the future. Currently, this method of streaming is still going through some growing pains. Flash works very well for people with lower bandwidth, but all the new streaming technologies require higher bandwidth. It is not only the amount of bandwidth which is important but also the steadiness. RTC is a technology which streams chunks of data, also known as packets. Flash streams more like a continuous stream, like water in garden hose. Currently, Chrome is using a different type of packets than Firefox and both browsers have a different way of letting the stream go through firewall ports. Which browser works better depends on each individual network setup, steadiness of internet connection and other factors.

We currently recommend to try Chrome first since its approach to RTC appears to work better for a lot of people. Ultimately, it is a matter of trying it out. It is extremely important to always have the latest version of any browser when using RTC since there are significant updates on a regular basis.

For anyone who is struggling with low bandwidth, it is important to maximize what you have available. Check that all other devices in your streaming location which use bandwidth are turned off and programs are closed. Sometimes we might not think of it that very common pages like Facebook can be a strain on your bandwidth. This is just one of many examples. Generally, anything with video falls in this category and, of course, watching TV on the computer.

I hope this helps a little to explain why browsers can make all the difference and why we change our recommendations to adjust to all the rapid developments in technology.

Fighting WebRTC Audio Sync Issues

Fighting WebRTC Audio Sync Issues
Subtitle:  Mainly with Chrome

Audio Sync issues are when the audio and video get out of “lip-sync.”  The sound does not line up with what you see.  Many folks call it a “lag.”  (We also have heard people call it a “latency” problem, but that is an incorrect description.)  This problem can happen with any broadcasting software, but it appears to happen more often on Chrome streaming with WebRTC.  This does not mean, “Firefox is better than Chrome,” or any one browser is superior.  We are only saying this one specific problem happens to a few broadcasters while on Chrome.

The guts of how WebRTC streams, also known as the encoder, processes the audio and video separately. They are streamed separately, they travel across the internet separately, and it is your computer at home that has to put it back together in-sync.  When a moment in time of the audio and video are sent across the internet too far apart from one another, the result is audio that does not match video.  That’s just the way it works!

Processing audio is easy from a computer’s point of view, there is less data to manage.  Video, on the other hand, takes massive amount of data and processing to produce a video signal.  The CPU (central processing unit) of the computer, a.k.a. the brain, can only handle so many calculations at one time.  When there is too much data to process when streaming, it is generally the video that gets processed slower than the audio.

The result: the audio is encoded first, and the video lags behind.  Look closely at a sync problem broadcast – you will almost always hear the sound / voice first, then witness the video catch up.

How to fix this problem?  Start by understanding that anything that can free up your computer’s CPU from tasks, or reduce the amount of video data to process, will help:

  • Make sure your browser is running the latest version. We will say this a 1,000 times… it’s very important with WebRTC to be on the latest version because the browser makers release significant changes with each new release.  To check / update Firefox or Chrome, go to Help >> About.
  • Turn off any software running on your computer you do not need for streaming.  Anything to free up your CPU will help.  Close multiple browser windows and tabs, close music recording software, close any games and video intensive software, and so on.  And close dang Facebook!
  • Choose 4:3 SD (standard def) streaming on StreetJelly.  Obviously, 720p HD takes way more CPU cycles to stream.
  • Adjust your webcam to the lowest decent quality.  Your webcam may be set at very high HD settings. The encoder then has to convert that video to lower quality for streaming.  That takes a lot of CPU power to do that.  In the hardware settings for your camera (not on StreetJelly):
    • Match the screen size of the webcam to the screen size chosen for broadcasting on StreetJelly.  For example: 640 x 480
    • Set the frame rate (if available) to 15fps, frames per second.  The WebRTC encoder defaults to 15fps, so it will get converted anyway.
    • Set quality (if available) to medium, or somewhere around 80%.  Different webcam vendors approach this setting differently, but the key is to dial it off the very top, but don’t go all the way to the bottom.
  • Remove any webcam effects from your broadcast.  This includes extra graphics embedded into the video (snowflakes, alien heads, swirly do-dahs, etc). All these require massive CPU processing to generate.
  • Remove any lighting effects in your home studio.  Yes, we mean swirly lights in your room in the real world.  This affects compression. The more areas within your video frame that do not change over time, the more your video gets compressed into smaller data chunks.  This reduces the amount of bandwidth needed to stream and process.
  • In your computer’s video settings (at the hardware level):  make sure any “hardware acceleration” settings are turned on.  I’m sure that sounds vague, but there are far too many video card drivers, manufacturers, scenarios, etc. to write about in a single blog.  The key here is to maximize the CPU and GPU (graphics processing unit) settings.
  • Get a faster computer! 🙂

UPDATE APRIL 19th, 2017

So we know Chrome can be a CPU hog, and these issues can get the audio out of sync.  One thing to try – and definitely check – is the Chrome “use hardware acceleration” setting.  Hardware Acceleration is a feature on most computers to use the GPU (graphics processing unit) for video processing. In Chrome, this can be controlled with an Advanced Setting called:  “Use hardware acceleration when available.”

Normally, this setting should be checked.  Check it now with these instructions:  http://www.pcadvisor.co.uk/how-to/internet/how-turn-off-gpu-hardware-acceleration-in-google-chrome-3605455/

For some with audio sync issues, UNCHECKING this setting may help.  It’s not a guarantee, but worth a try.  Sometimes a computer’s video card drivers could be out of whack (I literally had that problem with an old Lenevo laptop).  Using software to process the video software can possibly fix (or avoid) a hardware issue.

For a bit more detail about Chrome and Hardware Acceleration, here’s another nice article:  https://www.lifewire.com/hardware-acceleration-in-chrome-4125122

Firefox v52 Turns Off Plugins

On March 7th, 2017, Firefox released browser version 52 that turns off all access to (npapi) plugins, except Flash.

That’s a very loaded statement as it affects a huge amount of websites, systems, and people all over the world.  This is not breaking news, however.  It has been in the works and made public for a very long time.  Chrome has already turned off plugins on its browser back in 2016.

What does this mean for the old style Jellycaster (with the nanoCosmos plugin) on StreetJelly?  It means the old Jellycaster will no longer work in Firefox.  We recommend that musicians migrate over to our WebRTC stereo version of the Jellycaster.  WebRTC is a non-plugin technology new for browsers.  Read more about WebRTC here.

Do you still want to use the old style Jellycaster?  That’s ok, we understand that different computers work better with different technology.  And when you have one thing setup, it’s a pain to switch over to something new.  That being said, the old style Jellycaster is still available in Safari and Microsoft’s old IE “Internet Explorer” browser.  (Note, this is not the new MS Edge browser found in Windows 10.  That does not support npapi plugins, either.  The IE browser is installed on Windows 10, it’s just not readily visible.  To launch IE, go to the Win10 search bar and type “IE”.  Best to pin the icon to your desktop or menu so you can easily find it the next time.)

There is a TEMPORARY workaround in Firefox to still use the npapi plugins.  But this workaround will last you only about a month until v53 is launched on April 18th, 2017.  In v53, plugins will be turned off permanently (except Flash).  The fix involves messing with the Firefox config settings.  If you so desire, here are all the instructions:  http://winaero.com/blog/firefox-52-npapi-plugins-support-disabled/

 

Don’t hesitate to Contact Us if you need help.

 

Performing Original Songs on StreetJelly, by Andy Getch

“Member Blog Series” guest post submitted by StreetJelly artist: Andy Getch

Performing Original Songs on StreetJelly

I love songwriting. Playing for an audience is a surefire way to test or refine original songs. StreetJelly.com is a wonderful venue to perform with supportive listeners and fun emoji’s.

As far back as college I thought about performing. As an architecture/engineering student, my drafting t-square or a yardstick was my air guitar. I guess I first started writing when I got tired of hearing heavy rotation songs on the radio and making up my own lyrics to the melody. I most admired the singer-songwriter alone on the stage pouring their heart out in a song.

Songwriting started for me as a strong unexplainable urge in 2009 shortly after I took learning guitar seriously. Within a year I joined an online songwriting forum. I struggled at first, sometimes stumbling into a decent song. Mostly not.

Online songwriting challenges took my songwriting to another level. Most challenges are based on some form of time limitation. I started with a song a week group where a prompt was given as a starting point. Then in February 2012 I found February Album Writing Month (write 14 songs), 50 Songs In 90 Days (July 4-October 1), National Solo Album Month (29 minutes of songs in November), and more. The songs from those challenges are not polished or studio ready, just rough demos, or maybe even a partial song idea of instrumentals, lyrics only, or maybe even just a title.

All these challenges have a supportive community much like Streetjelly with regulars and various songwriting resources. Prior to February 2012 I had written about 20 songs in two years. In that month I wrote 12 songs with music, and three with just lyrics and was thrilled. Since then I have met the challenge goals each year. The most important thing for me is to keep writing, then decide later if the song is good, needs editing or recycling.

My goal is to participate in the scheduled songwriting challenges and otherwise write one song a week in a closed online group. I am lucky enough to be able to attend a local singer-songwriter circle. Songwriting is like playing an instrument, the more I practice the better I get at it. If I only picked up my guitar a few times a year, I would not make very much progress like I do with regular practice. The more I write, the more I write.

Once I have a rough idea for a song, I need to start playing it to get the flow and rhythm. If I don’t play the song I will forget how it goes. I don’t find out if a song really works until I play it as that lone singer-songwriter. Sometimes that happens at the singer-songwriter circle, sometimes my farmers market or yoga flow class gigs. But I don’t find out if the song works from the audience reaction. I find out if a song works based on how it feels to me and flows through me. If I feel a boost in energy or warmth, I know I am on to something good. Sometimes it is a complete surprise when a song works. The audience can sense that boost in energy too. My best performances are when I am serving the song and letting ti flow through me.

That is where playing new or revised original songs on StreetJelly comes in. StreetJelly audiences are wonderful and supportive. When I am singing and playing on StreetJelly, the feel and flow are the same as if I am at the singer-songwriter circle, the farmers market, or the yoga flow class gigs. The best part is the StreetJelly emojis will be clapping, smiling, stomping and giggling either way and everybody has a good time.

Playing original songs on StreetJelly is fun, helps my performance skills, and improves my songwriting. I hope to hear some of your original songs soon on StreetJelly.

Andy Getch