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

Thread: re-streaming from VLC

  1. #1
    Join Date
    Apr 2013
    Posts
    8

    Default re-streaming from VLC

    Hi Everyone,


    need someone's help!


    I'm trying to make a re-streamnig from vlc player.
    I do the following:
    1. make stream in VLC on the base of some video
    2. make configuration for file *.stream and start live in wowza
    3. start RTMP player and fill the proper values however RTMP player doesn't play anything.

    Can anyone to explain what's wrong?

    Denis

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

    Default

    Run Wowza in stand-alone (/bin/startup.bat) mode and test. What do you see in the console?

    Richard

  3. #3
    Join Date
    Apr 2013
    Posts
    8

    Default

    Hi, Richard!

    thanks for reply.

    I did it and didn't find anything strange.
    here is a logging frame
    :

    server: VLC/2.0.5 - - - 66526.784 - - - - - - -
    date: Wed, 24 Apr 2013 12:15:54 GMT - - - 66526.784 - -
    content-type: application/sdp - - - 66526.784 - - - -
    content-base: rtsp://192.168.110.130:8554/den - - - 66526.784
    content-length: 696 - - - 66526.785 - - - - - -
    cache-control: no-cache - - - 66526.785 - - - - -
    cseq: 2 - - - 66526.785 - - - - - - - - -
    uri: RTSP/1.0 200 OK - - - 66526.785 - - - - - -
    protocol: RTSP/1.0 - - - 66526.785 - - - - - -
    status: 200 - - - 66526.785 - - - - - - - -
    response: OK - - - 66526.785 - - - - - - - -
    server: VLC/2.0.5 - - - 66526.785 - - - - - - -
    date: Wed, 24 Apr 2013 12:15:54 GMT - - - 66526.786 - -
    content-type: application/sdp - - - 66526.786 - - - -
    content-base: rtsp://192.168.110.130:8554/den - - - 66526.786
    content-length: 696 - - - 66526.786 - - - - - -
    cache-control: no-cache - - - 66526.786 - - - - -
    cseq: 2 - - - 66526.786 - - - - - - - - -
    *** RTSPMessageReceive ***

    ...


    RTSP/1.0 200 OK
    cache-control: no-cache
    content-type: application/sdp
    response: OK
    protocol: RTSP/1.0
    cseq: 2
    status: 200
    content-length: 696
    content-base: rtsp://192.168.110.130:8554/den
    server: VLC/2.0.5
    date: Wed, 24 Apr 2013 12:15:54 GMT
    uri: RTSP/1.0 200 OK

    ....
    2013-04-25 08:05:58 ALMT comment server DEBUG 200 - v=0
    o=- 15357920667673772645 15357920667673772645 IN IP4 ubuntu
    s=Unnamed
    i=N/A
    c=IN IP4 0.0.0.0
    t=0 0
    a=tool:vlc 2.0.5
    a=recvonly
    a=type:broadcast
    a=charset:UTF-8
    a=control:rtsp://192.168.110.130:8554/den
    m=video 0 RTP/AVP 96
    b=RR:0
    a=rtpmap:96 H264/90000
    a=fmtp:96 packetization-mode=1;profile-level-id=42c01e;sprop-parameter-sets=Z0LAHpZiA2P8vCAAAAMAIAAABgHixck=,aMuMsg==;
    a=control:rtsp://192.168.110.130:8554/den/trackID=0
    m=audio 0 RTP/AVP 96
    b=RR:0
    a=rtpmap:96 mpeg4-generic/48000/2
    a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1190; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
    a=control:rtsp://192.168.110.130:8554/den/trackID=1
    - - - 66526.786 - - - - - - - - - - - - - - - - - - - - - - - - -
    2013-04-25 08:05:58 ALMT comment server DEBUG 200 - DESCRIBE: SDP: trackCount:2 trackNames:[rtsp://192.168.110.130:8554/den/trackID=0,header,rtsp://192.168.110.130:8554/den/trackID=1] - - - 66526.787 - - - - - - - - - - - - - - - - - - - - - - - - -
    2013-04-25 08:05:58 ALMT comment server DEBUG 200 - *** RTSPMessageSend ***
    SETUP rtsp://192.168.110.130:8554/den/trackID=0 RTSP/1.0
    Transport: RTP/AVP/TCP;unicast;interleaved=0-1
    CSeq: 3
    - - - 66526.787 - - - - - - - - - - - - - - - - - - - - - - - - -
    2013-04-25 08:05:58 ALMT comment server DEBUG 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.send: command:SETUP
    SETUP rtsp://192.168.110.130:8554/den/trackID=0 RTSP/1.0
    Transport: RTP/AVP/TCP;unicast;interleaved=0-1
    CSeq: 3


    and here is the logging after I start FlashRTMPPlayer:

    RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: command:PLAY respo
    LivePlayer.rsend[live/_definst_/camera.stream]: rt:783 - - - 301.378 - -
    send[288021509]: size:0:0 filter:7 time:0 tOffset:0 rwrt:true - - - 301.378
    LivePlayer.rsend[live/_definst_/camera.stream]: rt:255 - - - 301.633 - -
    send[288021509]: size:0:0 filter:7 time:255 tOffset:0 rwrt:true - - - 301.633
    LivePlayer.rsend[live/_definst_/camera.stream]: rt:255 - - - 301.888 - -
    send[288021509]: size:0:0 filter:7 time:255 tOffset:0 rwrt:true - - - 301.889
    LivePlayer.rsend[live/_definst_/camera.stream]: rt:255 - - - 302.143 - -
    send[288021509]: size:0:0 filter:7 time:257 tOffset:0 rwrt:true - - - 302.145
    LivePlayer.rsend[live/_definst_/camera.stream]: rt:255 - - - 302.398 - -
    send[288021509]: size:0:0 filter:7 time:254 tOffset:0 rwrt:true - - - 302.399
    LivePlayer.rsend[live/_definst_/camera.stream]: rt:259 - - - 302.657 - -
    send[288021509]: size:0:0 filter:7 time:259 tOffset:0 rwrt:true - - - 302.658
    LivePlayer.rsend[live/_definst_/camera.stream]: rt:257 - - - 302.915 - -
    send[288021509]: size:0:0 filter:7 time:257 tOffset:0 rwrt:true - - - 302.916
    LivePlayer.rsend[live/_definst_/camera.stream]: rt:259 - - - 303.173 - -
    send[288021509]: size:0:0 filter:7 time:258 tOffset:0 rwrt:true - - - 303.173
    LivePlayer.rsend[live/_definst_/camera.stream]: rt:256 - - - 303.429 - -
    send[288021509]: size:0:0 filter:7 time:256 tOffset:0 rwrt:true - - - 303.429
    LivePlayer.rsend[live/_definst_/camera.stream]: rt:256 - - - 303.685 - -
    send[288021509]: size:0:0 filter:7 time:256 tOffset:0 rwrt:true - - - 303.686
    LivePlayer.rsend[live/_definst_/camera.stream]: rt:256 - - - 303.941 - -
    send[288021509]: size:0:0 filter:7 time:257 tOffset:0 rwrt:true - - - 303.942
    LivePlayer.rsend[live/_definst_/camera.stream]: rt:256 - - - 304.198 - -
    send[288021509]: size:0:0 filter:7 time:256 tOffset:0 rwrt:true - - - 304.198


    so...you can see that nothing strange or I wrong? )



    Denis

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

    Default

    Take a look at these guides, which show what we recommend for streaming from VLC using mpeg-ts:

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

    http://www.wowza.com/forums/content....based-encoder)

    Richard

  5. #5
    Join Date
    Apr 2013
    Posts
    8

    Default

    Hi Richard,


    many thanks, it works. but I have to resolve something different:

    1. RTSP (for example rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov) -> 2. VLC (just re-streaming) -> 3. Wowza (re-streaming) - 4. VLC , final client.

    1->2 works
    2->3 doesn't work

    I filled "rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov" in *.stream file. Started live and have following logs:

    RTPMediaCaster.Reconnector[1842130206:live/_definst_:camera1.stream]: done: 37 -
    server: VLC/2.0.5 - - - 500.452 - - - - - - - - - - -
    date: Sun, 28 Apr 2013 07:26:13 GMT - - - 500.453 - - - - - -
    content-length: 0 - - - 500.453 - - - - - - - - - - -
    cache-control: no-cache - - - 500.453 - - - - - - - - -
    cseq: 5 - - - 500.453 - - - - - - - - - - - - -
    uri: RTSP/1.0 200 OK - - - 500.453 - - - - - - - - - -
    protocol: RTSP/1.0 - - - 500.453 - - - - - - - - - -
    status: 200 - - - 500.454 - - - - - - - - - - - -
    response: OK - - - 500.454 - - - - - - - - - - - -
    server: VLC/2.0.5 - - - 500.454 - - - - - - - - - - -
    date: Sun, 28 Apr 2013 07:26:13 GMT - - - 500.454 - - - - - -
    content-length: 0 - - - 500.454 - - - - - - - - - - -
    cache-control: no-cache - - - 500.454 - - - - - - - - -
    cseq: 5 - - - 500.454 - - - - - - - - - - - - -
    *** RTSPMessageReceive ***
    ............................

    LivePlayer.rsend[live/_definst_/camera1.stream]: rt:255 - - - 512.466 - - - - - - - -
    send[807883211]: size:0:0 filter:7 time:256 tOffset:0 rwrt:true - - - 512.467 - - - - - -
    RTPMediaCaster.streamTimeout[1842130206:live/_definst_:camera1.stream]: timeout:12000 diff:12018 reason:101
    RTPMediaCaster.resetConnection[1842130206:live/_definst_:camera1.stream]: - - - 512.587 - - -
    RTPMediaCaster.closeRTPSession[1842130206:live/_definst_:camera1.stream] - - - 512.588 - - -
    *** RTSPMessageSend ***



    why timeout? what's the reason 101?
    pls help

    Denis

  6. #6

    Default

    DenisY, you might try to adjust your [install-dir]/conf/[app-name]/Application.xml file and change the <MaxRTCPWaitTime> from 12000 to 13000, and/or <RTSPSessionTimeout> from 90000 to 0 (zero)

    Salvadore

  7. #7
    Join Date
    Apr 2013
    Posts
    8

    Default

    Salvadore,


    made the adjustment, but nothing changed. I found other message in log:

    uri: RTSP/1.0 461 Unsupported transport

    What does it mean?


    by the way the VLC as a final client marked in log the following:
    main error: open of `rtsp://192.168.110.129:1935/live/camera1.stream' failed


    Denis

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

    Default

    Denis,

    RTSP (for example rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov) -> 2. VLC (just re-streaming) -> 3. Wowza (re-streaming) - 4. VLC , final client.
    This looks like you are doing Wowza > VLC > Wowza > VLC. I don't see a camera in this workflow. The camera.stream file would typically contain an rtsp url to a camera source, now Wowza.

    Richard

  9. #9
    Join Date
    Apr 2013
    Posts
    8

    Default

    Richard,


    I have IP vga camera.
    After the first configuration (according to "How to re-stream video from an IP camera") I didn't get the result.
    I supposed that the codec isn't proper for Wowza. So... I decided to check the authentic RTSP stream with codec that proper for Wowza…that’s why I took the rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov instead of real ip camera.
    In any way whether the real cam or generated RTSP I got just RTSP stream that can be processed by Wowza like from real cam. or I wrong?


    Denis

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

    Default

    Denis,

    If the goal is to get that camera on working, we should work on that directly. Is it on a public IP? Can you play it in VLC directly? In VLC, play the rtsp url to the camera and look at Tools > Codec info. What is the audio and video codec info?

    Richard

Page 1 of 2 12 LastLast

Similar Threads

  1. RTSP stream works in VLC but not HLC in VLC
    By craigvansant in forum Live Streaming and Encoder Discussion
    Replies: 10
    Last Post: 01-11-2013, 04:50 PM
  2. VLC IE Plug-in that auto-invokes the VLC client Player
    By sgopalkr in forum Media Players and Devices Discussion
    Replies: 12
    Last Post: 11-14-2012, 08:30 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
  •