Http streaming to android doesnt work with webcam
Posted: 20 Apr 2012 02:21
I am using vlc 1.1.9 because the newest version does not work with h.264 on windows 64 bit. The problem is that I am trying to make an application that can view a webcam stream. I am able to get the video to be shown on the android device if I use a video file I have on my computer, but if I try to use the webcam only the audio comes through and the video is shown as a black image. I can see the video from the webcam if I open it up in another VLC player but not for the android.
Here are my scripts
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv Videos\Paycheck.wmv --sout "#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:standard{access=http,mux=ts,dst=:8080}"
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv dshow:// :dshow-vdev="" --sout "#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:standard{access=http,mux=ts,dst=:8080}"
Here are my scripts
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv Videos\Paycheck.wmv --sout "#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:standard{access=http,mux=ts,dst=:8080}"
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv dshow:// :dshow-vdev="" --sout "#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:standard{access=http,mux=ts,dst=:8080}"