Results 1 to 2 of 2

Thread: Help needed in RTMP re-streaming to iPod

  1. #1

    Default Help needed in RTMP re-streaming to iPod

    Hello,
    I am a newbie here and am trying to dynamically transcode a media file using Xuggler (ffmpeg wrapper), stream it over RTMP to Wowza, where Wowza streams it to my iPod.

    I am getting this message on wowza console :
    MediaReaderH264.open[1]: java.io.FileNotFoundException : ...\content\test.sdp <The System cannot find the path speciied>
    MediaReaderH264Cupertino.indexFile:java.lang.NullPointerException
    I was earlier getting a file not found error on my iPod. After going through forum posts, I removed the following lines from my Application.xml
    cupertinostreamingrepeater, smoothstreamingrepeater, sanjosestreamingrepeater
    This is what I am doing on Xuggler :
     "--containerformat",
            "avi",   
            "--acodec",
            "libfaac",
            "--asamplerate",
            "22050",
            "--achannels",
            "1",
            "--abitrate",
            "48000",
            "--aquality",
            "0",
            "--vcodec",
            "libx264",
            "--vscalefactor",
            "1.0",
            "--vbitrate",
            "300000",
            "--vbitratetolerance",
            "12000000",
            "--vquality",
            "0",
            "--vpreset",
            "C:/ipod.preset"
            "--realtime", // this will stream out to an RTMP server
            "C:/input_file.flv"
            "rtmp://192.168.1.2:1935/live/mp4:test.sdp"
    Here is the ipod.preset //Default ones in ffmpeg also not working, this one I googled :
    flags=+loop
    cmp=+chroma
    me_range=16
    g=300
    keyint_min=25
    sc_threshold=40
    i_qfactor=0.71
    rc_eq="blurCplx^(1-qComp)"
    qcomp=0.6
    qmin=10
    qmax=51
    qdiff=4
    coder=0
    refs=1
    maxrate=4M
    bufsize=4M
    level=21
    partitions=+parti4x4+partp8x8+partb8x8
    subq=5
    I streamed to my Android phone using similar configs. VOD streaming is working fine on all devices...so I guess my code is wrong somewhere.
    Thanks !
    Deepak

  2. #2

    Default

    You will get this error: "java.io.FileNotFoundException : ...\content\test.sdp" if your application is set up like a VOD application instead of a live application. The following examples show how to correctly set up a live application. You should have at least one VOD application for playing files, and one Live application for playing streams.

    If your encoder generates a .sdp file you need to copy it to the wowza content folder. But in your example, I'm not sure you are actually making a real SDP file. It looks like "test.sdp" is just the name of your stream. You could change this to "myStream" to avoid confusion with SDP files.

    For RTMP based encoding, which it looks like you're doing, look here: How to publish and play a live stream (RTMP or RTSP/RTP based encoder)

    For RTSP/RTP encoding with an SDP file, look here: How to publish and play a live stream (native RTP encoder with SDP file)

Similar Threads

  1. RTMP Streaming Help Needed After Setup
    By brookey12 in forum Live Streaming and Encoder Discussion
    Replies: 12
    Last Post: 01-23-2013, 10: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
  •