Rank: Newbie
Groups: Registered
Joined: 5/4/2017(UTC) Posts: 3 Location: Bangkok
Thanks: 1 times
|
I would like to add a stream input to vMix using API.
It works well with local files: - http://localhost:8088/API/?Function=AddInput&Value=Video|C:\Users\Nemesis\Desktop\small.mp4
However impossible to make it work with my RTSPTCP stream. I Tried: - http://localhost:8088/API/?Function=AddInput&Value=Video|rtsp://localhost:1935/vod/sample -> File Not Found - http://localhost:8088/API/?Function=AddInput&Value=Stream|rtsp://localhost:1935/vod/sample -> Function completed successfully. (But not working) - http://localhost:8088/API/?Function=AddInput&Value=RTSPTCP|rtsp://localhost:1935/vod/sample -> Function completed successfully. (But not working)
I can add this input stream using UI, but really interested about adding it with API
Any idea on this ? Thank you
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/20/2015(UTC) Posts: 493 Location: Copenhagen, Denmark Thanks: 389 times Was thanked: 100 time(s) in 79 post(s)
|
Is it a stream or a video file? .MP4 is a video file, and not a stream.. so it's very ambigious what you are trying to add as an input.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 5/4/2017(UTC) Posts: 3 Location: Bangkok
Thanks: 1 times
|
stigaard wrote:Is it a stream or a video file? .MP4 is a video file, and not a stream.. so it's very ambigious what you are trying to add as an input. Sorry it is misleading, I updated the question.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/20/2014(UTC) Posts: 2,721 Location: Bordeaux, France Thanks: 243 times Was thanked: 794 time(s) in 589 post(s)
|
Hi
with a RTMP Stream, it works ?Function=AddInput&Value=Flash|rtmp://192.168.0.67:1935/play/dwamx
with RTSP the correct syntax should be (as reported by the API after manual input) ?Function=AddInput&Value=Stream|RTSPTCP rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov but it doesn't work, I guess because of the space between the protocol and the address
I tried with ?Function=AddInput&Value=Stream|RTSPTCP%20rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov and ?Function=AddInput&Value=Stream|RTSPTCP|rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov but not good either
Any idea for replacing this space in the querystring? Or shall it be reported as a bug?
Guillaume
|
1 user thanked DWAM for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 5/4/2017(UTC) Posts: 3 Location: Bangkok
Thanks: 1 times
|
DWAM wrote:Hi
with a RTMP Stream, it works ?Function=AddInput&Value=Flash|rtmp://192.168.0.67:1935/play/dwamx
Awesome, I will use RTMP as a fallback if needed :) Merci Guillaume
|
|
|
|
Rank: Member
Groups: Registered
Joined: 2/24/2016(UTC) Posts: 23 Location: France
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
With the new VLC stream we definitely need the API script support. Any News for a correct syntax ?
keep up the good work !
|
|
|
|
Rank: Member
Groups: Registered
Joined: 2/24/2016(UTC) Posts: 23 Location: France
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
I search everything but I can't add a RTMP VLC source via WebAPI. Message to the dev team please make the "AddInput&Value=VLC|RTMPURL" possible.
Best regards.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close