solved jrAudio and some files?

MAD
MAD
@madc
11 years ago
600 posts
I only noticed this tonight but some of our uploaded audio is not playing in Top Songs etc in Nova cloned skin.
They always played at our live site ( As this is a new build )

but if you go to our homepage : http://jr.punkbp.com
and try and play the 1st top song (right middle) Which was uploaded through the normal conventions,
HIT PLAY wait about 10-15 seconds and it just goes back without playing???

Page two song 10 Bodyscan won't play either?
( BTW this is in Google Chrome Version 31.0.1650.63 )

I have had problems with the audio not working at all on my android tablet as well ( but that I will discuss later).

Is this because the files aren't being converted to follow browsers compatibility?

Seems ogg is missing which I would think that is very important as all normal converters do ogg as well.

EDIT:
after looking at my Media folder there are only mp3's in there?
isn't it meant to convert the files for all browsers?


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion

updated by @madc: 02/03/14 02:34:05AM
brian
@brian
11 years ago
10,148 posts
Right now JR does not convert to OGG for audio - just MP3 (since all browsers play MP3).

I just played "not my day" without issue - is that the one you're having an issue with?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
It does play here using chrome canary: Version 34.0.1762.0 canary
But not chrome Version 31.0.1650.63
It does play in firefox.

One thing I noticed is that that song takes a long time to load (compared with the song "Test 2"), or it has a period of silence at the start of the track. Wonder if that could have anything to do with it?


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
MAD
MAD
@madc
11 years ago
600 posts
Yep thats one of them.
What browser?
I am using
MAC Mountain Lion with Google Chrome 31.0.1650.63
I am using a desktop with a reputable browser but I am having issues with some songs playing ( 2 out of the top ten )
PS It plays in Firefox 26.0 for MAC


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion

