Re: [Live-devel] TS Mux data sync.

2013-08-20 Thread Ross Finlayson
> I’m trying to mux a H264 elementary stream along with the private data into > MPEG TS. It should be done offline, with 2 files – video and data. I’ve > added the support for data in the MPEG2TransportStreamMultiplexor ( PMT and > other stuff ), and this works. The problem is that I only get d

Re: [Live-devel] Open RTSP and video file splitting...

2013-08-20 Thread Ross Finlayson
>> Your best solution then is probably just to record a single file for >> the entire stream, and then later - using some separate tool that's >> intended specifically for editing '.mov'/'.mp4' files - break it apart >> into separate files of whatever length you want. > > Fair enough, but unfortun

[Live-devel] TS Mux data sync.

2013-08-20 Thread Alex Chernilov
Hi all, I'm very new to Live555, so it seems that I'm missing something very basic. I'm trying to mux a H264 elementary stream along with the private data into MPEG TS. It should be done offline, with 2 files - video and data. I've added the support for data in the MPEG2TransportStreamMultiplexo

Re: [Live-devel] Open RTSP and video file splitting...

2013-08-20 Thread julien@nomadsystems
I didn't suggest "closing and reopening the RTSP stream". My suggestion was to keep the RTSP stream open, but close just the "QuickTimeFileSink" object, then create a new one and call "startPlaying()" on it - from the existing source. This doesn't involve any RTSP commands at all. My bad, I wa

Re: [Live-devel] Open RTSP and video file splitting...

2013-08-20 Thread Ross Finlayson
> But closing and re-opening the RTSP stream will create a gap between the > files. I didn't suggest "closing and reopening the RTSP stream". My suggestion was to keep the RTSP stream open, but close just the "QuickTimeFileSink" object, then create a new one and call "startPlaying()" on it - f

Re: [Live-devel] Open RTSP and video file splitting...

2013-08-20 Thread julien@nomadsystems
But closing and re-opening the RTSP stream will create a gap between the files. Anyhow, I just tested your suggestion and unfortunately it doesn't solve my problem of having the start of file not being aligned on a KeyFrame. In other words the video remains still until it finds a full frame to

Re: [Live-devel] Open RTSP and video file splitting...

2013-08-20 Thread Ross Finlayson
Rather than modifying the supplied library code - which is unlikely to get you any support on this mailing list - why not instead keep the code 'as is', but instead use a separate "QuickTimeFileSink" object for each segment of the stream. I.e., every 30 seconds do: Medium::close(mySinkObject);

Re: [Live-devel] Open RTSP and video file splitting...

2013-08-20 Thread julien@nomadsystems
I need to split an RTSP feed into multiple files of 30 seconds. I have done what has been suggested in the thread by sub-classing "QuickTimeFileSink" and in the "QuickTimeFileSink::afterGettingFrame" ( after sync point ) re-open a new file without stopping the RTSP session. I indeed get the da

Re: [Live-devel] The Speex over RTP

2013-08-20 Thread Ross Finlayson
> I am trying to send out the speex encoded audio data via RTP. I read > the mail you sent long time ago. Since speex over RTP requires no extra > headers, so, I used SimpleRTPSink as the sink class. > However the player (I am using ffmpeg/ffplay) can not play the video > properly. I