[Cin] Adding soft subtitles to a DVD video
Андрей Спицын
spitsyn.andrey at gmail.com
Sun Feb 11 14:54:18 CET 2024
>Create and add Soft Subtitles as simple text info commentaries to the
video content
This is the topic for this post.
Hello, Terje. You can try to use ML and machine learning approach to do
this. Use whisper.cpp (https://github.com/ggerganov/whisper.cpp) 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.
I think that separate third party plugin can be made for cin-gg to automate
this.
Best regards,
Andrey
вс, 11 февр. 2024 г., 06:36 Terje J. Hanssen via Cin <
cin at lists.cinelerra-gg.org>:
>
>
> Den 11.02.2024 00:57, skrev Andrew Randrianasulu:
>
>
>
> сб, 10 февр. 2024 г., 21:10 Terje J. Hanssen via Cin <
> cin at lists.cinelerra-gg.org>:
>
>> 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:
>>
>> 1. Create and add a Navigation menu in the beginning
>> This will be an upcoming, separate topic
>>
>> 2. Create and add Soft Subtitles as simple text info commentaries to the
>> video content
>> This is the topic for this post.
>>
>>
>> The reason that I want *Soft* Subtitles as a separate text file stream
>> related to timing, is because this should be possible to *add* 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.
>>
>
>
> 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.
>
>
> I have prepared a new video file and will try to add sub-titles to-morrow
>
> http://www.g-raffa.eu/Cinelerra/HOWTO/subtitles.html#_how_to_create_soft_subtitles
>
>
>
> But may be those DVD creation guis can do srt => dvd_sub conversion for
> you ?
>
>>
>> 2.1 Preferably I want to add/import subtitles as fast and easy using GUI
>> interactive tools like DeVeDeNG or VLC if possible?
>> Next thereafter could be using the more time consuming ffmpeg
>> https://www.baeldung.com/linux/subtitles-ffmpeg#how-to-add-soft-subtitles
>>
>> 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
>> https://www.debugpoint.com/3-great-subtitle-editors-in-linux-systems/
>>
>> Tip, suggestions or experience how to do this?
>>
>>
>>
>>
>>
>>
>>
>> --
>> Cin mailing list
>> Cin at lists.cinelerra-gg.org
>> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>>
>
> --
> Cin mailing list
> Cin at lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240211/8b97db32/attachment.htm>
More information about the Cin
mailing list