Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: VLC Live contents to WMS

  1. #1
    Join Date
    Jul 2011
    Posts
    20

    Default VLC Live contents to WMS

    Hi everyone,

    I have find again a new problem trying to configure my WMS. Now the problem is that I would like to have a live streaming in my Wowza media Server. I'm sending contents from a live encoder to wowza, via .sdp. But the problem is that my encoder allows me only to encode contents with max. 288 height, and I would like to be able to send wowza contents with higher resolution. How can I do this with VLC, for example?

    Hope you can help,
    thanks.

    Javier

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Javier,

    We have some VLC guidance in this article:

    http://www.wowza.com/forums/content....rver-(MPEG-TS)

    Richard

  3. #3
    Join Date
    Jul 2011
    Posts
    20

    Default

    I've just read this article and I have a few questions:

    First, ┐Should the VLC run in the same machine that wowza is running, or could be running in another machine in the same LAN?

    If I can run VLC in other machine, I'm running it from a batch with this parameters:
    "vlc -vvv "dshow://" --sout "#transcode{venc=x264{keyint=60,profile=baseline,level=3.0,nocabac},vcodec=x264,vb=150,scale=0.5,aco dec=mp4a,ab=96,channels=2,samplerate=48000}:rtp{dst=XXX.XXX.XXX.XXX,port=10000,mux=ts}" (Like the article says)

    XXX.XXX.XXX.XXX Is the IP of the machine where wowza is running. In this machine, I open the Streamsmanager and in "live/_definst_" app, I'm starting stream with this parameters:
    MediaCaster type: rtp
    Stream Name: XXX.XXX.XXX.XXX:100000

    What am I doing wrong??
    Many thanks for your help.

    Javier

  4. #4
    Join Date
    Jul 2011
    Posts
    20

    Default

    Sorry,

    Correct Stream Name is: XXX.XXX.XXX.XXX:10000 (4 zeroes instead of 5)
    The Stream starts Ok. But when I try to play this in my iPhone it doesn't not works:

    http://XXX.XXX.XXX.XXX:1935/live/10000/playlist.m3u8

  5. #5
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Javier,

    VLC and Wowza do not have to be on the same machine.

    Make sure UDP ports 0 - 65535 are open. Or at least 6970 - 9999. Check your firewall and you might have to map udp ports (port-forward) in your router.

    If you test with Wowza and VLC on the same machine UDP ports will not be an issue. So it is a good idea to start there, then stream from VLC to remote Wowza server.

    Richard

  6. #6
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Use .stream files, text file with .stream extension in the content folder that contains the UDP url, e.g. /content/udp.stream. Then you will start "udp.stream" as the stream name in StreamManager and use that name to playback the stream. Make sure the .stream file is plain text and does not get a .txt extension added to it by your text editor.

    Richard

  7. #7
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    To be clear:

    file: /content/udp.stream
    contents: udp://xxx.xxx.xxx.xxx:10000

    Richard

  8. #8
    Join Date
    Jul 2011
    Posts
    20

    Default

    Working!!!!

    Many, many thanks for your help Richard!

  9. #9
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Cool! Glad it's working. Thanks for the update.

    Richard

  10. #10
    Join Date
    Jul 2011
    Posts
    20

    Default

    Hi Richard,

    I have a new question for you. Yesterday, with your help, I was able to start the "udp.stream" stream and made it work. But now, I would like to know if there is a way to control the streaming bitrate from this file, or configure it in any file on wowza.

    Many thanks

Page 1 of 2 12 LastLast

Similar Threads

  1. access RTCP RR contents
    By ctb041 in forum Server-side Modules and Code Samples Discussion
    Replies: 1
    Last Post: 06-13-2013, 06:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •