Audio codec not supported by Flash

Issues related to playing with Flash Player

Re: Audio codec not supported by Flash

Postby Neel » Tue Feb 24, 2015 3:43 am

Can you suggest some other player which will play h264.
My rtsp url is "rtsp://<server name>/h264/media.amp".
Neel
 
Posts: 0
Joined: Mon Feb 23, 2015 7:31 am

Re: Audio codec not supported by Flash

Postby admin » Tue Feb 24, 2015 8:17 am

DID YOU READ THE FAQ?

Your problem has nothing to do with player. You have an RTSP camera, but you cannot play rtsp stream directly on the webpage with Flash player so you need to convert it to rtmp first. So you need to create a live broadcast to ingest your rtsp stream.
Then use our Flash player to play that broadcast.

Maybe this will help:
http://www.networkcameracritic.com/?p=1290
admin
Site Admin
 
Posts: 1030
Joined: Fri Aug 21, 2009 10:13 am

Re: Audio codec not supported by Flash

Postby Neel » Tue Feb 24, 2015 11:30 pm

Sorry actually i didn`t mentioned in my last post that ,i have created live broadcast.
I can successfully access my ip camera in streaming media player which i installed on my windows system.
I am not accessing rtsp stream directly in my html.I am using rtmp only.
My html code is,

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<script type="text/javascript" src="http://www.umediaserver.net/bin/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://10.1.71.70:5119/live/cam116',
'autoplay' : true,
'showMetadata': true,
'showLiveCaption' : true,
'livelabelshowbg': false,
'showErrorInPlayer' : true
},
size : { width: 640, height: 480 },
playerStyle : 'quick'
});
</script>

My intention to mention rtsp url in live broadcast was it contains h264,So i thought it may not be played in flash player.

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

Re: Audio codec not supported by Flash

Postby admin » Wed Feb 25, 2015 8:54 am

So what is your problem?

Flash player can play h264, sure. Are you sure your IP camera encodes h.264?

When you play this live broadcast using our Streaming Media Player, do right-click -> Properites and you will see the actual encoding.
If it is H.264/AVC then yes, your camera encodes h.264. If it's any other encoding, you will get "video codec not supported by Flash" with Flash player.
In this case, configure your camera to encode h.264, or, if it cannot, use Unreal Live Server to transcode your IP camera to h.264.

But this post was about Audio. So if you get "audio codec not supported by Flash" with Flash player, you can:
a. Change this live broadcast settings to receive video only from your IP camera.
b. Try to configure your camera to encode AAC audio
c. Transcode this audio to AAC using Unreal Live Server.
admin
Site Admin
 
Posts: 1030
Joined: Fri Aug 21, 2009 10:13 am

Previous

Return to Playing with Flash Player

Who is online

Users browsing this forum: No registered users and 1 guest