[FFmpeg-trac] #3831(swscale:open): conversion to bgr8 does not work correctly for some resolutions (was: gif encoder uses uninitialized memory for some resolutions)
FFmpeg
trac at avcodec.org
Thu Aug 7 10:45:10 CEST 2014
#3831: conversion to bgr8 does not work correctly for some resolutions
-------------------------------------+-------------------------------------
Reporter: Chillance | Owner:
Type: defect | Status: open
Priority: important | Component: swscale
Version: git-master | Resolution:
Keywords: gif | Blocked By:
regression | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* keywords: gif => gif regression
* priority: normal => important
* component: avcodec => swscale
Comment:
Not gif related:
{{{
$ ffmpeg -i fate-suite/svq3/Vertical400kbit.sorenson3.mov -s 214x214
-qscale 2 -an out.mov
}}}
{{{
$ ffmpeg -i out.mov -pix_fmt bgr8 -f rawvideo out
ffmpeg version N-65368-g7c73d21 Copyright (c) 2000-2014 the FFmpeg
developers
built on Aug 7 2014 10:00:38 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 52. 98.100 / 52. 98.100
libavcodec 55. 73.100 / 55. 73.100
libavformat 55. 52.100 / 55. 52.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.102 / 4. 11.102
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
artist : Logan Kelsey
artist-eng : Logan Kelsey
title : Vertical Online SV3 Demo
title-eng : Vertical Online SV3 Demo
encoder : Lavf55.52.100
copyright : © Vertical Online 2001
copyright-eng : © Vertical Online 2001
Duration: 00:00:43.60, start: 0.000000, bitrate: 697 kb/s
Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
yuv420p, 214x214 [SAR 1:1 DAR 1:1], 696 kb/s, 30 fps, 30 tbr, 15360 tbn,
30 tbc (default)
Metadata:
handler_name : DataHandler
encoder : Lavc55.73.100 mpeg4
[swscaler @ 0x3361520] No accelerated colorspace conversion found from
yuv420p to bgr8.
Output #0, rawvideo, to 'out':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
artist : Logan Kelsey
artist-eng : Logan Kelsey
title : Vertical Online SV3 Demo
title-eng : Vertical Online SV3 Demo
copyright-eng : © Vertical Online 2001
copyright : © Vertical Online 2001
encoder : Lavf55.52.100
Stream #0:0(eng): Video: rawvideo (BGR[8] / 0x8524742), bgr8, 214x214
[SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc (default)
Metadata:
handler_name : DataHandler
encoder : Lavc55.73.100 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
frame= 1308 fps=0.0 q=0.0 Lsize= 58497kB time=00:00:43.60
bitrate=10991.0kbits/s
video:58497kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.000000%
}}}
Decoding the output file shows artefacts on the right border.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3831#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list