Opened 3 weeks ago

Last modified 3 weeks ago

#7231 new enhancement

Cineform sample format 2

Reported by: cehoyos Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: cfhd
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

The samples that Reto provided for ticket #1087 still don't work. They can be found in http://samples.mplayerhq.hu/V-codecs/CFHD/

$ ffmpeg -i lower_res.mov -i bigger_res.mov
ffmpeg version N-91160-g2b05981 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.4.0 (GCC)
  configuration: --enable-gpl
  libavutil      56. 18.102 / 56. 18.102
  libavcodec     58. 19.104 / 58. 19.104
  libavformat    58. 17.100 / 58. 17.100
  libavdevice    58.  4.100 / 58.  4.100
  libavfilter     7. 24.100 /  7. 24.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
[cfhd @ 0x307a600] Sample format of 2 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[cfhd @ 0x307a600] Invalid dimensions
[cfhd @ 0x307a600] Sample format of 2 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[cfhd @ 0x307a600] Invalid dimensions
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3078480] decoding for stream 0 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3078480] Could not find codec parameters for stream 0 (Video: cfhd (CFHD / 0x44484643), none, 3312x2488, 509966 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'lower_res.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2015-12-06T06:53:32.000000Z
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 1.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 1.000000
    com.apple.quicktime.player.version: 7.6.6 (7.6.6)
    com.apple.quicktime.version: 7.7.3 (2890.7) 0x7738000 (Mac OS X, 10.10.5, 14F1021)
    encoder         : Lavf54.59.106
  Duration: 00:00:00.33, bitrate: 574322 kb/s
    Stream #0:0(eng): Video: cfhd (CFHD / 0x44484643), none, 3312x2488, 509966 kb/s, 24 fps, 24 tbr, 12288 tbn, 12288 tbc (default)
    Metadata:
      rotate          : 0
      creation_time   : 2015-12-06T06:53:32.000000Z
      handler_name    : Apple Alias-Datensteuerung
    Side data:
      displaymatrix: rotation of -0.00 degrees
[cfhd @ 0x3080800] Sample format of 2 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[cfhd @ 0x3080800] Invalid dimensions
[cfhd @ 0x3080800] Sample format of 2 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[cfhd @ 0x3080800] Invalid dimensions
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x307e000] decoding for stream 0 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x307e000] Could not find codec parameters for stream 0 (Video: cfhd (CFHD / 0x44484643), none, 4512x2952, 907398 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'bigger_res.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2015-12-06T07:02:28.000000Z
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 1.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 1.000000
    com.apple.quicktime.player.version: 7.6.6 (7.6.6)
    com.apple.quicktime.version: 7.7.3 (2890.7) 0x7738000 (Mac OS X, 10.10.5, 14F1021)
    encoder         : Lavf54.20.3
  Duration: 00:00:00.38, bitrate: 1008252 kb/s
    Stream #1:0(eng): Video: cfhd (CFHD / 0x44484643), none, 4512x2952, 907398 kb/s, 24 fps, 24 tbr, 24k tbn, 24k tbc (default)
    Metadata:
      rotate          : 0
      creation_time   : 2015-12-06T07:02:28.000000Z
      handler_name    : Apple Alias-Datensteuerung
    Side data:
      displaymatrix: rotation of -0.00 degrees
At least one output file must be specified

Change History (4)

comment:1 Changed 3 weeks ago by kierank

Sample format of 2 = Bayer, which in its form in CFHD will most likely not be supported in FFmpeg. FFmpeg has very limited support for Bayer to begin with.

comment:2 Changed 3 weeks ago by kierank

Sample format of 2 = Bayer, which in its form in CFHD will most likely not be supported in FFmpeg. FFmpeg has very limited support for Bayer to begin with.

comment:3 Changed 3 weeks ago by cehoyos

Reto claims that the format uses the Bayer pix_fmts supported by FFmpeg.

comment:4 Changed 3 weeks ago by kierank

I don't believe 10-bit and 12-bit Bayer is supported, though I am not an expert in Bayer.

Note: See TracTickets for help on using tickets.