[libav-bugs] [Bug 727] New: The output video show a wrong alpha

bugzilla at libav.org bugzilla at libav.org
Fri Aug 8 12:53:07 CEST 2014


https://bugzilla.libav.org/show_bug.cgi?id=727

           Summary: The output video show a wrong alpha
           Product: Libav
           Version: git HEAD
          Platform: X86
        OS/Version: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: libavcodec
        AssignedTo: bugzilla at libav.org
        ReportedBy: j.sander at gmx.eu


Converting a TIFF Image (with alpha) to PRORES video pixel format yuva444p10le,
result a video where the alpha value overall 255 and not the value in input
picture. After export a single picture from this video alpha values are in
result picture coorrect.

Tested on Windows 8.1 64bit and OS X 10.9 64bit

avconv output log:


..\libav-win64-20140808\usr\bin>avconv -v 9 -loglevel 99 -i "O:\test.tif" -c:v
prores -pix_fmt
yuva444p10le -r 25 -y "E:\avconv.mov"
avconv version v11_dev0-1161-g5b220e1, Copyright (c) 2000-2014 the Libav
develop
ers
  built on Aug  8 2014 00:58:56 with gcc 4.8.2 (Gentoo 4.8.2 p1.3r1,
pie-0.5.8r1
)
  configuration: --enable-runtime-cpudetect --enable-cross-compile
--enable-w32t
hreads --prefix=/usr --cross-prefix=x86_64-w64-mingw32- --arch=x86_64
--target-o
s=mingw32 --sysroot=/usr/x86_64-w64-mingw32/ --enable-gpl --enable-version3
--en
able-memalign-hack --enable-shared --enable-libx264 --enable-libmp3lame
--enable
-libvorbis --enable-libvo-aacenc --enable-libvpx
  libavutil     53. 22. 0 / 53. 22. 0
  libavcodec    55. 57. 3 / 55. 57. 3
  libavformat   55. 21. 0 / 55. 21. 0
  libavdevice   54.  0. 0 / 54.  0. 0
  libavfilter    4.  5. 0 /  4.  5. 0
  libavresample  1.  3. 0 /  1.  3. 0
  libswscale     2.  1. 3 /  2.  1. 3
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set libav* logging level) with
ar
gument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging
level) with argument '99'.
Reading option '-i' ... matched as input file with argument 'O:\test.tif'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument
'pror
es'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format)
wit
h argument 'yuva444p10le'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value,
fractio
n or abbreviation)) with argument '25'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with
argu
ment '1'.
Reading option 'E:\avconv.mov' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set libav* logging level) with argument 9.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file O:\test.tif.
Successfully parsed a group of options.
Opening an input file: O:\test.tif.
[image2 @ 0000000001d8af00] Probe buffer size limit 5000000 reached
Input #0, image2, from 'O:\test.tif':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0.0, 1, 1/25: Video: tiff, rgba, 1920x1080, 0/1, 25 tbn
Successfully opened the file.
Parsing a group of options: output file E:\avconv.mov.
Applying option c:v (codec name) with argument prores.
Applying option pix_fmt (set pixel format) with argument yuva444p10le.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with
arg
ument 25.
Successfully parsed a group of options.
Opening an output file: E:\avconv.mov.
Successfully opened the file.
Detected 8 logical cores.
[buffer @ 0000000001d96160] w:1920 h:1080 pixfmt:rgba
[fps @ 0000000001da3b80] fps=25/1
[buffersink @ 0000000001d98d00] auto-inserting filter 'auto-inserted fifo 0'
bet
ween the filter 'fps for output stream 0:0' and the filter 'output stream 0:0'
[format @ 0000000001da3000] auto-inserting filter 'auto-inserted scaler 0'
betwe
en the filter 'Parsed filter 0 null' and the filter 'format'
[scale @ 0000000001d8e3e0] w:1920 h:1080 fmt:rgba -> w:1920 h:1080
fmt:yuva444p1
0le flags:0x4
[prores @ 0000000001d9a7e0] detected 8 logical cores
[prores @ 0000000001d9a7e0] profile 2, 1020 slices, interlacing: no, 632 bits
pe
r MB
[prores @ 0000000001d9a7e0] frame size upper bound: 655040
Output #0, mov, to 'E:\avconv.mov':
  Metadata:
    encoder         : Lavf55.21.0
    Stream #0.0, 0, 1/25: Video: prores, yuva444p10le, 1920x1080, 1/25, q=2-31,
200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc55.57.3 prores
Stream mapping:
  Stream #0:0 -> #0:0 (tiff (native) -> prores (native))
Press ctrl-c to stop encoding
No more output streams to write to, finishing.
frame=    1 fps=  0 q=0.0 Lsize=      66kB time=10000000000.00 bitrate=  
0.0kbi
ts/s
video:65kB audio:0kB other streams:0kB global headers:0kB muxing overhead:
1.011
276%
Input file #0 (O:\test.tif):
  Input stream #0:0 (video): 1 packets read (8294654 bytes); 1 frames decoded;
  Total: 1 packets (8294654 bytes) demuxed
Output file #0 (E:\avconv.mov):
  Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (67044 bytes);
  Total: 1 packets (67044 bytes) muxed
[fps @ 0000000001da3b80] 1 frames in, 1 frames out; 0 frames dropped, 0 frames
d
uplicated.

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list