[FFmpeg-trac] #1280(undetermined:new): Loss of alpha with yadif filter (bgra->yuv420 conv inserted instead of bgra->yuva420p)
FFmpeg
trac at avcodec.org
Mon May 7 08:01:21 CEST 2012
#1280: Loss of alpha with yadif filter (bgra->yuv420 conv inserted instead of
bgra->yuva420p)
-------------------------------------+-------------------------------------
Reporter: ronag | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: lavfi | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Description changed by cehoyos:
Old description:
> M:\_media>ffmpeg -i wipe.mov -vf yadif=1:-1 wipe2.mov
> ffmpeg version N-40301-gc1fe2db Copyright (c) 2000-2012 the FFmpeg
> developers
> built on May 3 2012 11:44:06 with gcc 4.6.3
> configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-ru
> ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
> --enable-libass
> --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable
> -libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut
> --enable-libope
> njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex
> --enable-libth
> eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
> --enable-
> libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
> libxvid --e
> nable-zlib
> libavutil 51. 49.100 / 51. 49.100
> libavcodec 54. 17.101 / 54. 17.101
> libavformat 54. 3.100 / 54. 3.100
> libavdevice 53. 4.100 / 53. 4.100
> libavfilter 2. 72.104 / 2. 72.104
> libswscale 2. 1.100 / 2. 1.100
> libswresample 0. 11.100 / 0. 11.100
> libpostproc 52. 0.100 / 52. 0.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'wipe.mov':
> Metadata:
> major_brand : qt
> minor_version : 537199360
> compatible_brands: qt
> creation_time : 2010-10-19 15:24:10
> Duration: 00:00:01.24, start: 0.000000, bitrate: 8185 kb/s
> Stream #0:0(eng): Video: qtrle (rle / 0x20656C72), bgra, 720x576,
> 6485 kb/s
> , SAR 512:351 DAR 640:351, 25 fps, 25 tbr, 25 tbn, 25 tbc
> Metadata:
> creation_time : 2010-10-19 15:24:10
> handler_name : Apples aliasdatahanterare
> Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2
> channels
> , s16, 1536 kb/s
> Metadata:
> creation_time : 2010-10-19 15:24:10
> handler_name : Apples aliasdatahanterare
> [buffer @ 0000000001e7ae70] w:720 h:576 pixfmt:bgra tb:1/1000000
> sar:512/351 sws
> _param:flags=2
> [yadif @ 0000000001e7af30] mode:1 parity:-1 auto_enable:0
> [yadif @ 0000000001e7af30] auto-inserting filter 'auto-inserted scale 0'
> between
> the filter 'src' and the filter 'Parsed_yadif_0'
> [scale @ 0000000001e7af90] w:720 h:576 '''fmt:bgra sar:512/351 -> w:720
> h:576 fmt:y
> uv420p''' sar:512/351 flags:0x4
> [libx264 @ 0000000001ec9d20] using SAR=512/351
> [libx264 @ 0000000001ec9d20] using cpu capabilities: MMX2 SSE2Fast SSSE3
> FastShu
> ffle SSE4.2 AVX
> [libx264 @ 0000000001ec9d20] profile High, level 3.0
> [libx264 @ 0000000001ec9d20] 264 - core 120 r2164 da19765 - H.264/MPEG-4
> AVC cod
> ec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options:
> cabac=1 r
> ef=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_pski
> p=1 chroma_qp_offset=-2 threads=12 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 di
> rect=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
> 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
> Guessed Channel Layout for Input Stream #0.1 : stereo
> strptime() unavailable on this system, cannot convert the date string.
> Output #0, mov, to 'wipe2.mov':
> Metadata:
> major_brand : qt
> minor_version : 537199360
> compatible_brands: qt
> creation_time : 2010-10-19 15:24:10
> encoder : Lavf54.3.100
> Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x576
> [SAR 512
> :351 DAR 640:351], q=-1--1, 25 tbn, 25 tbc
> Metadata:
> creation_time : 2010-10-19 15:24:10
> handler_name : Apples aliasdatahanterare
> Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo,
> s16, 128
> kb/s
> Metadata:
> creation_time : 2010-10-19 15:24:10
> handler_name : Apples aliasdatahanterare
> Stream mapping:
> Stream #0:0 -> #0:0 (qtrle -> libx264)
> Stream #0:1 -> #0:1 (pcm_s16be -> libvo_aacenc)
New description:
{{{
M:\_media>ffmpeg -i wipe.mov -vf yadif=1:-1 wipe2.mov
ffmpeg version N-40301-gc1fe2db Copyright (c) 2000-2012 the FFmpeg
developers
built on May 3 2012 11:44:06 with gcc 4.6.3
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-
libass
--enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-
libope
njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex
--enable-libth
eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --e
nable-zlib
libavutil 51. 49.100 / 51. 49.100
libavcodec 54. 17.101 / 54. 17.101
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 72.104 / 2. 72.104
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'wipe.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2010-10-19 15:24:10
Duration: 00:00:01.24, start: 0.000000, bitrate: 8185 kb/s
Stream #0:0(eng): Video: qtrle (rle / 0x20656C72), bgra, 720x576,
6485 kb/s
, SAR 512:351 DAR 640:351, 25 fps, 25 tbr, 25 tbn, 25 tbc
Metadata:
creation_time : 2010-10-19 15:24:10
handler_name : Apples aliasdatahanterare
Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2
channels
, s16, 1536 kb/s
Metadata:
creation_time : 2010-10-19 15:24:10
handler_name : Apples aliasdatahanterare
[buffer @ 0000000001e7ae70] w:720 h:576 pixfmt:bgra tb:1/1000000
sar:512/351 sws
_param:flags=2
[yadif @ 0000000001e7af30] mode:1 parity:-1 auto_enable:0
[yadif @ 0000000001e7af30] auto-inserting filter 'auto-inserted scale 0'
between
the filter 'src' and the filter 'Parsed_yadif_0'
[scale @ 0000000001e7af90] w:720 h:576 '''fmt:bgra sar:512/351 -> w:720
h:576 fmt:y
uv420p''' sar:512/351 flags:0x4
[libx264 @ 0000000001ec9d20] using SAR=512/351
[libx264 @ 0000000001ec9d20] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShu
ffle SSE4.2 AVX
[libx264 @ 0000000001ec9d20] profile High, level 3.0
[libx264 @ 0000000001ec9d20] 264 - core 120 r2164 da19765 - H.264/MPEG-4
AVC cod
ec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options:
cabac=1 r
ef=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_pski
p=1 chroma_qp_offset=-2 threads=12 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 di
rect=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 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
Guessed Channel Layout for Input Stream #0.1 : stereo
strptime() unavailable on this system, cannot convert the date string.
Output #0, mov, to 'wipe2.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2010-10-19 15:24:10
encoder : Lavf54.3.100
Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 720x576
[SAR 512
:351 DAR 640:351], q=-1--1, 25 tbn, 25 tbc
Metadata:
creation_time : 2010-10-19 15:24:10
handler_name : Apples aliasdatahanterare
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo,
s16, 128
kb/s
Metadata:
creation_time : 2010-10-19 15:24:10
handler_name : Apples aliasdatahanterare
Stream mapping:
Stream #0:0 -> #0:0 (qtrle -> libx264)
Stream #0:1 -> #0:1 (pcm_s16be -> libvo_aacenc)
}}}
--
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1280#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list