ffplay不支持这么大的图片

来源:互联网 发布:apiv.2.0.js 编辑:程序博客网 时间:2024/04/28 12:28

 

root@zhangbin-laptop:/home/zhangbin/Documents/ffmpeg# ffplay /media/WinStore/IMG_0905.JPG

FFplay version SVN-r26402, Copyright (c) 2003-2011 the FFmpeg developers

  built on Feb 25 2011 00:37:27 with gcc 4.4.3

  configuration: --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libxvid --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-version3 --enable-libx264 --enable-postproc --enable-libvpx --enable-libvorbis

  libavutil     50.36. 0 / 50.36. 0

  libavcore      0.16. 1 /  0.16. 1

  libavcodec    52.108. 0 / 52.108. 0

  libavformat   52.93. 0 / 52.93. 0

  libavdevice   52. 2. 3 / 52. 2. 3

  libavfilter    1.74. 0 /  1.74. 0

  libswscale     0.12. 0 /  0.12. 0

  libpostproc   51. 2. 0 / 51. 2. 0

Input #0, image2, from '/media/WinStore/IMG_0905.JPG':

  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A

    Stream #0.0: Video: mjpeg, yuvj440p, 2112x2816, 25 tbr, 25 tbn, 25 tbc

[ffsink @ 0x96da100] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'

[scale @ 0x96d8280] w:2112 h:2816 fmt:yuvj440p -> w:2112 h:2816 fmt:yuv420p flags:0x4

Error: the video system does not support an image 0KB sq=    0B f=0/0   

size of 2112x2816 pixels. Try using -lowres or -vf "scale=w:h"

to reduce the image size.


好像是ffmpeg不支持这么大的图片
用-lowers 或者是 -vf “scale=w:h”来 减小图片的大小
图片

 

原创粉丝点击