<div dir="auto"><div><div>>Create and add Soft Subtitles as simple text info commentaries to the video content</div>This is the topic for this post.</div><div dir="auto"><br></div><div dir="auto">Hello, Terje. You can try to use ML and machine learning approach to do this. Use whisper.cpp (<a href="https://github.com/ggerganov/whisper.cpp">https://github.com/ggerganov/whisper.cpp</a>) program to generate srt file from your speech. The program itself is really small, but you'll have to download relative big pretrained model. I use it myself, then I need to convert my dictaphone record to text. To convert srt to vob, the srt2vobsub program can be used.</div><div dir="auto"><br></div><div dir="auto">I think that separate third party plugin can be made for cin-gg to automate this. </div><div dir="auto"><div dir="auto"><br></div><div data-smartmail="gmail_signature" dir="auto">Best regards,</div><div data-smartmail="gmail_signature" dir="auto">Andrey</div><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">вс, 11 февр. 2024 г., 06:36 Terje J. Hanssen via Cin <<a href="mailto:cin@lists.cinelerra-gg.org">cin@lists.cinelerra-gg.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<br>
<br>
<div>Den 11.02.2024 00:57, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">сб, 10 февр. 2024 г.,
21:10 Terje J. Hanssen via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank" rel="noreferrer">cin@lists.cinelerra-gg.org</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> There are two things I want to add to my current
intermediate DVD mpg video files created with ffmpeg,
and/or to the DVD tree structure created with DeVeDeNG:<br>
<blockquote>1. Create and add a Navigation menu in the
beginning<br>
This will be an upcoming, separate topic<br>
<br>
2. Create and add Soft Subtitles as simple text info
commentaries to the video content<br>
This is the topic for this post.<br>
</blockquote>
<br>
The reason that I want <b>Soft</b> Subtitles as a
separate text file stream related to timing, is because
this should be possible to <b>add</b> or import to an
existing video file without the need to re-encode. It
should also be flexible to display on or off during
playback, if I have understood this correct so far.<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">IIRC you can't add text-based subtitles to DVD
video. Blu-ray yes, dvd no (both can use palletized
reduced-color graphical subtitles) ... so at least rendering
text as palletized picture and then muxing it into mpeg stream
is unavoidable step,as far as I understand.</div>
</div>
</blockquote>
<br>
I have prepared a new video file and will try to add sub-titles
to-morrow <br>
<a href="http://www.g-raffa.eu/Cinelerra/HOWTO/subtitles.html#_how_to_create_soft_subtitles" target="_blank" rel="noreferrer">http://www.g-raffa.eu/Cinelerra/HOWTO/subtitles.html#_how_to_create_soft_subtitles</a><br>
<br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">But may be those DVD creation guis can do srt
=> dvd_sub conversion for you ?</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
2.1 Preferably I want to add/import subtitles as fast
and easy using GUI interactive tools like DeVeDeNG or
VLC if possible?<br>
Next thereafter could be using the more time consuming
ffmpeg<br>
<a href="https://www.baeldung.com/linux/subtitles-ffmpeg#how-to-add-soft-subtitles" rel="noreferrer noreferrer" target="_blank">https://www.baeldung.com/linux/subtitles-ffmpeg#how-to-add-soft-subtitles</a><br>
<br>
2.2 So is the question if learning a special subtitle
editor is necessary to create the text file easier, like
one of these 5<br>
<a href="https://www.debugpoint.com/3-great-subtitle-editors-in-linux-systems/" rel="noreferrer noreferrer" target="_blank">https://www.debugpoint.com/3-great-subtitle-editors-in-linux-systems/</a><br>
<br>
Tip, suggestions or experience how to do this?<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank" rel="noreferrer">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div></div></div>