Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VLC video streaming and Icecast

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Video Streaming
View previous topic :: View next topic  
Author Message
joarobles



Joined: 30 Jun 2011
Posts: 1

PostPosted: Wed Dec 14, 2011 12:39 pm    Post subject: VLC video streaming and Icecast Reply with quote

Hi people,
I'm starting with video streaming with Icecast but I couldn't stream anything yet, I'm using VLC as client in Windows.

My icecast.xml is the following, pretty much like the standard one:
Code:
<icecast>
    <limits>
        <sources>2</sources>
    </limits>
    <authentication>
        <source-password>hackme</source-password>
        <relay-password>hackme</relay-password>
        <admin-user>admin</admin-user>
        <admin-password>hackme</admin-password>
    </authentication>

    <hostname>localhost</hostname>
    <listen-socket>
        <port>8000</port>
    </listen-socket>
    <fileserve>1</fileserve>
    <paths>
        <logdir>./logs</logdir>
        <webroot>./web</webroot>
        <adminroot>./admin</adminroot>
        <alias source="/" dest="/status.xsl"/>
    </paths>
    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
         <loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
    </logging>

   <mount>
      <mount-name>/video.ogg</mount-name>
      <username>usuario</username>
      <password>clave</password>
      <max-listeners>50</max-listeners>
   </mount>
</icecast>


So, I will stream in /video.ogg mountpoint with VLC with this command:

Code:
:sout=#transcode{vcodec=theo,vb=200,fps=15,scale=0.25,acodec,ab=40,channels=1,samplerate=22050}:std{access=shout,mux=ogg,dst=usuario:clave@localhost:8000/video.ogg} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep


But then something weird happens, when the streaming is started I can see something like this in the Icecast administration page:

Quote:
Stream Title: VLC media player - Live stream
Stream Description: Live stream from VLC media player
Content Type: application/ogg
Video Quality: 12
Framesize: 336 x 188
Framerate: 15.00
Current Listeners: 0
Peak Listeners: 0
Stream Genre: Alternative
Stream URL: http://www.videolan.org/vlc
Current Song:


So it seems that VLC is currently streaming OK, but I can't watch any video using any player. Then, seconds later if I refresh the Icecast page, it falls back to this mountpoint, that I believe is something like an audio mountpoint (note the missing video parameters):

Quote:
Stream Title: VLC media player - Live stream
Stream Description: Live stream from VLC media player
Content Type: application/ogg
Current Listeners: 0
Peak Listeners: 0
Stream Genre: Alternative
Stream URL: http://www.videolan.org/vlc
Current Song:


Any idea? Should I use another client to stream video? Thanks!
_________________
www.reweb.com.ar
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Dec 14, 2011 2:56 pm    Post subject: Reply with quote

Check the error log for any odd messages, eg timeouts. It looks like the theora code has been built so it won't be that.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Video Streaming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber