[FFmpeg-user] what is wrong with the map parameter?

2023-03-07 Thread Gabriel Dina
Hi, I don't understand why the map parameter does not select only one video stream: ffmpeg -i 'uploads/movie.mov' -i ./assets/logo.png -filter_complex "[1][0]scale2ref=w='iw*1/5':h='ow/mdar'[v1];[0][v1]overlay=main_w-overlay_w-5:5[out]" -map '[out]:v:1' 'uploads/outputx.mp4' ffprobe

Re: [FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Gabriel Dina
Michael Koch wrote: > Am 01.03.2023 um 10:55 schrieb Gabriel Dina: > > 1 frame, indeed, but is the first image without logo and info. Maybe it > is > > a way to get the last frame? > > In your example all three inputs are images, so the output can only one > image. >

[FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Gabriel Dina
ffmpeg -i uploads/image.mp4 -i ./assets/logo.png -i ./assets/info.png -filter_complex "[1][0]scale2ref=w='iw *1/5':h='ow/mdar'[v1];[2][0]scale2ref=w='iw*9/10':h='ow/mdar'[v2];[0][v1]overlay=main_w-overlay_w-5:5[vid];[vid][v2]overlay=10:main_h-overlay_h-10" uploads/image%0d.mp4 If I remove %0d

Re: [FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Gabriel Dina
150kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown On Wed, Mar 1, 2023 at 11:25 AM Michael Koch wrote: > Am 01.03.2023 um 10:23 schrieb Michael Koch: > > Am 01.03.2023 um 10:12 schrieb Gabriel Dina: > >> ffmpeg -i uploads

Re: [FFmpeg-user] filter_complex with 2 images generates 3 files instead of one

2023-03-01 Thread Gabriel Dina
1 frame, indeed, but is the first image without logo and info. Maybe it is a way to get the last frame? Many thanks. Gabriel On Wed, Mar 1, 2023 at 11:49 AM Michael Koch wrote: > Am 01.03.2023 um 10:39 schrieb Gabriel Dina: > > Updated command: > > > > ffmpeg -i *uploads/