split recording for segmented http streaming
Posted: 13 Aug 2010 16:30
Hi, i'm trying to make a simple live http segmented streaming solution.
For that, i'd like to record my live .ts streams not to a single file, but split into multiple files of a given size or duration in this manner :
segment1.ts
segment2.ts
segment3.ts
...
In essence, just like a stream segmenter would do. VLC would of course continue to record while the file is split and uploaded to an http server.
a php script would then parse the server for the filenames and generate a .m3u8playlist file accordingly that would be refreshed periodically as new files are appended.
The client would use this playlist file to playback as an uninterrupted stream.
I've looked at apple's solution, but it's just too restrictive at the moment.
Is VLC already capable of segmenting the recording on the fly ?
Any other suggestions apreciated.
Thanks
For that, i'd like to record my live .ts streams not to a single file, but split into multiple files of a given size or duration in this manner :
segment1.ts
segment2.ts
segment3.ts
...
In essence, just like a stream segmenter would do. VLC would of course continue to record while the file is split and uploaded to an http server.
a php script would then parse the server for the filenames and generate a .m3u8playlist file accordingly that would be refreshed periodically as new files are appended.
The client would use this playlist file to playback as an uninterrupted stream.
I've looked at apple's solution, but it's just too restrictive at the moment.
Is VLC already capable of segmenting the recording on the fly ?
Any other suggestions apreciated.
Thanks