Results 1 to 9 of 9

Thread: Broadcating a stream in ffmpeg encoder

  1. #1
    Join Date
    May 2013
    Posts
    14

    Question Broadcating a stream in ffmpeg encoder

    i am new to ffmpeg encoder i have to publish a stream in ffmpeg for Wowza as described in this link http://www.wowza.com/forums/content....-based-encoder

    in this Host should be localhost:1935 and stream should be /live/mystream.sdp

    please guideline what should be command i am using linux please help!!

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

    Default

    Take a look at this FFmpeg guide:

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

    Richard

  3. #3
    Join Date
    May 2013
    Posts
    14

    Default

    hi rrlanham ,i read this thread before for streaming using rtsp.but it is streaming data froma url udp://127.0.0.1:10000 but in this case u have to set value of host to and stream to Host Address: [wowza-ip-address]:1935
    Stream Name: live/myStream.sdp .how to accomplish this in ffmpeg encoder and what is the content of myStream.sdp file please specify??

  4. #4
    Join Date
    May 2013
    Posts
    14

    Default

    please help a little from morning i am trying to complete this tutorial!!

  5. #5
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi,
    You can change the protocol of the stream to Wowza using FFMPEG if needed.
    Sending the stream to Wowza using RTMP would be simpler and the tutorial does have a section on how to do this.

    FFmpeg can publish streams using other outgoing protocols such as RTMP and RTSP/RTP (QuickTime ANNOUNCE).
    To send a stream using RTMP, change the destination portion of the FFmpeg URL:

    From:
    -f mpegts udp://127.0.0.1:10000?pkt_size=1316
    To:
    -f flv rtmp://127.0.0.1/live/myStream
    After applying this to FFMPEG the publishing stream will be going to application "live" with stream name myStream

    Playback form Wowza would also be:
    RTMP - rtmp://[wowza-ip-address]:1935/live/myStream
    
    RTSP - rtsp://[wowza-ip-address]:1935/live/myStream
    
    Apple HLS - http://[wowza-ip-address]:1935/live/myStream]/playlist.m3u8
    
    Flash HDS - http://[wowza-ip-address]:1935/live/myStream/manifest.f4m
    
    Silverlight - http://[wowza-ip-address]:1935/live/myStream/Manifest
    Jason

  6. #6
    Join Date
    May 2013
    Posts
    14

    Default

    i am facing error using your method "Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec libx264: Invalid argument "

  7. #7
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi,
    What version of FFMEPG are you using?

    Jason

  8. #8
    Join Date
    May 2013
    Posts
    14

    Default

    when i type ffmpeg-version it gave the result


    ffmpeg version git-2013-06-03-c8faa47
    built on Jun 3 2013 23:34:11 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
    configuration: --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libopus --enable-libvpx --enable-x11grab --enable-libfaac --enable-libx264 --enable-nonfree --enable-version3
    libavutil 52. 34.100 / 52. 34.100
    libavcodec 55. 15.100 / 55. 15.100
    libavformat 55. 8.102 / 55. 8.102
    libavdevice 55. 2.100 / 55. 2.100
    libavfilter 3. 74.101 / 3. 74.101
    libswscale 2. 3.100 / 2. 3.100
    libswresample 0. 17.102 / 0. 17.102
    libpostproc 52. 3.100 / 52. 3.100

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

    Default

    Our examples are using a pre-built version of FFmpeg for Windows, linked to on that page. It is version N-52458-gaa96439. Try to match that version

    Richard

Similar Threads

  1. ffmpeg stream monitoring, restarting
    By arsenm in forum General Forum
    Replies: 6
    Last Post: 08-08-2014, 10:32 AM
  2. FFMPEG Incoming RTSP Stream Debug
    By boodapotamus in forum Live Streaming and Encoders
    Replies: 1
    Last Post: 07-25-2014, 03:37 PM
  3. how to prevent FFMPEG to stream to wowza
    By robertookla in forum General Forum
    Replies: 2
    Last Post: 08-28-2013, 10:13 PM
  4. Play stream with ffmpeg (ffplay)
    By Hunternif in forum Video On Demand Streaming Discussion
    Replies: 8
    Last Post: 01-23-2013, 05:28 AM
  5. Live Stream FFMPEG Encoding - Stream Not Found
    By wolfza in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 01-09-2012, 06:12 PM

Posting Permissions

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