split recording for segmented http streaming

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Karine
New Cone
New Cone
Posts: 4
Joined: 13 Aug 2010 16:01

split recording for segmented http streaming

Postby Karine » 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

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: split recording for segmented http streaming

Postby Rémi Denis-Courmont » 13 Aug 2010 16:54

VLC 1.2.0 preversions have native support for Apple live streaming output and can be combined with a web server. Is that what you mean?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Karine
New Cone
New Cone
Posts: 4
Joined: 13 Aug 2010 16:01

Re: split recording for segmented http streaming

Postby Karine » 15 Aug 2010 16:04

Almost,

I'd just like VLC to take care of the splitting part instead of the apple stream segmenter, as apple solution is currently aimed at Iphone streaming.
I'm working with raw .ts streams which i don't intend to reencode so the apple current implementation is useless to me.

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: split recording for segmented http streaming

Postby Rémi Denis-Courmont » 15 Aug 2010 16:27

That's what the VLC >= 1.2.0 live streaming plugin does, it segments Transport Streams.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Karine
New Cone
New Cone
Posts: 4
Joined: 13 Aug 2010 16:01

Re: split recording for segmented http streaming

Postby Karine » 15 Aug 2010 17:08

Thanks, i'll get my hands on it and give it a try.

cynip
New Cone
New Cone
Posts: 1
Joined: 04 Jan 2012 09:56

Re: split recording for segmented http streaming

Postby cynip » 04 Jan 2012 10:05

That's what the VLC >= 1.2.0 live streaming plugin does, it segments Transport Streams.
So ... what happen to 1.2?
By segment Transport Streams I assume VLC could "stream" to a folder and create m3u8/ts files there?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 90 guests