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

Nicolas George george at nsup.org
Sun Aug 21 13:31:06 EEST 2022


Emanuel Berg (12022-08-21):
> >> 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

You are on the right track.

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

Read the error message: your inputs do not have the same resolution, you
need to insert filters (scale, pad, crop, whatever you want) between the
inputs and the concat filter.

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

Again, read the error message: you are applying a method specific to
H.264 to a VP9 stream.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20220821/abd75e7d/attachment.sig>


More information about the ffmpeg-user mailing list