Results 1 to 7 of 7

Thread: Transfer Speex from Flash to VLC

  1. #1
    Join Date
    Dec 2011
    Posts
    10

    Question Transfer Speex from Flash to VLC

    Hi need help, now 2012 year, meybe now i can transfere Speex(wowza 2) without transcode(wowza3) delay is large, to RTSP (VLC) ?
    now trouble Speex only 16KHz outputing from flash?
    Help pls.
    Maybe there is even another way?
    wowza2 can`t find NELLYMOSER packetsizer, meybe wowza3 have him?

    P.S. sorry for my eng
    Last edited by bimawa; 01-12-2012 at 06:24 AM.

  2. #2

    Default

    Hi bimawa,

    The Wowza Transcoder can decode Speex, not Nellymoser. See the Transcoder Overview: http://www.wowza.com/forums/content....AddOn-Overview

    Note, you will have to configure flash to encode video as H.264.

  3. #3
    Join Date
    Dec 2011
    Posts
    10

    Default

    Thx for Reply. I know this way, but if i use transcoder I have very long Delay. Transcoder added me 2 buffers, its very bad.

  4. #4

    Default

    Try editing [install-dir]/conf/[application]/Application.xml and add the following property to the LiveStreamTranscoder/Properties container (be sure the put this property in the correct <Properties> container - there are several in the file):

    <Property>
        <Name>sortPackets</Name>
        <Value>false</Value>
        <Type>Boolean</Type>
    </Property>
    Charlie

  5. #5
    Join Date
    Dec 2011
    Posts
    10

    Default

    Quote Originally Posted by charlie View Post
    Try editing [install-dir]/conf/[application]/Application.xml and add the following property to the LiveStreamTranscoder/Properties container (be sure the put this property in the correct <Properties> container - there are several in the file):

    <Property>
        <Name>sortPackets</Name>
        <Value>false</Value>
        <Type>Boolean</Type>
    </Property>
    Charlie
    Ok, Charlie.
    But VLC return me warnings stack:

    [0x1080d9248] live555 demux debug: We have a timeout of 60 seconds
    [0x1080d9248] live555 demux debug: spawned timeout thread
    [0x1080d9248] live555 demux debug: play start: 0,000000 stop:0,000000
    [0x1080d9248] main demux debug: using access_demux module "live555"
    [0x1080d9248] main demux debug: TIMER module_need() : 59,527 ms - Total 59,527 ms / 1 intvls (Avg 59,527 ms)
    [0x1050dfb08] main decoder debug: looking for decoder module: 32 candidates
    [0x1050dfb08] faad decoder error: Failed to initialize faad using extra data
    [0x1050dfb08] avcodec decoder debug: libavcodec already initialized
    Audio object type 0 is not supported.
    [0x1050dfb08] avcodec decoder error: cannot open codec (MPEG AAC Audio)
    [0x1050dfb08] main decoder debug: no decoder module matching "any" could be loaded
    [0x1050dfb08] main decoder debug: TIMER module_need() : 7,393 ms - Total 7,393 ms / 1 intvls (Avg 7,393 ms)
    [0x1050dfb08] main decoder error: no suitable decoder module for fourcc `mp4a'. VLC probably does not support this sound or video format.
    [0x1050dfb08] main decoder debug: killing decoder fourcc `mp4a', 0 PES in FIFO
    [0x100952f08] main decoder debug: looking for decoder module: 32 candidates
    [0x100952f08] avcodec decoder debug: libavcodec already initialized
    [0x100952f08] avcodec decoder debug: trying to use direct rendering
    [0x100952f08] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started
    And the delay was reduced by only 0.5 seconds
    That's still not enough to talk.
    Total ihave now:
    -delay 2.5 sec
    -no Audio stream
    Last edited by bimawa; 01-13-2012 at 02:19 AM.

  6. #6

    Default

    Hi bimawa,

    Let me try to address the issues.

    "-delay 2.5 sec"

    Transcoding is going to add some delay. There is no way around this. You can use a faster CPU to reduce processing time.
    1. Be sure to use StreamType live-lowlatency in your Applicaiton.xml.
    2. If you want to reduce latency further, don't transcode. Use a player that supports the codecs used by your encoder (Flash).

    "-no Audio stream"

    Not sure about this one. I am able to send stream with MP3 audio, transcode it to AAC, and play it in VLC just fine. I see your vlc reports "cannot open codec (MPEG AAC Audio)". Can you open other AAC content? A good test would be to open this in VLC: rtsp://[wowza-ip]:1935/vod/sample.mp4

  7. #7
    Join Date
    Dec 2011
    Posts
    10

    Default

    Quote Originally Posted by randall View Post
    Transcoding is going to add some delay. There is no way around this. You can use a faster CPU to reduce processing time.
    The delay is recruited not because of the tran, but because of buffering, which transcode uses.
    Quote Originally Posted by randall View Post
    1. Be sure to use StreamType live-lowlatency in your Applicaiton.xml.
    Yes, but this not help me
    Quote Originally Posted by randall View Post
    2. If you want to reduce latency further, don't transcode. Use a player that supports the codecs used by your encoder (Flash).
    Its good idea, but we need functional VLC on endpoint.
    Not sure about this one. I am able to send stream with MP3 audio, transcode it to AAC, and play it in VLC just fine. I see your vlc reports "cannot open codec (MPEG AAC Audio)". Can you open other AAC content? A good test would be to open this in VLC: rtsp://[wowza-ip]:1935/vod/sample.mp4
    Its work fine, its no speex.
    Speex is batch specific it is very Cool for transports protocols.

    We have decided to refuse from the use of flash in relation to issues such
    Thx for help!

Similar Threads

  1. Replies: 2
    Last Post: 07-10-2013, 09:13 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
  •