updated by @madc: 12/27/13 08:58:25AM
MAD
MAD
@madc
11 years ago
600 posts
I have just googled and apparently chrome and other browsers have problems with too much META or 128kbps
( Yeah I couldn't believe it )
Solutions were to strip the META back in the recode ( truncate ) and code in 64kbps ( yeah yuk )
could that be an issue?

Other converters we have used always convert to ogg, wav and mp3.

Why jrAudio doesn't as I think ( im dumb remember lol ) that could fix the issue?


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion
brian
@brian
11 years ago
10,148 posts
It's not as easy as just saying "convert to OGG" :) the jrAudio converter can certainly do it, but it has to be done right, and some sites are not going to want the additional storage space needed for another copy of a song. The only browsers that I know need it are older versions of "stock" browser running on Android, which is likely a small percent of visitors to a site. And you definitely would not want to convert to WAV unless you needed it - again it would take up a lot more room than needed, and WAV is not a stream-able format (download only).

So at this point it looks like a Chrome issue, and I'll say again what I've been saying for the last year - Chrome is the "new IE".

I will test here on Chrome and see if I can spot anything JR is doing that might cause an issue.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
MAD
MAD
@madc
11 years ago
600 posts
Yeah WAV is a big audio file . Ogg to me should still be sorta supported as it takes away some issues.
But ( for the life of me I have no idea why ) mp3's by some browsers still f* up.
We run mp3's on our current site and they work fine in all browsers ( checked )
But the meta was limited.
Could it have something to do with what they are saying as the meta data is too long.?
Apparently if it's too long Chrome decides there is no song to be played
link: https://code.google.com/p/chromium/issues/detail?id=110309
Although it's over a year old and closed


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion
brian
@brian
11 years ago
10,148 posts
I've not seen that before, but is the meta data for the song you are trying to stream really large?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
MAD
MAD
@madc
11 years ago
600 posts
No not at all. Just checked out the file and all info is tiny.

but go here in chrome I am using http://jr.punkbp.com/two-two-79/audio/266/01-not-my-day
thats the full player page
And it still thinks thinks, thinks, thinks then just stops

ps firefox works fine but Safari works, but takes about 30 seconds to start , I almost clicked off it but then the tunes came out ( ON MAC MOUNTAIN LION )



--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion

updated by @madc: 12/27/13 11:46:50AM
brian
@brian
11 years ago
10,148 posts
This could be related to an issue I worked on earlier for a ticket - do you have ALLOW_ALL_DOMAINS in your Core -> Global Config -> Allowed Domains? If so it's causing play keys to fail - that means the stream won't start properly. Not sure why Safari is slow - that's weird.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
MAD
MAD
@madc
11 years ago
600 posts
NO , it is blank as we are building,'ie empty ie nothing in there

And yeah , If you have a MAC goto the link and you will see it is Awfully slow. (not shi$ing you ) as i test all avenues.
Most users in safari would click off = bounce before it started
And this was all uploaded with jrAudio or whatever you ask for the files with to downcode etc.

My issue is ( love everything else eh )
If you want a dedicated audio site software, than it should work everywhere and on all devices
( any changes that you guys find should be upgradable through the marketplace at a fee as you don't work for the browsers etc )
Everyone would understand that as that is just more work. That shouldn't be free ( IMO )
But if stuff don't play, well we are screwed as thats our whole site.

PS why do soundcloud songs play INSTANT and always?


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion

updated by @madc: 12/27/13 01:44:44PM
brian
@brian
11 years ago
10,148 posts
ba9801:
PS why do soundcloud songs play INSTANT and always?

Because they have good servers?

I'm looking at another long time JR user's (Dazed) site right here:

http://www.mixposure.com/music/

and the songs start right up. Make sure you don't have output buffering enabled in your PHP.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
MAD
MAD
@madc
11 years ago
600 posts
Well we are on a good dedi server as well. Thats not the issue. We have never had any issue with lag time with loading anything.
And his site has EXACTLY the same problem
see here
http://www.mixposure.com/1052539/audio/16612/himado
In chrome please
It's identical to the issue we are having
Although that link will not play in firefox at all on a mac .
It just shows the pause button as if its playing something for about 45+ seconds than stops so thats worse ..
Safari just comes through with about three seconds of noise than it stops.
So there is a problem
The player perhaps?




--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion

updated by @madc: 12/27/13 02:38:41PM
brian
@brian
11 years ago
10,148 posts
On Mixposure it's probably the ALLOW_ALL_DOMAINS issue that is fixed in 5.1.8.

I'm fairly certain it is not the player - for example on my little test site:

http://brian.jamroomnetwork.com/brian/audio

no issues in Chrome.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
11 years ago
10,148 posts
I just went ahead and pushed out Core 5.1.8 - update to that and see if it helps. if it does not, then we know it is not related to the ALLOW_ALL_DOMAINS issues in 5.1.7.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
11 years ago
10,148 posts
I believe this a Chrome issue - even when I try to load the file directly (bypassing the player) it still takes 30 seconds before it will play, with no issues on Firefox or Safari.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
11 years ago
10,148 posts
This is going to take some time to narrow down, but it appears that Chrome may be "impersonating" a mobile device when it streams (which is weird) - I'm seeing headers that usually are mobile only.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
MAD
MAD
@madc
11 years ago
600 posts
Ok haven't updated yet mate but , again, Why does soundcloud play in all browsers?
I just tested with a
windows 8 phone
a pendopad android tablet running jellybean
a new ( thanks to the kids ) ipad mini with retina display
An iphone 4 a 5s
samsung galaxy s3 ( my neighbours ) and s4
It all works
All songs from soundcloud seem to play so is it a jPlayer issue?


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion
MAD
MAD
@madc
11 years ago
600 posts
Sorry posted too long but really???


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion
MAD
MAD
@madc
11 years ago
600 posts
brian:
no issues on Firefox or Safari.
Ummmm I am experiencing it?
I am not making it up


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion

updated by @madc: 12/27/13 03:19:12PM
brian
@brian
11 years ago
10,148 posts
ba9801:
brian:
no issues on Firefox or Safari.
Ummmm I am experiencing it?
I am not making it up

I've never said you're not experiencing it - I see it here in Chrome too, but not in Safari or FF.

Soundcloud has a dedicated team of probably 50 devs - they can devote days and days to very specific issues like this if they want.

Like I mentioned above - I'm working on it and if it is something we can control or fix, we will. Also - it is definitely not a jplayer issue, since I can reproduce the issue in Chrome OUTSIDE of jplayer.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 12/27/13 03:36:03PM
MAD
MAD
@madc
11 years ago
600 posts
Just re-read my post and it may have seemed a bit harsh- I apologise for that.
We use wimpy player right now and it plays everything we need in any browser.
So that's why I was leaning towards jplayer as we have had problems with that before hence moving to wimpy.
But as you said if you get the same results without running it through jplayer then its got me stumped.
an mp3 is an mp3 . One of the oldest well recognised forms of getting audio over the net.


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion
brian
@brian
11 years ago
10,148 posts
ba9801:
Just re-read my post and it may have seemed a bit harsh- I apologise for that.
We use wimpy player right now and it plays everything we need in any browser.
So that's why I was leaning towards jplayer as we have had problems with that before hence moving to wimpy.
But as you said if you get the same results without running it through jplayer then its got me stumped.
an mp3 is an mp3 . One of the oldest well recognised forms of getting audio over the net.

Wimpy links directly to the MP3 - there's no "streaming" involved. All streams go through JR's stream functions (this is what allows us to count plays, block invalid streams, etc.) - it's way more complicated than Wimpy.

So right now it looks like Chrome sends a different set of headers than FF/Safari, which makes it take the path mobile would normally go.

I'm not in my office so can't test further, but will tomorrow.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
11 years ago
7,718 posts
That link to the mixposure audio file:
http://www.mixposure.com/1052539/audio/16612/himado

that doesnt play, it doesnt play when you download it and play it in VLC either.

I opened it up in audacity and its got a bunch of red parts. Think red is bad...

Not sure why when or how, or even if thats useful. If i had to guess, I would guess dataloss at some point. encoding time or upload time perhaps.

(screenshot of audacity)
updated by @michael: 12/27/13 11:24:51PM
brian
@brian
11 years ago
10,148 posts
Yeah that file is completely corrupted - it doesn't even play when downloaded. The other file he linked to:

http://jr.punkbp.com/two-two-79/audio/266/01-not-my-day

Takes forever to start in Chrome since Chrome is sending a "range" header on each request, which is basically how something is played "progressively". Normally only mobile devices stream this way since they may be on a very slow network path, and you don't want to wait for the entire MP3 header to be received before you start streaming. With Chrome though, it appears it is sending that header as if it will support the streaming, but then it is waiting for the entire song to be downloading in hundreds of small chunks before it will start playing.

So I've got an idea on how to work around and will be testing it out shortly.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
11 years ago
10,148 posts
So this file:

http://jr.punkbp.com/two-two-79/audio/266/01-not-my-day

is a corrupted MP3 as well - Chrome just won't play it. Even downloading the MP3 and saving it to my hard drive, then doing a File -> Open from Chrome, it won't play - Chrome just won't play the file. FF and Safari do, so Chrome must be "pickier" about the integrity of an MP3 file. Chrome seems to be OK with about the first 5.5mb of that MP3 - at the point it bombs out, so there's something in the MP3 Chrome does not like.

So then I tried to convert the file using FFMpeg (thinking that if there is some way to detect a bad MP3 on upload, maybe we can get it to go through conversion and be "fixed"), but FFMpeg bombs on this file as well.

So that's a bad file and there's nothing JR can do to fix it (since it does not work even when bypassing JR 100%).

Let me know if that helps.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 12/28/13 06:56:19AM
brian
@brian
11 years ago
10,148 posts
Just to add some more info about this file, I think what Chrome is choking on is that it has an embedded PNG image that is 5.5 MB (yes a 5.5 megabyte PNG) embedded into the MP3 file. This just happens to be the size that Chrome is choking on, so my guess is that the embedded PNG image is corrupt and Chrome is trying to parse it, whereas FF and Safari just skip it.

One thing I am going to try is getting FFMpeg to detect when a really large image is embedded as an ID3 tag and strip it out - if possible that might fix files like this.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
11 years ago
10,148 posts
Yep that's the root cause here - I'm able to strip the embedded PNG image from the MP3 and it plays on Chrome. So I'll look at getting that into the next release of the Audio module.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
11 years ago
10,148 posts
I've got a new release of the Audio module (version 1.1.4) that should properly strip embedded images from the MP3 file on upload now, which will fix the issue we're seeing here. It also makes the stream start up a bit faster as all embedded ID3 items (including image) are always at the start of the file.

Let me know if that helps.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
11 years ago
7,718 posts
I downloaded that file too and put it in audacity, it too has those red marks, but not as many of them.
(screenshot)
updated by @michael: 12/29/13 09:00:38PM
brian
@brian
11 years ago
10,148 posts
Just following up here to make sure audio is streaming for you now - let us know.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags