PC capture then via internet stream play on Android phone

About encoding, codec settings, muxers and filter usage
TJOnline
New Cone
New Cone
Posts: 3
Joined: 27 Sep 2018 23:12

PC capture then via internet stream play on Android phone

Postby TJOnline » 03 Nov 2018 14:44

Hi, I use VLC 3.0.4 Media Player on a Windows PC in a UVerse LAN, and I capture video from a USB Capture Device. After selecting the device, I'm able to save the captured video to an MP4 on the pc using Convert under Capture Device. Then I'm able to stream that MP4 to an Android phone running VLC Direct (same version) somewhere on the Internet. Under Direct's Playlist tab that file becomes visible (though it exists only on the PC) and by clicking it, it will then stream to/play on the phone. Is it possible to capture with the pc and then stream/play it on the phone solely under pc-side control (including its display on the phone), assuming the phone is at least running VLC Direct? Not having to save a file before the onset of streaming would be nice for low latency. Anyone explored this? My ultimate aim is to have the pc (after being awakened by some trigger and having no user interaction) automatically capture and display video to the phone user. Thanks.

TJOnline
New Cone
New Cone
Posts: 3
Joined: 27 Sep 2018 23:12

Re: PC capture then via internet stream play on Android phone

Postby TJOnline » 05 Nov 2018 18:18

vlc -v -I http dshow:// --dshow-vdev="USB2.0 PC CAMERA" --no-qt-minimal-view --sout-ffmpeg-strict=-2 --extraintf=qt:rc --http-src=C:\Backup\Android\VLC\vlc-3.0.4\exe\lua\http --http-host=162.192.62.91 --http-port=8080 --http-password=vlcdirect --sout=#transcode{vcodec=mp2v,scale=Auto,acodec=mpga,ab=128,channels=2,samplerate=44100,scodec=none}:duplicate{dst=http{mux=asf,dst=10.173.34.212:8080},dst=display} --no-sout-all --sout-keep

That command line gets VLCpc open and displaying the frame grabber output. if mobile.html is started in Chrome before that command line is run on pc, then Chrome will hang until the command line is run and then shortly display a dialog and then download 'download' to the phone's 'Download' directory. Whatever it contains is not readable. Pressing Play on the PC is reflected in mobile.html, but the image displayed is only the VLC caution cone.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 47 guests