[FFmpeg-trac] #5042(avcodec:new): Bad_access while decoding camera stream video frame using FFMpeg iOS
FFmpeg
trac at avcodec.org
Fri Nov 27 07:45:20 CET 2015
#5042: Bad_access while decoding camera stream video frame using FFMpeg iOS
----------------------------------+--------------------------------------
Reporter: irfangul | Type: defect
Status: new | Priority: critical
Component: avcodec | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 1 |
----------------------------------+--------------------------------------
Summary of the bug:
I have an app, In which I am decoding video frames coming from ip camera,
but the method avcodec_decode_video2(m_pCodecCtx, m_pFrame,
&consumed_bytes, &avpkt); present in avcodec.h/ avcodec.a generating
bad_access.
I am using static libraries generated using the script
https://github.com/kewlbear/FFmpeg-iOS-build-script
Libraries can be found here: https://downloads.sourceforge.net/project
/ffmpeg-ios/ffmpeg-ios-master.tar.bz2, I can't figure out what is wrong.
How to reproduce:
open stream from camera , This issue was reported by someone else earlier
Ticket# 3374 but marked close due to lack of information.
logs and back trace can be found here:
http://stackoverflow.com/questions/33941165/error-while-decoding-camera-
stream-video-frame-using-ffmpeg-ios. You can see in snapshot Thread# 27
backtrace the last clue is point to ff_h264_decode_nal .
I am using latest static libraries build on FFmpeg 2.8.2 .
built on Xcode 6.4+ with arm64 support for iOS static library using the
script https://github.com/kewlbear/FFmpeg-iOS-build-script...
Let me know If you want something else.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5042>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list