Re: [Cin] Subtitles

2023-06-24 Thread Phyllis Smith via Cin
Replying here (but did not reply in YouTube).  There is only 1 way to edit
subtitles and that is if they were in a properly formatted udvd, txt, sub ,
or srt file AND are loaded on a "subtitl" track.  Captions that are
actually embedded in the media can not be edited; they would have to be
graphically modified using sketcher or something like that.

On Sat, Jun 24, 2023 at 2:13 AM Andrea paz via Cin <
cin@lists.cinelerra-gg.org> wrote:

> In the youtube channel there is a request if it is possible to
> dynamically alter subtitles. I think not, but can anyone answer
> precisely?
>
> https://www.youtube.com/watch?v=JPhO2sscZzU&list=PLOnHGAy9DoU0dBhf7ibgsmpddDoHhdj-Y&index=12
> --
> Cin mailing list
> Cin@lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-- 
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin


Re: [Cin] Subtitles

2023-06-24 Thread Phyllis Smith via Cin
Also, although I do not have any media to test this, supposedly you can use
the ffmpeg command line to extract the "closed captions" into a .srt file.
Then if that .srt file is formatted as expected by CinGG, it could be
loaded to a subtitl track and easily modified.

On Sat, Jun 24, 2023 at 2:13 AM Andrea paz via Cin <
cin@lists.cinelerra-gg.org> wrote:

> In the youtube channel there is a request if it is possible to
> dynamically alter subtitles. I think not, but can anyone answer
> precisely?
>
> https://www.youtube.com/watch?v=JPhO2sscZzU&list=PLOnHGAy9DoU0dBhf7ibgsmpddDoHhdj-Y&index=12
> --
> Cin mailing list
> Cin@lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-- 
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin


Re: [Cin] Subtitles

2023-06-24 Thread Andrea paz via Cin
I wrote a quick response. See if you'd like to add more.
-- 
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin


Re: [Cin] Subtitles

2019-06-18 Thread Phyllis Smith
> - I understand it works for DVD (as in not bluray yet).
> What about other formats ? like 24 fps films in 2 or 4 K for say ?
>

After you create the subtitles using the Subtitle window, there is a "Save"
button.  When you click on this, it creates a "micro-dvd" file, e.g.
myfile_Subttl_1.udvd.  This file is used by another program, called
"spumux" which generates and multiplexes subtitles into an existing mpeg2
program stream.  I do not know much about it.  It is described at:
http://dvdauthor.sourceforge.net/doc/spumux.html

> - can one import a srt file ? or at least a srt converted with libass ?
>
You can load a srt file since you can load any text file.  BUT the time
stamps do not mean anything to subtitle work except that they will provide
you the time where the subtitle should be placed. I do not know what libass
is?
-- 
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin


Re: [Cin] Subtitles

2019-06-19 Thread Igor BEGHETTO

Edouard,
in add what Phyllis wrote, I added another stupid screencasts of mine, 
if it can help.

https://streamable.com/n98z0

IgorBeg

PS:
In the time I have done the screencast you would know the Cinelerra 
subtititles tool better of me, I think.

;-)


--
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin


Re: [Cin] Subtitles

2019-06-19 Thread Good Guy
Hi,

Good to hear from you, I've been kind of busy.

It always would be good to know more generally "what is the use scenario?"
That is to say... what are you doing with this stuff?

Cinelerra can be useful to compose and edit subtitle data.  The operation
you seem to be asking to be created is a sort of "load" function that will
inject an existing subtiltle script into a cin5 session.  I can do that.
But... to what end?  if you intend to edit this result, then the code will
be
useful, but if it is just to convert it to udvd format, I suspect you can
already
do just that.

The easy way for me to do this is to create a simple standalone program that
reads the srt subtitle data and an existing cin5 xml session file, which
will
inject that data into a new subtitle track on the timeline.  Is that enough
for
the problem your describing?

gg
-- 
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin


Re: [Cin] Subtitles

2019-06-19 Thread Andrea paz
@IgorBeg.
The subtitles demo is perfect for the forum (you also put the
step-by-step explanations), so I ask for your usual consent to upload
it.
-- 
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin


Re: [Cin] Subtitles

2019-06-20 Thread Igor BEGHETTO

Thanks Andrea_paz!
It is yours.

IgorBeg


Il 20/06/2019 8.28, Andrea paz ha scritto:

@IgorBeg.
The subtitles demo is perfect for the forum (you also put the
step-by-step explanations), so I ask for your usual consent to upload
it.

--
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin


Re: [Cin] Subtitles

2019-06-20 Thread edouard chalaron
Thanks guys for your time and explanation.Video is great and to the
point.Igor, if I may, screencasts are far from being stupid, with
something as complex as cinelerra it is almost impossble to do without
them
CheersEd
On Thu, 2019-06-20 at 13:27 +0200, Igor BEGHETTO wrote:
> Thanks Andrea_paz!
> It is yours.
> 
> IgorBeg
> 
> 
> Il 20/06/2019 8.28, Andrea paz ha scritto:
> > @IgorBeg.
> > The subtitles demo is perfect for the forum (you also put the
> > step-by-step explanations), so I ask for your usual consent to
> > upload
> > it.-- 
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin


