Am 27.10.2022 um 21:57 schrieb Clay via ffmpeg-user:
Dumb ffmpeg question alert:
What is a "pad" in the context of an "input pad", an "output pad" and a
"filter pad"?
"input pad" and "output pad" are described in chapter 32:
ht
"Pad" in audio engineering usually means "to attenuate."
"Pad that down a bit," meaning "reduce the volume."
P
On Thursday, 27 October 2022 at 21:18:46 BST, Michael Koch
wrote:
Am 27.10.2022 um 21:57 schrieb Clay via ffmpeg-user:
> Dumb ffmpeg
Am 27.10.22 um 22:38 schrieb Phil Rhodes via ffmpeg-user:
"Pad" in audio engineering usually means "to attenuate."
"Pad that down a bit," meaning "reduce the volume."
seriously? and that question starts with top-posting and wrong quoting!
in which cr
On Thu, 27 Oct 2022 15:57:59 -0400
Clay via ffmpeg-user wrote:
> Dumb ffmpeg question alert:
>
> What is a "pad" in the context of an "input pad", an "output pad" and
> a "filter pad"?
>
> I understand the concept of padding a video w
On 10/27/2022 11:03 PM, Reindl Harald wrote:
in which crazy world means padding reduce something
The audio engineering world, that's where; been like that many years.
Surprised you didn't know it.
[the rest omitted because it was irrelevant]
Pad can mean-
1) to reduce (audio) &
Dumb ffmpeg question alert:
What is a "pad" in the context of an "input pad", an "output pad" and a
"filter pad"?
I understand the concept of padding a video with horizontal or vertical
bars, padding audio with dead air or some other audio, but this is
dif
>
> 36.39 apad
> Pad the end of an audio stream with silence.
> This can be used together with ffmpeg -shortest to extend audio
> streams to the same length as the video stream
>
> 39.181 pad
> Add paddings to the input image, and place the original input at the
> prov
> 2) to add filler material (writing and other places) "let's pad that out
> to10 minutes"> 3) an electronic contact surface ""solder the red wire to pad
> #2"
> ...
> In the case of ffmpeg _filters_, it looks like #3 is closest as a point o
\
-filter_complex \
"[0:v]scale=1080:1080:force_original_aspect_ratio=decrease,pad=1080:1080:(ow-iw)/2:(oh-ih)/2,setsar=1[v0];\
[1:v]scale=1080:1080:force_original_aspect_ratio=decrease,pad=1080:1080:(ow-iw)/2:(oh-ih)/2,setsar=1[v1];\
[2:v]scale=1080:1080:force_original_aspect_ratio=decrease,pad
Am 28.10.22 um 17:46 schrieb Carl Zwanzig:
In the case of ffmpeg _filters_, it looks like #3 is closest as a point
of interconnection but #2 could apply to 'pad' and 'apad' although IMHO
'fill' would be a better term
not in the IT world
padding in a video m
On 05/07/2024 14.34, Jim DeLaHunt wrote:
On 2024-07-04 15:50, Mark Filipak wrote:
...Here's the interesting terminal output (slightly beautified):
[Parsed_trim_1 @ 00620040]
Media type mismatch between the 'Parsed_trim_1' filter output pad 0 (video) and the
'Pa
est/ed141148-9b79-494b-a26d-f5c84535eeaf9160476045329137307.tmp \
> -loop 1 -t 4 -i
> test/ed141148-9b79-494b-a26d-f5c84535eeaf8917976550433767102.tmp \
> -stream_loop -1 -t 60 -i
> test/ed141148-9b79-494b-a26d-f5c84535eeaf6379741644027890621.tmp \
> -filter_complex \
> "[0:v]scale=1080:1080
bm
-i 35849_35848_0_805c9ebd_ccd5_4f4f_8754_20c2f32afb41_image_video.mp4 -i
medium-w_my42crqamdtp-1594284993207.webm
-i 35852_35851_0_463f246d_ad51_4592_a840_40ccebdf7d1f_image_video.mp4
-filter_complex
"[0:v]scale=iw*min(1280/iw\,720/ih):ih*min(1280/iw\,720/ih),pad=1280:720:(ow-iw)/2:(oh-ih)/2,setdar=1.77
r.txt, for
errors. Especially I've
checked that every input pad (especially [AA1]) has one and only one
matching output pad, and that
every output pad (especially [AA1]) has one and only one matching input
pad.
Can you suggest any other checks or should I file a bug now?
This is not a bug.
nput level. One time I went on an expensive audio
shoot with some new equipment and the manufacturer hid the pad button.
I had to record some stuff with 20db of attenuation
well, in the audio-world people can't even distinct between instruments
and playback, otherwise the nonsense of "
On 2024-07-04 15:50, Mark Filipak wrote:
...Here's the interesting terminal output (slightly beautified):
[Parsed_trim_1 @ 00620040]
Media type mismatch between the 'Parsed_trim_1' filter output pad 0
(video) and the 'Parsed_atrim_2' filter input pad 0
he meaning)..so I drop a rock, as a sounding method (oh crap, more
audio terminology) and listen for the splash. In the [filtergraph]
context of Pad, that splash never came :-D
So.. It seems like its more of a temporary gateway/portal for
specifically crunched data.
>> In the case of ffmp
Carl Eugen Hoyos:
> 2018-09-13 3:28 GMT+02:00, astian :
>> Carl Eugen Hoyos:> 2018-09-10 6:04 GMT+02:00, astian :
>>>
>>>> I want to dynamically (per frame) zoom out/scale down
>>>> a video below 100% size.
>>>
>>> Isn't it suff
,delogo=0:0:50:50:band=10,delogo=20:20:20:20:band=10,split=5[vstream1][vstream2][vstream3][vstream4][vstream5];[vstream1]scale=480:204,pad=480:270:0:33[ld];[vstream2]scale=768:328,pad=768:432:0:52,split=2[sd][sd_1];[vstream3]scale=960:408,pad=960:540:0:66,split=2[qhd][qhd_1];[vstream4]scale=1280:544,p
Stream #0:1[0x810]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
> yuv420p(tv), 1440x1080 [SAR 4:3 DAR 16:9], max. 25000 kb/s, 25 fps, 25 t
[...]
> [Parsed_pad_1 @ 0x40f75a0] Negative values are not acceptable.
> [Parsed_scale_0 @ 0x4132280] Failed to configure input pad on Pa
elp, please.
> >>
> >> Using the latest git source, using '-filter_complex_script', I get a
> >> mystery error.
> >>
> >> I have checked the filter_complex_script: 23fps.ffmpeg.filter.txt, for
> >> errors. Especially I've
>
=704:416:2:82,scale=720:-1,pad=720:480:0:27 -t 60 -f vob
TEMP-crop-scale-pad.mpg
You have to force an aspect ratio to get the output you want, use the
setsar / setdar filter.
I suspected it might have something to do with sar/dar and tried a variety
of setsar and/or setdar filter combinations
Am 28.10.22 um 18:09 schrieb Carl Zwanzig:
On the recording side, too, but it's rather well understood that most
audio equipment -does- have a "sound" and good engineers understand and
exploit that. Perhaps you realize that €50 speakers seem a bit less
accurate that €500 ones do? (I must assu
On Fri, May 06, 2016 at 22:57:15 +0530, Manoj Miyani wrote:
> i want joint mutiple *.gif* with ffmpeg but issue is that when i have made
> joint gif it was default background as black color.any suggestion for it.
Have you checked the documentation? You can specify the color for the "
nloads/ffmpeg-3.2/ffmpeg -y -i
> "/mnt/hgfs/downloads/light.mp4" -i "/mnt/hgfs/downloads/light.mp4"
> -filter_complex
> '[0:v]yadif,delogo=0:0:50:50:band=10,delogo=20:20:20:20:band=10,split=5[vstream1][vstream2][vstream3][vstream4][vstream5];[vstream1]scale=480:2
ofessional recording practice.)
On 10/28/2022 8:51 AM, Reindl Harald wrote:
not in the IT world
Good thing we're not in the IT world, we're in the image- and
aural-processing world.
And none of that is relevant to the original question.
Anyway, go back and look at Clay's quest
On 2024-07-05 18:18, Mark Filipak wrote:
...
Well, I separated video & audio into separate streams but got the same
result:
"Media type mismatch between the 'Parsed_split_0' filter output pad 1
(video) and the 'Parsed_atrim_2' filter input pad 0 (audio)"
S
d... meaning the video
still looks compressed or stretched compared to the original:
All tests with setdar at the end are stretched horizontally. All other
tests are compressed horizontally.
FYI. I used the following calculations for the crop/pad filters:
original frame size: 720x576, SAR=16:15, DA
2018-09-13 3:28 GMT+02:00, astian :
> Carl Eugen Hoyos:> 2018-09-10 6:04 GMT+02:00, astian :
>>
>>> I want to dynamically (per frame) zoom out/scale down
>>> a video below 100% size.
>>
>> Isn't it sufficient to pad first, and use zoompan in a l
Morgan Bellinger stitchfix.com> writes:
> Whenever I run this command, however, I get a light gray instead
> of white in the padding area.
This is because of a bug in the pad filter, I opened ticket #5633.
Workarounds are either to specify -pix_fmt yuv420p or a more
complicated fil
source, using '-filter_complex_script', I get a
mystery error.
I have checked the filter_complex_script: 23fps.ffmpeg.filter.txt, for
errors. Especially I've
checked that every input pad (especially [AA1]) has one and only one
matching output pad, and that
every output pad (especial
Hi
The simplified command is:
ffmpeg -hwaccel qsv -c:v h264_qsv -i football_avc_600p_24fps_1000k.flv -an -c:v
h264_qsv -r 15/1 -vb 100 -minrate 100 -maxrate 150 -bufsize 200
-preset fast -profile:v main \
-vf "vpp_qsv, pad='1280:720:128:6
> From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of
> qw
> Sent: Wednesday, March 13, 2019 9:57 PM
> To: ffmpeg-user@ffmpeg.org
> Subject: [FFmpeg-user] ffmpeg crash when transcoding with vpp_qsv and
> pad filters
>
> hi,
>
>
> I use the
This works for me
/usr/local/bin/ffmpeg -i l.mov -i r.mov -filter_complex
"[0:v:0]pad=iw*2:ih:0:0[L];[L][1:v:0]overlay=w:0" out.mp4
2015-06-10 9:58 GMT+02:00 Moritz Barsnick :
> Hi Kevin,
>
> On Mon, Jun 08, 2015 at 17:37:46 -0400, Kevin Bergemann wrote:
>
> > slig
On Tue, Nov 08, 2022 at 03:02:36 +0100, FFmpeg user discussions wrote:
> Can I use ffmpeg to convert a 1920x800 resolution clip to 1920x1080? The
> goal is to fill the remaining pixels with a true black bar.
Have a look at the pad filter:
https://ffmpeg.org/ffmpeg-filters.html#pad-1
Som
Hi,
I'm new with ffmpeg, and trying to make a slideshow of some images. It works
fine, but when I have a vertical image, I want to add a pad around to keep the
3/2 ratio. Then I get this error message and I can't figure it out what is
wrong, its something about the dimensions but wh
Thanks for your reply, Moritz,
I now came to the following cmd:
-vf
"scale={stream["width"]}:{stream["height"]}:force_original_aspect_ratio=decrease,pad={stream["width"]}:{stream["height"]}:(ow-iw)/2:(oh-ih)/2,setsar=1"
{stream["height&
nd then tile them.
(Sorry if this works with "-vf". I only managed with "-filter_complex.)
(Sorry 2 if this has issues with images of changing size. I can't take
all corner cases into account. ;-))
You can also use the overlay filter: Pad one image (stream) to double its
size
I met a very strange phenomenon in decoding mp3 to pcm data in ios pad. I have
tested the code on windows 10, it works correctly.However, with the same mp3
file and the same code runing on ios pad , the pcm data become total white
noise.
I have compare the input compressed data(mp3) and the
for errors. Especially I've
checked that every input pad (especially [AA1]) has one and only one matching output pad, and that
every output pad (especially [AA1]) has one and only one matching input pad.
Can you suggest any other checks or should I file a bug now?
…
=== command line ===
ffmp
us the console output from
your command. There's so much useful information in it, honestly!
> cmd.Add("scale=640:640,transpose=1,pad=670:670:15:15:white,drawtext=fontfile="
> + fontFilePath + ":text=" + _caption + ":x=15:y=15:fontsize=30:box=1");
>
>
Brilliant! Your second solution works. I had previously tried yuv420p
without success. Here's my new working command line:
ffmpeg -i p.MOV -vf
"format=yuv420p,transpose=2,pad=1920:1920:420:color=white,format=yuvj420p"
c.MOV
Thanks so much for your help.
On Sat, Jun 11, 2016 a
Hi Kevin,
On Mon, Jun 08, 2015 at 17:37:46 -0400, Kevin Bergemann wrote:
> slightly edited for use on a Mac instead of Linux:
Tell me, what would be different in ffmpeg's command line on Mac[OSX]
vs. Linux? Just wondering.
> ./ffmpeg -i left.mp4 -strict -2 -vf "[in] pad=2*iw:ih
I have sorted this out now! So no need to spend time to solve this!
Best regards
Anders
> 26 apr. 2020 kl. 11:39 skrev Anders Arveryd :
>
> Hi,
> I'm new with ffmpeg, and trying to make a slideshow of some images. It works
> fine, but when I have a vertical image, I want
On 05/07/2024 15.41, Mark Filipak wrote:
On 05/07/2024 14.34, Jim DeLaHunt wrote:
On 2024-07-04 15:50, Mark Filipak wrote:
...Here's the interesting terminal output (slightly beautified):
[Parsed_trim_1 @ 00620040]
Media type mismatch between the 'Parsed_trim_1' filt
latest git source, using '-filter_complex_script', I get a
> >>>> mystery error.
> >>>>
> >>>> I have checked the filter_complex_script: 23fps.ffmpeg.filter.txt, for
> >>>> errors. Especially I've
> >>>> checked
, scale=320x240:force_original_aspect_ratio=decrease,
pad=320:240:(ow-iw)/2:(oh-ih)/2 [l];
[1:v] fps=25, scale=320x240:force_original_aspect_ratio=decrease,
pad=320:240:(ow-iw)/2:(oh-ih)/2 [r];
[l][r] hstack=inputs=2:shortest=1 [v];
[v][2:v] overlay=10:10:shortest=0 [o]" \
-map "[o]" output.mp4
When I
On 2021-03-21 22:40, Mark Filipak (ffmpeg) wrote:
Hi All,
A little help, please.
Using the latest git source, using '-filter_complex_script', I get a
mystery error.
I have checked the filter_complex_script: 23fps.ffmpeg.filter.txt, for
errors. Especially I've checked that
2016-11-25 17:11 GMT+01:00 兔八哥 <104831...@qq.com>:
> I met a very strange phenomenon in decoding mp3 to pcm data
> in ios pad. I have tested the code on windows 10, it works correctly.
> However, with the same mp3 file and the same code runing on ios
> pad , the pcm data become
t video to be resized.
ffmpeg -i input.mp4 -vf "scale=-2:576,
pad=1024:576:(ow-iw)/2:(oh-ih)/2" output.mp4
The -2 takes care of upscaling at multiples of 2, and 576 is the
desired output height. It will not change the aspect ratio. The pad
filter will pad the video to a full size of
>>
>>> I created the filtergraph by hand. I don't know what folks expect, but
>>> since duplicating pads (e.g., "[A] [A]") just takes up space, I didn't
>>> duplicate them. I don't know whether that relates to "reuse filter pad
>>>
cases into account. ;-))
You can also use the overlay filter: Pad one image (stream) to double its size,
and lay the other over the empty space.
$ ffmpeg -i in1.jpg -i in2.jpg -filter_complex
"[0:v]pad=h=2*ih:w=iw:x=0:y=0[pad]; [pad][1:v]overlay=x=0:y=h[tiled]" -map
"[tiled]&
Am 23.11.2020 um 13:50 schrieb KarlMessner:
Good morning folks,
Any idea what I'm doing wrong here:
/usr/local/bin/ffmpeg -report -i videos/intro720.mp4 -i videos/raw.mp4 -i
videos/outro720.mp4 -i videos/music.mp3 -filter_complex " \
[0]
scale=1280:720:force_original_aspect_ratio=de
aData == 0)
cmd.Add("scale=640:640,pad=670:670:15:15:white,drawtext=fontfile=" +
fontFilePath + ":text=" + _caption + ":x=15:y=15:fontsize=30:box=1");
if (rotationMetaData == 90)
cmd.Add("scale=640:640,transpose=1,p
ARTPTS,
> scale=320x240:force_original_aspect_ratio=decrease [main];
> [bg][main] overlay=x=160-overlay_w/2:shortest=1" \
> -c:v libx264 -preset slow output.mp4
I didn't look into the weirdness of your timestamps, frame rate, and
timebase, but you can eliminate the color source and th
Am 23.11.2020 um 13:50 schrieb KarlMessner:
Good morning folks,
Any idea what I'm doing wrong here:
/usr/local/bin/ffmpeg -report -i videos/intro720.mp4 -i videos/raw.mp4 -i
videos/outro720.mp4 -i videos/music.mp3 -filter_complex " \
[0]
scale=1280:720:force_original_aspect_ratio=de
quot;rtmp://
10.154.39.14:1935/live/Yry01AuHiK7FDcCc35S4IzoOjgm2v8KyBpNlS52DyhMEXiJe" \
-preset ultrafast -filter_complex
"[0:v]scale=480:270,pad=iw:ih*2[0v];[1:v]scale=480:270,pad=iw:ih*2[1v];[2:v]scale=480:270[2v];[3:v]scale=480:270[3v];[0v][2v]overlay=0:h:eof_action=pass,pad=iw*2:ih[1p];[1v][3v]overlay=0:h:eof
On Thu, 26 Nov 2015 21:34:38 +0100
Masud Rana wrote:
> Dear support,
> I am using the following command to marge 2 videos side by side.
> ffmpeg -i *left.mp4* -i *right.mp4* -filter_complex
> "[0:v:0]pad=iw*2:ih[bg]; [bg][1:v:0]overlay=w"
> *output.mp4*
>
> Now
2017-10-23 7:03 GMT+02:00 Frank @ Taapo :
> ffmpeg.exe -i temp_music.aif -i temp_voice.aif -filter_complex
> "[1:a]asplit=2[sc][mix];[0:a][sc]sidechaincompress=threshold=0.1:ratio=5[bg];
> [bg][mix]amerge[final]" -map [final] final.mp3
The letter "n" in the name
Hello,
I'd like to overlay the audio waveform coming from an axis camera's stream.
I've started to read the documentation, but It's quiet complex. For testing
I use that bunny stream.
So far I managed to pad a bottom:
#!/bin/bash
stream="rtsp://184.72.239.149/vod/
"expr:gte(t,n_forced*5)" \
-minrate 100 -maxrate 150 -bufsize 200 -preset fast -profile:v main
\
-vf "vpp_qsv, pad='1280:720:128:64'" -max_muxing_queue_size 2000 \
-f flv football_avc_600p_24fps_1000k_output.flv
it's a bug, isn
. I have trouble understanding
one thing (perhaps I'm just not seeing it). Let me describe what i do,
in case i am misunderstanding something.
1. Add a movie source and a buffersink.
2. set filename of movie source
3. control enter to configure, now a pad shows up at the movie source.
4. connect o
e=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v0];\
[1]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v1];\
[2]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1[v2];\
[3:a]v
agree, Michael. The documentation[1] does not mention which output
pad(s) (or input pad(s)) the filter uses. It also fails to give any
example of the source in use. It is inadequate IMHO.
[1] http://ffmpeg.org/ffmpeg-all.html#avsynctest
Best regards,
-map [final] final.mp3
>
> The letter "n*" in the name of the output pad is another letter than "n" in
> the
> name of the pad you want to map - type the first "final" again.
LOL
How something like this is even possible?
__
p4* -filter_complex
> > "[0:v:0]pad=iw*2:ih[bg]; [bg][1:v:0]overlay=w"
> > *output.mp4*
> >
> > Now my question is, how i can give a 10px white border or
> > space(horizontaly) in between 2 videos?
>
> "[0:v:0]pad=(iw*2)+10:ih:color=white[bg]; [bg
codec:a pcm_s16le "TEST_CONV.mov"
The "[0:v]" is wrong: you put the argument to -map in brackets if it is the
name of a filter pad, like [a_out], and you put a stream specifier inside
brackets when is is used to connect it to a filter pad, like [0:1] and [0:2]
for amerge, bu
-filter_complex
"[0:v]fps=fps=25[x3];[x3]scale=w=640:h=480:force_original_aspect_ratio=decrease[x4];[x4]pad=w=640:h=480:x=(ow-iw)/2:y=(oh-ih)/2[x5];[1:v]fps=fps=25[x8];[x8]scale=w=640:h=480:force_original_aspect_ratio=decrease[x9];[x9]pad=w=640:h=480:x=(ow-iw)/2:y=(oh-ih)/2[x10];[x5][x10]hstack=inp
Carl Eugen Hoyos:> 2018-09-10 6:04 GMT+02:00, astian :
>
>> I want to dynamically (per frame) zoom out/scale down
>> a video below 100% size.
>
> Isn't it sufficient to pad first, and use zoompan in a later
> filter?
Do you mean work in reverse? Scale down, pad,
On Thu, 18 Jul 2019, 21:25 William Caulfield, <
william.caulfi...@contentbridge.tv> wrote:
> I hope I'm getting your intention right here. I had to do this a while back
> for some PAL files. Split the fields, scale, pad, then interlace.
>
> -filter_complex
> "yad
with this command, slightly edited for use
on a Mac instead of Linux:
./ffmpeg -i left.mp4 -strict -2 -vf "[in] pad=iw:2*ih [left];
movie=right.mp4 [right];[left][right] overlay=0:main_h/2 [out]" output.mp4;
But I need left/right stitching. Editing the left/right stitching command
in
d for high quality webm video from a
raw avi
source?
well, there is nothing like a recommended command
in general it don't matter much what format the source is
below a log output from today
raie the bitrate and size, that's a automated system calculation
pad to
reach target of 320x180
176,setdar=16/9,pad=320:180:0:2:00'
to
-vf 'scale=1920:1080'
be enough to get full HD resolution, or would that make the image lose
clarity, definition and sharpness??
yes, if the inout format is Ok
"-vf 'scale=320:176,setdar=16/9,pad=320:180" make black borde
d
> cropping together in a single filter.
Just pick a bigger width for the scale and pad filter, and then add
crop as the last filter, cropping to the final resolution. Add crop
with another comma to the filter chain as you did with scale and pad.
Also, have a look at the filter documentation:
only 2.35:1 is visible.
Have a look at the documentation for the "pad" filter.
The following example might work, but I haven't tested it:
ffmpeg -i input.mp4 -vf pad=x=-1:y=-1:aspect=2.35 output.mp4
Michael
___
ffmpeg-user mailing l
the top and the bottom. I need to black out top and bottom so
>> only 2.35:1 is visible.
>
> Use the crop filter:
> https://ffmpeg.org/ffmpeg-filters.html#crop
>
> Carl Eugen
> ___
Definitely not crop, that will remove part of t
Hey, Ted,
On 04/16/2020 12:11 PM, Ted Park wrote:
Huh, I didn't know you could reuse filter pad labels.
What do you mean?
split[A]select='not(eq(mod(n+1\,5)\,3))' [C]interleave
[B]split[D]select='eq(mod(n+1\,5)\,2)'[F]blend[D]
[E]select=&
erbox/pillarbars and dealing with nonsquare pixels), and
I've had the best success with crop->pad->scale. There is also at least
one bug in the scale filter where it doesn't properly handle upstream
filters changing the properties of the the scaler input link, which causes
incorre
Am 22.12.2015 um 20:41 schrieb jd1008:
On 12/22/2015 12:32 PM, Reindl Harald wrote:
I would like to add
-s '1920x1080'
how does 1920x1080 makes sense when your destination size is 320x180?
So, would changing
-vf 'scale=320:176,setdar=16/9,pad=320:180:0:2:00'
to
; I've used 'datascope' in various parts of the filter graph in an attempt to
> confirm this on my own. It's difficult because my test video doesn't display
> frame #s.
>
> If that indeed is the behavior, then ...
>
> I need a way to duplicate a fram
Kirk Clemons:
Is there a recommended command for high quality webm video from a
raw avi
source?
well, there is nothing like a recommended command
in general it don't matter much what format the source is
below a log output from today
raie the bitrate and size, that's a automated system cal
itrate and size, that's a automated system calculation
pad to
reach target of 320x180 independent of the source
Output #0, webm, to
'/www/temp/94db14123a8cba39c1715e9a806d4a342a944b34.webm':
[video] => /usr/local/bin/ffmpeg -hide_banner -i '/www/temp/12.m4v'
-y -vb
'38
ple inputs, as
outlined here:
https://trac.ffmpeg.org/wiki/Create%20a%20mosaic%20out%20of%20several%20input%20videos
which would turn out somewhat like this for you:
ffmpeg -i a.jpg -i b.jpg -filter_complex
'[0]scale=1920:1080[sc0];[1]scale=1920:108
Hello,
This seems similiar to the other issue I posted last night. I was able
to get that issue resolved but now I am getting this error:
Cannot find a matching stream for unlabeled input pad 7 on filter
Parsed_concat_2
when running this command:
ffmpeg \
-loop 1 -framerate 30 -t 1.32 \
-i
.1:ratio=5[bg];
>>
>>> [bg][mix]amerge[fin*al]" -map [final] final.mp3
>>
>> The letter "n*" in the name of the output pad is another letter than
>> "n" in the name of the pad you want to map - type the first "final"
>&g
ions are W x H.
I assume your watermark is correctly sized and smaller than W/10 x H/10.
If not, add a scale filter before the pad in the command below.
Command would be
ffmpeg -i video.mp4 -loop 1 -i image -filter_complex
"[1]pad=W/10:H/10:(ow-iw)/2:(oh-ih)/2:color=black@0,tile=10x
;F:\scaler
Since you're scaling proportionally ("-1:1080"), you need to pad out the
frame to FHD.
ffmpeg -i in -vf "crop=720:576:0:32,setfield=tff,yadif=1:0:0,
scale=-1:1080,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,
On Fri, Sep 14, 2018 at 9:29 AM astian wrote:
>
>
> Well, I'm not sure what you mean. Pad doesn't seem very dynamic to me, I
> know that it has an eval=frame option, but according to the manual there
> is no frame-number variable that I could exploit.
>
Pad the vide
and its options and look at how to
scale and pad the video to create a letter box formatted output.
ffmpeg -i input.mp4 -vf "scale=..., pad=..." output.mp4
help docs is a good place to start https://trac.ffmpeg.org/wiki/FilteringGuide
JDA
mmand resulted in the video being cropped to a square
(original video is in portrait mode), and there is still significant
quality loss...
then you could pad the video before applying the rotate filter, and crop
it after the rotate filter:
-vf pad=iw:iw:-1:-1,rotate=PI/2,crop=xxx:ih
where xxx i
dealing with nonsquare pixels), and
I've had the best success with crop->pad->scale. There is also at least
one bug in the scale filter where it doesn't properly handle upstream
filters changing the properties of the the scaler input link, which causes
incorrect scaling.
I've got
On Fri, 5 Jul 2024, Mark Filipak wrote:
Well, I separated video & audio into separate streams but got the same
result:
"Media type mismatch between the 'Parsed_split_0' filter output pad 1 (video)
and the 'Parsed_atrim_2' filter input pad 0 (audio)"
So, the v
involves scaling, padding and
cropping together in a single filter.
Just pick a bigger width for the scale and pad filter, and then add
crop as the last filter, cropping to the final resolution. Add crop
with another comma to the filter chain as you did with scale and pad.
Also, have a look at t
aller than that of video,
>>> the
>>> command will report error.
>>>
>>>
>>> How to blend image and video with different size? Could you provide some
>>> command examples?
>>
>> You could crop logo and use expressions in blend filter
hand. I don't know what folks expect, but since duplicating pads
(e.g., "[A] [A]") just takes up space, I didn't duplicate them. I don't know whether that
relates to "reuse filter pad labels". Could you put some 'meat' on your 'bones'?
I mea
>
>>>>>
>>>>> But the command requires the same resolution from logo image and video.
>>>>> If
>>>>> the size of logo image is different from or smaller than that of video,
>>>>> the
>>>>> command will rep
vsynctest=d=5 out.mov
> >
> > gives this error message:
>
> ...[error message and console log omitted for brevity]...
>
> I agree, Michael. The documentation[1] does not mention which output
> pad(s) (or input pad(s)) the filter uses. It also fails to give any
> exampl
the
> output is empty:
>
> ffmpeg -y -i a.webm -i b.webm -i logo.png -filter_complex \
> "[0:v] fps=25, scale=320x240:force_original_aspect_ratio=decrease,
> pad=320:240:(ow-iw)/2:(oh-ih)/2 [l];
> [1:v] fps=25, scale=320x240:force_original_aspect_ratio=decrease,
> pad=3
rted in between.
It is correct:
https://ffmpeg.org/ffmpeg-filters.html#Filtergraph-syntax-1
If an output pad is not labelled, it is linked by default to the
first unlabelled input pad of the next filter in the filterchain.
Moritz
___
ffmpeg-us
size, that's a automated system calculation pad to
reach target of 320x180 independent of the source
Output #0, webm, to
'/www/temp/94db14123a8cba39c1715e9a806d4a342a944b34.webm':
[video] => /usr/local/bin/ffmpeg -hide_banner -i '/www/temp/12.m4v' -y
-vb '38
1 - 100 of 479 matches
Mail list logo