Re: [FFmpeg-user] Convert srt Subtitle file into ttml subtitle

2021-10-11 Thread Pierre-Anthony Lemieux
On Mon, Oct 11, 2021 at 9:30 PM Media Mouth  wrote:
>
> RE https://microservice.trillionpictures.com 
>  It's working for me, both the 
> web page and the API.

It's back :)

> RE https://ttconv.sandflow.com/   Very Cool!  
> Thanks for sharing!!
>
> > On Oct 11, 2021, at 7:14 PM, Pierre-Anthony Lemieux  
> > wrote:
> >
> > On Mon, Oct 11, 2021 at 6:38 PM Media Mouth  > > wrote:
> >>
> >> Here's another possibility. https://microservice.trillionpictures.com 
> >> 
> >
> > I am getting a blank page.
> >
> > There is also https://ttconv.sandflow.com/ 
> >
> > (disclaimer: I am the maintainer)
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Convert srt Subtitle file into ttml subtitle

2021-10-11 Thread Media Mouth
RE https://microservice.trillionpictures.com 
 It's working for me, both the web 
page and the API.
RE https://ttconv.sandflow.com/   Very Cool!  
Thanks for sharing!!

> On Oct 11, 2021, at 7:14 PM, Pierre-Anthony Lemieux  wrote:
> 
> On Mon, Oct 11, 2021 at 6:38 PM Media Mouth  > wrote:
>> 
>> Here's another possibility. https://microservice.trillionpictures.com 
>> 
> 
> I am getting a blank page.
> 
> There is also https://ttconv.sandflow.com/ 
> 
> (disclaimer: I am the maintainer)

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Convert srt Subtitle file into ttml subtitle

2021-10-11 Thread Pierre-Anthony Lemieux
On Mon, Oct 11, 2021 at 6:38 PM Media Mouth  wrote:
>
> Here's another possibility. https://microservice.trillionpictures.com

I am getting a blank page.

There is also https://ttconv.sandflow.com/

(disclaimer: I am the maintainer)

> I ran a single test with it, and the TTML formatting looked good, but I still 
> have to run QC against a full show.
>
> > On Oct 10, 2021, at 11:15 PM, R J  wrote:
> >
> > Hi,
> >
> > Thanks for your help.
> >
> > I have gone through that online translators.
> >
> > I am looking for the FFmpeg command which can simplify my requirement.
> >
> > You can suggest any other linux tool/applications for this.
> >
> > Thank you.
> >
> > On Mon, 11 Oct 2021, 11:39 MediaMouth,  wrote:
> >
> >> You might try this
> >>
> >> https://gotranscript.com/subtitle-converter
> >>
> >> If you're comfortable with coding at all, you can create a relatively
> >> sophisticated converter that accounts for options like positioning and
> >> styling in ttml but which are largely foreign to srt.
> >>
> >>
> >>
> >>> On Oct 10, 2021, at 22:58, R J  wrote:
> >>>
> >>> Hi,
> >>>
> >>> Sorry for putting you in confusion.
> >>>
> >>> I tried different ways of conversion from srt to ttml
> >>>
> >>> ffmpeg -i my_srt.srt my_output.ttml -v verbose
> >>>
> >>> So FFmpeg doesn't have the support for this ttml conversion yet.
> >>>
> >>> If so, how to convert this srt into ttml?
> >>>
> >>> Regards.
> >>> ___
> >>> ffmpeg-user mailing list
> >>> ffmpeg-user@ffmpeg.org
> >>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >>>
> >>> To unsubscribe, visit link above, or email
> >>> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> >> ___
> >> ffmpeg-user mailing list
> >> ffmpeg-user@ffmpeg.org
> >> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >>
> >> To unsubscribe, visit link above, or email
> >> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> >>
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Convert srt Subtitle file into ttml subtitle

2021-10-11 Thread Media Mouth
Here's another possibility. https://microservice.trillionpictures.com
I ran a single test with it, and the TTML formatting looked good, but I still 
have to run QC against a full show.

