[FFmpeg-user] Overlay Error reoccurring
John Henderson
acaciasd at googlemail.com
Thu Oct 22 13:14:23 EEST 2020
Hi Ted,
Its John again, I followed your Guidance and changed a bit of the code but
I am still getting an error of Unable to find a suitable output format for
'box=1:shado etc etc
I am testing the code directly in cmd.exe with the following, but I still
cant see the wood for the trees lol.
Ive broken it down into segments, but anything I change produces errors all
though this version is more consistent.
ffmpeg.exe -y -rtbufsize 1500M
-vf
drawtext=fontfile=C:\Windows\ARLRDBD.TTF:text='SnatchMediaPlayer':fontcolor=white:fontsize=24:
box=1:shadowcolor=darkblue:shadowx=1:shadowy=1:boxcolor=blue at 0.6
:boxborderw=5:x=50:y=H-th-50
-f dshow -i audio="Microphone (High Definition Audio Device)"
-f dshow -i audio=virtual-audio-capturer
-f gdigrab -framerate 50 -i desktop -codec:v h264_nvenc -qp 0
-filter_complex "[0:a][1:a]amerge=inputs=2[a]"
-map 2 -map "[a]"
C:\Users\User\source\repos\Mini-Media-Streamer\Mini-Media-Streamer\bin\Debug\Recordings\ScreenRecorder20201022105556.mkv
Let me know what you think?
Thanks again
John
On Wed, 21 Oct 2020 at 08:59, Edward Park <kumowoon1025 at gmail.com> wrote:
> Hi,
>
> > I am not sure if I have the overlay code in the correct position or
> should
> > I be adding it to the "-filter_complex "[0:a][1:a]amerge=inputs=2[a]""
> as
> > an additional Item.
>
> I think that would be the cleanest way, separated by a semicolon. And you
> could get rid of the output pad label and the explicit stream mappings. I’m
> not sure if you can mix simple and complex filters, maybe putting the -vf
> after the gdigrab input is valid too?
>
> > The overlay runs correctly on its own using windows cmd.
>
>
> Is that the actual command you type what does \k and * do in windows
> command line??
>
> Regards,
> Ted Park
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list