[libav-bugs] [Bug 582] New: FFV1: Incorrectly encoding pix_fmts gbrp9/gbrp10

bugzilla at libav.org bugzilla at libav.org
Mon Nov 4 02:37:56 CET 2013


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

           Summary: FFV1: Incorrectly encoding pix_fmts gbrp9/gbrp10
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: libavcodec
        AssignedTo: bugzilla at libav.org
        ReportedBy: pb at das-werkstatt.com


Both files (gbrp9/gbrp10) are created without any warning message. Decoding
them only returns "LSD waterfall" rubbish.

Tested with current git head.
Steps to reproduce:

-----------
$ avconv -f image2 -i tests/lena.pnm -t 1 -an -c:v ffv1 -pix_fmt gbrp9
delme.avi
-----------
$ avconv -f image2 -i tests/lena.pnm -t 1 -an -c:v ffv1 -pix_fmt gbrp10
delme.avi
-----------


Complete, uncut console output:
-----------
$ avconv -f image2 -i tests/lena.pnm -t 1 -an -c:v ffv1 -pix_fmt gbrp9 -v 9
-loglevel 99 delme.avi

avconv version v9-2436-g87480c9, Copyright (c) 2000-2013 the Libav developers
  built on Nov  3 2013 13:09:20 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-version3 --enable-swscale --enable-avfilter --enable-pthreads
--enable-bzlib --enable-zlib --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-libopenjpeg --enable-decoder=png --enable-encoder=png
--enable-libfreetype --toolchain=gcov --enable-libschroedinger
  libavutil     52. 17. 0 / 52. 17. 0
  libavcodec    55. 24. 0 / 55. 24. 0
  libavformat   55. 10. 0 / 55. 10. 0
  libavdevice   54.  0. 0 / 54.  0. 0
  libavfilter    3. 11. 1 /  3. 11. 1
  libavresample  1.  1. 0 /  1.  1. 0
  libswscale     2.  1. 2 /  2.  1. 2
Splitting the commandline.
Reading option '-f' ... matched as option 'f' (force format) with argument
'image2'.
Reading option '-i' ... matched as input file with argument 'tests/lena.pnm'.
Reading option '-t' ... matched as option 't' (record or transcode "duration"
seconds of audio/video) with argument '1'.
Reading option '-an' ... matched as option 'an' (disable audio) with argument
'1'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument
'ffv1'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format)
with argument 'gbrp9'.
Reading option '-v' ... matched as option 'v' (set libav* logging level) with
argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging
level) with argument '99'.
Reading option 'delme.avi' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set libav* logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file tests/lena.pnm.
Applying option f (force format) with argument image2.
Successfully parsed a group of options.
Opening an input file: tests/lena.pnm.
Input #0, image2, from 'tests/lena.pnm':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0.0, 1, 1/25: Video: ppm, rgb24, 256x256, 0/1, 25 tbn
Successfully opened the file.
Parsing a group of options: output file delme.avi.
Applying option t (record or transcode "duration" seconds of audio/video) with
argument 1.
Applying option an (disable audio) with argument 1.
Applying option c:v (codec name) with argument ffv1.
Applying option pix_fmt (set pixel format) with argument gbrp9.
Successfully parsed a group of options.
Opening an output file: delme.avi.
Successfully opened the file.
Detected 8 logical cores.
[buffer @ 0x2b56040] w:256 h:256 pixfmt:rgb24
[buffersink @ 0x2b563e0] auto-inserting filter 'auto-inserted fifo 0' between
the filter 'trim for output stream 0:0' and the filter 'output stream 0:0'
[format @ 0x2b56720] auto-inserting filter 'auto-inserted scaler 0' between the
filter 'Parsed filter 0 null' and the filter 'format'
[scale @ 0x2b57d00] w:256 h:256 fmt:rgb24 -> w:256 h:256 fmt:gbrp9le flags:0x4
[swscaler @ 0x2b4c160] gbrp9le output is not supported with half chroma
resolution, switching to full
[ffv1 @ 0x2b5d960] detected 8 logical cores
Output #0, avi, to 'delme.avi':
  Metadata:
    ISFT            : Lavf55.10.0
    Stream #0.0, 0, 1/25: Video: ffv1, gbrp9le, 256x256, 1/25, q=2-31, 200
kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (ppm -> ffv1)
Press ctrl-c to stop encoding
No more output streams to write to, finishing.
frame=    1 fps=  0 q=0.0 Lsize=     152kB time=0.04 bitrate=31115.2kbits/s    
video:146kB audio:0kB global headers:0kB muxing overhead 3.806607%

-- 
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