MJPEG格式和码流分析,MJPEG格式的一些简介

FFmpeg解码USB摄像头MJPEG输出:http://blog.csdn.net/light_in_dark/article/details/56276799?locationNum=14&fps=1

问题1.所有库都已经加载进来,但编译的时候总出现链接错误(av_log_set_callback)

解决1.重新调整了include顺序,va_list可能在某些地方被定义过

----------------------------------------
signal (SIGSEGV), code (SEGV_ACCERR), fault addr 0x9f9fb008 I/DEBUG ( ): # pc 009882b0
lib/arm/libUsbCamera.so (I422ToARGBRow_NEON+)
I/DEBUG ( ): # pc 0097962b
lib/arm/libUsbCamera.so
I/DEBUG ( ): # pc 009796cf
lib/arm/libUsbCamera.so (J422ToARGB+)
----------------------------------------
LIBYUV_API
int J422ToABGR(const uint8* src_y,
int src_stride_y,
const uint8* src_u,
int src_stride_u,
const uint8* src_v,
int src_stride_v,
uint8* dst_abgr,
int dst_stride_abgr, // 每行长度,width * 4
int width,
int height);
Neon指令集,内存对齐 | (int *) (((int) buffer + 0xF) & (~0xF)) | buffer = (int *) malloc(area * 4 + 15);
----------------------------------------------
F/libc (): Fatal signal (SIGSEGV), code , fault addr 0x40 in tid (Thread-)
I/DEBUG ( ): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( ): Build fingerprint: 'Android/rk3288_box/rk3288_box:5.1.1/LMY49F/ruanjg12011055:userdebug/test-keys'
I/DEBUG ( ): Revision: ''
I/DEBUG ( ): ABI: 'arm'
I/DEBUG ( ): pid: , tid: , name: Thread-
I/DEBUG ( ): signal (SIGSEGV), code (SEGV_MAPERR), fault addr 0x40
I/DEBUG ( ): r0 r1 b7e444b0 r2 r3 fedf9b6c
I/DEBUG ( ): r4 b6debdd4 r5 b7e444b0 r6 r7 a2771800
I/DEBUG ( ): r8 b7de5878 r9 sl fedf9b6c fp a2771bd0
I/DEBUG ( ): ip a0776c58 sp a2771738 lr 9fd8731c pc 9fd8620c cpsr 800f0010
I/DEBUG ( ):
I/DEBUG ( ): backtrace:
I/DEBUG ( ): # pc 0046620c (avcodec_is_open)
05-04 05:05