create AAC file from raw data using Media Foundation [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have raw audio data and I want to create a corresponding aac/m4a/mp4 file using Media Foundation.
This article describes all the settings and configurations.
I wonder if there is an example code or tutorial that shows how to do that?
I found this tutorial, but unfortunately, this is not raw data to mp4 file, but mp4 to another mp4 tutorial (changing the properties of an already existing file).
Thanks.

AAC file is basically the file with raw data. You don't need API to create such file, just write the data using file I/O functions. There is a delicate aspect about things like ADTS headers, but in general it is as simple as that.
With Media Foundation you can produce MP4 files, and most suitable API for that is Sink Writer. Apparently, raw data alone is insufficient to produce as you have to provide additional mandatory information, such as at the very least basic properties of the encoding. Once you are through with this, you write your AAC data in chunks and the API formats it as an MP4/M4A file. I am not aware of a tutorial which does exactly this, but it's a pretty straightforward use of the API.

Related

What's the best software for recovering MP3 files? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 days ago.
Improve this question
I'm trying to find as many of my old original mp3 recordings as I can, after accidently deleting them and losing them by Cut/Pasting to a fake USB device. They're irreplaceable, so I've been trying various recovery software. So far, I've used DMDE, R-Studio, Recuva, UFS Explorer, Active Recovery, Photorec, Hetman NTFS Recovery and a few others. I've recovered probably 70% of the files, which is great, but there are more there.
Can anyone recommend a recovery software that's particularly good at carving mp3 and wav files?
Also, is there any way that I could have a program run through all the data in a disk image and try to playing, as though it was an mp3 files? In other words, assume everything was mp3 and save/write everything that had the characteristics of an audio file?
Thanks!
I also found a text file from mp3val which recorded the first 20-20 chars of some of my files and although UFS Explorer can find these signatures on my disk if I open the disk as hex, not a single program can find them, even from carving. Is there a program that will let me input the hex locations of this data and pull the objects they are part of? I was unable to find about this in my research, so far.

Is there a way to review a Rmarkdown document in a collaborative way? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I am working remotely with some colleagues on a Rmarkdown document, and I would like to make a simple review of the file (especially the comment part and not the code), and then send it back to others with my reviews embeded in the document, like a word document review or a kind of Overleaf review. I have made some research on the topic, but I didn't find something that feet my needs as explained. Please, Is there a way to add some review in a Rmakdown document and sent it back (either online or not)?
Take a look at Etherpad
Etherpad is a highly customizable Open Source online editor providing collaborative editing in really real-time.
Or, better: StackEdit
With StackEdit, you can share collaborative workspaces, thanks to the Google Drive synchronization mechanism. If two collaborators are working on the same file at the same time, StackEdit takes care of merging the changes.
Or, even better: HackMD
HackMD is a realtime, multiplatform collaborative markdown note editor.
This means that you can write notes with other people on your desktop, tablet or even on the phone.
I suggest you considering trackdown https://claudiozandonella.github.io/trackdown/
trackdown is an R package that offers a simple answer to collaborative writing and editing of R Markdown (or Sweave) documents. With trackdown, the local .Rmd (or .Rnw) file is uploaded as plain-text in Google Drive where, thanks to the easily readable Markdown (or LaTeX) syntax and the well-known online interface offered by Google Docs, collaborators can easily contribute to the writing and editing of the narrative part of the document. After integrating all authors’ contributions, the final document can be downloaded and rendered locally.
You can find more details at this answer https://stackoverflow.com/a/68014082/12481476 or in the package documentation https://claudiozandonella.github.io/trackdown/

OSX Native API Video Decoding C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Recently, I completed an audio decoding task using Apple Core Audio C++ API.
Now I am interested in decoding and getting raw uncompressed data of frames of a video file again with native OSX API with C++ (the analog of DirectShow or Media Foundation on Windows OS).
I have looked at available APIs (AVFoundation, Core Video, etc.) but couldn't find the framework which will do the job and is accessible through C++.
So my question which is the most suitable framework to pick up for this task?
You can read raw video data from a file using AVFoundation's AVAssetReader.
You create an AVAssetReader, add a AVAssetReaderTrackOutput with nil output settings then call copyNextSampleBuffer() until finished.
However, unless you've got very specific needs, you're unlikely to find the raw codec video data very useful. Are you trying to display the video? In that case AVPlayerLayer / AVPlayer (AVFoundation once again) are probably what you're looking for. If you want something lower level, CoreMedia/VideoToolbox may be for you. AVFoundation is an objective c framework so you'll be using objective-c++, while CoreMedia and VideoToolbox are C frameworks.

Online file conversion API (DOC, PPT etc. to JPG) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am looking for an online file conversion site which converts DOCX, DOC, PPT, PDF etc. to JPG files using an API (RESTful etc.).
I do not mind paying for the service but am unable to find an such service online.
One that might work for you is convertapi (http://www.convertapi.com/).
I recently used this to enable the following conversions for an app :
doc/docx --> PDF
ppt --> jpg
doc/docx --> jpg
They have a very simple REST api that's easy to implement : (http://www.convertapi.com/api/word-pdf-api)
You probably should also have a look at the CloudConvert API, which, as far as I know, supports your mentioned formats.
Convertapi doesn't do ppt --> jpg at the moment.

Looking for a VoIP service provider [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am looking for a VoIP service my application can use to call landlines and mobile phones.
What I need:
I would generate an audio file and send it to the service. The service would then place the call and play the audio file.
Other features that would be a plus:
TTS (I send text and the service converts it to audio for me)
Ability to receive DTMF responses
Any suggestions?
Try Twilio. It is amazingly easy to use and does all that you want: play audio files, say text, and gather DTMF input. They've even got some speech to text transcription now.
After quite a bit of digging I am going to give CallFire a try.
It looks very promising.
Try City Watch by Avtex. It does all those things.
-Barnzy
For calling and playing audio files you could have a look at the Asterisk server. Altough this is not an external service which I think you're looking for, it could be used to connect to a VoIP-provider and play the file.
Use Axvoice, it's a low cost home phone service and you can surely integrate it with your application.
You can contact their live chat support for detailed info.