[streaming] Need help in streaming video file using libVLC on Windows7

Arif Saiyed <[email protected]> Sat, 17 Jan 2015 20:05:16 +0000
Newsgroups gmane.comp.video.videolan.vls.general
Message-ID <2E28F87442ADDE429B73D5B64FCB16AB06CC48B5@SINPEX01CL01.citrite.net>
--===============0802038454663355717==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_2E28F87442ADDE429B73D5B64FCB16AB06CC48B5SINPEX01CL01cit_"

--_000_2E28F87442ADDE429B73D5B64FCB16AB06CC48B5SINPEX01CL01cit_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello,
My ultimate goal is to stream a video and consume the stream on HTML5 viewe=
r.
I tried streaming using VLC media player and streamed to a OGG file, I used=
 same OGG file in a HTML5-Video tag and it worked.

Now I want to do the streaming part using libVLC instead of VLC media playe=
r.
I want to stream the video file to File or memory stream.

I have found this sample https://wiki.videolan.org/Stream_to_memory_(smem)_=
tutorial/

But unsure of how to get started ?
1) Where do i get the libVLC.dll, libVLC.lib, libVLC.h , Is there any sampl=
e visual studio that has everything setup and I can straight begin to write=
 the code using libVLC etc.

2) Since libVLC is said to depdend on 200+ other libraries/modules/plugins,=
 what will I have include and distribute with my application ?
http://www.enjoythearchitecture.com/vlc ... cture.html
https://wiki.videolan.org/Contrib_Status/

3) streaming format : above example seems to stream into PCM format, cant I=
 get it stream in some format that has better codec and recognized by HTML5=
 ?
For example when i tried using VLC media player , my options were as follow=
ing
:sout=3D#transcode{vcodec=3Dtheo,vb=3D800,acodec=3Dvorb,ab=3D128,channels=
=3D2,samplerate=3D44100}:file{dst=3DC:\\Users\\testUser\\stream-output.ogg,=
no-overwrite} :sout-keep

--_000_2E28F87442ADDE429B73D5B64FCB16AB06CC48B5SINPEX01CL01cit_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-IN" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hello,<o:p></o:p></p>
<p class=3D"MsoNormal">My ultimate goal is to stream a video and consume th=
e stream on HTML5 viewer.
<o:p></o:p></p>
<p class=3D"MsoNormal">I tried streaming using VLC media player and streame=
d to a OGG file, I used same OGG file in a HTML5-Video tag and it worked.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Now I want to do the streaming part using libVLC ins=
tead of VLC media player.<o:p></o:p></p>
<p class=3D"MsoNormal">I want to stream the video file to File or memory st=
ream. <o:p>
</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I have found this sample https://wiki.videolan.org/S=
tream_to_memory_(smem)_tutorial/<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">But unsure of how to get started ?<o:p></o:p></p>
<p class=3D"MsoNormal">1) Where do i get the libVLC.dll, libVLC.lib, libVLC=
.h , Is there any sample visual studio that has everything setup and I can =
straight begin to write the code using libVLC etc.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">2) Since libVLC is said to depdend on 200&#43; other=
 libraries/modules/plugins, what will I have include and distribute with my=
 application ?<o:p></o:p></p>
<p class=3D"MsoNormal">http://www.enjoythearchitecture.com/vlc ... cture.ht=
ml<o:p></o:p></p>
<p class=3D"MsoNormal">https://wiki.videolan.org/Contrib_Status/<o:p></o:p>=
</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">3) streaming format : above example seems to stream =
into PCM format, cant I get it stream in some format that has better codec =
and recognized by HTML5 ?
<o:p></o:p></p>
<p class=3D"MsoNormal">For example when i tried using VLC media player , my=
 options were as following
<o:p></o:p></p>
<p class=3D"MsoNormal">:sout=3D#transcode{vcodec=3Dtheo,vb=3D800,acodec=3Dv=
orb,ab=3D128,channels=3D2,samplerate=3D44100}:file{dst=3DC:\\Users\\testUse=
r\\stream-output.ogg,no-overwrite} :sout-keep<o:p></o:p></p>
</div>
</body>
</html>

--_000_2E28F87442ADDE429B73D5B64FCB16AB06CC48B5SINPEX01CL01cit_--

--===============0802038454663355717==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
streaming mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/streaming

--===============0802038454663355717==--