Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
1

How can i generate a XML doc for Premiere with my subtitles

Community Beginner ,
Jul 27, 2023 Jul 27, 2023

I want to write a program that generates subtitle XML native sequence files that can be imported into Premiere Pro. Where can I find documentation on the specifications or format requirements for this?

TOPICS
Formats , SDK
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Jul 28, 2023 Jul 28, 2023
Translate
Adobe Employee ,
Jul 28, 2023 Jul 28, 2023

Could you provide more specifics "subtitle XML native sequence file"? 

 

It sounds like you want .srt files (not an Adobe format), but I might be missing something...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 28, 2023 Jul 28, 2023

@JC31348615oir3,

 

There is less need for this now that PR has more flexible captioning tools. You can import srt or use transcription to get captions, and convert the captions to regular graphics text (Upgrade Caption to Graphic). But you may have special needs.

 

Here is one tool that was useful before the conversion option was available:

https://apps.microsoft.com/store/detail/subtitle2xml/9N78158BN7XM?hl=en-us&gl=us&activetab=pivot%3Ao...

 

My relevant comments from an old thread:

 

"The Subtitle2xml tool export will not drag to the PR timeline and will not "open" as such, but should import via Media Encoder and by dragging to the Project Panel. Note that the name of the sequence that appears in the Project Panel for the xml import will be the "name" parameter in the XML file; not the filename you used. (They should be the same if you took the defaults in Subtitle2xml.) I tried to test multiple imports by copying to a new filename. This didn't work until I edited the <name> parameter.

 

There's no magic here; just converting the srt into xml structure that PR will import and, in that process, convert to Essential Graphics type info. PR is encoding caption text (and I assume regular Essential Graphics text, but I don't know that) to base64 hex and storing in the project file."

 

@Bruce Bullis,

 

Is there any documentation for such XML import? Or for creation of an XML for such graphic/text import to PR?

 

Stan

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 28, 2023 Jul 28, 2023
That's exactly what I want to do. I do want to create graphics to import
into PR.

When I tried to use Subtitle2xml to convert subtitles, I found that I had
too many documents to convert and needed a program to help me. I noticed
that the subtitle text is encoded in base64 with a JSON schema, but there
are 8 bytes before the marshaled JSON bytes array. I would like to know
more about this protocol.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 28, 2023 Jul 28, 2023
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 28, 2023 Jul 28, 2023
Oh, I see. In fact, what I want to know is how to organize subtitles by
graphics.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines