View Bug Details

IDProjectCategoryView StatusLast Update
0001446DCP-o-maticBugspublic2020-12-16 00:09
Reportervisualize Assigned Tocarl  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionunable to reproduce 
Platform64-bitOSWindowsOS Version10
Product Version2.12.x 
Summary0001446: Reformatting of subs incorrect?
Description

Hello ,
i am currently using the beta program version 12.13.102 on Windows 10 x64.
I have a compliant subtitle file that is recognized as malformed and formatted incorrectly when creating the DCP.
The original subtitle file contains font formats such as italics and different colors. After examining this file, you will see the message: "Some of your closed captions have more than 30 characters, so they are probably word-wrapped. Some of your closed captions span 3 lines, so they will be truncated." The original file is ok. The subheading spotnumber 23 / line 2 has 30 characters. If I reduce this to 29 everything is fine without an error message.

What does not work: detection of 30 characters
Reformatting the XML formatting

Suggestion: Could you disable the reformatting at your own risk in the settings.
The subtitle check before creating the DCP is very good and important.

Best regards
I really like DCP-o-matic!

Steps To Reproduce

create a new project -> import subtitles -> mark subtitles as Closed Caption -> Create DCP

Additional Information

"Testmovie_CCAP_standart_input.xml" is the original subtitle file

"Testmovie_CCAP_standart_dcpomatic_output.xml" is the automatically generated subtitle file of DCP-o-matic after pressing the error message

"Testmovie_CCAP_cleaned_input.xml" manually preformatted without italics and several colors and spotnumber 23 / line 2 cut to 29 characters.

"Testmovie_CCAP_cleaned_dcpomatic_output.xml" is the automatically generated subtitle file of DCP-o-matic without any error message

Tagsccap
Branch
Estimated weeks required
Estimated work requiredUnknown

Activities

visualize

2019-01-17 02:13

reporter  

carl

2019-01-17 22:38

administrator   ~0002905

@carl incorrect line length fixed by 95f4db0a8bb5bbf742a0195fbbe17d304fb99507

carl

2019-01-17 22:39

administrator   ~0002906

Hi, is there a problem with the way DCP-o-matic reformats the XML? Does it change its meaning in some way?

carl

2019-01-17 22:39

administrator   ~0002907

The incorrect hints about line length should be fixed by v2.13.105.

visualize

2019-01-17 23:55

reporter   ~0002908

Many Thanks!! ;-)

carl

2019-01-23 21:05

administrator   ~0002918

@visualize: is there a problem with the way DCP-o-matic reformats the XML? Does it change its meaning in some way?

visualize

2019-01-24 01:46

reporter   ~0002922

Yes, there is a problem with the way of formatting. The XML no longer complies with the usual cinecanvas formatting.
I have not tested this for SMPTE titles yet. A reimport of the CCAP file from the created DCP to further process them fails because the formatting is different.
I use the Betaversion 2.13.105 for testing.
The lines per spot number are exchanged. But that's not a problem. All extras like color, italics ..... will be different.
For comparison: 190124_Testmovie_CCAP_IOP_INPUT.xml and sub_3721fa00-1e51-4380-bd26-ba4e095c6bf6_Output.xml
I attached the project. When I clean the input XML file and remove all extras such as colors and italics, everything works fine.
Only the lines of a spot number are reversed (no problem, the altitude information is correct)

180124_TESTMOVIE.zip (545,555 bytes)

carl

2019-01-24 02:01

administrator   ~0002923

I'm sorry: I'm still not sure --- can you tell me which subtitle line will be rendered wrong in ..._Output.xml that is right in ..._INPUT.xml?

Carsten

2019-01-24 02:42

manager   ~0002925

Not sure if I understand the problem. Except for the obvious 29/30 chars issue.

If a 'standard' Cinecanvas/XML file originally meant for subtitling/open captions is used for CCAP, some reformatting is necessary to comply with CCAP constraints. The result will only be used for CCAP generation, so, what is the problem? The original source can still be used for subtitles/open captions? Am I missing something?

  • Carsten

visualize

2019-01-24 09:53

reporter   ~0002926

Thanks for asking and efforts! ;-)
My request relates to the further processing. If someone gets the DCP and wants to edit the CCAP. I was not sure if the SubtitleEdit program interpreted correctly the output cap XML file. So... it will be a problem of the subtitle program.

subtite_edit.jpg (315,475 bytes)

carl

2019-01-24 22:49

administrator   ~0002933

OK. Well if there's some incorrect change that DCP-o-matic makes, do let us know and we can fix it. I just need the input file and details of exactly what is wrong with DCP-o-matic's output (i.e. which tags/attributes whatever are incorrect). Thanks!

Bug History

Date Modified Username Field Change
2019-01-17 02:13 visualize New Bug
2019-01-17 02:13 visualize File Added: Testmovie_CCAP_cleaned_dcpomatic_output.xml
2019-01-17 02:13 visualize File Added: Testmovie_CCAP_cleaned_input.xml
2019-01-17 02:13 visualize File Added: Testmovie_CCAP_standart_dcpomatic_output.xml
2019-01-17 02:13 visualize File Added: Testmovie_CCAP_standart_input.xml
2019-01-17 02:13 visualize Tag Attached: ccap
2019-01-17 21:39 carl Target Version => 2.14.0
2019-01-17 22:38 carl Note Added: 0002905
2019-01-17 22:39 carl Assigned To => carl
2019-01-17 22:39 carl Status new => feedback
2019-01-17 22:39 carl Note Added: 0002906
2019-01-17 22:39 carl Note Added: 0002907
2019-01-17 23:55 visualize Note Added: 0002908
2019-01-17 23:55 visualize Status feedback => assigned
2019-01-23 21:05 carl Note Added: 0002918
2019-01-23 21:05 carl Status assigned => feedback
2019-01-24 01:46 visualize File Added: 190124_Testmovie_CCAP_IOP_INPUT.xml
2019-01-24 01:46 visualize File Added: sub_3721fa00-1e51-4380-bd26-ba4e095c6bf6_Output.xml
2019-01-24 01:46 visualize File Added: 180124_TESTMOVIE.zip
2019-01-24 01:46 visualize Note Added: 0002922
2019-01-24 01:46 visualize Status feedback => assigned
2019-01-24 02:01 carl Note Added: 0002923
2019-01-24 02:42 Carsten Note Added: 0002925
2019-01-24 09:53 visualize File Added: subtite_edit.jpg
2019-01-24 09:53 visualize Note Added: 0002926
2019-01-24 22:49 carl Note Added: 0002933
2019-01-24 22:49 carl Status assigned => feedback
2019-01-24 22:50 carl Target Version 2.14.0 =>
2019-01-24 22:50 carl Summary CCAP pre-test and reformatting incorrect => Reformatting of subs incorrect?
2019-11-17 21:44 carl Status feedback => resolved
2019-11-17 21:44 carl Resolution open => unable to reproduce
2020-12-16 00:09 carl Status resolved => closed