Hi everyone,
I currently need to convert (unencrypted) SMPTE/MXF subtitles to XML text files with java library
Any suggestion is welcome
Thanks!
Convert MXF subtitles to XML with java
-
- Posts: 2804
- Joined: Tue Apr 15, 2014 9:11 pm
- Location: Germany
Re: Convert MXF subtitles to XML with java
Why does it need to be java?
DCP-o-matic 2.15.x has an XML export feature. Generating an Interop DCP from an MXF source file will also create an XML subtitle file. While the export function is not scriptable, I guess creation and interop generation should be doable with the existing commandline options. This would create unnecessary video and audio asset files, but, who cares, would be easy to delete them within a script after XML creation.
I guess there is something in ASDCP already to do that, and I also think some of Carls libraries dealing with subs would be able to do it.
However, not immediately javaish.
- Carsten
DCP-o-matic 2.15.x has an XML export feature. Generating an Interop DCP from an MXF source file will also create an XML subtitle file. While the export function is not scriptable, I guess creation and interop generation should be doable with the existing commandline options. This would create unnecessary video and audio asset files, but, who cares, would be easy to delete them within a script after XML creation.
I guess there is something in ASDCP already to do that, and I also think some of Carls libraries dealing with subs would be able to do it.
However, not immediately javaish.
- Carsten
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: Convert MXF subtitles to XML with java
As Carsten says you basically need the what the tool from this library does. It's C++ though. Maybe you can make a Java wrapper?
Code: Select all
asdcp-unwrap
-
- Posts: 2
- Joined: Mon Apr 06, 2020 3:51 pm
Re: Convert MXF subtitles to XML with java
Hi,
Thanks for your responses,
Yes, like you said the AsDcpLib in C++.
However, I need it in java language.
I try with regXmllib https://github.com/sandflow/regxmllib
and https://github.com/AMWA-TV/maj
But I did not have the desired result
Thanks for your responses,
Yes, like you said the AsDcpLib in C++.
However, I need it in java language.
I try with regXmllib https://github.com/sandflow/regxmllib
and https://github.com/AMWA-TV/maj
But I did not have the desired result
Last edited by mary on Mon Apr 06, 2020 9:35 pm, edited 2 times in total.
-
- Posts: 2
- Joined: Mon Apr 06, 2020 3:51 pm
Re: Convert MXF subtitles to XML with java
Hi everybody again me,
Have you an idea, if the asdcp-unwrap is compatible with all Linux distributions (Debian, Ubuntu (desktop), Linux Mint, Red Hat Enterprise Linux, Fedora (workstation), CentOS, OpenSUSE Leap, Arch Linux, ...)
Have you an idea, if the asdcp-unwrap is compatible with all Linux distributions (Debian, Ubuntu (desktop), Linux Mint, Red Hat Enterprise Linux, Fedora (workstation), CentOS, OpenSUSE Leap, Arch Linux, ...)