avassetreader Questions
2
I am using AVFoundation to record audio with the setting below.
After recording successfully, I need to show the waveform of the recorded file to the user. Can anyone help me with this task?
Here ...
Poirier asked 11/1, 2019 at 18:43
1
Solved
I have a sample project for resizing videos that works well for most videos. However, AVAssetWriter fails to write the audio from specific videos with the error:
Error Domain=AVFoundationErrorDomai...
Reest asked 9/10, 2020 at 4:4
1
Solved
Scenario:
I am writing an iOS app to try decode a videoFile.mp4. I am using AVAssetReaderTrackOutput with AVAssetReader to decode frames from the video file. This works very well. I get each & ...
Donnelly asked 28/1, 2018 at 11:45
2
Problem
I am looking to extract sample-accurate ranges of LPCM audio from audio tracks within video files. Currently, I'm looking to achieve this using AVAssetReaderTrackOutput against an AVAssetTr...
Keelin asked 6/11, 2017 at 2:50
1
I'm working to convert to Swift this code which helps get me get audio data for visualizations. The code I'm working with in Obj C, which works well, is:
while (reader.status == AVAssetReaderStat...
Tabbitha asked 26/7, 2015 at 22:14
3
We are trying to understand how to control/specify the frame rate for videos that we are encoding with AVAssetReader and AVAssetWriter. Specifically, we are are using AVAssetReader and AVAssetWrite...
Hobbism asked 4/6, 2013 at 6:21
4
Solved
After implementing the solution to encoding video (with audio) in this question, Video Encoding using AVAssetWriter - CRASHES, I found that the code works correctly in the iPhone Simulator. Unfortu...
Mucosa asked 28/11, 2013 at 18:24
2
Solved
Can't continue reading from AVAssetReaderOutput after going to background and back to foreground
I'm using an AVAssetReaderOutput to read samples from an AVAsset, do some processing on them, and play the result using a RemoteIO AU.
The problem is that after calling AudioOutputUnitStop to paus...
Barefoot asked 31/3, 2013 at 13:16
3
Solved
I have built some code to process video files on OSX, frame by frame. The following is an extract from the code which builds OK, opens the file, locates the video track (only track) and starts read...
Alisonalissa asked 31/5, 2013 at 15:40
1
Solved
I'm trying to convert an example from Bob McCune's Learning AVFoundation book and having some issues using AVAssetReader and NSInputStream. The graph should be a pure sine wave but the values seem ...
Jordaens asked 21/8, 2015 at 20:43
1
I tried to make video in reverse. While playing asset in AVPlayer i set the rate = -1 to make it work in reverse format. But how to export that video? I looked into docs. read about avassetwrite, s...
Legato asked 8/12, 2014 at 17:53
1
How to choose the a pixel format type (kCVPixelBufferPixelFormatTypeKey) for use with AVAssetReader?
We are using AVAssetReader and AVAssetWriter somewhat in the style as noted in Video Encoding using AVAssetWriter - CRASHES basically to read a video what we got from the photo gallery / asset libr...
Mortie asked 7/1, 2013 at 7:41
2
Solved
I need to reproduce a video indefinitely (restarting the video when it ends) in my OpenGL application.
To do so I'm trying to utilize AV foundation.
I created an AVAssetReader and an AVAssetReader...
Antigua asked 29/3, 2013 at 16:41
1
Solved
I'm making something like streaming the audio from iPod library, send the data via network or bluetooth, and playback using audio queue.
Thanks for this question and code. Help me a lot.
I have t...
Ribbing asked 4/2, 2013 at 13:38
1
So I am faced with a very weird and strange problem and was wondering if anyone else has come across this issue. I am grabbing the raw data from MPMediaItem from the phones music library and then s...
Voigt asked 11/5, 2012 at 4:56
3
Solved
How to correctly read decoded PCM samples on iOS using AVAssetReader -- currently incorrect decoding
I am currently working on an application as part of my Bachelor in Computer Science. The application will correlate data from the iPhone hardware (accelerometer, gps) and music that is being played...
Ellary asked 20/2, 2012 at 16:3
1
Solved
I'm trying to take a local m4a or mp3 file and compress/down-sample this file (for the purposes of making a smaller file).
Originally, I was using the AVAssetExportSession to export an AVAsset to...
Synge asked 24/10, 2012 at 20:14
2
Solved
Currently, I'm doing a little test project to see if I can get samples from an AVAssetReader to play back using an AudioQueue on iOS.
I've read this:
( Play raw uncompressed sound with AudioQueue,...
Piloting asked 9/7, 2012 at 16:9
1
Solved
I have a function that is supposed to re-encode a video to a manageable bitrate on iphone/ipad. Here it is: *UPDATED WORKING CODE, NOW WITH AUDIO! :) *
-(void)resizeVideo:(NSString*)pathy{
NSStr...
Geneviegenevieve asked 19/11, 2011 at 4:11
1
Solved
I'm trying to play a video (MP4/H.263) on iOS, but getting really fuzzy results.
Here's the code to initialize the asset reading:
mTextureHandle = [self createTexture:CGSizeMake(400,400)];
NSURL ...
Superconductivity asked 1/10, 2011 at 13:23
2
How do you read samples via AVAssetReader? I've found examples of duplicating or mixing using AVAssetReader, but those loops are always controlled by the AVAssetWriter loop. Is it possible just to ...
Pfennig asked 29/10, 2010 at 5:23
1
© 2022 - 2024 — McMap. All rights reserved.