tanersener / mobile-ffmpeg

FFmpeg for Android, iOS and tvOS. Not maintained anymore. Superseded by FFmpegKit.
https://tanersener.github.io/mobile-ffmpeg
GNU General Public License v3.0
3.85k stars 787 forks source link

Stream specifier 'v0' in filtergraph description matches no streams. #643

Closed sanketkoladiya closed 3 years ago

sanketkoladiya commented 3 years ago

Description I want to merge two videos of different resolution by the scale and adding the pad if another video has a small resolution, below is the command I am using :

[-y, -i, input1.mp4, -i,input2.mp4, -filter_complex, [0]scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080\:-1:-1,setsar=1;[1]scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080\:-1:-1,setsar=1;[v0][a0][v1][a1]concat=n=2:v=1:a=1[v][a], -map, [v], -map, [a], -c:v, libx264, -c:a, aac, output.mp4]

Expected behavior It should not show me error Stream specifier 'v0' in filter graph description not match

Current behavior

Stream specifier 'v0' in filtergraph description [0]scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:-1:-1,setsar=1;[1]scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:-1:-1,setsar=1;[v0][a0][v1][a1]concat=n=2:v=1:a=1[v][a] matches no streams.

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x724850a800] Invalid stream specifier: v0.

Environment

Any helpp will be appreciated

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.