logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
stevespaw  
#1 Posted : Tuesday, June 13, 2017 3:03:48 PM(UTC)
stevespaw

Rank: Advanced Member

Groups: Registered
Joined: 3/12/2015(UTC)
Posts: 482
Man
Location: Kansas City, MO USA

Thanks: 151 times
Was thanked: 75 time(s) in 57 post(s)
I am using VLC player to NDI for a couple of test projects. Now I need to do the same from the VLC command line.
Could someone give me a sample of playing a file out to NDI using the VLC command line?

I cannot find the output parts I need.

Kane???

Thanks in Advance!

Steve
DWAM  
#2 Posted : Tuesday, June 13, 2017 4:49:26 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Hi Steve

I guess it should be the same as simply playing a file with VLC as soon as your outputs for audio and video are set for NDI plugin.

Never tried myself tho

Guillaume
stevespaw  
#3 Posted : Tuesday, June 13, 2017 5:05:51 PM(UTC)
stevespaw

Rank: Advanced Member

Groups: Registered
Joined: 3/12/2015(UTC)
Posts: 482
Man
Location: Kansas City, MO USA

Thanks: 151 times
Was thanked: 75 time(s) in 57 post(s)
I need a sample command line.

Steve
DWAM  
#4 Posted : Tuesday, June 13, 2017 5:13:54 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
stevespaw  
#5 Posted : Tuesday, June 13, 2017 5:18:07 PM(UTC)
stevespaw

Rank: Advanced Member

Groups: Registered
Joined: 3/12/2015(UTC)
Posts: 482
Man
Location: Kansas City, MO USA

Thanks: 151 times
Was thanked: 75 time(s) in 57 post(s)
I know that stuff, I need an "sout" parameter sample for NDI !

Steve

BTW, here is a better reference:
https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples
kane  
#6 Posted : Tuesday, June 13, 2017 6:58:00 PM(UTC)
kane

Rank: Advanced Member

Groups: Registered
Joined: 3/24/2016(UTC)
Posts: 331
Location: Chicago, IL

Was thanked: 143 time(s) in 94 post(s)
My SyncPlay tool might so what you need, you drop (multiple) clips on it and it will start up looping VLC Player instances that are set to output in NDI.

http://kanelp7.wixsite.com/kanesworld/vlc-syncplay

Basically, the command line my SyncPlay tool uses is this. Remove the commands you don't need in your case.
--aout NDI and --vout NDI set VLC to use NDI as it output format.
--repeat to set loop to on
--extraintf http turns on the http interface so you can control VLC from external systems (I have TriCaster macros that work with this)
--http-port 8080 is the port number for the http interface

Code:

vlc.exe --repeat --aout NDI --vout NDI --extraintf http --http-port 8080 "clip.mp4"
thanks 1 user thanked kane for this useful post.
stevespaw on 6/14/2017(UTC)
stevespaw  
#7 Posted : Wednesday, June 14, 2017 12:48:36 PM(UTC)
stevespaw

Rank: Advanced Member

Groups: Registered
Joined: 3/12/2015(UTC)
Posts: 482
Man
Location: Kansas City, MO USA

Thanks: 151 times
Was thanked: 75 time(s) in 57 post(s)
Thank you very much Kane!

It was the syntax of the out for NDI that I did not know.
Also I did not know much about the web control of VLC until I looked at your post. I have some ideas with that now.

Now I can convert an rtmp stream to NDI with a command line. :-)

Code:
vlc.exe  --aout NDI --vout NDI --extraintf http --http-port 8080 "rtmp://live.shadow-technologies.tv/livestream/your-streamkey-here"



Thanks again!

Steve

Users browsing this topic
Guest
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.