Code Monkey home page Code Monkey logo

Comments (12)

rafaelgg avatar rafaelgg commented on July 25, 2024

Likely add a swf/flash model and view extending document. Maybe to social_stream

from vish.

agordillo avatar agordillo commented on July 25, 2024

Flash movies should not be a problem, if there are a video file into the swf file, ffmpeg can take a snapshot of a frame.
The real problem is to generate thumbnails of any swf file, to take a screenshot of a flash file you need to executed it to see it.
It doesn't look an easy job.

from vish.

rafaelgg avatar rafaelgg commented on July 25, 2024

You are right, I just renamed the bug to say "Flash objects"

from vish.

agordillo avatar agordillo commented on July 25, 2024

These tools could be useful: http://www.swftools.org
GPL license

SWFExtract Allows to extract Movieclips, Sounds, Images etc. from SWF files.

from vish.

atd avatar atd commented on July 25, 2024

A Paperclip Processor should be easily written inside the swf/flash model that called swftools

http://rdoc.info/github/thoughtbot/paperclip/Paperclip/Processor

from vish.

raquelgb avatar raquelgb commented on July 25, 2024

It seems like swftools has swfrender exactly for this purpose. It creates a png file, which should be good enough. Now all we have to do is make it play with paperclip.

from vish.

atd avatar atd commented on July 25, 2024

Why is it a vish_editor issue?

from vish.

rafaelgg avatar rafaelgg commented on July 25, 2024

Well, the main (I dare say only) use for this is to embed SWF objects at the editor. It's definitely not a vish_editor issue and as such it's open at the vish tracker, not at the vish_editor one.

I understand the vish_editor label as the issue being related to vish_editor. If you prefer, you can say this issue blocks the development of vish_editor and as such may be of interest to the developers of that project.

from vish.

atd avatar atd commented on July 25, 2024

OK, I agree. This semantic seems very convenient

from vish.

rafaelgg avatar rafaelgg commented on July 25, 2024

Please notice: we haven't forgotten about this issue, but it's rather complex, so we'll get to it after Wednesday's meeting.

from vish.

agordillo avatar agordillo commented on July 25, 2024

I've been testing a bit SWFTools.
It has two interesting tools: 'swfrender' and 'swfextract'.

Swfrender generates a PNG of the SWF file, appears to be the first frame.
The problem is that it's very common that this image don't represents the SWF file content.

With Swfextract we can extract images (JPEGs and PNGs) included in the SWF file.
Problem: Not all SWFs include images, and again, it's very common that images don't represent the content.

One option is to offer the user the different images to choose the most appropriate.
Or more simply, add the image obtained by swfrender and cross your fingers.

Vish Editor now shows flash objects accompanied by their title, so, the thumbnails generation may be not extremely necessary, however, would be a nice optional feature.

from vish.

rafaelgg avatar rafaelgg commented on July 25, 2024

We do treat SWF files as a separate type of document ever since this social_stream commit. However, generating a thumbnail is both cumbersome and unreliable.

You can now fetch SWF files as you do with pictures and videos. The name of the controller is swfs.

Closing for now.

from vish.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.