mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
vp9enc add properties from vp8enc.
This commit is contained in:
parent
7e7a0c0617
commit
b488f01b16
@ -86,7 +86,7 @@ func CreateAppPipeline(codecRTP codec.RTPCodec, pipelineDevice string, pipelineS
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
pipelineStr = fmt.Sprintf(videoSrc + "vp9enc" + appSink, pipelineDevice)
|
pipelineStr = fmt.Sprintf(videoSrc + "vp9enc cpu-used=16 threads=4 deadline=1 keyframe-max-dist=15 static-threshold=20" + appSink, pipelineDevice)
|
||||||
case "h264":
|
case "h264":
|
||||||
var err error
|
var err error
|
||||||
if err = CheckPlugins([]string{"ximagesrc"}); err != nil {
|
if err = CheckPlugins([]string{"ximagesrc"}); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user