Opened 7 years ago
Closed 5 years ago
#7231 closed enhancement (fixed)
Cineform sample format 2
Reported by: | Carl Eugen Hoyos | 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 (9)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
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:4 by , 7 years ago
I don't believe 10-bit and 12-bit Bayer is supported, though I am not an expert in Bayer.
follow-up: 6 comment:5 by , 6 years ago
To my knowledge, only 8-bit and 16-bit Bayer is currently supported by FFmpeg. Adding 10-bit and 12-bit would indeed be an enhancement! If I remember carefully, an implementation of Bayer-based formats from scratch would be easier in comparison to amending the existing code.
comment:6 by , 6 years ago
comment:7 by , 6 years ago
Sorry, I didn’t read the end of that ticket until now. I will check again with some real world files with different bit-depth, generated by different sensors/cameras.
comment:8 by , 6 years ago
This is what GoPro claims:
- 8/10/16-bit YUV 4:2:2 compressed as 10-bit, progressive or interlace
- 8/10/16-bit RGB 4:4:4 compressed at 12-bit progressive
- 8/16-bit RGBA 4:4:4:4 compressed at 12-bit progressive
- 12/16-bit CFA Bayer RAW, log encoded and compressed at 12-bit progressive
- Dual channel stereoscopic/3D in any of the above.
comment:9 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in 630ea6b07f8852c21da3450fd979a8fd110b58dc.
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.