[FFmpeg-trac] #4746(swscale:reopened): prores alpha blending results in opaque rectangle
FFmpeg
trac at avcodec.org
Mon Aug 24 14:02:24 CEST 2015
#4746: prores alpha blending results in opaque rectangle
-------------------------------------+-------------------------------------
Reporter: | Owner:
projectsymphony | Status: reopened
Type: defect | Component: swscale
Priority: normal | Resolution:
Version: git-master | Blocked By:
Keywords: prores | Reproduced by developer: 0
alpha |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by projectsymphony):
* status: closed => reopened
* resolution: fixed =>
Comment:
still happens to me
{{{
$ ./ffmpeg -i ./proresalphablock.mov -pix_fmt yuv420p output.mp4
ffmpeg version N-74624-gfd2977d Copyright (c) 2000-2015 the FFmpeg
developers
built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM
3.5svn)
configuration: --cc=clang --enable-debug --disable-optimizations
--disable-yasm --disable-asm --enable-libfdk-aac --enable-version3
--enable-nonfree --enable-gpl --disable-doc --enable-libmp3lame --enable-
openssl --enable-libfreetype --enable-avresample --enable-libopenjpeg
--enable-libx264
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 58.100 / 56. 58.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 37.100 / 5. 37.100
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './proresalphablock.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
creation_time : 2015-07-09 05:29:21
encoder : Lavf56.21.0
Duration: 00:00:09.43, start: 0.031833, bitrate: 13066 kb/s
Stream #0:0(eng): Video: prores (ap4h / 0x68347061), yuva444p10le,
1920x1080, 13066 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
Metadata:
creation_time : 2015-07-09 05:29:21
handler_name : DataHandler
encoder : Apple ProRes 4444
[libx264 @ 0x7fe545003600] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7fe545003600] profile High, level 4.0
[libx264 @ 0x7fe545003600] 264 - core 148 r2538+33M bff0ecd - H.264/MPEG-4
AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html -
options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7
psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12
lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23
scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'output.mp4':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf56.40.101
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021),
yuv420p, 1920x1080, q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc (default)
Metadata:
creation_time : 2015-07-09 05:29:21
handler_name : DataHandler
encoder : Lavc56.58.100 libx264
Stream mapping:
Stream #0:0 -> #0:0 (prores (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame= 61 fps=8.7 q=28.0 size= 15kB time=00:00:00.12
bitrate=1006.3kbits/frame= 66 fps=8.6 q=28.0 size= 16kB
time=00:00:00.33 bitrate= 385.8kbits/frame= 71 fps=8.6 q=28.0 size=
16kB time=00:00:00.54 bitrate= 242.7kbits/frame= 76 fps=8.6 q=28.0 size=
16kB time=00:00:00.75 bitrate= 179.1kbits/frame= 81 fps=8.6 q=28.0 size=
17kB time=00:00:00.95 bitrate= 143.1kbits/frame= 86 fps=8.6 q=28.0 size=
17kB time=00:00:01.16 bitrate= 119.9kbits/frame= 91 fps=8.6 q=28.0 size=
17kB time=00:00:01.37 bitrate= 103.8kbits/frame= 96 fps=8.6 q=28.0 size=
18kB time=00:00:01.58 bitrate= 92.0kbits/frame= 101 fps=8.6 q=28.0 size=
18kB time=00:00:01.79 bitrate= 82.8kbits/frame= 106 fps=8.6 q=28.0 size=
29kB time=00:00:02.00 bitrate= 119.4kbits/frame= 111 fps=8.6 q=28.0 size=
33kB time=00:00:02.21 bitrate= 121.1kbits/frame= 116 fps=8.6 q=28.0 size=
37kB time=00:00:02.41 bitrate= 124.7kbits/frame= 121 fps=8.6 q=28.0 size=
46kB time=00:00:02.62 bitrate= 141.9kbits/frame= 126 fps=8.6 q=28.0 size=
55kB time=00:00:02.83 bitrate= 158.7kbits/frame= 131 fps=8.6 q=28.0 size=
56kB time=00:00:03.04 bitrate= 149.6kbits/frame= 136 fps=8.6 q=28.0 size=
56kB time=00:00:03.25 bitrate= 141.5kbits/frame= 141 fps=8.6 q=28.0 size=
57kB time=00:00:03.46 bitrate= 134.2kbits/frame= 146 fps=8.6 q=28.0 size=
57kB time=00:00:03.67 bitrate= 127.8kbits/frame= 151 fps=8.6 q=28.0 size=
58kB time=00:00:03.87 bitrate= 122.0kbits/frame= 156 fps=8.6 q=28.0 size=
59kB time=00:00:04.08 bitrate= 117.3kbits/frame= 161 fps=8.6 q=28.0 size=
59kB time=00:00:04.29 bitrate= 112.3kbits/frame= 166 fps=8.6 q=28.0 size=
59kB time=00:00:04.50 bitrate= 107.8kbits/frame= 171 fps=8.6 q=28.0 size=
60kB time=00:00:04.71 bitrate= 103.7kbits/frame= 176 fps=8.6 q=28.0 size=
60kB time=00:00:04.92 bitrate= 100.0kbits/frame= 181 fps=8.6 q=28.0 size=
60kB time=00:00:05.13 bitrate= 96.5kbits/frame= 186 fps=8.6 q=28.0 size=
61kB time=00:00:05.33 bitrate= 93.3kbits/frame= 191 fps=8.6 q=28.0 size=
61kB time=00:00:05.54 bitrate= 90.3kbits/frame= 196 fps=8.6 q=28.0 size=
62kB time=00:00:05.75 bitrate= 87.6kbits/frame= 201 fps=8.6 q=28.0 size=
62kB time=00:00:05.96 bitrate= 85.1kbits/frame= 206 fps=8.6 q=28.0 size=
62kB time=00:00:06.17 bitrate= 82.7kbits/frame= 211 fps=8.6 q=28.0 size=
63kB time=00:00:06.38 bitrate= 80.5kbits/frame= 216 fps=8.6 q=28.0 size=
63kB time=00:00:06.58 bitrate= 78.4kbits/frame= 221 fps=8.6 q=28.0 size=
63kB time=00:00:06.79 bitrate= 76.5kbits/frame= 227 fps=8.6 q=28.0 size=
64kB time=00:00:07.04 bitrate= 74.3kbits/frame= 227 fps=8.5 q=-1.0
Lsize= 71kB time=00:00:09.38 bitrate= 62.2kbits/s dup=1 drop=0
video:68kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 5.050767%
[libx264 @ 0x7fe545003600] frame I:2 Avg QP:13.24 size: 7718
[libx264 @ 0x7fe545003600] frame P:64 Avg QP:10.83 size: 549
[libx264 @ 0x7fe545003600] frame B:161 Avg QP:12.87 size: 113
[libx264 @ 0x7fe545003600] consecutive B-frames: 4.8% 1.8% 0.0% 93.4%
[libx264 @ 0x7fe545003600] mb I I16..4: 42.0% 55.8% 2.3%
[libx264 @ 0x7fe545003600] mb P I16..4: 0.4% 0.3% 0.0% P16..4: 0.6%
0.1% 0.0% 0.0% 0.0% skip:98.6%
[libx264 @ 0x7fe545003600] mb B I16..4: 0.1% 0.1% 0.0% B16..8: 0.3%
0.0% 0.0% direct: 0.0% skip:99.5% L0:63.4% L1:36.2% BI: 0.4%
[libx264 @ 0x7fe545003600] 8x8 transform intra:53.1% inter:46.6%
[libx264 @ 0x7fe545003600] coded y,uvDC,uvAC intra: 6.9% 10.4% 0.0% inter:
0.1% 0.1% 0.0%
[libx264 @ 0x7fe545003600] i16 v,h,dc,p: 82% 14% 3% 1%
[libx264 @ 0x7fe545003600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 62% 11% 27% 0%
0% 0% 0% 0% 0%
[libx264 @ 0x7fe545003600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 42% 20% 19% 5%
3% 3% 3% 2% 2%
[libx264 @ 0x7fe545003600] i8c dc,h,v,p: 96% 2% 2% 0%
[libx264 @ 0x7fe545003600] Weighted P-Frames: Y:20.3% UV:1.6%
[libx264 @ 0x7fe545003600] ref P L0: 95.8% 3.5% 0.4% 0.2% 0.1%
[libx264 @ 0x7fe545003600] ref B L0: 27.6% 71.4% 1.0%
[libx264 @ 0x7fe545003600] kb/s:58.08
}}}
I get the white opaque rectangle where the transition should happen.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4746#comment:14>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list