Re: [Cin] Subtitles

2019-06-21 Thread Igor BEGHETTO

Thanks!
I am glad I hit the right point and it has been useful.

Edouard wrote:
Igor, if I may, screencasts are far from being stupid, with something 
as complex as cinelerra it is almost impossble to do without them

I agree with you.

IgorBeg
--
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin


Re: [Cin] Subtitles view.

2020-06-28 Thread Phyllis Smith
RafaMar - all very good questions.

1. Why are they not displayed in the composer?
>
Simply because it takes time to code this.  When GG implemented this, he
calculated the programmer's time in hours to add the subtitle track, then
calculated how much time it would save if used, and figured out that it
would take xxx hours to implement and would only save xx hours.  So it did
not make sense to say, "spend 20 hours to program and save 2 hours of usage
time".

> 2. Why .udvd and not .srt or .ass? Although this point is also irrelevant
> since it is very easy from .udvd to convert it into .srt or .ass with
> ffmpeg.
>
The only reason for .udvd is simply because he needed it to make a DVD for
his own viewing and needed subtitles to understand the words for a musical. At
the time no user requested this feature.

> DVDs are a thing of the past ... but subtitles are NOT, these are used a
> lot today. I notice that most people want them printed in the video, it
> would be great a script that would allow you to convert a subtitle track
> into a track with the effect of titles and these will be seen in the
> render. The .udvd file is a very good option too, to have the optional
> subtitles, and even more so with how easy it is to convert .udvd to .srt or
> .ass with ffmpeg.
>
I am going to add these suggestions to BT #282 as I did not know that
ffmpeg made it possible to convert from .udvd to .srt.  That might make
implementation of this a whole lot easier.   It could be as simple as
adding a script to the "shell cmds" - something similar to RenderMux.
-- 
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin


Re: [Cin] Subtitles view.

2020-06-29 Thread Igor BEGHETTO
Subtitles are not embedded in your video then, like you (RafaMar), I use 
Title effect to do subtitles that are "printed" in rendering.

Sometime I use "Kitone SubTitleEditor" to do subtitle.

IgorBeg
--
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin


Re: [Cin] Subtitles view.

2020-06-29 Thread Rafa Mar Multimedia en Gnu\Linux
Hello and thanks Phyllis and Igor, I find the Cinelerra subtitle editor
very good, even much better than many applications dedicated to the
exclusive creation of subtitles. Only I miss being able to see these in the
preview, but hey, you can work perfectly with them and I do not think it is
necessary to see them either.

To convert .udvd to .srt or .ass is as simple as:
ffmpeg -i subtitle.udvd subtitle.srt
or
ffmpeg -i subtitle.udvd subtitle.ass
without any problem.
my favorite is .ass because you can easily customize how they will look.

What I think needs to be improved is the wizard to load or save to navigate
to where the file is to load or save... it is a bit tedious to have to
enter the path by hand. I know this is a copy and paste of the address, but
this for a beginning person is a difficulty.
Thank you both very much for the interest.

El lun., 29 jun. 2020 a las 9:55, Igor BEGHETTO ()
escribió:

> Subtitles are not embedded in your video then, like you (RafaMar), I use
> Title effect to do subtitles that are "printed" in rendering.
> Sometime I use "Kitone SubTitleEditor" to do subtitle.
>
> IgorBeg
> --
> Cin mailing list
> Cin@lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-- 
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin


Re: [Cin] Subtitles view.

2020-06-30 Thread Igor BEGHETTO

To convert .udvd to .srt or .ass is as simple as:
ffmpeg -i subtitle.udvd subtitle.srt
or
ffmpeg -i subtitle.udvd subtitle.ass
without any problem.

Thanks RafaMar! That is useful for me. I will wrote on my Notes.

What I think needs to be improved is the wizard to load or save to 
navigate to where the file is to load or save... it is a bit tedious 
to have to enter the path by hand. I know this is a copy and paste of 
the address, but this for a beginning person is a difficulty.

I agree. If possible, it would be better to have.
Thanks!

IgorBeg
--
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin


Re: [Cin] Subtitles view.

2020-06-30 Thread Rafa Mar Multimedia en Gnu\Linux
thank you very much Igor.

El mar., 30 jun. 2020 a las 9:11, Igor BEGHETTO ()
escribió:

> > To convert .udvd to .srt or .ass is as simple as:
> > ffmpeg -i subtitle.udvd subtitle.srt
> > or
> > ffmpeg -i subtitle.udvd subtitle.ass
> > without any problem.
> Thanks RafaMar! That is useful for me. I will wrote on my Notes.
>
> > What I think needs to be improved is the wizard to load or save to
> > navigate to where the file is to load or save... it is a bit tedious
> > to have to enter the path by hand. I know this is a copy and paste of
> > the address, but this for a beginning person is a difficulty.
> I agree. If possible, it would be better to have.
> Thanks!
>
> IgorBeg
> --
> Cin mailing list
> Cin@lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-- 
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin