Use tcp only also for ffmpeg
This commit is contained in:
parent
f1dcf4707c
commit
3683a4eb82
1 changed files with 1 additions and 0 deletions
1
video.go
1
video.go
|
@ -210,6 +210,7 @@ func (video *Video) init() error {
|
|||
// ffmpeg command to pipe video data to stdout in 8-bit RGBA format.
|
||||
cmd := exec.Command(
|
||||
"ffmpeg",
|
||||
"-rtsp_transport", "tcp",
|
||||
"-i", video.filename,
|
||||
"-f", "image2pipe",
|
||||
"-loglevel", "quiet",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue