diff --git a/revid/cmd/h264-file-to-flv-rtmp/main.go b/revid/cmd/h264-file-to-flv-rtmp/main.go index 70250df1..907e414b 100644 --- a/revid/cmd/h264-file-to-flv-rtmp/main.go +++ b/revid/cmd/h264-file-to-flv-rtmp/main.go @@ -57,7 +57,7 @@ func main() { Input: revid.File, InputFileName: inputFile, InputCodec: revid.H264, - Output: revid.Rtmp, + Output1: revid.Rtmp, RtmpMethod: revid.LibRtmp, RtmpUrl: *rtmpUrlPtr, Packetization: revid.Flv, diff --git a/revid/cmd/h264-file-to-mpgets-file/main.go b/revid/cmd/h264-file-to-mpgets-file/main.go index a1238da6..5530f6c4 100644 --- a/revid/cmd/h264-file-to-mpgets-file/main.go +++ b/revid/cmd/h264-file-to-mpgets-file/main.go @@ -49,7 +49,7 @@ func main() { Input: revid.File, InputFileName: inputFile, InputCodec: revid.H264, - Output: revid.File, + Output1: revid.File, OutputFileName: outputFile, Packetization: revid.Mpegts, Logger: smartlogger.New(smartlogger.Info, logPath),