LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-04-2022, 04:45 AM   #1
Ian D
Member
 
Registered: Aug 2005
Location: Solihull, UK
Distribution: Fedora 39
Posts: 215

Rep: Reputation: 18
Creating subtitles using Kdenlive and DVDstyler


I create video files using Kdenlive and then burn them to DVD using DVDstyler. No problem.

Using Kdenlive, I can generate subtitles which are automatically added to the image - but that means that the subtitles are 'always on'.

I believe that I can export the subtitles (from Kdenlive), so that I can have the video and subtitles as separate files.

I see suggestions that DVDstyler can write DVDs with subtitles which are selectable - but I am not clear on how to do it.

Is there any good documentation on adding subtitles using DVDstyler?
 
Old 07-04-2022, 12:34 PM   #2
Ian D
Member
 
Registered: Aug 2005
Location: Solihull, UK
Distribution: Fedora 39
Posts: 215

Original Poster
Rep: Reputation: 18
I have progressed.

First, I exported the subtitles from Kdenlive (to a .srt file) .

Then, having added the video to my DVD in DVDstyler, I double-clicked the video and could add the subtitle file. There is an option to "Force Display" which does not seem to make any difference.

I make the DVD and, using the preview option with VLC Media Player, I can play the DVD and I can select to show the subtitles. I have a number of 'titles' on the DVD. If I 'Play All', when play reaches the video with the subtitles, the subtitles appear bold and black. See attached screenshot. If I choose 'Select Title' and turn on subtitles, the subtitles appear NOT bold and with yellow fill and black outline. See attached screenshot.

I don't know what causes the different appearance.
Attached Thumbnails
Click image for larger version

Name:	vlcsnap-2022-07-04-18h19m07s208.jpg
Views:	4
Size:	40.3 KB
ID:	39218   Click image for larger version

Name:	vlcsnap-2022-07-04-18h22m14s241.jpg
Views:	3
Size:	38.4 KB
ID:	39219  
 
Old 07-18-2022, 04:55 AM   #3
Ian D
Member
 
Registered: Aug 2005
Location: Solihull, UK
Distribution: Fedora 39
Posts: 215

Original Poster
Rep: Reputation: 18
Here is my process for creating a DVD which has clips with subtitles which can be turned on or off as desired. I use kdenlive and DVDstyler.
In kdenlive, import the video which is to have subtitles. Drag it into the timeline (starting at 0).
At the top of the timeline, just under the timing numbers, at the left hand end (0) you will see a short pale blue line. Drag that out to select how much of the video you want subtitles for (quite likely, all of it).
Then select Project→Subtitles→Speech Recognition→Process. The subtitles will be generated. Then, Project→Subtitles→Export Subtitles, specify your filename and include the .srt extension.
You can now close kdenlive.
Optionally, open the .srt file with a text editor and make any corrections you feel appropriate to the text and save it again.
In DVDstyler import your video. Then, either double click on the video or right-click and select properties. In the top right of the properties window is a large green + sign. Select that and add the .srt file you created earlier.
Create your DVD in the normal manner and you should be able to turn subtitles on and off using your DVD player.
 
Old 07-18-2022, 01:00 PM   #4
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Thanks for the tutorial.
It seems likely to assist someone in the future.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Transcoding MKV files with embedded subtitles to MP4's with 'burned in' subtitles TB0ne LinuxQuestions.org Member Success Stories 0 09-17-2014 11:45 AM
DVDStyler and creating a video menu Harp00 Linux - Software 5 09-21-2009 02:41 AM
Using ffmpeg and DVDstyler...Audio plays but video stuck on menu Lorienthin Linux - Software 7 06-07-2009 04:31 PM
How to add subtitles with DVDstyler? colucix Linux - Software 0 02-19-2007 06:55 AM
DVDStyler and libdpstk.so.1 Harp00 Linux - Newbie 4 11-05-2006 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration