Opened 11 years ago

Closed 11 years ago

Last modified 2 years ago

#4683 closed defect (fixed)

mjpeg: 12bpp fix artefacts

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

Description

artefacts on the logo

C:\>ffmpeg -i 12bpp.jpg out.bmp
ffmpeg version N-73189-g7728d23 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
 --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
ble-decklink --enable-zlib
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 45.100 / 56. 45.100
  libavformat    56. 38.102 / 56. 38.102
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 18.100 /  5. 18.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, image2, from '12bpp.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: 65308 kb/s
    Stream #0:0: Video: mjpeg, gray16le(12 bpc, bt470bg/unknown/unknown), 999x74
9 [SAR 300:300 DAR 999:749], 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf56.38.102
    Stream #0:0: Video: bmp, gray, 999x749 [SAR 1:1 DAR 999:749], q=2-31, 200 kb
/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.45.100 bmp
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg (native) -> bmp (native))
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:732kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing o
verhead: unknown

Attachments (1)

12bpp.jpg (318.9 KB ) - added by ami_stuff 11 years ago.

Download all attachments as: .zip

Change History (7)

by ami_stuff, 11 years ago

Attachment: 12bpp.jpg added

comment:1 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavcodec
Keywords: mjpeg added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:2 by Michael Niedermayer, 11 years ago

Resolution: fixed
Status: openclosed

comment:3 by Christophe, 11 years ago

Can this sample be used as a fate sample? I mean, is it redistributable?

in reply to:  3 comment:4 by Carl Eugen Hoyos, 11 years ago

Replying to kurosu:

Can this sample be used as a fate sample?

I mean, is it redistributable?

FFmpeg (the project) currently distributes the sample: Does this answer your question?

Please note that a large number of the samples currently in fate are definitely not distributable.

comment:5 by Balling, 2 years ago

Improved in a8e2714d824552ed210118d1ce48c770db3d8c56 but as mentioned we need more tests and more samples.

Last edited 2 years ago by Balling (previous) (diff)

comment:6 by Balling, 2 years ago

Very nice improvement. Literally the evaluation version star got improved substantially (not everywhere, but...). Not to mention that some bytes that were pure white was not pure white before. LOL??!

Note: See TracTickets for help on using tickets.