Audio codec not supported by Flash

Issues related to playing with Flash Player

Audio codec not supported by Flash

Postby sicay » Thu Dec 25, 2014 1:24 pm

In Unreal media server, i created a delegate live boardcast, and can see the video (included sound) using streaming media player app. I want to play it on web browser, so i created a webpage, code like this:

<html>
<head>
<title>Got PBK ?</title>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<script type="text/javascript" src="./FlashPlayer/umsplayer.js" charset="utf-

8"></script>
</head>
<body id="unload-trigger-element">

<!-- player container -->
<div id="player-container">

</div>

<script type="text/javascript">

embedPlayer('player-container', {
flashvars : {
'rtmp' : 'rtmp://192.168.1.44:5119/live/s1',

'autoplay' : true,
'showMetadata': true,
'showLiveCaption' : true,
'livelabelshowbg': true,
'showErrorInPlayer' : true
},
size : { width: 640, height: 480 },

playerStyle : 'quick'
});

</script>



When i open by chrome, i got this error
http://i.imgur.com/tICuB3j.png

please help.

Sicay.
sicay
 
Posts: 0
Joined: Sun Feb 23, 2014 11:47 pm

Re: Audio codec not supported by Flash

Postby sicay » Thu Dec 25, 2014 1:34 pm

Update audio codec is WMA, i got it from Streaming Media Player app.
http://i.imgur.com/G9Kuryi.png

Can play video only, no need audio?
sicay
 
Posts: 0
Joined: Sun Feb 23, 2014 11:47 pm

Re: Audio codec not supported by Flash

Postby admin » Thu Dec 25, 2014 10:27 pm

Please read FAQ page:
http://umediaserver.net/umediaserver/faq.html

Flash player cannot play WMA audio; it can only play MP3 and AAC audio.
And of course you can play video-only.
admin
Site Admin
 
Posts: 1029
Joined: Fri Aug 21, 2009 10:13 am

Re: Audio codec not supported by Flash

Postby sicay » Fri Dec 26, 2014 10:16 am

hi Admin,

Could you please show me how to play video only on browser using unreal flash player???
i think need to edit umsplayer.js file

Thank You.
Sicay.
sicay
 
Posts: 0
Joined: Sun Feb 23, 2014 11:47 pm


Re: Audio codec not supported by Flash

Postby sicay » Sat Dec 27, 2014 10:33 am

Sorry i already read that links before post this question ask for help.

Because i created a deligated boardcast of a UMS link so i could not change the codec of the source video. I success play with streaming media player (got video and audio). And because i audio codec is WMA that flash player not supported, i want to play video only with flash player.


Thank you.
Sicay.
sicay
 
Posts: 0
Joined: Sun Feb 23, 2014 11:47 pm

Re: Audio codec not supported by Flash

Postby admin » Sat Dec 27, 2014 12:54 pm

No that's not possible. You need to remove the audio at the encoding point, or change audio encoding to mp3/aac.
admin
Site Admin
 
Posts: 1029
Joined: Fri Aug 21, 2009 10:13 am

Re: Audio codec not supported by Flash

Postby Neel » Mon Feb 23, 2015 7:50 am

Hi,

I am facing the same issue as sicay.
have also installed ffdshow as suggested in FAQ`s.
I want to broadcast h264 stream and want user to view it on different browsers.
Neel
 
Posts: 0
Joined: Mon Feb 23, 2015 7:31 am

Re: Audio codec not supported by Flash

Postby Neel » Mon Feb 23, 2015 7:53 am

Hi,

I am facing the same issue as sicay.
have also installed ffdshow as suggested in FAQ`s.
I want to broadcast h264 stream and want user to view it on different browsers.

Please help to resolve this.

Thanks,
Neel
Neel
 
Posts: 0
Joined: Mon Feb 23, 2015 7:31 am

Re: Audio codec not supported by Flash

Postby admin » Mon Feb 23, 2015 8:10 am

You don't need ffdshow to play with Flash player; read the FAQ and see sample web pages in demos page
http://www.umediaserver.net/umediaserver/demos.html
http://www.umediaserver.net/umediaserver/faq.html

As said before, currently, if audio is not supported, the stream will not play. For Flash player, audio encoding must be AAC/MP3.

In the next version of server (v11.0), if audio is not supported, the player will play video only, like you want.
admin
Site Admin
 
Posts: 1029
Joined: Fri Aug 21, 2009 10:13 am

Next

Return to Playing with Flash Player

Who is online

Users browsing this forum: No registered users and 1 guest

cron