Results 1 to 4 of 4

Thread: Cannot play live recorded video

  1. #1
    Join Date
    Nov 2011
    Posts
    4

    Default Cannot play live recorded video

    I use ffmpeg to publish video to wowza server, using the live-record stream type. I can see the recorded video in /usr/local/WowzaMediaServer/content folder, but I can not play it through wowza.

    First, I use ffmpeg to publish video. sample.mp4 is contained wowza.

    ffmpeg -i sample.mp4 -re -vcodec libx264 -vpre default -vpre baseline -f rtsp rtsp://192.168.1.125/live/20
    After that, I can see 20.mp4 in /usr/local/WowzaMediaServer/content folder, it can be played by mplayer. However, I cannot play it througth rtmp://192.168.1.125/vod/mp4:20.mp4(using flash player) or rtsp://192.168.1.125:1935/vod/mp4:20.mp4(using mplayer).

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

    Default

    Try with it like this with rtmp output and mp4: prefix on stream name:
    ffmpeg -i sample.mp4 -strict experimental -acodec aac -ab 64k -s 720x406 -vcodec libx264 -vpre default -vpre ipod640 -g 90 -b 768k -threads 64 -f flv rtmp://localhost:1935/live/mp4:myStream
    '

    Richard

  3. #3
    Join Date
    Nov 2011
    Posts
    4

    Default

    Thanks, it works! The parameter "-s 720x406" is required for Wowza to replay the recorded video.

    However, there is another issue. If I publish the video through rtsp instead of rtmp, the recorded video can not be seeked.

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

    Default

    Use what works! The framesize (-s) parameter is not required.

    Richard

Similar Threads

  1. can not play live stream recorded file in jwplayer
    By malarprathap in forum Video On Demand Streaming Discussion
    Replies: 4
    Last Post: 02-14-2013, 07:32 AM
  2. recorded .mp4 format video file does not play while in live streaming
    By vinodkumarc in forum Live Streaming and Encoder Discussion
    Replies: 6
    Last Post: 10-02-2012, 06:16 AM
  3. Play the recorded video nDVR without wowza
    By zouzou in forum AddOn: Wowza nDVR
    Replies: 2
    Last Post: 05-15-2012, 05:32 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
  •