How do I extract Flash content from a PDF file?

5

1

I have a PDF file that has a flash file embedded.

How can I can extract that SWF from inside the PDF file?

Update:

I am using Windows 7.

Pennf0lio

Posted 2011-09-01T20:12:22.023

Reputation: 1 403

What?! A pdf can not have flash content embedded. – psusi – 2015-01-02T03:36:04.147

What operating system will you be using? – MaQleod – 2011-09-01T20:48:52.393

Thanks for asking, I updated my question now. I am using Windows 7. – Pennf0lio – 2011-09-01T20:54:58.273

Answers

2

If you are using OS X, you can try FileJuicer

If you are using Windows or Linux you can try SWFTools (specifically the SWFExtract app)

MaQleod

Posted 2011-09-01T20:12:22.023

Reputation: 12 560

2SWFExtract "Allows to extract Movieclips, Sounds, Images etc. *from* SWF files." – Karan – 2013-03-22T01:55:14.640

1

Found a product that can do it: PDFTron's PDF CosEdit can extract the resources. I opened the a PDF with embedded Rich Media videos in CosEdit, then scrolled to the bottom (where the files with the largest Offset values were kept). For me, these were it. I extracted the resources, and they opened as MP4s. You might want to try MP4, SWF, etc. or inspect the resource's headers to help identify its type.

For a programmatic solution, they have other software as well, and they published this article which appears useful.

Travis Bennett

Posted 2011-09-01T20:12:22.023

Reputation: 11

What's your affiliation with that product? – Arjan – 2016-08-24T17:51:30.117

No affiliation with them, just took me forever to find it. Tried to install Origami PDF on Linux to do it, but it was complicated by PVM. – Travis Bennett – 2016-08-25T19:48:50.210

Just took me forever to find something, so when I found it I thought I would share it. – Travis Bennett – 2016-08-25T19:49:26.450

Ok, sorry for being a pain; we just get so much astroturfing here. I've meanwhile found your profile picture at LinkedIn too, so I'm quite sure you're NOT working at PDFTron. Thanks for sharing! – Arjan – 2016-08-26T06:37:33.757