Hi all, ffmpeg question:
I have configured nginx to segment a live stream from a camera into sequential *flv files (about 1 minute duration each) in a directory. Each *flv file has a timestamp. For example: [me@mybox /mydir] ls -lr test1*flv -rwxr-xr-x 1 root root 9898994 Sep 17 20:10 test1-1410946937.flv* -rwxr-xr-x 1 root root 10450933 Sep 17 17:42 test1-1410946906.flv* -rwxr-xr-x 1 root root 10437684 Sep 17 17:41 test1-1410946875.flv* -rwxr-xr-x 1 root root 10441149 Sep 17 17:41 test1-1410946844.flv* -rwxr-xr-x 1 root root 10454367 Sep 17 17:40 test1-1410946813.flv* -rwxr-xr-x 1 root root 10114779 Sep 17 17:40 test1-1410946783.flv* -rwxr-xr-x 1 root root 10454252 Sep 17 17:39 test1-1410946752.flv* -rwxr-xr-x 1 root root 10449784 Sep 17 17:39 test1-1410946721.flv* .... <more get constantly added> My question is: I would like for a way to create an rtmp live stream that are the contents of the *flv files in this directory combined - keeping in mind new files may be added as this is a live stream. Is there a way to get ffmpeg to do something like this? I thought perhaps the concat protocol could be used for this, but I *think* that is a one time read on all the *flv files and no way for it to discover the newly generated files in that directory. Thanks for an ideas. _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
