On Fri, Sep 3, 2021 at 8:54 PM Michael Koch
wrote:
> Am 03.09.2021 um 20:01 schrieb Reino Wijnsma:
> > On 2021-09-03T16:25:50+0200, Michael Koch
> wrote:
> >> But if I write all in the FFmpeg command line, then it doesn't work:
> >>
> >> ffmpeg -loop 1 -i 1.png -loop 1 -i 2.png -lavfi
Am 03.09.2021 um 20:01 schrieb Reino Wijnsma:
On 2021-09-03T16:25:50+0200, Michael Koch wrote:
But if I write all in the FFmpeg command line, then it doesn't work:
ffmpeg -loop 1 -i 1.png -loop 1 -i 2.png -lavfi sendcmd=c="0 [expr] streamselect map
'gte(mod(T,2),1)'",streamselect=map=0 -t 10
On 2021-09-03T16:25:50+0200, Michael Koch wrote:
> But if I write all in the FFmpeg command line, then it doesn't work:
>
> ffmpeg -loop 1 -i 1.png -loop 1 -i 2.png -lavfi sendcmd=c="0 [expr]
> streamselect map 'gte(mod(T,2),1)'",streamselect=map=0 -t 10 -y out.mp4
>
> Unable to parse graph
Michael Koch (12021-09-03):
> ffmpeg -loop 1 -i 1.png -loop 1 -i 2.png -lavfi sendcmd=c="0 [expr]
> streamselect map 'gte(mod(T,2),1)'",streamselect=map=0 -t 10 -y out.mp4
>
> Unable to parse graph description...
You need to put the proper amount of backslashes to protect the commas.
I will
Am 03.09.2021 um 15:30 schrieb Paul B Mahol:
sendcmd supports expressions.
yes, but it's complicated and doesn't always work.
rem make two images for testing
ffmpeg -f lavfi -i color=yellow -vf
drawtext='text="1":fontcolor=red:fontsize=100:x=140:y=80' -frames 1 -y 1.png
ffmpeg -f lavfi -i
On Fri, Sep 3, 2021 at 3:19 PM Michael Koch
wrote:
> Am 03.09.2021 um 15:09 schrieb Paul B Mahol:
> > On Fri, Sep 3, 2021 at 3:07 PM Michael Koch >
> > wrote:
> >
> >> Am 03.09.2021 um 14:21 schrieb Michael Koch:
> >>> I have two video streams and want to toggle between them in 1 second
> >>>
Am 03.09.2021 um 15:09 schrieb Paul B Mahol:
On Fri, Sep 3, 2021 at 3:07 PM Michael Koch
wrote:
Am 03.09.2021 um 14:21 schrieb Michael Koch:
I have two video streams and want to toggle between them in 1 second
intervals. I did try this command:
ffmpeg -i in1.mp4 -i in2.mp4 -lavfi
On Fri, Sep 3, 2021 at 3:07 PM Michael Koch
wrote:
> Am 03.09.2021 um 14:21 schrieb Michael Koch:
> > I have two video streams and want to toggle between them in 1 second
> > intervals. I did try this command:
> >
> > ffmpeg -i in1.mp4 -i in2.mp4 -lavfi streamselect=map='mod(t,2)' -t 30
> >
Am 03.09.2021 um 14:21 schrieb Michael Koch:
I have two video streams and want to toggle between them in 1 second
intervals. I did try this command:
ffmpeg -i in1.mp4 -i in2.mp4 -lavfi streamselect=map='mod(t,2)' -t 30
out.mp4
This doesn't work because streamselect doesn't accept
I have two video streams and want to toggle between them in 1 second
intervals. I did try this command:
ffmpeg -i in1.mp4 -i in2.mp4 -lavfi streamselect=map='mod(t,2)' -t 30
out.mp4
This doesn't work because streamselect doesn't accept expressions.
Who has an idea for a workaround?
Thanks,
10 matches
Mail list logo