[FFmpeg-trac] #4636(undetermined:new): 10 bit ffv1 in mkv created by libavfilter is interpreted as 8 bit

FFmpeg trac at avcodec.org
Wed Jun 17 17:33:19 CEST 2015


#4636: 10 bit ffv1 in mkv created by libavfilter is interpreted as 8 bit
-------------------------------------+-------------------------------------
             Reporter:  dericed      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by dericed):

 * version:  unspecified => git-master


Comment:

 I updated to git-master and ran the same commands above again:

 create a yuv422p10le file
 {{{
 ffmpeg -f lavfi -i color=black -pix_fmt yuv422p10le -vframes 1 -c:v ffv1
 -level 3 -y black.mkv
 ffmpeg version N-45793-g7c3f7e6 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM
 3.6.0svn)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
 --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables
 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-
 libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid
 --enable-libfreetype --enable-libfaac --enable-libass --enable-ffplay
 --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-
 cflags='-I/usr/local/Cellar/openjpeg/1.5.0/include ' --enable-nonfree
 --enable-vda
   libavutil      54. 27.100 / 54. 27.100
   libavcodec     56. 41.100 / 56. 41.100
   libavformat    56. 37.100 / 56. 37.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 17.100 /  5. 17.100
   libavresample   2.  1.  0 /  2.  1.  0
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, lavfi, from 'color=black':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240
 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
 [ffv1 @ 0x7fbe34018e00] bits_per_raw_sample > 8, forcing coder 1
 Output #0, matroska, to 'black.mkv':
   Metadata:
     encoder         : Lavf56.37.100
     Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p10le, 320x240
 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc
     Metadata:
       encoder         : Lavc56.41.100 ffv1
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> ffv1 (native))
 Press [q] to stop, [?] for help
 frame=    1 fps=0.0 q=0.0 Lsize=       1kB time=00:00:00.04 bitrate=
 295.2kbits/s
 video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 144.370865%
 }}}


 seen as yuv422p
 {{{
 ffmpeg -i black.mkv
 ffmpeg version N-45793-g7c3f7e6 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM
 3.6.0svn)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
 --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables
 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-
 libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid
 --enable-libfreetype --enable-libfaac --enable-libass --enable-ffplay
 --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-
 cflags='-I/usr/local/Cellar/openjpeg/1.5.0/include ' --enable-nonfree
 --enable-vda
   libavutil      54. 27.100 / 54. 27.100
   libavcodec     56. 41.100 / 56. 41.100
   libavformat    56. 37.100 / 56. 37.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 17.100 /  5. 17.100
   libavresample   2.  1.  0 /  2.  1.  0
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, matroska,webm, from 'black.mkv':
   Metadata:
     ENCODER         : Lavf56.37.100
   Duration: 00:00:00.04, start: 0.000000, bitrate: 295 kb/s
     Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p, 320x240, SAR
 1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
     Metadata:
       ENCODER         : Lavc56.41.100 ffv1
 At least one output file must be specified
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4636#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list