How to generate a new subtitle VF

Anything and everything to do with DCP-o-matic.
vinci
Posts: 8
Joined: Sat Nov 19, 2022 10:46 am

How to generate a new subtitle VF

Post by vinci »

Hello everyone. I'm currently working on an unencrypted OV that comes with an open English subtitle. I would like to discard the English subtitle and add a Chinese subtitle. When I create a Chinese subtitle VF with direct audio and video references, the server plays it without any subtitles. I would like to ask how to discard the original English subtitle and add a new Chinese subtitle without re-transcoding?
vinci
Posts: 8
Joined: Sat Nov 19, 2022 10:46 am

Re: How to generate a new subtitle VF

Post by vinci »

It should be explained that the English subtitles within the original OV file are open captions. When I was working on the VF, I did not reference this subtitle, but the end result was that neither the English subtitles nor the Chinese subtitles were displayed.
vinci
Posts: 8
Joined: Sat Nov 19, 2022 10:46 am

Re: How to generate a new subtitle VF

Post by vinci »

This has happened many times in the middle of my workflow. If the OV is an EN-XX OV that doesn't carry subtitles, adding the subtitle VF will go very smoothly. But if the OV carries open captions, I have never been able to create a VF to add captions.
carl
Site Admin
Posts: 2727
Joined: Thu Nov 14, 2013 2:53 pm

Re: How to generate a new subtitle VF

Post by carl »

It seems to work OK for me. Which version of DCP-o-matic are you using?

Can you attach the metadata.xml from your VF project, or send it to me at carl@dcpomatic.com ?
IoannisSyrogiannis
Posts: 253
Joined: Mon Nov 13, 2017 8:40 pm

Re: How to generate a new subtitle VF

Post by IoannisSyrogiannis »

First thing I would check, and a common miss, is whether the "Use as | open subtitles" box is checked for the subtitle file, on the project.
Then, does the VF pack a subtitle file. (A folder, if it is IOP, an MXF file if it is SMPTE.)
Carsten
Posts: 2918
Joined: Tue Apr 15, 2014 9:11 pm
Location: Germany

Re: How to generate a new subtitle VF

Post by Carsten »

When you add a subtitled OV to a project, the subtitles are part of the project, but they are not enabled by default in DCP-o-matic (as Ioannis writes). When you create a new DCP using this project, the resulting new OV will not contain any subtitles.

So, the method is to add the OV to your project, create VF, check 'reference video/reference audio', then add your new VF subtitles, enable them under 'Timed Text, add language tag, and they should be visible in the preview window, and the resulting VF.
vinci
Posts: 8
Joined: Sat Nov 19, 2022 10:46 am

Re: How to generate a new subtitle VF

Post by vinci »

carl wrote: Thu Mar 27, 2025 3:52 pm It seems to work OK for me. Which version of DCP-o-matic are you using?

Can you attach the metadata.xml from your VF project, or send it to me at carl@dcpomatic.com ?
Thanks Carl, but I think I found the problem.

My VF packaging is completely correct, but the font package of the output VF is wrong. the VF font package output by DOM automatically references the font package of the original OV, even though I have set up to specify a new font. But the original English subtitle Arial doesn't contain Chinese fonts, so it can't be displayed correctly. After I manually replace the font file in the path of the VF, the subtitle will be displayed correctly on the projection.