Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将 MPEG 视频文件作为帧流读取。我在用
$readmemh("centaur_1.mpg",mem);
但它似乎无法正常工作,因为它旨在从与十六进制字符范围相对应的文本文件中读取 ASCII 代码。关于我该怎么做的任何建议?
查看$fread()系统任务。这将允许您以二进制模式打开文件。查看下面的链接以获取示例:
$fread()