[FFmpeg-user] concat, "Too many invisible frames"

Emanuel Berg incal at dataswamp.org
Sun Aug 21 01:41:19 EEST 2022


>> Like this?
>>
>> ffmpeg \
>>  -i $src1 \
>>  -i $src2 \
>>  -filter_complex "[0:v] [0:a] [1:v] [1:a] concat=n=2:v=1:a=1 [vv] [aa]" \
>>  -map "[vv]" \
>>  -map "[aa]" \
>>              $dst
>
> Now OTOH it seems to be the resolution :) And possibly other
> errors as well ...
>
>   [Parsed_concat_0 @ 0x55f3df730c80] Input link in0:v0
>   parameters (size 1920x1080, SAR 1:1) do not match the
>   corresponding output link in0:v0 parameters (640x480, SAR 1:1)
>   [Parsed_concat_0 @ 0x55f3df730c80] Failed to configure
>   output pad on Parsed_concat_0
>   Error reinitializing filters!
>   Failed to inject frame into filter network: Invalid
>   argument

The other method on that page [1] also don't work on these
files what I can see/implement ... (?)

$ ffmpeg -y -i $src1 -c copy -bsf:v h264_mp4toannexb -f mpegts $dst1

  [h264_mp4toannexb @ 0x55c9452bcc80] Codec 'vp9' (167) is not
  supported by the bitstream filter 'h264_mp4toannexb'.
  Supported codecs are: h264 (27)
  Error initializing bitstream filter: h264_mp4toannexb

Find common ground anyone? :)

[1] https://ottverse.com/3-easy-ways-to-concatenate-mp4-files-using-ffmpeg/

-- 
underground experts united
https://dataswamp.org/~incal



More information about the ffmpeg-user mailing list