Skip to main content
AlexUrrutia
Inspiring
September 10, 2014
Answered

AIR SDK 15 can't play live h.264 video with SPEEX audio

  • September 10, 2014
  • 8 replies
  • 5701 views

AIR SDK 15 for Android

Live rtmp h.264 video Bug, not using StageVideo


AIR app can't play live h.264 video with SDK 15, it just displays a black screen in the video container but the SPEEX audio plays fine.


If you send the video stream first with no audio, it will play fine on the client, but if you add audio during the stream, the video on the client will flash and turn black and the audio will play.


Tested publishing app with  SDK 14 and it works perfect.


Sorenson live audio and video stream plays fine on SDK 15.


This topic has been closed for replies.
Correct answer theRealLowBelly

Hi Roshan,

This issue has been resolved by AIR 18!  Awesome!  Thanks, Roshan and Adobe!

8 replies

Adobe Employee
March 4, 2015

Hi all,

We have reproduced the bug at our end and team will be looking to this.

Issue: AIR SDK 15 can't play live h.264 video with SPEEX audio. Black screen is noticed with audio in the background.

For more information please refer the bug Bug#3821822 - AIR SDK 15 can't play live h.264 video with SPEEX audio. 

Roshan

Adobe Air

theRealLowBelly
theRealLowBellyCorrect answer
Participating Frequently
August 11, 2015

Hi Roshan,

This issue has been resolved by AIR 18!  Awesome!  Thanks, Roshan and Adobe!

Adobe Employee
March 3, 2015

Hi @lonut cimpean,

You mentioned setting render mode to GPU fixed the issue on SDK 14.

Which device you tried this? And did both audio and video played in this case?

Thanks

Ionut_Cimpean
Participant
March 3, 2015

Hi @Roshan Chhetri,

By setting the render mode to GPU the problem is now fixed on all devices that I could test on: Google Nexus 5, Google Nexus 7, Samsung Galaxy S4, HTC One M8, Sony Xperia T and a TV-box called the Minix Neo X8H.

Both audio and video work fine now.

You're welcome.

Ionut_Cimpean
Participant
February 26, 2015

I have encountered exactly the same problem as you have, however it for me it doesn't work even if I use SDK version 14. I publish video from flash programmatically, using h264 + nellymoser encoding, and all videos in my application appear black (sound works fine) on all devices (including a nexus 5, samsung galaxy s4) except a nexus 7 first generation tablet. The only fix seems to be to minimize the application and then maximize it back, however this is simply unacceptable for end users. I also tried using SDK 16, however it's even worse: the whole screen is black before I minimize the app.

I hope this gets fixed soon.

Ionut_Cimpean
Participant
February 26, 2015

Just got a reasonable fix for this, by setting renderMode to gpu (before it was set to auto). Video now works fine (in SDK 14).

AlexUrrutia
Inspiring
February 26, 2015

Did you try setting renderMode to direct mode?

Adobe Employee
January 22, 2015

Hi AlexUrrutia,

Kindly let us know, how are you publishing the H264+SPEEX video?

Are you using a tool or you are doing it programmatically?

Thanks

Roshan

AlexUrrutia
Inspiring
February 10, 2015

I have tested video only with AIR 16.0.0.272 and the video plays fine, with no audio being published on the stream, when you publish audio on the same NetStream, the video goes black on the player's end.

This must have something to do with the audio damaging the H.264 packets or something.

Note: The VP6 Video and audio plays fine.

Amy_WongJochem van DietenWoojin

theRealLowBelly
Participating Frequently
January 20, 2015

Just created a newer, simplified test.

See Bug#3862569 - Streaming Video is not visible in AIR 15+ on Android

Problem occurs in new AIR 16.272 on Android.

AIR 14.137 screenshot (Galaxy S4):

AIR 16.272 screenshot (Galaxy S4):

December 12, 2014

Also having issues.

Video play back is fine in Air 14 (SDK).

With Air 15 (SDK) .. Video black screen - but can still hear audio.

Effects Windows Desktop Application but not iPad. Havn't tested others yet.

Attempting to playback video from local file, mp4 ,  MainConcept H.264 video , Audo ACC+ Version 2 , Stereo 48Khz

(NB : I'm am course referring to the Air SDK used.. The Air Player is 15 on the desktop and its captive on iPad )

Dmitrii Nikolaev
Known Participant
December 12, 2014
Participating Frequently
September 11, 2014

Thanks for reporting the issue.

We are not able to reproduce the issue at our end. The combination ( rtmp, audio - speex, video-h.264) are working fine for us.

Could you please provide us with the sample example to reproduce the issue.

Thanks again,

Pravendra

Adobe Air

Uttran
Participating Frequently
October 10, 2014

We are have also having the same issue. This issue looks similar to Adobe AIR 3.9  -  Bug 3654244

Is both issues related?

Adobe AIR 3.9  -  Bug 3654244

Adobe AIR 3.9  -  Bug 3654244

Adobe AIR 3.9  -  Bug 3654244

Adobe AIR 3.9  -  Bug 3654244