¡@

Home 

2014/10/15 ¤U¤È 10:05:11

iphone Programming Glossary: codec

playing a .caf file: works fine in simulator but not in iPhone

http://stackoverflow.com/questions/1363972/playing-a-caf-file-works-fine-in-simulator-but-not-in-iphone

iphone avaudioplayer caf share improve this question The iPhone OS on device does not have the same audio codecs available to it that the iPhone OS in simulator does. In my projects I have had problems playing back .caf files encoded..

iPhone - convert mp3 to wav?

http://stackoverflow.com/questions/1478030/iphone-convert-mp3-to-wav

AIFF or WAV Audio File Conversion Services to convert the MP3 data to PCM and or to encode from PCM to some other codec if you were to write a file . Note that a given converter cannot convert between two encoded formats you can do MP3 to PCM.. conversion services and the convenient use of ExtAudioFiles. Also be sure to understand the difference between codecs and file formats and what codec format combinations are legal. I was surprised the first time I found out that PCM must.. convenient use of ExtAudioFiles. Also be sure to understand the difference between codecs and file formats and what codec format combinations are legal. I was surprised the first time I found out that PCM must be little endian in a WAV big endian..

Cocoa - Add Video Watermark General Info

http://stackoverflow.com/questions/1594381/cocoa-add-video-watermark-general-info

movie addVideoTrackWithSize size track setAttribute NSNumber numberWithShort 1 forKey QTTrackLayerAttribute Create a codec dictionary for the image we're about to add NSDictionary imageDict NSDictionary dictionaryWithObjectsAndKeys @ tiff QTAddImageCodecType.. NSDictionary imageDict NSDictionary dictionaryWithObjectsAndKeys @ tiff QTAddImageCodecType NSNumber numberWithLong codecHighQuality QTAddImageCodecQuality nil Get the video length in QT speak QTTime qttime currentMovie duration NSTimeInterval..

How can I record AMR audio format on the iPhone?

http://stackoverflow.com/questions/276644/how-can-i-record-amr-audio-format-on-the-iphone

of PCM AMR Format Sampling Frequency 8 kHz 13 bit 160 samples for 20 ms frames filtered to 200 3400 Hz eight source codecs 12.2 1.2 7.95 7.40 6.70 5.90 5.15 4.75 kbit s generated frame length 244 204 159 148 134 118 103 95 bits per frame format.. kLinearPCMFormatFlagIsPacked iphone ios core audio audio recording amr share improve this question AMR codec is NOT supported for encoding recording on the iPhone albeit it is supported for playback this is the reason the kAudioFormatAMR..

Encoding images to video with ffmpeg

http://stackoverflow.com/questions/3334939/encoding-images-to-video-with-ffmpeg

solution but its doesn't works the colors is not green but very strange so thats the code Register all formats and codecs av_register_all AVCodec codec AVCodecContext c NULL int i out_size size outbuf_size FILE f AVFrame picture uint8_t outbuf.. the colors is not green but very strange so thats the code Register all formats and codecs av_register_all AVCodec codec AVCodecContext c NULL int i out_size size outbuf_size FILE f AVFrame picture uint8_t outbuf printf Video encoding n find.. i out_size size outbuf_size FILE f AVFrame picture uint8_t outbuf printf Video encoding n find the mpeg video encoder codec avcodec_find_encoder CODEC_ID_MPEG2VIDEO if codec fprintf stderr codec not found n exit 1 c avcodec_alloc_context picture..

Which audio format can be recorded and played back by iPhone and Android?

http://stackoverflow.com/questions/5083958/which-audio-format-can-be-recorded-and-played-back-by-iphone-and-android

can be played back on both platforms as well as hopefully any other smartphone. Right now I'm using .caf with the iLBC codec as I know the iPhone does not encode mp3. Is there a file format codec that I should use in this case android iphone codec.. Right now I'm using .caf with the iLBC codec as I know the iPhone does not encode mp3. Is there a file format codec that I should use in this case android iphone codec share improve this question It used to be that there were no common.. as I know the iPhone does not encode mp3. Is there a file format codec that I should use in this case android iphone codec share improve this question It used to be that there were no common audio encoding formats for Android and iPhone. iPhone..

About AMR audio file playing issue on different devices

http://stackoverflow.com/questions/6758167/about-amr-audio-file-playing-issue-on-different-devices

also some other parameters as following private AudioEncoder public static final int DEFAULT 0 AMR Narrowband audio codec public static final int AMR_NB 1 @hide AMR Wideband audio codec public static final int AMR_WB 2 @hide AAC audio codec public.. public static final int DEFAULT 0 AMR Narrowband audio codec public static final int AMR_NB 1 @hide AMR Wideband audio codec public static final int AMR_WB 2 @hide AAC audio codec public static final int AAC 3 @hide enhanced AAC audio codec public.. codec public static final int AMR_NB 1 @hide AMR Wideband audio codec public static final int AMR_WB 2 @hide AAC audio codec public static final int AAC 3 @hide enhanced AAC audio codec public static final int AAC_PLUS 4 @hide enhanced AAC plus..

Convert M4a to Mp3

http://stackoverflow.com/questions/7027696/convert-m4a-to-mp3

the m4a file to nsdata iphone objective c share improve this question You can try to use CoreAudio and LAME codec this isn't included in iOS for license reasons some example of converting audio types via CoreAudio http developer.apple.com..

ExtAudioFileWrite to m4a/aac failing on dual-core devices (ipad 2, iphone 4s)

http://stackoverflow.com/questions/8719865/extaudiofilewrite-to-m4a-aac-failing-on-dual-core-devices-ipad-2-iphone-4s

. The fix I eventually found was to set the Codec Manufacturer to software instead of hardware. So place UInt32 codecManf kAppleSoftwareAudioCodecManufacturer ExtAudioFileSetProperty FileToWrite kExtAudioFileProperty_CodecManufacturer sizeof.. ExtAudioFileSetProperty FileToWrite kExtAudioFileProperty_CodecManufacturer sizeof UInt32 codecManf just before you set the client data format. This would lead me to believe that Apple's hardware codecs can only support.. UInt32 codecManf just before you set the client data format. This would lead me to believe that Apple's hardware codecs can only support very specific encoding but the software codecs can more reliably do what you want. In my case the software..