xlt-evil 339c93e477 | 6 months ago | |
---|---|---|
.. | ||
include | 6 months ago | |
libmpeg.xcodeproj | 6 months ago | |
source | 6 months ago | |
test | 6 months ago | |
Android.mk | 6 months ago | |
Makefile | 6 months ago | |
README.md | 6 months ago | |
libmpeg.vcxproj | 6 months ago | |
libmpeg.vcxproj.filters | 6 months ago | |
version.ver | 6 months ago |
#PS packer
#TS packer
struct mpeg_ts_func_t h;
h.alloc = ts_alloc;
h.write = ts_write;
h.free = ts_free;
void* ts = mpeg_ts_create(&h, fp);
while(1)
{
mpeg_ts_write(param, avtype, pts, dts, data, bytes);
}
mpeg_ts_destroy(ts);