AnsweredAssumed Answered

Why my ffplay(ffmpeg+sdl2)  shows nothing but a black playing window while playing on imx6q?

Question asked by qian jialin on Aug 7, 2017
Latest reply on Aug 8, 2017 by igorpadykov

I recently cross-compiled ffmpeg+SDL2 using configure as follows:


./configure --cross-prefix=arm-poky-linux-gnueabi- --enable-ffplay --enable-ffmpeg --enable-cross-compile --target-os=linux --cc=arm-poky-linux-gnueabi-gcc --arch=arm --prefix=/home/h3c/limingzhe/ffmpeg  --extra-cflags="-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=$SDKTARGETSYSROOT -I/home/h3c/limingzhe/include/SDL2 " --extra-ldflags="--sysroot=$SDKTARGETSYSROOT -L/home/h3c/limingzhe/lib "  --enable-shared --extra-libs=-lSDL2





./configure --prefix=/home/h3c/limingzhe --target=arm-poky-linux-gnueabi --host=arm-poky-linux-gnueabi --build=x86_64-linux --disable-video-vivante --enable-static --disable-esd



Of course I set up compile environment using given toolchain : environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi


I am sure of there is nothing wrong with this compile.


But when I play a video file it shows nothing but a black playing window ...


Look at this :


It shows that it is playing the video file ,but i only can see a black window coming out .

Is there something wrong with my SDL2 ?OR the error shows above ?

I hope somebody can help me to deal with that ,it really matters!!!!!!