Opened 7 years ago

Last modified 7 years ago

#3229 closed defect

ffplay shows bad images — at Initial Version

Reported by: hxuanyu Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: mjpeg
Cc: ami_stuff@o2.pl Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

used ffplay to play 2 videos (both MJPEG encoded AVI file, generated by same program).

While the video having relative low resolution plays correctly, the higher resolution one show bad images.

below is the output of bad file

$ ffplay.exe bad.avi
ffplay version N-58485-ga12b4bd Copyright (c) 2003-2013 the FFmpeg developers

built on Nov 26 2013 22:01:46 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 55.100 / 52. 55.100
libavcodec 55. 44.100 / 55. 44.100
libavformat 55. 21.102 / 55. 21.102
libavdevice 55. 5.101 / 55. 5.101
libavfilter 3. 91.100 / 3. 91.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100

[avi @ 04012d40] Stream #1: not enough frames to estimate rate; consider increasing probesize
Input #0, avi, from 'bad.avi':

Duration: 00:00:06.03, start: 0.000000, bitrate: 40053 kb/s

Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc), 468x312, 30 fps, 30 tbr, 30 tbn, 30 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s

[swscaler @ 040d66e0] deprecated pixel format used, make sure you did set range correctly

2.14 A-V: -0.023 fd= 0 aq= 24KB vq= 1767KB sq= 0B f=0/0
4.58 A-V: -0.024 fd= 0 aq= 20KB vq= 1753KB sq= 0B f=0/0

Samples files are here
https://dl.dropboxusercontent.com/u/89678527/good.avi
https://dl.dropboxusercontent.com/u/89678527/bad.avi

and please see attached screen shot

Change History (1)

Changed 7 years ago by hxuanyu

Note: See TracTickets for help on using tickets.