We've got 1920x1080 source
We want to letterbox top and bottom to create 2.39 aspect ratio, maintaining 
that within the original 1920x1080

Then over the composited letterboxed picture we want to burn in timecode and 
subcaps

We're currently achieving the letterbox by means superimposing a photoshop file 
that handles the letterboxing
ffmpeg \
-i Source.mxf \
-i Source.psd \
-filter_complex "[0:v][1:v] overlay=0:0:enable='between(t,2,10)'" \
Dest.mxf

But when adding the overlays we run into trouble
ffmpeg \
-i Source.mxf \
-i Source.psd \
-filter_complex "[0:v][1:v] overlay=0:0:enable='between(t,2,10)'" \
 -vf 
"drawtext=fontsize=15:fontfile=/Library/Fonts/DroidSansMono-webfont.ttf:timecode='00\\:59\\:57\\:00':rate=23.976:fontsize=43.5:fontcolor=white:x=(w-text_w-35):bordercolor=black:borderw=2:y=75,
 subtitles=Subcaps.ass" \
Dest.mxf

Error is
[vost#0:0/mpeg2video @ 0x12ba058f0] Filtergraph 
'drawtext=fontsize=15:fontfile=/Library/Fonts/DroidSansMono-webfont.ttf:timecode='00\:59\:57\:00':rate=23.976:fontsize=43.5:fontcolor=white:x=(w-text_w-35):bordercolor=black:borderw=2:y=75,
 subtitles=Subcaps.ass' was specified through the -vf/-af/-filter option for 
output stream 0:0, which is fed from a complex filtergraph.
-vf/-af/-filter and -filter_complex cannot be used together for the same stream.

Is there a way to properly configure this?

Thanks
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to