[FFmpeg-user] HD > SD Down-Convert Prores Color

Kevin Wells kevwells at hotmail.co.uk
Fri May 22 13:16:42 CEST 2015


----------------------------------------
> To: ffmpeg-user at ffmpeg.org
> From: cehoyos at ag.or.at
> Date: Thu, 21 May 2015 10:56:58 +0000
> Subject: Re: [FFmpeg-user] HD> SD Down-Convert Prores Color
>
> Kevin Wells <kevwells <at> hotmail.co.uk> writes:
>
>> Stream #0:0(eng): Video: prores (apch / 0x68637061),
>
>> yuv422p10le(bt470bg/smpte170m
>
> Did you try to pass this to your encoding command?
> (You need git pull or use smpte170m twice.)
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Hi Carl, I have now tried this command:

HD_BARS.mov -s pal -vcodec prores -profile 3 -vtag apch -an -movflags +write_colr -an -s pal -color_primaries smpte170m -colorspace bt470bg out.mov

Using this ffmpeg output now matches the SD sample I sent you:

yuv422p10le(bt470bg/smpte170m/unknown

BUT the output is still wrong, much too bright.
Here is the current output:

ffmpeg -i HD_BARS.mov -s pal -vcodec prores -profile 3 -vtag apch -an -movflags +write_colr -an -s pal -color_primaries smpte170m -colorspace bt470bg out.mov
ffmpeg version 2.6.git 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: --prefix=/Volumes/tempdisk/sw --enable-gpl --enable-pthreads --disable-ffplay --disable-ffserver --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-avfilter --enable-zlib --enable-filters --arch=x86 --enable-runtime-cpudetect
  libavutil      54. 23.101 / 54. 23.101
  libavcodec     56. 38.100 / 56. 38.100
  libavformat    56. 32.100 / 56. 32.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Guessed Channel Layout for  Input Stream #0.5 : mono
Guessed Channel Layout for  Input Stream #0.6 : mono
Guessed Channel Layout for  Input Stream #0.7 : mono
Guessed Channel Layout for  Input Stream #0.8 : mono
Guessed Channel Layout for  Input Stream #0.9 : mono
Guessed Channel Layout for  Input Stream #0.10 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'HD_BARS.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2015-05-22 11:00:20
  Duration: 00:00:01.00, start: 0.000000, bitrate: 37093 kb/s
    Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(bt709), 1920x1080, 25465 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 23976 tbn, 23976 tbc (default)
    Metadata:
      creation_time   : 2015-05-22 11:00:20
      handler_name    : Apple Alias Data Handler
      encoder         : Apple ProRes 422 HQ
      timecode        : 00:57:50:00
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2015-05-22 11:00:20
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2015-05-22 11:00:20
      handler_name    : Apple Alias Data Handler
    Stream #0:3(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2015-05-22 11:00:20
      handler_name    : Apple Alias Data Handler
    Stream #0:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2015-05-22 11:00:20
      handler_name    : Apple Alias Data Handler
    Stream #0:5(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2015-05-22 11:00:20
      handler_name    : Apple Alias Data Handler
    Stream #0:6(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2015-05-22 11:00:20
      handler_name    : Apple Alias Data Handler
    Stream #0:7(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2015-05-22 11:00:20
      handler_name    : Apple Alias Data Handler
    Stream #0:8(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2015-05-22 11:00:20
      handler_name    : Apple Alias Data Handler
    Stream #0:9(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2015-05-22 11:00:20
      handler_name    : Apple Alias Data Handler
    Stream #0:10(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2015-05-22 11:00:20
      handler_name    : Apple Alias Data Handler
    Stream #0:11(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2015-05-22 11:00:20
      handler_name    : Apple Alias Data Handler
      timecode        : 00:57:50:00
Please use -profile:a or -profile:v, -profile is ambiguous
File 'out.mov' already exists. Overwrite ? [y/N] y
Output #0, mov, to 'out.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    encoder         : Lavf56.32.100
    Stream #0:0(eng): Video: prores (apch) (apch / 0x68637061), yuv422p10le(bt470bg/smpte170m/unknown), 720x576 [SAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 11988 tbn, 23.98 tbc (default)
    Metadata:
      creation_time   : 2015-05-22 11:00:20
      handler_name    : Apple Alias Data Handler
      timecode        : 00:57:50:00
      encoder         : Lavc56.38.100 prores
Stream mapping:
  Stream #0:0 -> #0:0 (prores (native) -> prores (native))
Press [q] to stop, [?] for help
frame=   24 fps=0.0 q=0.0 Lsize=    1217kB time=00:00:01.00 bitrate=9959.2kbits/s    
video:1216kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.117459% 		 	   		  


More information about the ffmpeg-user mailing list