multimedia

What does sample rate mean in audio [closed]

回眸只為那壹抹淺笑 提交于 2019-12-25 08:18:21
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 years ago . see i have one audio track whose sample rate is 44100 then what does it mean ? what is the duration of one frame of audio? How can i get it in c? Does frame and sample both are different term for audio? 回答1: A sample of audio is similar to a frame of video, it's a capture of the sound level at a particular time

Tracking the number of times a video was played

廉价感情. 提交于 2019-12-25 01:19:49
问题 Folks, The project that I am working on requires that a certain video can be played on an android device for x number of times. After that, it must stop playing. When a client gets the video file, he or she also gets another file that contains the Android device ID and the number of times the video can be played. The original file and the metadata file are both encrypted. My first thought is just to write a video decoder for the video file. Each time the file is played, the decoder first

Does android support APIs for implementing RTP,RTSP for VoIP and PTT Project?

自古美人都是妖i 提交于 2019-12-23 10:39:31
问题 I am going to make a PTT project on Android. Could you tell me how deep Android supports Voice and Multimedia API (such as RTP,RTSP,VoIP) for developers? 回答1: MediaPlayer supports playing rtsp://.. URLs. Audio and Video are supported. Check media format support to see which codecs are supported. MediaPlayer internally automatically handles RTSP and RTP, so there is not much you need to handle. OTOH it does not give any low-level control over this process. About VoIP: Android only consumes

Getting started with audio programming [closed]

柔情痞子 提交于 2019-12-20 08:18:52
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I'm looking to build some compression interfaces for windows audio, and I was wondering if anybody might know of some tips/tricks? I'd

Window Media Player issues two requests for the audio on web page

瘦欲@ 提交于 2019-12-20 02:55:15
问题 I'm using Windows Media Player in a web page. I have version 11 installed so that is the version I'm testing with right now. The player is embedded on the page with this HTML: <OBJECT id='MS_mediaPlayer' width="400" height="45" classid='CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'> <param name=

Streaming Real time Audio

蹲街弑〆低调 提交于 2019-12-18 16:45:16
问题 I want to have a functionality of real time audio streaming on android device which is capturing audio through the MIC of the device and send it to the server. I know to send a send a audio file after recording but in case of real time I need help. May be it can be done by sending byte array continually to the server. If so how or if any other way, Please share your ideas. Thanks. EDIT- Android Client Code:- public class Main extends Activity { private MediaRecorder recorder; private final

what is the simpliest way to play sound from array data in delphi

杀马特。学长 韩版系。学妹 提交于 2019-12-18 13:22:50
问题 Is there any simple function? I am searching something like that Play(@data, 44000, 100 {time}); 回答1: I have worked quite a lot with PCM audio manipulation. I always use this function when playing short sequences of custom waveform audio data: var PlaySoundStopper: PBoolean; SoundPlayerActive: boolean = false; procedure PlaySound(const Sound: TASSound); var hWave: HWAVEOUT; hdr: TWaveHdr; buf: PAnsiChar; fmt: TWaveFormatEx; i: Integer; n: Integer; begin try with fmt do begin wFormatTag :=

android stream audio to server

天涯浪子 提交于 2019-12-18 11:42:18
问题 I would like to understand how socket work, especially I need some code samples for server side to receive the stream sent by mediarecorder from the device. Thank you very much for any help. My real final intent is to talk in device and listen it on PC, just one direction. At moment I am able to send out the stream using the following code: String hostname = "192.168.1.10"; int port = 8000; Socket socket = null; try { socket = new Socket(InetAddress.getByName(hostname), port); } catch

MP4 Atom Parsing - where to configure time…?

十年热恋 提交于 2019-12-17 10:46:50
问题 I've written an MP4 parser that can read atoms in an MP4 just fine, and stitch them back together - the result is a technically valid MP4 file that Quicktime can open and such, but it can't play any audio as I believe the timing/sampling information is all off. I should probably mention I'm only interested in audio. What I'm doing is trying to take the moov atoms/etc from an existing MP4, and then take only a subset of the mdat atom in the file to create a new, smaller MP4. In doing so I've

Why am I missing the Qt Multimedia functionality?

只愿长相守 提交于 2019-12-14 00:30:41
问题 I am new to Qt and I'm creating a simple application which will playback an audio file. I realized that I am lacking the Qt Multimedia API for audio when I wrote: #include <QAudioOutput> ..and I get that there is no such file. I downloaded the latest Qt SDK framework and I can't find a way to add these APIs. I am using Qt creator IDE. IS there a way to get the multimedia functionality working maybe as an add-on or some other way? Thanks. 回答1: Try including it like this: #include <QtMultimedia