Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-27 Thread Michael Koch
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

Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-27 Thread Phil Rhodes via ffmpeg-user
"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

Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-27 Thread Reindl Harald
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

Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-27 Thread Anatoly
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

Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-28 Thread Carl Zwanzig
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) &

[FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-27 Thread 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"? 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

Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-28 Thread Clay via ffmpeg-user
> > 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

Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-28 Thread Phil Rhodes via ffmpeg-user
> 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

[FFmpeg-user] Optimization

2018-10-31 Thread Marcus Lim
\ -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

Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-28 Thread Reindl Harald
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

Re: [FFmpeg-user] the trim filter

2024-07-05 Thread Mark Filipak
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

Re: [FFmpeg-user] Optimization

2018-11-01 Thread Paul B Mahol
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

[FFmpeg-user] Asking for help with filter chain concat troubles

2020-07-13 Thread wilken
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

Re: [FFmpeg-user] Mystery error initializing complex filters -- bug?

2021-03-22 Thread Mark Filipak (ffmpeg)
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.

Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-28 Thread Reindl Harald
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 "

Re: [FFmpeg-user] the trim filter

2024-07-05 Thread Jim DeLaHunt
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

Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-28 Thread Clay
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

Re: [FFmpeg-user] Zoom out/scale down dynamically

2018-09-13 Thread astian
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

Re: [FFmpeg-user] [delogo @ 0x4bfaba0] Logo area is outside of the frame.

2016-12-26 Thread Moritz Barsnick
,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

Re: [FFmpeg-user] Cant convert file on Linux, but on Windows ok

2015-01-09 Thread Moritz Barsnick
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

Re: [FFmpeg-user] Mystery error initializing complex filters -- bug?

2021-03-22 Thread Paul B Mahol
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 >

Re: [FFmpeg-user] Crop, Scale, Pad without distortion

2020-01-26 Thread Hans Carlson
=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

Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-28 Thread Reindl Harald
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

Re: [FFmpeg-user] Need ffmpeg command for gif joiner

2016-05-07 Thread Moritz Barsnick
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 "

Re: [FFmpeg-user] [delogo @ 0x4bfaba0] Logo area is outside of the frame.

2016-12-25 Thread Jim Worrall
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

Re: [FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

2022-10-28 Thread Carl Zwanzig
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

Re: [FFmpeg-user] the trim filter

2024-07-06 Thread Jim DeLaHunt
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

Re: [FFmpeg-user] Crop, Scale, Pad without distortion

2020-01-27 Thread Hans Carlson
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

Re: [FFmpeg-user] Zoom out/scale down dynamically

2018-09-13 Thread 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 sufficient to pad first, and use zoompan in a l

Re: [FFmpeg-user] White Padding Looks Gray

2016-06-11 Thread Carl Eugen Hoyos
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

Re: [FFmpeg-user] Mystery error initializing complex filters -- bug?

2021-03-22 Thread Mark Filipak (ffmpeg)
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

Re: [FFmpeg-user] ffmpeg crash when transcoding with vpp_qsv and pad filters

2019-03-14 Thread qw
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

Re: [FFmpeg-user] ffmpeg crash when transcoding with vpp_qsv and pad filters

2019-03-13 Thread Li, Zhong
> 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

Re: [FFmpeg-user] Using FFmpeg for horizontal video stitching for 3D video

2015-06-10 Thread Jesper Taxbøl
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

Re: [FFmpeg-user] How to add black bars as replacement for height?

2022-11-07 Thread Moritz Barsnick
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

[FFmpeg-user] Add a pad problem

2020-04-26 Thread 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 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

Re: [FFmpeg-user] How to add black bars as replacement for height?

2022-11-08 Thread Robin van der Linden via ffmpeg-user
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&

Re: [FFmpeg-user] Question about ffmpeg

2015-01-21 Thread Moritz Barsnick
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

[FFmpeg-user] strange problem decoding audio on ios pad

2016-11-25 Thread ??????
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

Re: [FFmpeg-user] Mystery error initializing complex filters -- bug?

2021-03-22 Thread Mark Filipak (ffmpeg)
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

Re: [FFmpeg-user] DrawText Not Drawing from top-left (0,0)

2017-01-20 Thread Moritz Barsnick
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"); > >

Re: [FFmpeg-user] White Padding Looks Gray

2016-06-13 Thread Morgan Bellinger
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

Re: [FFmpeg-user] Using FFmpeg for horizontal video stitching for 3D video

2015-06-10 Thread Moritz Barsnick
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

Re: [FFmpeg-user] Add a pad problem

2020-04-26 Thread Anders Arveryd
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

Re: [FFmpeg-user] the trim filter

2024-07-05 Thread Mark Filipak
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

Re: [FFmpeg-user] Mystery error initializing complex filters -- bug?

2021-03-22 Thread Paul B Mahol
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

Re: [FFmpeg-user] Video processing stopped prematurely on resolution change

2016-10-21 Thread Martin Ždila
, 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

Re: [FFmpeg-user] Mystery error initializing complex filters -- bug?

2021-03-22 Thread Jim DeLaHunt
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

Re: [FFmpeg-user] strange problem decoding audio on ios pad

2016-11-28 Thread Carl Eugen Hoyos
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

Re: [FFmpeg-user] Add black on both side with 1024x576

2015-02-09 Thread Werner Robitza
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

Re: [FFmpeg-user] propagation of frames in a filter complex

2020-04-17 Thread Ted Park
>> >>> 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 >>>

Re: [FFmpeg-user] Question about ffmpeg

2015-01-21 Thread Fedor van der Lee
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]&

Re: [FFmpeg-user] emerge has unconnected output? Works on FFMPEG 4, not 3

2020-11-23 Thread Michael Koch
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

Re: [FFmpeg-user] DrawText Not Drawing from top-left (0,0)

2017-01-19 Thread dinizthiagobr
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

Re: [FFmpeg-user] Video processing stopped prematurely on resolution change

2016-10-20 Thread Lou
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

Re: [FFmpeg-user] emerge has unconnected output? Works on FFMPEG 4, not 3

2020-11-23 Thread Michael Koch
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

[FFmpeg-user] (no subject)

2022-09-08 Thread jie chen
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

Re: [FFmpeg-user] Marge 2 videos (side by side)

2015-11-26 Thread Lou
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

Re: [FFmpeg-user] FFMPEG sidechaincompress not working as it should?

2018-01-07 Thread Carl Eugen Hoyos
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[fin‌al]" -map [final] final.mp3 The letter "n‌" in the name

[FFmpeg-user] superimpose audio on stream

2018-04-02 Thread Zoltan Kerenyi Nagy
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/

[FFmpeg-user] ffmpeg crash when transcoding with vpp_qsv and pad filters

2019-03-13 Thread qw
"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

Re: [FFmpeg-user] lavfi-preview

2022-10-31 Thread Diederick C. Niehorster
. 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

Re: [FFmpeg-user] emerge has unconnected output? Works on FFMPEG 4, not 3

2020-11-23 Thread Michael Koch
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

Re: [FFmpeg-user] avsynctest

2022-04-19 Thread Jim DeLaHunt
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,    

Re: [FFmpeg-user] FFMPEG sidechaincompress not working as it should?

2018-01-07 Thread Paul B Mahol
-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? __

Re: [FFmpeg-user] Marge 2 videos (side by side)

2015-11-27 Thread Masud Rana
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

Re: [FFmpeg-user] -filter_complex Gudiance Needed

2014-09-25 Thread Nicolas George
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

[FFmpeg-user] ffmpeg hangs without any cpu usage on stacking variable-dimension video

2016-11-09 Thread Martin Ždila
-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

Re: [FFmpeg-user] Zoom out/scale down dynamically

2018-09-12 Thread 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 later > filter? Do you mean work in reverse? Scale down, pad,

Re: [FFmpeg-user] best way to transform SD to HD w/ pillarbox and yadif

2019-07-18 Thread Kieran O Leary
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

[FFmpeg-user] Using FFmpeg for horizontal video stitching for 3D video

2015-06-09 Thread Kevin Bergemann
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

Re: [FFmpeg-user] High Quality WEBM

2015-12-22 Thread jd1008
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

Re: [FFmpeg-user] High Quality WEBM

2015-12-22 Thread jd1008
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

Re: [FFmpeg-user] Video scaling, padding and cropping together question

2018-01-10 Thread Frank Tetzel
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:

Re: [FFmpeg-user] 16:9 to 2.35:1 and true HD 7.1 to DTS

2022-11-03 Thread Michael Koch
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

Re: [FFmpeg-user] 16:9 to 2.35:1 and true HD 7.1 to DTS

2022-11-04 Thread Bouke / Videotoolshed
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

Re: [FFmpeg-user] propagation of frames in a filter complex

2020-04-16 Thread Mark Filipak
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=&

Re: [FFmpeg-user] Crop, Scale, Pad without distortion

2020-01-27 Thread Gyan
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

Re: [FFmpeg-user] High Quality WEBM

2015-12-22 Thread Reindl Harald
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

Re: [FFmpeg-user] propagation of frames in a filter complex

2020-04-16 Thread Ted Park
; 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

Re: [FFmpeg-user] High Quality WEBM

2015-12-22 Thread Reindl Harald
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

Re: [FFmpeg-user] High Quality WEBM

2015-12-22 Thread jd1008
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

Re: [FFmpeg-user] what's wrong with me ?

2014-07-15 Thread Moritz Barsnick
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

[FFmpeg-user] Cannot find a matching stream for unlabeled input pad 7 on filter Parsed_concat_2

2020-10-29 Thread Randy Johnson via ffmpeg-user
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

Re: [FFmpeg-user] FFMPEG sidechaincompress not working as it should?

2018-01-08 Thread Carl Eugen Hoyos
.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

Re: [FFmpeg-user] tiled overlay filter?

2018-03-13 Thread Gyan Doshi
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

Re: [FFmpeg-user] Upscaling SD 4x3 to FullHD 16x9 - Aspect Ratio problem

2018-06-22 Thread Gyan Doshi
;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,

Re: [FFmpeg-user] Zoom out/scale down dynamically

2018-09-13 Thread Gyan
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

Re: [FFmpeg-user] SD channels to HD

2019-01-29 Thread Jimmy Asher
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

Re: [FFmpeg-user] Rotating webm videos

2019-03-23 Thread Michael Koch
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

Re: [FFmpeg-user] Crop, Scale, Pad without distortion

2020-01-27 Thread Devin Heitmueller
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

Re: [FFmpeg-user] the trim filter

2024-07-05 Thread Hans Carlson via ffmpeg-user
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

Re: [FFmpeg-user] Video scaling, padding and cropping together question

2018-03-30 Thread TPCffmpeg
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

Re: [FFmpeg-user] how to blend logo and video with transparent effect

2015-06-27 Thread qw
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

Re: [FFmpeg-user] propagation of frames in a filter complex

2020-04-17 Thread Mark Filipak
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

Re: [FFmpeg-user] how to blend logo and video with transparent effect

2015-06-27 Thread qw
> >>>>> >>>>> 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

Re: [FFmpeg-user] avsynctest

2022-04-19 Thread Paul B Mahol
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

Re: [FFmpeg-user] Video processing stopped prematurely on resolution change

2016-10-22 Thread Lou
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

Re: [FFmpeg-user] Please help confirm if this hard, system crash is reproducible

2020-04-06 Thread Moritz Barsnick
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

Re: [FFmpeg-user] High Quality WEBM

2015-12-22 Thread Reindl Harald
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   2   3   4   5   >