在使用ffplay xxx.mp4播放视频时,LCD上没有视频画面,就这样卡住了:
离线
在使用ffplay xxx.mp4播放视频时,LCD上没有视频画面,就这样卡住了:
https://whycan.cn/files/members/2437/123.png
什么提示信息都没有,不知道从何下手了,麻烦大家给点意见
离线
离线
试试这个
“export SDL_VIDEODRIVER=FBCON”
“export DISPLAY=:0.0”
最近编辑记录 checkout (2020-08-22 15:22:10)
离线
试试这个
“export SDL_VIDEODRIVER=FBCON”
“export DISPLAY=:0.0”
你好,声明了之后出现这个:
# ffplay jkl.mp4
ffplay version 4.2 Copyright (c) 2003-2019 the FFmpeg developers
built with gcc 8.3.0 (Buildroot 2019.08)
configuration: --enable-cross-compile --cross-prefix=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/bin/arm-buildroot-linux-uclibcgnueabi- --sysroot=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot --host-cc=/usr/bin/gcc --arch=arm --target-os=linux --disable-stripping --pkg-config=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/bin/pkg-config --disable-static --enable-shared --prefix=/usr --enable-avfilter --disable-version3 --enable-logging --enable-optimizations --disable-extra-warnings --enable-avdevice --enable-avcodec --enable-avformat --enable-network --disable-gray --enable-swscale-alpha --disable-small --enable-dct --enable-fft --enable-mdct --enable-rdft --disable-crystalhd --disable-dxva2 --enable-runtime-cpudetect --disable-hardcoded-tables --disable-mipsdsp --disable-mipsdspr2 --disable-msa --enable-hwaccels --disable-cuda --disable-cuvid --disable-nvenc --disable-avisynth --disable-frei0r --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libdc1394 --disable-libgsm --disable-libilbc --disable-libvo-amrwbenc --disable-symver --disable-doc --disable-gpl --disable-nonfree --enable-ffmpeg --enable-ffplay --disable-avresample --disable-ffprobe --disable-postproc --enable-swscale --enable-indevs --enable-alsa --enable-outdevs --enable-pthreads --enable-zlib --disable-bzlib --disable-libfdk-aac --disable-libcdio --disable-gnutls --enable-openssl --disable-libdrm --disable-libopenh264 --disable-vaapi --disable-vdpau --disable-mmal --disable-omx --disable-omx-rpi --disable-libopencv --disable-libopus --disable-libvpx --disable-libass --disable-libbluray --disable-libmfx --disable-librtmp --disable-libmp3lame --disable-libmodplug --disable-libspeex --disable-libtheora --disable-libwavpack --enable-iconv --disable-libfreetype --enable-fontconfig --enable-libopenjpeg --disable-libx264 --disable-libx265 --disable-x86asm --disable-mmx --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-avx --disable-avx2 --disable-armv6 --disable-armv6t2 --disable-vfp --disable-neon --disable-altivec --extra-libs=-latomic --enable-pic --cpu=arm926ej-s
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
Could not initialize SDL - FBCON not available
(Did you set the DISPLAY variable?)
离线
我看帖子里面有
export SDL_VIDEODRIVER=directfb这个,屏幕上面有一个小白点,其他的黑屏!!
这个白点好像是鼠标,能够随着鼠标运动!!!
最近编辑记录 jkl (2020-08-22 15:42:04)
离线
ffmpeg -i jkl.mp4 -pix_fmt bgra -f fbdev /dev/fb0
这个指令可以用,但是为什么ffplay xxx.mp4这个行不通呀???屏幕上面只有一个鼠标图标????
最近编辑记录 jkl (2020-08-22 16:30:02)
离线
离线
ffmpeg -i jkl.mp4 -pix_fmt bgra -f fbdev /dev/fb0
这个指令可以显示视频吗?
这个可以显示视频
离线
盲猜,试一试吧
ffplay jkl.mp4 -pix_fmt bgra -f fbdev /dev/fb0
哈哈,这个行不通,不知道ffplay这个问题出在哪里。
# ffplay jkl.mp4 -pixel_format bgra -f fbdev /dev/fb0
ffplay version 4.2 Copyright (c) 2003-2019 the FFmpeg developers
built with gcc 8.3.0 (Buildroot 2019.08)
configuration: --enable-cross-compile --cross-prefix=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/bin/arm-buildroot-linux-uclibcgnueabi- --sysroot=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot --host-cc=/usr/bin/gcc --arch=arm --target-os=linux --disable-stripping --pkg-config=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/bin/pkg-config --disable-static --enable-shared --prefix=/usr --enable-avfilter --disable-version3 --enable-logging --enable-optimizations --disable-extra-warnings --enable-avdevice --enable-avcodec --enable-avformat --enable-network --disable-gray --enable-swscale-alpha --disable-small --enable-dct --enable-fft --enable-mdct --enable-rdft --disable-crystalhd --disable-dxva2 --enable-runtime-cpudetect --disable-hardcoded-tables --disable-mipsdsp --disable-mipsdspr2 --disable-msa --enable-hwaccels --disable-cuda --disable-cuvid --disable-nvenc --disable-avisynth --disable-frei0r --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libdc1394 --disable-libgsm --disable-libilbc --disable-libvo-amrwbenc --disable-symver --disable-doc --disable-gpl --disable-nonfree --enable-ffmpeg --enable-ffplay --disable-avresample --disable-ffprobe --disable-postproc --enable-swscale --enable-indevs --enable-alsa --enable-outdevs --enable-pthreads --enable-zlib --disable-bzlib --disable-libfdk-aac --disable-libcdio --disable-gnutls --enable-openssl --disable-libdrm --disable-libopenh264 --disable-vaapi --disable-vdpau --disable-mmal --disable-omx --disable-omx-rpi --disable-libopencv --disable-libopus --disable-libvpx --disable-libass --disable-libbluray --disable-libmfx --disable-librtmp --disable-libmp3lame --disable-libmodplug --disable-libspeex --disable-libtheora --disable-libwavpack --enable-iconv --disable-libfreetype --enable-fontconfig --enable-libopenjpeg --disable-libx264 --disable-libx265 --disable-x86asm --disable-mmx --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-avx --disable-avx2 --disable-armv6 --disable-armv6t2 --disable-vfp --disable-neon --disable-altivec --extra-libs=-latomic --enable-pic --cpu=arm926ej-s
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
Argument '/dev/fb0' provided as input filename, but 'jkl.mp4' was already specified.
离线
离线
我看帖子里面有
export SDL_VIDEODRIVER=directfb这个,屏幕上面有一个小白点,其他的黑屏!!
https://whycan.cn/files/members/2437/sss.jpg
这个白点好像是鼠标,能够随着鼠标运动!!!
我现在跟你这个一样情况,请问解决了吗
离线