pgodino
pgodino
I solved this problem. Ass suggested here http://stackoverflow.com/questions/7620490/playing-video-on-ios-using-opengl-es I changed the line int bufferWidth = CVPixelBufferGetWidth(movieFrame); in GPUImageMovie.m / processMovieFrame with int bufferWidth = CVPixelBufferGetBytesPerRow(movieFrame) / 4; In this way...
Just a little update. The problem appeared only on the simulator. On real devices the original code works perfectly.
Yes it is correct. Anyway as I wrote, the problem is actually only on the simulator. On actual device your original code works fine (and mine does not work). So...
Yes really strange. Both with 5.1 included in XCode 4.4.1 and 6.0 included in XCode 4.5 beta 4. I thought that could be encoding problem but I use Apple Compressor...
As a workaround I put an [NSThread sleepForTimeInterval:1.0/((AVAssetTrack*)[[self.asset tracksWithMediaType:AVMediaTypeVideo] objectAtIndex:0]).nominalFrameRate]; on the while loop in GPUImageMovie.m / processAsset. For sure it is not the best solution but I tried also...
I'm trying to implement audio playing but I'm stuck. Since AVAssetReader reads both audio and video I thought to implement audio playing in this way: - add to AVAssetReader also...
OK I'm almost there. I'm using https://github.com/michaeltyson/TPCircularBuffer for the consumer/producer buffer for AVAssetReader and RemoteIO audio unit. I have still 2 problems: - I'm trying with an 8 secs video...
Actually I wasn't able to solve the two problems I wrote before so I took a completely different direction (I had quite short sequences so I play the image sequence...
Sorry if I did't answer before. I put the complete modified GPUImageMoview with the audio part. Here you have the link: https://gist.github.com/3819907 I hope it could be useful as a...