Highlighted

Videos play without sound on Android device

Explorer ,
May 14, 2019

Copy link to clipboard

Copied

I have an AIR app playing embedded videos on an Android mobile device. The app works fine, and the videos play, but no sound can be heard.

It used to work previously, and so I don't know why it won't work any more. Any idea?

Here are the details:

– AIR app compiled with latest SDK (32.0.0.116).

Tested with older SDKs (31, 30), but it doesn't fix the issue.

– I use the Video class. I've tested StageVideo instead, but it's reported as unavailable on the device.

I've also made a dedicated mini-app to get rid of all other possible issues from the actual app I'm working on.

– I've tested various combinations of manifest additions, such as :

<containsVideo> true or false

<disableMediaCodec> true or false

android:hardwareAccelerated true or false

– The device is a Samsung Galaxy Tab A tablet with Android 8.1.0. When played outside the AIR app on the same device, the videos are played correctly, WITH sound.

I've also tested on a Nexus with Android 7.1.1: same issue.

– The videos are mp4 files. I've tested several audio encodings (from Adobe Media Encoder):

AAC, AAC+ Version1, AAC+ Version2, MPEG-1 Layer I, MPEG-1 Layer II.

The mp4 files are packaged with the apk file (included inside the FlashBuilder project). The mp4 files' sizes are between 10-20MB.

mp4 sample files from the web do not work either.

– If I convert the file to FLV, with soundtrack encoded in mp3 (not AAC), it immediately works fine.

I know that this file format is obsolete (I had to use an online converter, since Adobe Media Encoder doesn't provide the FLV option anymore), but unfortunately, it looks like my only solution at this point...

Any help or suggestion would be appreciated. Thanks!

TOPICS
Performance issues

Views

486

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Videos play without sound on Android device

Explorer ,
May 14, 2019

Copy link to clipboard

Copied

I have an AIR app playing embedded videos on an Android mobile device. The app works fine, and the videos play, but no sound can be heard.

It used to work previously, and so I don't know why it won't work any more. Any idea?

Here are the details:

– AIR app compiled with latest SDK (32.0.0.116).

Tested with older SDKs (31, 30), but it doesn't fix the issue.

– I use the Video class. I've tested StageVideo instead, but it's reported as unavailable on the device.

I've also made a dedicated mini-app to get rid of all other possible issues from the actual app I'm working on.

– I've tested various combinations of manifest additions, such as :

<containsVideo> true or false

<disableMediaCodec> true or false

android:hardwareAccelerated true or false

– The device is a Samsung Galaxy Tab A tablet with Android 8.1.0. When played outside the AIR app on the same device, the videos are played correctly, WITH sound.

I've also tested on a Nexus with Android 7.1.1: same issue.

– The videos are mp4 files. I've tested several audio encodings (from Adobe Media Encoder):

AAC, AAC+ Version1, AAC+ Version2, MPEG-1 Layer I, MPEG-1 Layer II.

The mp4 files are packaged with the apk file (included inside the FlashBuilder project). The mp4 files' sizes are between 10-20MB.

mp4 sample files from the web do not work either.

– If I convert the file to FLV, with soundtrack encoded in mp3 (not AAC), it immediately works fine.

I know that this file format is obsolete (I had to use an online converter, since Adobe Media Encoder doesn't provide the FLV option anymore), but unfortunately, it looks like my only solution at this point...

Any help or suggestion would be appreciated. Thanks!

TOPICS
Performance issues

Views

487

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 14, 2019 0
Flipline LATEST
Engaged ,
May 14, 2019

Copy link to clipboard

Copied

Video in AIR hasn't been working correctly in most versions of AIR 32, Adobe has been reworking their video pipeline and unfortunately they've been rolling out versions with issues for the last few betas, and for some reason they also pushed all of those issues into the latest live main version.

From the AIR 32 Release Notes:

We are in the process of reworking our video pipeline to better use modern hardware capabilities and leverage native operating system API's. This transition period may introduce temporary adverse results and we welcome your feedback on both tracker.adobe.com and our forums.

I believe one of the older versions of 32.0.0.89 didn't have this problem, though you have may have to go back to 31 to not have this problem on Android until they eventually fix the video pipeline.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 14, 2019 1