0

I need to check if a Richmedia content (video embedded in a pdf file) is available in a pdf file or not via mupdf library for an android application.

If it is then I need to retrieve the stream content via pdf parsing and convert in to a byte array and run the video found in the pdf.

Is this possible?

4

2 回答 2

2

MuPDF 不支持嵌入视频。您仍然可以使用该库来检查 PDF 对象结构并从 PDF 文件中提取数据流。查看“pdfshow”和“pdfextract”工具以获得灵感。

于 2011-08-22T11:50:19.490 回答
0

您可以尝试使用iText for android,尽管它似乎是一个受限版本。这里有一篇关于如何使用 iText 从 pdf 文件中提取媒体对象的帖子。

于 2011-05-04T14:30:40.553 回答