Is it possible to use command line and stream internal cam?

VLC for Android and Chrome OS specific usage questions
blueice_haller
New Cone
New Cone
Posts: 6
Joined: 20 Jul 2008 02:57
VLC version: 3.0.20 Vetinary
Operating System: Win, Deb and Ubuntu
Location: Germany

Is it possible to use command line and stream internal cam?

Postby blueice_haller » 06 Feb 2013 00:49

Hello,
I have an Samsung Galaxy S2 with old not rooted 2.3.x Android (but I will update/root if needed) and want to stream to VLC like on computer.
Is it possible to execute an start script like this? Perhaps with V4L or Android's Camera API's?
II know that already apps exist that are made for this job, spydroid-ipcamera for example.

Code: Select all

@C:\Progra~1\VideoLAN\VLC\vlc.exe dshow:// :dshow-vdev="Smart Cam, WDM Video Capture" :dshow-adev="Internal Microphone (Conexant 2" :dshow-size="640x480" :dshow-fps=30.000000 :sout=#duplicate{dst=display,dst='transcode{vcodec=mp2v,vb=300,deinterlace,ab=64,fps=30,width=640,height=480,acodec=mpga,samplerate=44100}:duplicate{dst=std{access=http{mime=video/x-flv},mux=ffmpeg{mux=ts},dst=:1234}}'}

Code: Select all

# Source: http://serverfault.com/questions/288137/how-to-stream-live-video-from-a-linux-server vlc v4l:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/audio2" --sout '#transcode{vcodec=FLV1,vb=512,acodec=mpga,ab=64,samplerate=44100}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8081/stream.flv}'
Ressources:
http://pickerwengs.blogspot.de/2011/05/ ... e-and.html
http://comments.gmane.org/gmane.comp.ha ... ting/12285
https://www.google.de/search?q=android+v4l

Thanks
Mit freundlichen Grüßen/Best regards, blueice_haller

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Is it possible to use command line and stream internal c

Postby edwardw » 06 Feb 2013 05:01

Android does not expose any V4L2 APIs. See the previous discussion on this: viewtopic.php?f=35&t=102184


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 11 guests