<br><br>On Friday, December 10, 2021, Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com">randrianasulu@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br>On Friday, December 10, 2021, Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank">randrianasulu@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">oh, and apparently Subtitle Edit can export BD subtitles (via Export menu) but Linux problems exist and.. Visual Studio for building? </blockquote></blockquote><div><br></div><div><br></div><div>Note Subtitle _editor_ apparently different (gtk3+) software, not supporting graphics Blu-ray subtitles:</div><div><br></div><div><a href="https://github.com/kitone/subtitleeditor">https://github.com/kitone/subtitleeditor</a></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div><br></div><div><a href="https://www.nikse.dk/SubtitleEdit/Help#linux" target="_blank">https://www.nikse.dk/SubtitleE<wbr>dit/Help#linux</a></div><div><br></div><div>Known issues:</div><div>Setting focus on a control programatically does not work</div><div>The letter è (and some other Unicode characters) will crash SE - read more in this Github issue</div><div>Some languages like Chinese or Arabic might require a different font.</div><div>Text to bitmap rendering is not working well. In image exporting try "Simple rendering" if you have problems.</div><div>Winforms layout...</div></blockquote></blockquote><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div>a bit short part of Manual I was referring to. </div><div><br></div><div><a href="https://cinelerra-gg.org/download/CinelerraGG_Manual/DVD_Subtitles.html" target="_blank">https://cinelerra-gg.org/<wbr>download/CinelerraGG_Manual/<wbr>DVD_Subtitles.html</a></div><div><br></div><div>may be extending it a bit by providing hyperlinks to projects, and may be simple ffmpeg commands for subtitle conversion can be helpful. </div><div><br></div><div>More complex section on Subtitle window says more about microdvd and other formats, may be add new developments about srt also to this page? </div><div><br></div><div>CINELERRA-GG supports the .udvd format of DVDs, so you can create subtitles on the timeline and then save them as .udvd files.</div><div><br></div><div>may be change to</div><div><br></div><div>CINELERRA-GG supports the .udvd format of MicroDVD (also outputs to  .srt (subrip) and .sub (subviewer)), so you can create subtitles on the timeline and then save them as .udvd (or other text-based) files.</div><div><br></div><div>yes, a bit of dublication.. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div><br></div><div><br><br>On Friday, December 10, 2021, Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank">randrianasulu@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From what I remember CinGG can create dvd subtitles but not BD (bluray) subtitles.<div><br></div><div>May be this project can convert them (qt5, meson) ? </div><div><br></div><div><a href="https://aur.archlinux.org/packages/bdsup2subpp-git/" target="_blank">https://aur.archlinux.org/pack<wbr>ages/bdsup2subpp-git/</a></div><div><br></div><div>slightly older src with appimage</div><div><br></div><div><a href="https://github.com/amichaeltm/BDSup2SubPlusPlus" target="_blank">https://github.com/amichaeltm/<wbr>BDSup2SubPlusPlus</a></div><div><br></div><div>original java-based tool</div><div> <a href="https://github.com/mjuhasz/BDSup2Sub" target="_blank">https://github.com/mjuhasz/BD<wbr>Sup2Sub</a></div><div><br></div><div>description</div><div>===</div><div>BDSup2Sub</div><div><br></div><div>A tool to convert and tweak bitmap based subtitle streams</div><div>BDSup2Sub is a tool initially created to convert captions demuxed from a Blu-Ray transport stream (M2TS) into the DVD VobSub format (SUB/IDX) used by many DVD authoring tools - hence the name. Many more features were added over time as was support for other formats. So in the meantime the name seems a little inappropriate. In a nutshell, it's a subtitle conversion tool for image based stream formats with scaling capabilities and some other nice features.</div><div><br></div><div>Supported Formats</div><div>Blu-Ray SUP</div><div>Sony BDN XML (as used by Sonic Scenarist HDMV)</div><div>HD-DVD SUP (import only)</div><div>VobSub (SUB/IDX)</div><div>DVD-SUP (SUP/IFO)</div><div><br></div><div>What it can do</div><div>convert any supported import format to any supported export format</div><div>add a fixed delay to all timestamps</div><div>perform a frame rate conversion e.g. for pal speedup</div><div>synchronize time stamps to output frame rate</div><div>edit times and position of each caption</div><div>control all features (except editing) from the command line</div><div>move all captions inside or outside a given area or horizontally</div><div>crop the target screen size</div><div>scale up/down with a variety of filters (from bilinear over bicubic to Lanczos3 and Mitchell)</div><div>edit "forced" flags</div><div>exclude single captions from export</div><div>erase rectangular regions of a caption</div><div>scale captions independently of screen size</div><div>automatically remove fade in/out from imported subtitle streams.</div><div>export the target palette in PGCEdit text format (RGB values 0..255)</div><div>edit the imported DVD palette when input is either VobSub or SUP/IFO</div><div>edit the frame palette and alpha values when input is either VobSub or SUP/IFO</div><div>set/clear forced flags for all captions</div><div><br></div><div>What it can't do</div><div><br></div><div>BDSup2Sub only supports image based subtitle streams.</div><div>====</div><div><br></div><div><br></div><div>so.. </div><div><br></div><div>in theory CinGG's subtitle output can me MicroDVD'S .udvd but then making those into graphical dvd subtitles will require ffmpeg called with right params</div><div><br></div><div>I found this post converting DVB subtitles to DVD subtitles inside mkv and also image of titular bdsup2sub</div><div><br></div><div><a href="https://forum.videohelp.com/threads/386350-reencoding-dvbsub-to-dvdsub-using-ffmpeg" target="_blank">https://forum.videohelp.com/th<wbr>reads/386350-reencoding-dvbsub<wbr>-to-dvdsub-using-ffmpeg</a></div><div><br></div><div>Subtitle options:</div><div>-s size             set frame size (WxH or abbreviation)</div><div>-sn                 disable subtitle</div><div>-scodec codec       force subtitle codec ('copy' to copy stream)</div><div>-stag fourcc/tag    force subtitle tag/fourcc</div><div>-fix_sub_duration   fix subtitles duration</div><div>-canvas_size size   set canvas size (WxH or abbreviation)</div><div>-spre preset        set the subtitle options to the indicated preset</div><div><br></div><div><a href="https://trac.ffmpeg.org/wiki/HowToConvertSubtitleToASS" target="_blank">https://trac.ffmpeg.org/wiki/H<wbr>owToConvertSubtitleToASS</a></div><div><br></div><div> ..S... = Subtitle codec</div><div> DES    ass             Advanced SubStation Alpha subtitle</div><div> DES    dvbsub          DVB subtitles</div><div> DES    dvdsub          DVD subtitles</div><div> D S    microdvd        MicroDVD subtitle</div><div> D S    pgssub          HDMV Presentation Graphic Stream subtitles</div><div> DES    srt             SubRip subtitle</div><div> DES    xsub            DivX subtitles (XSUB)</div><div><br></div><div>for me system ffmpeg output (4.4)</div><div><br></div><div>DES... ass                  ASS (Advanced SSA) subtitle (decoders: ssa ass ) (encoders: ssa ass )</div><div> DES... dvb_subtitle         DVB subtitles (decoders: dvbsub ) (encoders: dvbsub )</div><div> DES... dvd_subtitle         DVD subtitles (decoders: dvdsub ) (encoders: dvdsub )</div><div> D.S... hdmv_pgs_subtitle    HDMV Presentation Graphic Stream subtitles (decoders: pgssub )</div><div> ..S... hdmv_text_subtitle   HDMV Text subtitle</div><div> D.S... jacosub              JACOsub subtitle</div><div> D.S... microdvd             MicroDVD subtitle</div><div> D.S... mpl2                 MPL2 subtitle</div><div> D.S... pjs                  PJS (Phoenix Japanimation Society) subtitle</div><div> D.S... realtext             RealText subtitle</div><div> D.S... sami                 SAMI subtitle</div><div> ..S... srt                  SubRip subtitle with embedded timing</div><div> ..S... ssa                  SSA (SubStation Alpha) subtitle</div><div> D.S... stl                  Spruce subtitle format</div><div> DES... subrip               SubRip subtitle (decoders: srt subrip ) (encoders: srt subrip )</div><div> D.S... subviewer            SubViewer subtitle</div><div> D.S... subviewer1           SubViewer v1 subtitle</div><div> D.S... vplayer              VPlayer subtitle</div><div> DES... webvtt               WebVTT subtitle</div><div>$</div><div><br></div><div>so in theory chain should be :</div><div><br></div><div>CINGG > udvd /MicroDVD  output - > ffmpeg - > dvd subtitles - > BDsup2sub -</div><div> -> tsmuxer (as PGS stream) (or I found old message saying bdwrite can mux BD subtitles, just there was no more notes about this) </div><div><br></div><div><a href="https://lists.cinelerra-cv.org/pipermail/cinelerra/2017q1/005829.html" target="_blank">https://lists.cinelerra-cv.org<wbr>/pipermail/cinelerra/2017q1/00<wbr>5829.html</a></div><div><br></div><div>Again, our subtitles section a bit bare, may be someone can try said tools and write a bit more on gotchas encountered... </div><div><br></div><div>And still, Andrea/Phyllis I sort of insist on adding at least few lines about mp4box and tsmuxer alternative muxers (may be to newly added Codecs and Formats?) because this info (if you are not seasoned video enthusiast) a bit hard to find..  I was making circles around this topic for nearly year! A lot of windows programs, or specialized editors like</div><div><br></div><div><a href="https://github.com/hguandl/ass2bdnxml" target="_blank">https://github.com/hguandl/ass<wbr>2bdnxml</a> with source but require some windows version of avisynth (avisynth+ available for linux, but apparently this tool input module based on much older x264 avisynth input! so no linux...)</div><div><br></div><div> <a href="https://github.com/magiruuvelvet/jimaku-editor/blob/master/pgs-encoder/main.c" target="_blank">https://github.com/magiruuvel<wbr>vet/jimaku-editor/blob/master/<wbr>pgs-encoder/main.c</a></div><div><br></div><div>mostly concerned with Japanese/Chinese graphical subtitles.. </div><div>and whole encoder probably was developed back in 2009 by some user who badly needed those graphical subtitles</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>
</blockquote></div></blockquote><div> </div><div> </div><div><br></div><div><br></div><div> </div>
</blockquote>