Hello!
We are interested to stream a media that is being recorded, media file is growing. Also we want the capability of positioning along the stream.
We have tried to solve it with ffmpeg and the nDVR AddOn. Ffmpeg reads the growing media file in real-time and streams data to Wowza through rtmp protocol. All this work fine.
The problem came when the recording has ended. It seams the ffmpeg has streamed all media to Wowza, but the nDVD don’t realize of the ffmpeg ending. Always last 10 or 20 segons (chunks file size) are lost, so the player (OSMF or Silverlight player proved) don’t show that last 10 or 20 seconds.
The same behavior has been noted if orignal media is closed, not growing, before starts to stream to Wowza.
We have seen that last files corresponding to 10 or 20 seconds are not recorded inside the nDVR folder (definst\test01.0\0000_00_00).
ffmpeg command used: ffmpeg\bin\ffmpeg.exe -re -i test01.mxf -vcodec libx264 -ar 44100 -f flv rtmp://192.168.14.225/dvr/test01
Thank you.