softus / video-mixer Goto Github PK
View Code? Open in Web Editor NEWCombines multiple video streams into one.
Combines multiple video streams into one.
Hi,I will run this program , and I modify the video-mixer.conf file like below:
[test]
dst=rtmp://47.100.240.200/live/livestream01 -encoder="x264enc tune=zerolatency speed-preset=ultrafast pass=17 bitrate=8000 ! mpegtsmux"
size=4
1\name=test1
1\src=/home/vims/Downloads/udpsend--linux/1.ts
2\name=test2
2\src=/home/vims/Downloads/udpsend--linux/2.ts
3\name=test3
3\src=/home/vims/Downloads/udpsend--linux/3.ts
4\name=test4
4\src=/home/vims/Downloads/udpsend--linux/4.ts
delay=1000
margins=@rect(186 30 186 30)
padding=24
width=180
height=144
zorderfix=true
what I have modified is dst ,I streaming to rtmp server,it is always running.
and I got 4 file in my local driver .
but I dont know why ,It can't work.
[Gryu] Starting "./video-mixer" ("--group", "test")
"compositor name=mix background=black ! video/x-raw,width=756,height=372 ! avenc_mpeg2video bitrate=1000000 ! mpegtsmux ! queue ! souphttpclientsink retries=0 sync=0 location=rtmp://47.100.240.200/live/livestream01 -encoder=x264enc tune=zerolatency speed-preset=ultrafast pass=17 bitrate=8000 ! mpegtsmux\nsouphttpsrc retries=0 is-live=1 do-timestamp=1 location=/home/vims/Downloads/udpsend--linux/1.ts timeout=60 retries=30000 ! fakesink name=s0 sync=0 async=0 signal-handoffs=true\nsouphttpsrc retries=0 is-live=1 do-timestamp=1 location=/home/vims/Downloads/udpsend--linux/2.ts timeout=60 retries=30000 ! fakesink name=s1 sync=0 async=0 signal-handoffs=true\nsouphttpsrc retries=0 is-live=1 do-timestamp=1 location=/home/vims/Downloads/udpsend--linux/3.ts timeout=60 retries=30000 ! fakesink name=s2 sync=0 async=0 signal-handoffs=true\nsouphttpsrc retries=0 is-live=1 do-timestamp=1 location=/home/vims/Downloads/udpsend--linux/4.ts timeout=60 retries=30000 ! fakesink name=s3 sync=0 async=0 signal-handoffs=true\nvideotestsrc pattern=18 is-live=1 do-timestamp=1 ! video/x-raw,width=756,height=372 ! textoverlay halignment=center font-desc=24 text="No active sources" ! mix.\n"
"no element "compositor""
[Gryu] "test" has been finished
[Gryu] Will not restart minion "test" err 1 "Unknown error"
How can i solve this problem?
thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.