[Libav-user] Converting yuvj420p to AV_PIX_FMT_BGRA‏‏

Carl Eugen Hoyos cehoyos at ag.or.at
Tue May 10 16:45:23 CEST 2016


C Lai <for_rmcer at ...> writes:

> When the streaming is coming in as 320X240, it converts to 
> AV_PIX_FMT_BGRA without problems.  However, if it is coming 
> in as 432x240, the converted image is full of white, gray, 
> and black slanted horizontal lines.

Either linesize or width is incorrectly set.

> configuration: --enable-cross-compile 
> --cross-prefix=arm-unknown-nto-qnx6.6.0eabi-
> --arch=armv7 --disable-debug --enable-optimizations --enable-asm 
> --enable-avresample --disable-static --enable-shared 
> --enable-memalign-hack --target-os=qnx --enable-gpl 
> --enable-version3 --enable-bzlib --disable-ffserver 
> --disable-ffprobe prefix=/home/build/Desktop/ffmpeg-3.0.2/target

Unrelated:
The following options have no effect, I suggest you remove them:
-enable-optimizations --enable-asm --enable-bzlib

--enable-memalign-hack should be unneeded.

Carl Eugen


More information about the Libav-user mailing list