[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)

Bikash Kumar Sinha bikashkumar.sinha at gmail.com
Tue Jul 22 23:12:01 CEST 2014


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


c:\Bikash\temp\VideoMerge\upload\ffmpeg\bin>ffmpeg -i q1.mp4 -i a1.mp4
-filter_complex "[1:0] setsar=1/1[sarfix];[sarfix] [0:1] [0:0] [1:1]
concat=n=2:v=1:a=1 [v] [a] " -map "[v]" -map "[a]" -vcode libx264 -crf 27
out.mp4

ffmpeg version N-64836-gce385c8 Copyright (c) 2000-2014 the FFmpeg
developers
  built on Jul 20 2014 23:42:59 with gcc 4.8.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-lib
  libavutil      52. 92.101 / 52. 92.101
  libavcodec     55. 69.100 / 55. 69.100
  libavformat    55. 48.101 / 55. 48.101
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.102 /  4. 11.102
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'q1.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    creation_time   : 2014-07-21 18:06:46
  Duration: 00:00:06.76, start: 0.000000, bitrate: 3495 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv),
1280x720 [SAR 1:1 DAR 16:9], 3312 kb/s, 59.94 fps, 59.94 tbr, 60k tbn,
119.88 tbc (default)
    Metadata:
      creation_time   : 2014-07-21 18:06:46
      handler_name    : ?Mainconcept Video Media Handler
      encoder         : AVC Coding
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo,
fltp, 189 kb/s (default)
    Metadata:
      creation_time   : 2014-07-21 18:06:46
      handler_name    : #Mainconcept MP4 Sound Media Handler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'a1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf55.42.101
  Duration: 00:00:15.28, start: 0.025057, bitrate: 531 kb/s
    Stream #1:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661),
yuv420p(tv), 640x360 [SAR 1:1 DAR 16:9], 399 kb/s, 14.19 fps, 15 tbr, 16k
tbn, 30 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #1:1(und): Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, stereo,
s16p, 127 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
[Parsed_concat_1 @ 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)
[Parsed_concat_1 @ 00000000051af820] Failed to configure output pad on
Parsed_concat_1


More information about the ffmpeg-user mailing list