> On Oct 10, 2021, at 11:15 PM, R J  wrote:
> 
> Hi,
> 
> Thanks for your help.
> 
> I have gone through that online translators.
> 
> I am looking for the FFmpeg command which can simplify my requirement.
> 
> You can suggest any other linux tool/applications for this.
> 
> Thank you.
> 
> On Mon, 11 Oct 2021, 11:39 MediaMouth,  wrote:
> 
>> You might try this
>> 
>> https://gotranscript.com/subtitle-converter
>> 
>> If you're comfortable with coding at all, you can create a relatively
>> sophisticated converter that accounts for options like positioning and
>> styling in ttml but which are largely foreign to srt.
>> 
>> 
>> 
>>> On Oct 10, 2021, at 22:58, R J  wrote:
>>> 
>>> Hi,
>>> 
>>> Sorry for putting you in confusion.
>>> 
>>> I tried different ways of conversion from srt to ttml
>>> 
>>> ffmpeg -i my_srt.srt my_output.ttml -v verbose
>>> 
>>> So FFmpeg doesn't have the support for this ttml conversion yet.
>>> 
>>> If so, how to convert this srt into ttml?
>>> 
>>> Regards.
>>> ___
>>> ffmpeg-user mailing list
>>> ffmpeg-user@ffmpeg.org
>>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>> 
>>> To unsubscribe, visit link above, or email
>>> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>> ___
>> ffmpeg-user mailing list
>> ffmpeg-user@ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> 
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>> 
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] shuffleplanes

2021-10-11 Thread Michael Koch

Am 11.10.2021 um 11:26 schrieb Paul B Mahol:

On Mon, Oct 11, 2021 at 11:15 AM Michael Koch 
wrote:


Hello,

I have a question about the shuffleplanes filter. In this example the
pixel format is RGB24. So the first plane is red and the second plane is
green. I want to swap the red and green planes.

ffmpeg -f lavfi -i testsrc2 -lavfi
format=rgb24,split[a][b];[b]shuffleplanes=1:0:2[b];[a][b]vstack -frames
1 -y out.png

But in the output green is swapped with blue. I don't understand why.
I'm using the latest Windows build, just a few days old.


As usual you add additional premise that does not makes sense and is
incorrect.

rgb24 is not planar but packed.

gbrp is used internally and works as expected, as filter does not care
about R/G/B/A order.
It just shuffles planes.


thanks, that explains the unexpected result. It would be helpful to add 
a note to the documentation:
"The input pixel format must be planar, for example gbrp. If a 
non-planar pixel format is used (for example rgb24), a format conversion 
is inserted automatically and you might get unexpected results."


Michael

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] shuffleplanes

2021-10-11 Thread Paul B Mahol
On Mon, Oct 11, 2021 at 11:15 AM Michael Koch 
wrote:

> Hello,
>
> I have a question about the shuffleplanes filter. In this example the
> pixel format is RGB24. So the first plane is red and the second plane is
> green. I want to swap the red and green planes.
>
> ffmpeg -f lavfi -i testsrc2 -lavfi
> format=rgb24,split[a][b];[b]shuffleplanes=1:0:2[b];[a][b]vstack -frames
> 1 -y out.png
>
> But in the output green is swapped with blue. I don't understand why.
> I'm using the latest Windows build, just a few days old.
>

As usual you add additional premise that does not makes sense and is
incorrect.

rgb24 is not planar but packed.

gbrp is used internally and works as expected, as filter does not care
about R/G/B/A order.
It just shuffles planes.


> Michael
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-user] shuffleplanes

2021-10-11 Thread Michael Koch

Hello,

I have a question about the shuffleplanes filter. In this example the 
pixel format is RGB24. So the first plane is red and the second plane is 
green. I want to swap the red and green planes.


ffmpeg -f lavfi -i testsrc2 -lavfi 
format=rgb24,split[a][b];[b]shuffleplanes=1:0:2[b];[a][b]vstack -frames 
1 -y out.png


