[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:45:00 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
-------------------------------------+-------------------------------------

Comment (by ronag):

 How do I modify the description?

 Here are two logs that should be valid and have the problem.

 M:\_media>ffmpeg -i wipe.mov -vcodec qtrle -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
 File 'wipe2.mov' already exists. Overwrite ? [y/N] y
 w:720 h:576 pixfmt:bgra tb:1/1000000 sar:512/351 sws_param:flags=2
 [yadif @ 0000000001e032b0] mode:1 parity:-1 auto_enable:0
 [yadif @ 0000000001e032b0] auto-inserting filter 'auto-inserted scale 0'
 between
  the filter 'src' and the filter 'Parsed_yadif_0'
 [scale @ 0000000001e03500] w:720 h:576 fmt:bgra sar:512/351 -> w:720 h:576
 fmt:g
 ray sar:512/351 flags:0x4
 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: qtrle (rle  / 0x20656C72), gray, 720x576 [SAR
 512:3
 51 DAR 640:351], q=2-31, 200 kb/s, 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 -> qtrle)
   Stream #0:1 -> #0:1 (pcm_s16be -> libvo_aacenc)
 Press [q] to stop, [?] for help
 Input stream #0:1 frame changed from rate:48000 fmt:s16 ch:2 chl:0x0 to
 rate:480
 00 fmt:s16 ch:2 chl:0x3
 frame=   32 fps=0.0 q=0.0 Lsize=     736kB time=00:00:01.24
 bitrate=4837.0kbits/
 s dup=0 drop=28
 video:714kB audio:20kB global headers:0kB muxing overhead 0.280581%

 -------------------------------------------------------------------------


 M:\_media>ffmpeg -i wipe.mov -vcodec ffv1 -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
 File 'wipe2.mov' already exists. Overwrite ? [y/N] y
 w:720 h:576 pixfmt:bgra tb:1/1000000 sar:512/351 sws_param:flags=2
 [yadif @ 0000000001e7e790] mode:1 parity:-1 auto_enable:0
 [yadif @ 0000000001e7e790] auto-inserting filter 'auto-inserted scale 0'
 between
  the filter 'src' and the filter 'Parsed_yadif_0'
 [scale @ 0000000001e7e9e0] w:720 h:576 fmt:bgra sar:512/351 -> w:720 h:576
 fmt:y
 uv420p sar:512/351 flags:0x4
 Guessed Channel Layout for  Input Stream #0.1 : stereo
 [mov @ 0000000001e210d0] Using MS style video codec tag, the file may be
 unplaya
 ble!
 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: ffv1, yuv420p, 720x576 [SAR 512:351 DAR
 640:351], q
 =2-31, 200 kb/s, 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 -> ffv1)
   Stream #0:1 -> #0:1 (pcm_s16be -> libvo_aacenc)
 Press [q] to stop, [?] for help
 Input stream #0:1 frame changed from rate:48000 fmt:s16 ch:2 chl:0x0 to
 rate:480
 00 fmt:s16 ch:2 chl:0x3
 frame=   32 fps=0.0 q=0.0 Lsize=     131kB time=00:00:01.24 bitrate=
 861.3kbits/
 s dup=0 drop=28
 video:109kB audio:20kB global headers:0kB muxing overhead 1.596373%

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1280#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list