[FFmpeg-user] Is it possible to convert yuv444p10le to gbrp10le without defaulting to rgb48le ?

Suria Pang suriap at yahoo.com
Fri Sep 14 23:13:22 CEST 2012


 
Both window and linux version are giving this issue:
 
ffmpg when convert prores to dpx always default to rgb48le which yield 12M file size wilie standard HD 1920x1080 dpx are gbrp10le at 8.6M.

Is there anyway to get ffmpg to convert yuv444p10le to gbrp10le   ??
 
Here are the output and thanks,
 
 
[root at dellpc ffmpeg-0.11.1]# ./ffmpeg  -i /usr/tmp/test_prores4444.mov -r 23.98  -pix_fmt gbrp10le  -s 1920x1080 /usr/tmp/dpx2/ko_009%04d.dpx
ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep 13 2012 09:35:51 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3)
  configuration: 
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/usr/tmp/test_prores4444.mov':
  Metadata:
    creation_time   : 2011-08-08 13:55:17
  Duration: 00:00:00.62, start: 0.000000, bitrate: 161371 kb/s
    Stream #0:0(eng): Video: prores (ap4h / 0x68347061), yuv444p10le, 1920x1080, 44570 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 23976 tbn, 23976 tbc
    Metadata:
      creation_time   : 2011-08-08 13:55:17
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2011-08-08 13:55:17
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
[buffer @ 0x1f3bae0] w:1920 h:1080 pixfmt:yuv444p10le tb:1/23976 sar:1/1 sws_param:flags=2
[buffersink @ 0x1f30ce0] No opaque field provided
Incompatible pixel format 'gbrp10le' for codec 'dpx', auto-selecting format 'rgb48le'
[scale @ 0x1f30fa0] w:1920 h:1080 fmt:yuv444p10le sar:1/1 -> w:1920 h:1080 fmt:rgb48le sar:1/1 flags:0x4
Output #0, image2, to '/usr/tmp/dpx2/ko_009%04d.dpx':
  Metadata:
    creation_time   : 2011-08-08 13:55:17
    encoder         : Lavf54.6.100
    Stream #0:0(eng): Video: dpx, rgb48le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 23.98 tbc
    Metadata:
      creation_time   : 2011-08-08 13:55:17
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (prores -> dpx)
Press [q] to stop, [?] for help
frame=   15 fps=8.8 q=0.0 Lsize=       0kB time=00:00:00.62 bitrate=   0.0kbits/s    
video:182274kB audio:0kB global headers:0kB muxing overhead -100.000000%
 
[root at dellpc ffmpeg-0.11.1]# ./ffmpeg  -i /usr/tmp/test_prores4444.mov -r 23.98  -pix_fmt gbrp16le  -s 1920x1080 /usr/tmp/dpx2/ko_009%04d.dpx
ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep 13 2012 09:35:51 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3)
  configuration: 
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/usr/tmp/test_prores4444.mov':
  Metadata:
    creation_time   : 2011-08-08 13:55:17
  Duration: 00:00:00.62, start: 0.000000, bitrate: 161371 kb/s
    Stream #0:0(eng): Video: prores (ap4h / 0x68347061), yuv444p10le, 1920x1080, 44570 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 23976 tbn, 23976 tbc
    Metadata:
      creation_time   : 2011-08-08 13:55:17
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2011-08-08 13:55:17
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
[buffer @ 0x304bae0] w:1920 h:1080 pixfmt:yuv444p10le tb:1/23976 sar:1/1 sws_param:flags=2
[buffersink @ 0x3040ce0] No opaque field provided
Incompatible pixel format 'gbrp16le' for codec 'dpx', auto-selecting format 'rgb48le'
[scale @ 0x3040fa0] w:1920 h:1080 fmt:yuv444p10le sar:1/1 -> w:1920 h:1080 fmt:rgb48le sar:1/1 flags:0x4
Output #0, image2, to '/usr/tmp/dpx2/ko_009%04d.dpx':
  Metadata:
    creation_time   : 2011-08-08 13:55:17
    encoder         : Lavf54.6.100
    Stream #0:0(eng): Video: dpx, rgb48le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 23.98 tbc
    Metadata:
      creation_time   : 2011-08-08 13:55:17
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (prores -> dpx)
Press [q] to stop, [?] for help
frame=   15 fps=9.0 q=0.0 Lsize=       0kB time=00:00:00.62 bitrate=   0.0kbits/s    
video:182274kB audio:0kB global headers:0kB muxing overhead -100.000000%


More information about the ffmpeg-user mailing list