But in the output green is swapped with blue. I don't understand why.
I'm using the latest Windows build, just a few days old.

Michael
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] How to extract audio from video without re-encoding?

2021-10-11 Thread Android PowerUser
Android PowerUser  schrieb am Mo., 11. Okt. 2021,
10:38:

-vn -c:a copy
>
> Mp4 can remain as a container
>
> inhahe  schrieb am Mo., 11. Okt. 2021, 10:35:
>
>> I want to extract audio from any arbitrary video file and have it save to
>> an audio file without re-encoding and without me knowing ahead of time
>> which audio file format to use.
>>
>> I don't know how to do it because ffmpeg requires an output filename with
>> an extension, which means I have to specify the audio file format within
>> the command. I want ffmpeg to choose the audio file format for me based on
>> the type of audio embedded in the video, much like the -x parameter does
>> in
>> youtube-dl.
>
>
M4A is probably the best container for all expenses.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] How to extract audio from video without re-encoding?

2021-10-11 Thread Android PowerUser
-vn -c:a copy

Mp4 kann als container bleiben

inhahe  schrieb am Mo., 11. Okt. 2021, 10:35:

> I want to extract audio from any arbitrary video file and have it save to
> an audio file without re-encoding and without me knowing ahead of time
> which audio file format to use.
>
> I don't know how to do it because ffmpeg requires an output filename with
> an extension, which means I have to specify the audio file format within
> the command. I want ffmpeg to choose the audio file format for me based on
> the type of audio embedded in the video, much like the -x parameter does in
> youtube-dl.
>
> How can I do this? Thanks.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-user] How to extract audio from video without re-encoding?

2021-10-11 Thread inhahe
I want to extract audio from any arbitrary video file and have it save to
an audio file without re-encoding and without me knowing ahead of time
which audio file format to use.

I don't know how to do it because ffmpeg requires an output filename with
an extension, which means I have to specify the audio file format within
the command. I want ffmpeg to choose the audio file format for me based on
the type of audio embedded in the video, much like the -x parameter does in
youtube-dl.

How can I do this? Thanks.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Convert srt Subtitle file into ttml subtitle

2021-10-11 Thread R J
Hi,

Thanks for your help.

I have gone through that online translators.

I am looking for the FFmpeg command which can simplify my requirement.

You can suggest any other linux tool/applications for this.

Thank you.

On Mon, 11 Oct 2021, 11:39 MediaMouth,  wrote:

> You might try this
>
> https://gotranscript.com/subtitle-converter
>
> If you're comfortable with coding at all, you can create a relatively
> sophisticated converter that accounts for options like positioning and
> styling in ttml but which are largely foreign to srt.
>
>
>
> > On Oct 10, 2021, at 22:58, R J  wrote:
> >
> > Hi,
> >
> > Sorry for putting you in confusion.
> >
> > I tried different ways of conversion from srt to ttml
> >
> > ffmpeg -i my_srt.srt my_output.ttml -v verbose
> >
> > So FFmpeg doesn't have the support for this ttml conversion yet.
> >
> > If so, how to convert this srt into ttml?
> >
> > Regards.
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Convert srt Subtitle file into ttml subtitle

2021-10-11 Thread MediaMouth
You might try this

https://gotranscript.com/subtitle-converter

If you're comfortable with coding at all, you can create a relatively 
sophisticated converter that accounts for options like positioning and styling 
in ttml but which are largely foreign to srt.



> On Oct 10, 2021, at 22:58, R J  wrote:
> 
> Hi,
> 
> Sorry for putting you in confusion.
> 
> I tried different ways of conversion from srt to ttml
> 
> ffmpeg -i my_srt.srt my_output.ttml -v verbose
> 
> So FFmpeg doesn't have the support for this ttml conversion yet.
> 
> If so, how to convert this srt into ttml?
> 
> Regards.
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".