# split screen master/mezzanine ffmpeg -i Dufay_master_H264.mp4 -i Dufay_ProRes_H264.mp4 -filter_complex "[0]crop=iw/2:ih:0:0[left]; [1]crop=iw/2:ih:iw/2:0[right]; [left][right]hstack" Dufay_split_ProRes.mp4 # test filter ffplay -vf "negate" Dufay_master_H264.mp4 ffplay -loop 0 -vf "negate" Dufay_master_H264.mp4 # difference file master/ProRes ffmpeg -i Dufay_master_H264.mp4 -i Dufay_ProRes_H264.mp4 -filter_complex "[1]format=yuva444p, lut=c3=128, negate[1_with_alpha]; [0][1_with_alpha]overlay" Dufay_delta_ProRes.mp4 # find installed fonts # macOS cd /Library/Fonts ls # Windows cd C:\Windows\Fonts dir # Don't forget to change again the working folder to the Desktop! # add watermark ffmpeg -i Dufay_master_H264.mp4 -filter:v "drawtext=text='watermark':fontfile='/Library/Fonts/Arial.ttf':fontsize=35:fontcolor=white:alpha=0.25:x=(w-text_w)/2:y=(h-text_h)/2" with_watermark.mp4 # add timecode ffmpeg -i Dufay_master_H264.mp4 -filter:v "drawtext=timecode='01\:00\:30\:00':rate=25:fontfile='/Library/Fonts/Arial.ttf':fontsize=35:fontcolor=white:x=(w-text_w)/2:y=h/1.2" with_timecode.mp4 # add logo ffmpeg -i Dufay_master_H264.mp4 -i logo.png -filter_complex "overlay=10:main_h-overlay_h-10" with_logo.mp4 # generate a sound file ffmpeg -f lavfi -i "anoisesrc=color=brown" -filter:a "tremolo=f=0.1:d=0.9" -c:a pcm_s24le -ar 96k -ac 2 -t 60 seashore_good.wav # play the sound file ffplay seashore_good.wav # damage the sound file ffmpeg -i seashore_good.wav -c copy -bsf:a "noise=amount=-1" seashore_bad.wav # play the damaged sound file ffplay seashore_bad.wav # show volume ffplay -f lavfi "amovie=seashore_good.wav, asplit [a][out1]; [a] showvolume=c=VOLUME:w=1000:h=100:ds=log [out0]" ffplay -f lavfi "amovie=seashore_good.wav, asplit [a][out1]; [a] showvolume=c=VOLUME:w=1000:h=100:ds=lin [out0]" ffplay -f lavfi "amovie=seashore_bad.wav, asplit [a][out1]; [a] showvolume=c=VOLUME:w=1000:h=100:ds=lin [out0]" # show waves ffplay -f lavfi "amovie=seashore_good.wav, asplit [a][out1]; [a] showwaves=mode=point [out0]" ffplay -f lavfi "amovie=seashore_good.wav, asplit [a][out1]; [a] showwaves=mode=p2p [out0]" ffplay -f lavfi "amovie=seashore_good.wav, asplit [a][out1]; [a] showwaves=mode=cline [out0]" ffplay -f lavfi "amovie=seashore_bad.wav, asplit [a][out1]; [a] showwaves=mode=cline [out0]" # show spectrum ffplay -f lavfi "amovie=seashore_good.wav, asplit [a][out1]; [a] showspectrum=mode=separate:color=intensity:slide=1:scale=cbrt [out0]" ffplay -f lavfi "amovie=seashore_bad.wav, asplit [a][out1]; [a] showspectrum=mode=separate:color=intensity:slide=1:scale=cbrt [out0]" # extract metadata ffprobe -show_format -show_streams -print_format json seashore_good.wav mediainfo seashore_good.wav mediainfo --Details=1 seashore_good.wav # delve deep into the file structure with "fq" # see: https://github.com/wader/fq fq . seashore_good.wav fq d seashore_good.wav