The error was that I for one call doGetNextFrame several times calling afterGetting. For solution used by queue from stl.
I think there is a shortage of examples to DeviceSource. The source code for opencv attached.
22.01.2012, 15:48, "Ross Finlayson" <finlay...@live555.com>:
As I noted before, SPS (nal_unit_type 7) and PPS (nal_unit_type 8) NAL units *must* appear - at least once - in the sequence of NAL units that you feed to "H264VideoStreamDiscreteFramer".  Therefore, in your case, you must set your "b_repeat_headers" variable to 1.

If this is causing a segmentation fault, then this is a bug in your code that you will need to solve.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Attachment: H264VideoCamServerMediaSubsession.cpp
Description: Binary data

Attachment: H264VideoCamServerMediaSubsession.hh
Description: Binary data

Attachment: H264VideoCamSource.cpp
Description: Binary data

Attachment: H264VideoCamSource.hh
Description: Binary data

Attachment: main.cpp
Description: Binary data

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to