Anything and everything to do with DCP-o-matic.
zlstl
Posts: 9 Joined: Tue Apr 30, 2019 5:16 am
Post
by zlstl » Wed Sep 04, 2019 2:31 am
Hi~
In my case already have video and audio .mxf file.
But sometime I need only subtitle encoding to .mxf with command line (I only can use CLI...)
This is my cli
1. for subtitle encoding only
Code: Select all
./dcpomatic2_create -o C:\SUBTITLE --container-ratio 239 --content-ratio 239 -f 24 --no-use-isdcf-name --no-sign -n subtitleMXF C:\SUBTITLE\subtitle.srt
2. Start encoding
This cli can get subtitle.mxf but it creates video(black screen) and audio(empty sound) mxf file together.
But, Can I encoding subtitle only? for speed up.... because video(black screen) with audio(empty sound) mxf file no need to me.
anybody have any suggestion?
Carsten
Posts: 2804 Joined: Tue Apr 15, 2014 9:11 pm
Location: Germany
Post
by Carsten » Wed Sep 04, 2019 10:31 am
I think I saw something in the progress column of the website about subtitle export - but don't know what it means yet.
In general, encoding a subtitle over empty video/audio doesn't take very long (about 30s for half an hour runtime), and the temporary space needed is just a few hundred MByte so, personally I don't care.
If you're CLI bound, why not use asdcplib right away? This is for wrapping individual assets.
https://www.cinecert.com/asdcplib/
https://carlh.net/asdcplib
- Carsten
carl
Site Admin
Posts: 2550 Joined: Thu Nov 14, 2013 2:53 pm
Post
by carl » Wed Sep 04, 2019 9:54 pm
The subtitle export feature is close to what you need, I think. You can save out subtitles from a project in Interop XML format.
I think it would just need extending to support SMPTE and also to be accessible from the command line.
zlstl
Posts: 9 Joined: Tue Apr 30, 2019 5:16 am
Post
by zlstl » Thu Sep 05, 2019 12:29 am
thank you for your reply~
I will be try asdcp lib to make subtitle.