Combining Auto and Video filters with -filter_complex

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Combining Auto and Video filters with -filter_complex

FFmpeg-users mailing list
I am trying to produce a filter chain that effects both the auto and
video components of my file:

ffmpeg -i Test.mp4 -filter_complex \
[0:v]eq=brightness=1.00:contrast=1.40,fade=type=in:duration=5:start_time=10,fade=type=out:duration=5:start_time=50[v];\
[0:a]afade=type=in:duration=5:start_time=10,afade=type=out:duration=5:start_time=50[a]\
 ?????? ??? -map[v] -map[a]\
 ?????? ??? -y /tmp/Test.avi

i.e. set the brightness and contrast with a fade in from black and fade
out to black in conjunction with a audio fade in/out.

I can get the individual components to work but have failed miserably to
successfully combine them.

My efforts usually end with a "unconnected output" error.

The example above is a simplification of what I hope to produce once I
can get the audio and video components to work together.

Any help would be appreciated.

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Combining Auto and Video filters with -filter_complex

Moritz Barsnick
On Mon, Jun 24, 2019 at 13:58:29 +0100, Stuart Foster via ffmpeg-user wrote:
> I am trying to produce a filter chain that effects both the auto and
> video components of my file:
>
> ffmpeg -i Test.mp4 -filter_complex \
> [0:v]eq=brightness=1.00:contrast=1.40,fade=type=in:duration=5:start_time=10,fade=type=out:duration=5:start_time=50[v];\
> [0:a]afade=type=in:duration=5:start_time=10,afade=type=out:duration=5:start_time=50[a]\
>  ?????? ??? -map[v] -map[a]\
   ^^^^^^ What are these question marks???
              ^^^^^^^ There needs to be a space between "-map" and
                      "[v]" or "[a]". You should also put "[v]" and "[a]"
                      in quotation marks.

> I can get the individual components to work but have failed miserably to
> successfully combine them.
>
> My efforts usually end with a "unconnected output" error.

Please show us an actual command line, and its complete, uncut console
output.

> The example above is a simplification of what I hope to produce once I
> can get the audio and video components to work together.

Probably solved with my second remark regarding the space and
quotation. But please give us more info.

Thanks,
Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".