I.Alex
I.Alex

Reputation: 63

Unable to find a suitable output format for 'pipe' - Long ffmpeg code

this its my code which its pretty long. Can you tell me please why its not working ?

ffmpeg -i input.mp4 - filter_complex \
   "[0:v]split=4[v0][v1][v2][v3]; \
    [v0]trim=start_frame=0:end_frame=1,loop=90:1:0,setpts=N/FRAME_RATE/TB[0v]; \
    [v1]trim=start_frame=1:end_frame=301,loop=90:1:299,setpts=N/FRAME_RATE/TB[1v]; \
    [v2]trim=start_frame=301:end_frame=601,loop=90:1:299,setpts=N/FRAME_RATE/TB[2v]; \
    [v3]trim=start_frame=601:end_frame=900,loop=90:1:298,setpts=N/FRAME_RATE/TB[3v]; \
    aevalsrc=0:d=3[0a]; \
    [0:a]asplit=3[a1][a2][a3]; \
    [a1]atrim=0:10,asetpts=N/SR/TB[1a]; \
    [a2]atrim=10:20,asetpts=N/SR/TB[2a]; \
    [a3]atrim=20:30,asetpts=N/SR/TB[3a]; \
    [0v][0a][1v][1a][2v][2a][3v][3a]concat=n=4:v=1:a=1[v][a]" \
   -map "[v]" -map "[a]" outva.mp4

I get this : Unable to find a suitable output format for 'pipe:' pipe:: Invalid argument

Upvotes: 0

Views: 4775

Answers (1)

Gyan
Gyan

Reputation: 93329

There's a space between - and filter_complex. Remove it.


Corrected it in my answer at SU.

Upvotes: 1

Related Questions