[FFmpeg-user] vf subtitles - Color conversion not implemented for xyz12le

Paul B Mahol onemda at gmail.com
Mon May 9 12:36:14 CEST 2016


On 5/9/16, Kieran O Leary <kieran.o.leary at gmail.com> wrote:
> Hi,
>
> When I burn in srt subs using a xyz12le jpeg2000.mxf from a DCP, I get
> multiple 'Color conversion not implemented for xyz12le'  errors. Even
> if I specify that I want white subtitles, I end up getting
> transparent, multicoloured subs. It happens with prores as well.
> There are no warnings displayed when I use the same command line,
> minus the -vf subtitles filter.
> I tested this with the latest git head on Ubuntu last night, and I
> tested on windows this morning with a Zeranoe build from yesterday
> (the most recent I could find).
>
> I remember burning in subtitles on ffmpeg 3.0, so perhaps this is a
> recent warning?
>
> I've uploaded an example video, along with an srt, and the output video.
> Source: https://github.com/kieranjol/python-tests/raw/master/short_dcp.mxf
> output:
> https://raw.githubusercontent.com/kieranjol/python-tests/master/shortx264.mov
> srt:
> https://raw.githubusercontent.com/kieranjol/python-tests/master/subtitle.xml.srt
>
> PS H:\dcps\ffmpeg_test> ffmpeg -i H:\dcps\ffmpeg_test\short_dcp.mxf
> -c:v libx264 -pix_fmt yuv420p -vf subtitles=subtitle
> .xml.srt:force_style=PrimaryColour=white shortx264.mov
> ffmpeg version N-79883-g38eeb85 Copyright (c) 2000-2016 the FFmpeg
> developers
>   built with gcc 5.3.0 (GCC)
>   configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-avisynth --enable-bzlib --enable-fontconfi
> g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass
> --enable-libbluray --enable-libbs2b --enable-libcaca --
> enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc
> --enable-libmodplug --enable-libmfx --enable-libmp3l
> ame --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libopenjpeg --enable-libopus --enable-librtmp --enabl
> e-libschroedinger --enable-libsnappy --enable-libsoxr
> --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
> libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
> --enable-libwavpack --enable-libwebp --enable-libx
> 264 --enable-libx265 --enable-libxavs --enable-libxvid
> --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
>   libavutil      55. 24.100 / 55. 24.100
>   libavcodec     57. 40.100 / 57. 40.100
>   libavformat    57. 36.100 / 57. 36.100
>   libavdevice    57.  0.101 / 57.  0.101
>   libavfilter     6. 45.100 /  6. 45.100
>   libswscale      4.  1.100 /  4.  1.100
>   libswresample   2.  0.101 /  2.  0.101
>   libpostproc    54.  0.100 / 54.  0.100
> Input #0, mxf, from 'H:\dcps\ffmpeg_test\short_dcp.mxf':
>   Metadata:
>     uid             : adab4424-2f25-4dc7-92ff-29bd000c0000
>     generation_uid  : adab4424-2f25-4dc7-92ff-29bd000c0001
>     company_name    : FFmpeg
>     product_name    : OP1a Muxer
>     product_version : 57.36.100
>     product_uid     : adab4424-2f25-4dc7-92ff-29bd000c0002
>     modification_date: 0000-01-01 00:00:00
>     material_package_umid:
> 0x060A2B340101010501010D001315ED6B529471349E15ED6B00529471349E1500
>     material_package_name: AS-DCP Material Package
>     timecode        : 00:00:00:00
>   Duration: 00:00:00.13, start: 0.000000, bitrate: 96538 kb/s
>     Stream #0:0: Video: jpeg2000 (JPEG 2000 digital cinema 2K),
> xyz12le, 2048x858, 24 tbr, 24 tbn
>     Metadata:
>       file_package_umid:
> 0x060A2B340101010501010D001315ED6B529471349E15ED6B00529471349E1501
>       file_package_name: File Package: SMPTE 429-4 frame wrapping of
> JPEG 2000 codestreams
> File 'shortx264.mov' already exists. Overwrite ? [y/N] y
> [Parsed_subtitles_0 @ 0000000005810840] Shaper: FriBidi 0.19.6 (SIMPLE)
> [Parsed_subtitles_0 @ 0000000005810840] Using font provider directwrite
> [libx264 @ 0000000007160400] using cpu capabilities: MMX2 SSE2Fast
> SSSE3 SSE4.1 Cache64
> [libx264 @ 0000000007160400] profile High, level 4.0
> [libx264 @ 0000000007160400] 264 - core 148 r2694 3b70645 -
> H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.vid
> eolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0
> analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed
> _ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11
> fast_pskip=1 chroma_qp_offset=-2 threads=6 lookah
> ead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
> bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_
> adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
> keyint_min=24 scenecut=40 intra_refresh=0 rc_lookahe
> ad=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4
> ip_ratio=1.40 aq=1:1.00
> [mov @ 0000000007726840] Using AVStream.codec to pass codec parameters
> to muxers is deprecated, use AVStream.codecpar in
> stead.
> Output #0, mov, to 'shortx264.mov':
>   Metadata:
>     uid             : adab4424-2f25-4dc7-92ff-29bd000c0000
>     generation_uid  : adab4424-2f25-4dc7-92ff-29bd000c0001
>     company_name    : FFmpeg
>     product_name    : OP1a Muxer
>     product_version : 57.36.100
>     product_uid     : adab4424-2f25-4dc7-92ff-29bd000c0002
>     modification_date: 0000-01-01 00:00:00
>     material_package_umid:
> 0x060A2B340101010501010D001315ED6B529471349E15ED6B00529471349E1500
>     material_package_name: AS-DCP Material Package
>     timecode        : 00:00:00:00
>     encoder         : Lavf57.36.100
>     Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 2048x858,
> q=2-31, 0.04 fps, 12288 tbn
>     Metadata:
>       file_package_umid:
> 0x060A2B340101010501010D001315ED6B529471349E15ED6B00529471349E1501
>       file_package_name: File Package: SMPTE 429-4 frame wrapping of
> JPEG 2000 codestreams
>       encoder         : Lavc57.40.100 libx264
>     Side data:
>       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
> Stream mapping:
>   Stream #0:0 -> #0:0 (jpeg2000 (native) -> h264 (libx264))
> Press [q] to stop, [?] for help
> [Parsed_subtitles_0 @ 0000000005810840] fontselect: (Arial, 400, 0) ->
> ArialMT, 0, ArialMT
> Color conversion not implemented for xyz12le
>     Last message repeated 3 times
> Color conversion not implemented for xyz12leme=00:00:00.00 bitrate=N/A
> speed=   0x
>     Last message repeated 3 times
> frame=    3 fps=1.4 q=-1.0 Lsize=      48kB time=00:00:00.00
> bitrate=4820148.1kbits/s speed=3.77e-005x
> video:46kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
> muxing overhead: 3.079458%
> [libx264 @ 0000000007160400] frame I:1     Avg QP:20.91  size: 44227
> [libx264 @ 0000000007160400] frame P:1     Avg QP:21.06  size:  2132
> [libx264 @ 0000000007160400] frame B:1     Avg QP:21.44  size:   298
> [libx264 @ 0000000007160400] consecutive B-frames: 33.3% 66.7%  0.0%  0.0%
> [libx264 @ 0000000007160400] mb I  I16..4: 49.1% 39.3% 11.6%
> [libx264 @ 0000000007160400] mb P  I16..4:  0.6%  1.3%  1.0%  P16..4:
> 2.0%  0.1%  0.0%  0.0%  0.0%    skip:95.0%
> [libx264 @ 0000000007160400] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:
> 3.5%  0.0%  0.0%  direct: 0.0%  skip:96.5%  L0: 2
> .5% L1:97.5% BI: 0.0%
> [libx264 @ 0000000007160400] 8x8 transform intra:39.5% inter:66.7%
> [libx264 @ 0000000007160400] coded y,uvDC,uvAC intra: 26.8% 16.1% 4.9%
> inter: 0.0% 0.9% 0.0%
> [libx264 @ 0000000007160400] i16 v,h,dc,p: 76% 23%  1%  1%
> [libx264 @ 0000000007160400] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 12%
> 25%  4%  4%  3%  5%  4%  5%
> [libx264 @ 0000000007160400] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 25%
> 13%  6%  8%  6%  7%  4%  5%
> [libx264 @ 0000000007160400] i8c dc,h,v,p: 84% 10%  6%  0%
> [libx264 @ 0000000007160400] Weighted P-Frames: Y:0.0% UV:0.0%
> [libx264 @ 0000000007160400] kb/s:2986.05
>
> Any help would be greatly appreciated.
>
> Kieran.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

And what is command?


More information about the ffmpeg-user mailing list