#include <GroupsockHelper.hh>
#include <liveMedia.hh>
#include <JPEGVideoSource.hh>
#include <cv.h>
#include <highgui.h>
#include <time.h>
#include "OStreamConfig.hh"
#include "BaseInputVideo.hh"
#include "OStreamVideoEncoder.hh"
Include dependency graph for MJPEGVideoSource.hh:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | MJPEGVideoSource |
| MJPEG video encapsulator. More... | |
Defines | |
| #define | JPEG_HEADER_MAX_SIZE 623 |
| Jpeg used to stream with liveMedia should have this default header size. | |
| #define | OUTPUT_PACKET_BUFFER_MAXSIZE 512000 |
| Set a default maximum jpeg size of 500Kb bytes. | |
| #define JPEG_HEADER_MAX_SIZE 623 |
Other formats, even if conforming JPEG/JFIF standards, will not be used. For example ImageMagick library uses "wrong" [and dynamic] header size. This requirement is done because the JPEGVideoRTPSink reconstructor needs an header like this.
Definition at line 47 of file MJPEGVideoSource.hh.
Referenced by MJPEGVideoSource::setParamsFromHeader().
| #define OUTPUT_PACKET_BUFFER_MAXSIZE 512000 |
Should fit greatly a 640*480 stream. If you need more increase this.
Definition at line 53 of file MJPEGVideoSource.hh.
1.4.7