LightCompressor_iOS icon indicating copy to clipboard operation
LightCompressor_iOS copied to clipboard

Application getting crash at [AVAssetWriterInput appendSampleBuffer] apple framework gives suggestion to add kCMSampleBufferAttachmentKey_TrimDurationAtStart since the codec has encoder delay.

Open swapnil6137 opened this issue 4 years ago • 5 comments

Xcode suggestion and log :

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVAssetWriterInput appendSampleBuffer:] Cannot append sample buffer: First input buffer must have an appropriate kCMSampleBufferAttachmentKey_TrimDurationAtStart since the codec has encoder delay' terminating with uncaught exception of type NSException

The function called in the project:-

Screenshot 2021-12-25 at 3 04 08 PM

Crash Log :- Screenshot 2021-12-25 at 2 56 35 PM

Crash Log :- Screenshot 2021-12-25 at 2 56 14 PM

Line where crash occurring :- Screenshot 2021-12-25 at 2 53 28 PM

Screenshot 2021-12-25 at 3 02 56 PM

Please resolve asap.

swapnil6137 avatar Dec 25 '21 09:12 swapnil6137

Kindly remove this library from github, this is useless and time wasting to use the library full of bugs, this issue has been faced so many times.

Razanajam avatar Jun 22 '22 14:06 Razanajam

@swapnil6137 sorry you're facing this, we will release an update very soon to fix all the issue encountered, we're working on it at the moment

AbedElazizShe avatar Jun 25 '22 15:06 AbedElazizShe

@Razanajam write your own code, no one is forcing you to use this repo.

AbedElazizShe avatar Jun 25 '22 15:06 AbedElazizShe

Kindly remove this library from github, this is useless and time wasting to use the library full of bugs, this issue has been faced so many times.

@Razanajam

No one is forcing you to use this library.

Instead of appreciating the author, you are being disrespectful 😞 .

I have used this library and found it useful and did not encounter any issue. If you are having any issue then you should do R & D, fix the issue, and make a pull request so that others can also benefit.

And also, you should remove this comment of yours because it is not adding any value here.

Peace.

AwaisFayyaz avatar Nov 04 '22 06:11 AwaisFayyaz

In Low, Very_Low, medium, high in all method compress same?

krutikdobariya avatar Apr 17 '24 04:04 krutikdobariya