PowerApps - Saving Mic Audio into Playable format - android

We're trying to upload playable audio files from PowerApps mic to SharePoint Online list.
I have used the following line:
Patch(sharepointlistname, ForAll(Gallery1.AllItems,{Title:Title, VoiceMessage:Audio});
The above returns the following results:
(from Android and iPhone, .aac and .caf links (respectively) to SharePoint List):
data/bb788abd-7848-449f-810b-2bd6368dcb19.aac
or
temp/recording_8BA1187E-158A-469E-9994-F644C6F619D8-1610-000001A0FBF5F1F0.caf
It seems impossible to convert these .aac and .caf to .wav or any playable file.
Can someone guide me on this, or maybe let me know where the actual audio files are being saved to from powerapps? The .aac or .caf links are most likely references to a specific location on a local database that is created by PowerApps. Unfortunately, I have not found any information.

aac files and caf files are audio files. They are not just your regular and familiar wav or mp3 files.
Both formats can be played by Quicktime.
You can find a list of all the programs that can play those formats here:
http://extension.nirsoft.net/caf
http://extension.nirsoft.net/aac

Related

Kotlin audio conversion

I've been struggling to find the information on how to record an audio through a mic, save it as a mp3 or wav file (if possible) and then store it in an array using Kotlin. Does anybody know how to do that?

adding an mp3 into an mp4 file

I am using JCodec for android for encoding an mp4 video starting from a set of images. It works and I obtain an mp4 file. Now, I would like to add an audio trace. Unfortunately, JCodec does not support audio encoding. So, somebody suggest to solve this problem as follows:
"Jcodec doesn't have the capability to encode audio (AAC) so you can encode your audio elsewhere and then add it to you mp4 file."
Any advice on how to "add" the mp3 file to the mp4 file?

streaming a mp4 file using RTSP?

I am developing an app. that will stream the video recorded from camera and stored as mp4 in sdcard...
I know there something called as RTSP which is used for that...
Please tell me where to start . .and is there any library that will do this for me...
I do not understand why you want to stream a local mp4 file, but maybe I misunderstood you problem. RTSP is used for live streaming, but you want to play a local mp4 file.
If you want to capture video and save it as mp4 onto a SD card, you need to use the Android MediaRecorder. Here a link to a simple example.
If you just want to playback a local mp4 file. Have a look at the Android API Demos.
These are part of the Android SDK installation and contain a good example of how to playback local media files.

Convert mp3 to wav on Android

There seem to be a lot of questions regarding the inverse wav to mp3 conversion, but none to go the other way. My situation is that I can use steganography to embed data in wav files. I can convert these to ogg and back (the steganography is format independent, and can survive format conversion). What I want to do now is build in AudioBoo integration. Uploading to AudioBoo is not a problem, retrieving the files in mp3 format is not a problem, but converting those mp3 files back to wav to perform the steg. extraction is. Does anyone know where I should start?
Check out JLayer. It should run on Android. Beware, some of the calls are synchronized. If this doesn't work, tweak the source code or extract the converter modules from the entire source, since all you need is the mp3 to wav converter, not the mp3 player.

Play .ts video file on Android?

I am pretty new at streaming video, so please bear with me. :)
I am trying to port an m3u8 stream over from iPhone to Android. Looking in the m3u8 feed, I found some .ts files. From what I can tell, .ts files are, themselves, wrappers that contain the video stream (Elementary Stream).
Is it possible to play a .ts file in Android? (The docs only list 3gp and mp4 as supported formats.)
Is there a way to extract the Elementary Stream and just process the video feed? If that is in 3gp or mp4, I should be ok.
Will Stagefright handle .ts? Is Stagefright even available? I read that there are/were some problems with it.
(As a further caveat, I am not getting much help from my server guys. They are pushing for a Flash player solution, including a proprietary player. They will not provide me with a 3gp or an mp4 feed, but I'm hoping I can find that in the .ts file.)
I'm open to other suggestions. Thanks for your patience with this newbie. :)
There is a standard for that called HTTP Live Streaming. Android 3.0 supports this protocol to some extent which means you can pass the URL of the m3u8 playlist to the MediaPlayer and the player should be able to stream it over HTTP. Stagefright is bundled with Android 3.0.
You can browse its source code here.
Also, this thread might interest you: it summarizes support for HTTP Live Streaming.
Android stagefright in Gingerbread and prior versions does not support playback of .ts (transport stream) or elementary stream. As you have rightly pointed out, it only supports MP4/3GP/MP3 file formats.
You can play .ts video file in android by using NDK based project. Dolphine player is best open source player for android and also supports various formats of video.
You got the .ts link from m3u file. Now you can fetch binary data from .ts file and store this binary data in file, then play this file by using video player.

Categories

Resources