Re: [Live-devel] H.264 in MPEG-2 TS streams roughly at the start

2012-09-11 Thread Mojtaba Nouri
Hi We had the same problem, and we solved it by creating cbr ts files stuffed with NULL packets. The following thread shows the ffmpeg command parameters to create h.264 cbr files: http://stackoverflow.com/questions/7125446/encoding-h-264-cbr-videos-with-ffmpeg Mojtaba Nouri Soroush HighTech Ltd

[Live-devel] noise replacement

2011-10-29 Thread Mojtaba Nouri
approach for this problem? Thank you in advance. Mojtaba Nouri ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel

[Live-devel] Declaration of ClientTrickPlayState

2011-10-04 Thread Mojtaba Nouri
multiple subclasses of it at the same time. Could you consider moving the class declaration? Thanks Mojtaba Nouri ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel

Re: [Live-devel] A problem with indexed file duration

2011-08-21 Thread Mojtaba Nouri
Thank you, I will work on it. On Sun, Aug 21, 2011 at 2:15 PM, Ross Finlayson wrote: > Here is a ts file which I recorded directly from a dvb-t card. > http://dl.dropbox.com/u/7920298/ts.tar.gz > The file's duration is 5 s, but when I index it and get its duration, it > returns 11630 s. > Could y

[Live-devel] A problem with indexed file duration

2011-08-21 Thread Mojtaba Nouri
Hi Ross Here is a ts file which I recorded directly from a dvb-t card. http://dl.dropbox.com/u/7920298/ts.tar.gz The file's duration is 5 s, but when I index it and get its duration, it returns 11630 s. Could you detect the problem with this ts? Thanks Mojtaba

Re: [Live-devel] Need some members to be protected

2011-07-18 Thread Mojtaba Nouri
For another reason, my file is changing onlive, so I need to update its size periodically. On Mon, Jul 18, 2011 at 6:16 PM, Mojtaba Nouri wrote: > > Do you still want the "fFileSize" member variable to be "protected:" - > i.e., do you want to modify its value in a s

Re: [Live-devel] Need some members to be protected

2011-07-18 Thread Mojtaba Nouri
> Do you still want the "fFileSize" member variable to be "protected:" - i.e., do you want to modify its value in a subclass? Yes. Actually, I need to store the original fileName, so I created a sublass of it. But to do so, I need to set fFileSize in my constructor. ___

[Live-devel] Need some members to be protected

2011-07-18 Thread Mojtaba Nouri
Hi Ross. I need some private members to be protected in order to use them in my code. I appreciate if you consider applying them to the main code. In class DynamicRTSPServer, I need the constructor, destructor and function lookupServerMediaSessionv to be protected. In ByteStreamFileSource, fFileSiz

Re: [Live-devel] Indexing a recorded stream

2011-07-06 Thread Mojtaba Nouri
I uploaded a sample ts and produced outputs with testMPEG2TransportStreamTrickPlay at http://dl.dropbox.com/u/7920298/sample.tar.gz The index files seem to be identical. I compiled them on two different machines (linux 32b and 64b), with the same results. I ran the command testMPEG2TransportStreamT

Re: [Live-devel] Indexing a recorded stream

2011-07-06 Thread Mojtaba Nouri
Thank you. But I think there is a bug in this version, I can't use trick play on any of the previously indexed files. I have three different version, live.2011.03.14.tar.gz works fine, but live.2011.06.16.tar.gz and live.2011.07.05.tar.gz have this problem. Have I missed anything? On Wed, Jul 6, 2

Re: [Live-devel] Indexing a recorded stream

2011-07-05 Thread Mojtaba Nouri
Sorry, it appears that I have uploaded a wrong file. Please check this one, I tested it with a fresh compilation of indexer and server. http://dl.dropbox.com/u/7920298/new.ts On Tue, Jul 5, 2011 at 4:51 PM, Ross Finlayson wrote: > ** > > I am trying to record and index an h.264/ts stream. > > The

[Live-devel] Indexing a recorded stream

2011-07-05 Thread Mojtaba Nouri
Hi. I am trying to record and index an h.264/ts stream. The problem is sometimes the recorded file cannot be indexed properly. More precisely, it shows the duration of the indexed stream as a large number. When I try to use it in the streamer it shows the following message: RTCPInstance::RTCPInsta

[Live-devel] stream time when fast forwarding

2011-03-28 Thread Mojtaba Nouri
Hi Is it possible to track the stream time when fast forward or rewind it. Also after resuming to normal play, the client (vlc) does not show the time correctly. How could it be fixed? Thanks ___ live-devel mailing list live-devel@lists.live555.com http:/

Re: [Live-devel] Trick play H264

2010-12-28 Thread Mojtaba Nouri
Hi. Any news on h.264 trick play? I am sure that many would be happy to see any progress on this. Thanks On Tue, Dec 14, 2010 at 11:36 AM, Ross Finlayson wrote: > I may be taking a look at this over the Christmas/New Year break. I'm not > sure yet, but there might end up having to be a non-backwa

[Live-devel] h.264 indexer

2010-11-21 Thread Mojtaba Nouri
Hi Ross I am trying to improve the indexer to index a h.264/ts file. Could you tell me which parts of the indexer are write regardless of the codec? In particular I see the following comment in the code // Note: The following works only for MPEG-2 data # Is this the only part that depends on MP

[Live-devel] stream multiple ts files

2010-11-10 Thread Mojtaba Nouri
Hi. I need to stream multiple ts files, each having its own index file, as a single stream. I know there is ByteStreamMultigFile class, but I am not sure how to couple index and ts files. I hope you can help me. Mojtaba ___ live-devel mailing list live-d

Re: [Live-devel] Index onlive stream

2010-11-03 Thread Mojtaba Nouri
Thank you. One problem thought. I read 7*188 bytes from input and output 188 byte each time. but when the indexer read 7th frame (last 188 bytes of 188*7 bytes) I get this error: Bad TS sync byte: 0x0 But when I drop the last frame each time, indexing works and it seems that it generates a correct

[Live-devel] Index onlive stream

2010-11-02 Thread Mojtaba Nouri
Hi I am trying to capture a live stream (which is MPEG2TS) via openRTSP and instead of recording it in 'video-MP2T-1', index the received video on-live. FramedSource* video1 = sources[0]; //I caught it from MediaSubsession MediaSink* outputIndexerSink = FileSink::createNew(*env, "out.tsx"); Framed