[FFmpeg-user] Input link in1:v0 parameters (size 1280x720, SAR 1:1) do not match the corresponding output link in0:v0 parameters (640x360, SAR 1:1)

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jul 22 23:41:27 CEST 2014


Bikash Kumar Sinha <bikashkumar.sinha <at> gmail.com> writes:

> I am trying to merge 2 videos and get the following 
> error even after setting the filters.

>     Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), 
> yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9]

>     Stream #1:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661),
> yuv420p(tv), 640x360 [SAR 1:1 DAR 16:9]

> [Parsed_concat_1  <at>  00000000051af820] Input link 
> in1:v0 parameters (size 1280x720, SAR 1:1) do not match 
> the corresponding output link in0:v0 parameters (640x360, SAR 1:1)

If you want to concatenate these two streams, you have 
to insert a scale filter to make sure both have the 
same dimensions.

See also https://ffmpeg.org/ffmpeg-filters.html#concat

Carl Eugen



More information about the ffmpeg-user mailing list