[FFmpeg-trac] #4805(undetermined:new): swscale does not process pixels when only color-matrix differs between input and output

FFmpeg trac at avcodec.org
Wed Aug 26 13:14:21 CEST 2015


#4805: swscale does not process pixels when only color-matrix differs between
input and output
-------------------------------------+-------------------------------------
             Reporter:  rmk          |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by rmk):

 Full command lines and output:

 Roberts-MacBook-Pro:colortest krueger$ ffmpeg -i
 ~/lesspain/samples/software/fcp_7/xdcam_ex/fcp7_xdcam_ex_1080_25p_1s.mov
 -vf scale=in_color_matrix=bt709:out_color_matrix=bt601 -c:v ffv1 -an -y
 scale_test_bt601.nut
 ffmpeg version N-74034-gce46627 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM
 3.6.0svn)
   configuration: --enable-gpl --enable-libx264
   libavutil      54. 29.100 / 54. 29.100
   libavcodec     56. 55.100 / 56. 55.100
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 29.100 /  5. 29.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb62380da00] nclc: pri 1 trc 1 matrix
 1Guessed Channel Layout for  Input Stream #0.1 : stereo
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 '/Users/krueger/lesspain/samples/software/fcp_7/xdcam_ex/fcp7_xdcam_ex_1080_25p_1s.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2013-12-11 15:38:12
   Duration: 00:00:01.00, start: 0.000000, bitrate: 25365 kb/s
     Stream #0:0(eng): Video: mpeg2video (Main) (xdve / 0x65766478),
 yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23773 kb/s, 25 fps, 25
 tbr, 25 tbn, 50 tbc (default)
     Metadata:
       creation_time   : 2013-12-11 15:38:12
       handler_name    : Apple Alias-Datensteuerung
       encoder         : XDCAM EX 1080p25 (35 Mb/s VBR)
       timecode        : 01:00:00:00
     Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2
 channels, s16, 1536 kb/s (default)
     Metadata:
       creation_time   : 2013-12-11 15:38:12
       handler_name    : Apple Alias-Datensteuerung
     Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
     Metadata:
       creation_time   : 2013-12-11 15:38:16
       handler_name    : Apple Alias-Datensteuerung
       timecode        : 01:00:00:00
 Output #0, nut, to 'scale_test_bt601.nut':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     encoder         : Lavf56.40.101
     Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv420p, 1920x1080 [SAR
 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 51200 tbn, 25 tbc (default)
     Metadata:
       creation_time   : 2013-12-11 15:38:12
       X-Language      : eng
       handler_name    : Apple Alias-Datensteuerung
       timecode        : 01:00:00:00
       encoder         : Lavc56.55.100 ffv1
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg2video (native) -> ffv1 (native))
 Press [q] to stop, [?] for help
 frame=   25 fps=0.0 q=-0.0 Lsize=    3715kB time=00:00:01.00
 bitrate=30435.4kbits/s
 video:3714kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.034393%
 Roberts-MacBook-Pro:colortest krueger$ ffmpeg -i
 ~/lesspain/samples/software/fcp_7/xdcam_ex/fcp7_xdcam_ex_1080_25p_1s.mov
 -c:v ffv1 -an -y scale_test_unscaled.nut
 ffmpeg version N-74034-gce46627 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM
 3.6.0svn)
   configuration: --enable-gpl --enable-libx264
   libavutil      54. 29.100 / 54. 29.100
   libavcodec     56. 55.100 / 56. 55.100
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 29.100 /  5. 29.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa1bc00da00] nclc: pri 1 trc 1 matrix
 1Guessed Channel Layout for  Input Stream #0.1 : stereo
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 '/Users/krueger/lesspain/samples/software/fcp_7/xdcam_ex/fcp7_xdcam_ex_1080_25p_1s.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2013-12-11 15:38:12
   Duration: 00:00:01.00, start: 0.000000, bitrate: 25365 kb/s
     Stream #0:0(eng): Video: mpeg2video (Main) (xdve / 0x65766478),
 yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23773 kb/s, 25 fps, 25
 tbr, 25 tbn, 50 tbc (default)
     Metadata:
       creation_time   : 2013-12-11 15:38:12
       handler_name    : Apple Alias-Datensteuerung
       encoder         : XDCAM EX 1080p25 (35 Mb/s VBR)
       timecode        : 01:00:00:00
     Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2
 channels, s16, 1536 kb/s (default)
     Metadata:
       creation_time   : 2013-12-11 15:38:12
       handler_name    : Apple Alias-Datensteuerung
     Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
     Metadata:
       creation_time   : 2013-12-11 15:38:16
       handler_name    : Apple Alias-Datensteuerung
       timecode        : 01:00:00:00
 Output #0, nut, to 'scale_test_unscaled.nut':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     encoder         : Lavf56.40.101
     Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv420p, 1920x1080 [SAR
 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 51200 tbn, 25 tbc (default)
     Metadata:
       creation_time   : 2013-12-11 15:38:12
       X-Language      : eng
       handler_name    : Apple Alias-Datensteuerung
       timecode        : 01:00:00:00
       encoder         : Lavc56.55.100 ffv1
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg2video (native) -> ffv1 (native))
 Press [q] to stop, [?] for help
 frame=   25 fps=0.0 q=-0.0 Lsize=    3715kB time=00:00:01.00
 bitrate=30435.4kbits/s
 video:3714kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.034393%

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


More information about the FFmpeg-trac mailing list