How can I use this Windows command (for VLC) in OSX Terminal?

Discussion in 'macOS' started by thomasvillarrea, Feb 29, 2008.

  1. thomasvillarrea macrumors newbie

    Joined:
    Feb 29, 2008
    #1
    I've got two computers on a wireless network here at home. I'm trying to screenshare over VLC (http://www.nerdlogger.com/2008/01/st...esktop-as.html)
    I'm given this command line
    vlc screen:// :screen-fps=30 :screen-caching=100 --sout '#transcode{vcodec=mp4v,vb=4096,acodec=mpga,ab=256,scale=1,width=1280,height=800}:rtp{dst=192.168.1.2,port=1234,access=u dp,mux=ts}'
    but obviously that won't work in terminal. Could someone inform me what the correct input would be to get this to run on OSX?
     
  2. Am3822 macrumors 6502

    Am3822

    Joined:
    Aug 16, 2006
    Location:
    Groningen, The Netherlands
    #2
    All you have to do is to access the VLC executable directly --

    /Applications/VLC.app/Contents/MacOS/VLC screen:// :screen-fps=30 :screen-caching=100 --sout '#transcode{vcodec=mp4v,vb=4096,acodec=mpga,ab=256,scale=1,width=1280,height=800}:rtp{dst=192.168.1. 2,port=1234,access=u dp,mux=ts}'

    And then indicate somehow which file to play (I have no idea how, but I suppose the VLC documentation explains it).
     
  3. thomasvillarrea thread starter macrumors newbie

    Joined:
    Feb 29, 2008
    #3
    Are you sure? The screen:// function is supposedly new- used to capture your screen as a video so I don't see any reason why a video needs to be specified.
    I did realize I had to target the directory but the terminal is still giving me all kinds of errors saying it can't stat ftp and can't stat the screen cache. It's as if they aren't syntaxed correctly. Anyone else have any ideas?
     
  4. Am3822 macrumors 6502

    Am3822

    Joined:
    Aug 16, 2006
    Location:
    Groningen, The Netherlands
    #4
    Actually, I'm not sure at all -- it's just that when I tried using the command there was an error 'nothing to play' which I may have misunderstood.
     

Share This Page