[FFmpeg-user] FFMpeg H.264 to ProRez

Tomas Sinkunas Tomas at rendertom.com
Mon Feb 13 19:11:02 CET 2012


OK, so I've tried it again. Here's full console window report:



Last login: Mon Feb 13 19:50:33 on console
Tomas-Sinkunass-iMac:~ Tomas$ cd ~
Tomas-Sinkunass-iMac:~ Tomas$ cd ffmpeg
Tomas-Sinkunass-iMac:ffmpeg Tomas$ cd ffmpeg
Tomas-Sinkunass-iMac:ffmpeg Tomas$ ffmpeg -i /_in.mov -vcodec prores
-profile 2 -aspect 16:9 -s 1024x576 -an /_out.mov 
ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers
  built on Feb 12 2012 18:20:43 with gcc 4.2.1 (Apple Inc. build 5666) (dot
3)
  configuration: --enable-libmp3lame --enable-shared --disable-mmx
--arch=x86_64
  libavutil      51. 34.101 / 51. 34.101
  libavcodec     53. 60.100 / 53. 60.100
  libavformat    53. 31.100 / 53. 31.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 60.100 /  2. 60.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/_in.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2012-02-13 17:57:19
  Duration: 00:00:02.66, start: -9.259259, bitrate: 8490 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
1920x1036 [SAR 1:1 DAR 480:259], 6956 kb/s, 23.98 fps, 23.98 tbr, 2997 tbn,
5994 tbc
    Metadata:
      creation_time   : 2012-02-13 17:57:19
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2012-02-13 17:57:19
      handler_name    : ?Apple Alias Data Handler
      timecode        : 01:01:00:09
    Stream #0:2(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16,
318 kb/s
    Metadata:
      creation_time   : 2012-02-13 17:57:19
      handler_name    : ?Apple Alias Data Handler
Incompatible pixel format 'yuv420p' for codec 'prores', auto-selecting
format 'yuv422p10le'
[buffer @ 0x100f12b10] w:1920 h:1036 pixfmt:yuv420p tb:1/1000000 sar:1/1
sws_param:
[scale @ 0x100f19180] w:1920 h:1036 fmt:yuv420p -> w:1024 h:576
fmt:yuv422p10le flags:0x4
Output #0, mov, to '/_out.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2012-02-13 17:57:19
    encoder         : Lavf53.31.100
    Stream #0:0(eng): Video: prores (apcn) (apcn / 0x6E637061), yuv422p10le,
1024x576 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 2997 tbn, 23.98 tbc
    Metadata:
      creation_time   : 2012-02-13 17:57:19
      handler_name    : ?Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> prores)
Press [q] to stop, [?] for help
frame=  213 fps= 26 q=0.0 size=   52923kB time=00:00:08.88
bitrate=48801.4kbits/frame=  222 fps= 26 q=0.0 size=   55174kB
time=00:00:09.25 bitrate=48814.2kbits/frame=  235 fps= 26 q=0.0 size=  
56613kB time=00:00:09.80 bitrate=47317.0kbits/frame=  247 fps= 26 q=0.0
size=   58013kB time=00:00:10.30 bitrate=46130.8kbits/frame=  260 fps= 26
q=0.0 size=   59493kB time=00:00:10.84 bitrate=44942.4kbits/frame=  273 fps=
25 q=0.0 size=   60978kB time=00:00:11.38 bitrate=43871.0kbits/frame=  287
fps= 25 q=0.0 Lsize=   62587kB time=00:00:11.97 bitrate=42832.3kbits/s
dup=212 drop=0    
video:62585kB audio:0kB global headers:0kB muxing overhead 0.003358%
Tomas-Sinkunass-iMac:ffmpeg Tomas$ 



/////////////////


If that helps, I am using FFmpeg version 0.10 I've downloaded from
ffmpeg.org. My XCode version is 3.2.6 64-bit. And Im on iMac i7 with OSX
10.6.8

I've also uploaded short file I am using to convert:
www.rendertom.com/downloads/_in.zip
And the output file is here: www.rendertom.com/downloads/_out.zip

The code in terminal is this:
ffmpeg -i /_in.mov -vcodec prores -profile 2 -aspect 16:9 -s 1024x576 -an
/_out.mov


I've done this conversion on two different machines with same results. So
either it's me doing something completely wrong or there's some kind of a
bug in ffmpeg.

And again main problem is that the output file is NOT REALLY a prorez file.
Because if I add it to FCP timeline it plays back OK with no problem, but if
I do export with "make self contained" disabled - it exports full file, that
takes as much space as exported from ffmpeg.

And also native prorez files are fine with Cinema Tools - I mean I can
confirm them to any FPS I need, but the ffmpeg output file is not good -
Cinema Tools wont allow confirming it.

Please, if you have like three minutes, would you mind running my file to
prorez and then send me the output? Or maybe you could check it yourself?

Thank you.

--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/FFMpeg-H-264-to-ProRez-tp4378786p4384678.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list