scivision / PyLivestream

Pure Python FFmpeg-based live video / audio streaming to YouTube, Facebook, Periscope, Twitch, and more
Apache License 2.0
707 stars 156 forks source link

how can we do HTML overlay on webcam feed #44

Closed gaurav131 closed 4 years ago

gaurav131 commented 4 years ago

I can do HTML to image conversion and then merge them using OpenCV but I want the CSS animation too # #43 #

scivision commented 4 years ago

This might be done via FFMPEG subtitles. Since PyLivestream is really just a command-line generator, take the command from PyLivestream and try manually adding subtitle FFmpeg options to that

dropitlikecross commented 4 years ago

Doesn't the file need to be .srt for subtitiles?

scivision commented 4 years ago

This looks to actually be outside the capabilities of FFmpeg without some substantial additional effort.