[FFmpeg-user] Private Options for prores-ks
Kevin Wells
kevwells at hotmail.co.uk
Tue Jun 2 14:02:01 CEST 2015
----------------------------------------
> From: kevwells at hotmail.co.uk
> To: ffmpeg-user at ffmpeg.org
> Date: Fri, 22 May 2015 14:53:52 +0000
> Subject: [FFmpeg-user] Private Options for prores-ks
>
> In the ffmpeg documentation, there is:
>
> vendor string - Override the 4-byte vendor ID. A custom vendor ID like apl0 would claim the stream was produced by the Apple encoder.
>
> I am using this option but when opening the output file up in Quicktime 10 (Yosemite), the file shows the format as Lavc56.39.101 prores_ks instead of Apple Prores 422 HQ.
> Is there anyway to change this so in Quicktime 10 (Yosemite), it displays Apple Prores 422 HQ. Openig the file in Quicktime 7 Pro correctly displays the format as Apple Prores 422 HQ.
>
> Here is the output:
>
> ffmpeg started on 2015-05-22 at 15:49:37
> Report written to "ffmpeg-20150522-154937.log"
> Command line:
> "C:\\Temp\\ffmpeg\\ffmpeg.exe" -i HD_BARS.mov -map 0:0 -c:a pcm_s16le -vcodec prores_ks -profile:v 3 -vtag apch -f mov -vendor apl0 -pix_fmt yuv422p10le -y out.mov -report
> ffmpeg version 2.6.git Copyright (c) 2000-2015 the FFmpeg developers
> built with gcc 4.9.2 (GCC)
> configuration: --extra-ldflags=-L/usr/local/lib --target-os=mingw32 --enable-w32threads --enable-memalign-hack --arch=x86 --enable-runtime-cpudetect --disable-debug --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-gpl --enable-version3 --enable-nonfree --enable-avisynth
> libavutil 54. 23.101 / 54. 23.101
> libavcodec 56. 39.101 / 56. 39.101
> libavformat 56. 33.101 / 56. 33.101
> 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
> Splitting the commandline.
> Reading option '-i' ... matched as input file with argument 'HD_BARS.mov'.
> Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:0'.
> Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'pcm_s16le'.
> Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'prores_ks'.
> Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument '3'.
> Reading option '-vtag' ... matched as option 'vtag' (force video tag/fourcc) with argument 'apch'.
> Reading option '-f' ... matched as option 'f' (force format) with argument 'mov'.
> Reading option '-vendor' ... matched as AVOption 'vendor' with argument 'apl0'.
> Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv422p10le'.
> Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
> Reading option 'out.mov' ... matched as output file.
> Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
> Finished splitting the commandline.
> Parsing a group of options: global .
> Applying option y (overwrite output files) with argument 1.
> Applying option report (generate a report) with argument 1.
> Successfully parsed a group of options.
> Parsing a group of options: input file HD_BARS.mov.
> Successfully parsed a group of options.
> Opening an input file: HD_BARS.mov.
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0324e560] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0324e560] ISO: File Type Major Brand: qt
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0324e560] Before avformat_find_stream_info() pos: 13376 bytes read:65536 seeks:2
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0324e560] All info found
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0324e560] After avformat_find_stream_info() pos: 1586160 bytes read:1638320 seeks:2 frames:481
> 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), 1, 1/23976: 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), 48, 1/48000: 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), 48, 1/48000: 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), 48, 1/48000: 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), 48, 1/48000: 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), 48, 1/48000: 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), 48, 1/48000: 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), 48, 1/48000: 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), 48, 1/48000: 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), 48, 1/48000: 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), 48, 1/48000: 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), 0, 1/23976: 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
> Successfully opened the file.
> Parsing a group of options: output file out.mov.
> Applying option map (set input stream mapping) with argument 0:0.
> Applying option c:a (codec name) with argument pcm_s16le.
> Applying option vcodec (force video codec ('copy' to copy stream)) with argument prores_ks.
> Applying option profile:v (set profile) with argument 3.
> Applying option vtag (force video tag/fourcc) with argument apch.
> Applying option f (force format) with argument mov.
> Applying option pix_fmt (set pixel format) with argument yuv422p10le.
> Successfully parsed a group of options.
> Opening an output file: out.mov.
> Successfully opened the file.
> detected 2 logical cores
> [graph 0 input from stream 0:0 @ 0327b560] Setting 'video_size' to value '1920x1080'
> [graph 0 input from stream 0:0 @ 0327b560] Setting 'pix_fmt' to value '74'
> [graph 0 input from stream 0:0 @ 0327b560] Setting 'time_base' to value '1/23976'
> [graph 0 input from stream 0:0 @ 0327b560] Setting 'pixel_aspect' to value '1/1'
> [graph 0 input from stream 0:0 @ 0327b560] Setting 'sws_param' to value 'flags=2'
> [graph 0 input from stream 0:0 @ 0327b560] Setting 'frame_rate' to value '2997/125'
> [graph 0 input from stream 0:0 @ 0327b560] w:1920 h:1080 pixfmt:yuv422p10le tb:1/23976 fr:2997/125 sar:1/1 sws_param:flags=2
> [format @ 0382b3a0] compat: called with args=[yuv422p10le]
> [format @ 0382b3a0] Setting 'pix_fmts' to value 'yuv422p10le'
> [AVFilterGraph @ 018ce920] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
> [prores_ks @ 038165c0] profile 3, 1020 slices, interlacing: no, 950 bits per MB
> [prores_ks @ 038165c0] frame size upper bound: 978318
> Output #0, mov, to 'out.mov':
> Metadata:
> major_brand : qt
> minor_version : 537199360
> compatible_brands: qt
> encoder : Lavf56.33.101
> Stream #0:0(eng), 0, 1/11988: Video: prores (prores_ks) (apch / 0x68637061), yuv422p10le, 1920x1080 [SAR 1:1 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.39.101 prores_ks
> Stream mapping:
> Stream #0:0 -> #0:0 (prores (native) -> prores (prores_ks))
> Press [q] to stop, [?] for help
> Cliping frame in rate conversion by 0.000008
> frame= 6 fps=0.0 q=0.0 size= 748kB time=00:00:00.25 bitrate=24477.5kbits/s
> frame= 11 fps=9.7 q=0.0 size= 1371kB time=00:00:00.45 bitrate=24476.9kbits/s
> frame= 16 fps=9.6 q=0.0 size= 1994kB time=00:00:00.66 bitrate=24476.7kbits/s
> frame= 21 fps=9.5 q=0.0 size= 2617kB time=00:00:00.87 bitrate=24476.6kbits/s
> [output stream 0:0 @ 0382b2c0] EOF on sink link output stream 0:0:default.
> No more output streams to write to, finishing.
> frame= 24 fps=9.1 q=0.0 Lsize= 2992kB time=00:00:01.00 bitrate=24487.0kbits/s
> video:2991kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.044146%
> Input file #0 (HD_BARS.mov):
> Input stream #0:0 (video): 24 packets read (3186432 bytes); 24 frames decoded;
> Input stream #0:1 (audio): 48 packets read (144000 bytes);
> Input stream #0:2 (audio): 48 packets read (144000 bytes);
> Input stream #0:3 (audio): 48 packets read (144000 bytes);
> Input stream #0:4 (audio): 48 packets read (144000 bytes);
> Input stream #0:5 (audio): 48 packets read (144000 bytes);
> Input stream #0:6 (audio): 48 packets read (144000 bytes);
> Input stream #0:7 (audio): 48 packets read (144000 bytes);
> Input stream #0:8 (audio): 48 packets read (144000 bytes);
> Input stream #0:9 (audio): 48 packets read (144000 bytes);
> Input stream #0:10 (audio): 48 packets read (144000 bytes);
> Input stream #0:11 (data): 0 packets read (0 bytes);
> Total: 504 packets (4626432 bytes) demuxed
> Output file #0 (out.mov):
> Output stream #0:0 (video): 24 frames encoded; 24 packets muxed (3062592 bytes);
> Total: 24 packets (3062592 bytes) muxed
> 24 frames successfully decoded, 0 decoding errors
> [AVIOContext @ 03271560] Statistics: 62 seeks, 144 writeouts
> [AVIOContext @ 03256da0] Statistics: 4693458 bytes read, 2 seeks
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Anyone have any ideas on this please?
More information about the ffmpeg-user
mailing list