extract text from flash

Discussion in 'PHP' started by linkinpark2014, Aug 2, 2009.

  1. #1
    hi all,

    is there any method that used to extract text from flash documents using php?
    any ideas will be appreciated..
     
    linkinpark2014, Aug 2, 2009 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    Almost impossible with PHP, try to disamble the source
     
    EricBruggema, Aug 5, 2009 IP
  3. linkinpark2014

    linkinpark2014 Peon

    Messages:
    153
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    is there any library in php or javascript I can use to disassemble the source?
     
    linkinpark2014, Aug 8, 2009 IP
  4. StewieGriffin

    StewieGriffin Peon

    Messages:
    81
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ok, stop right there. It is virtually impossible. Disassemble the source? Dear God! lol

    Does the SWF/FLA belong to you? How does the Flash object generate the text?
     
    StewieGriffin, Aug 8, 2009 IP
  5. linkinpark2014

    linkinpark2014 Peon

    Messages:
    153
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    nothing is impossible i have seen this before somewhere, there must be a library or extension in php can perform the de-compiling thing... as u know google bot can extract text from flash..
    how is that impossible? :p
     
    linkinpark2014, Aug 8, 2009 IP
  6. StewieGriffin

    StewieGriffin Peon

    Messages:
    81
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Nothing is impossible, is one of those generic statements that people throw around. There are certain impossibilites at this very moment. Such as you using a brain cell lol I am joking of course :)

    Are you being serious? What evidence do you have?

    Google bot can not do that. However, flash can be optimized for web crawlers by placing certain descriptions tags or attributes in the flash object in the HTML.

    Seriously what are you trying to do? Whats the bigger problem? We may be able to help as trying extract text from Flash is virtually impossible.
     
    StewieGriffin, Aug 10, 2009 IP
  7. astrazone

    astrazone Member

    Messages:
    358
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    33
    #7
    you can try many things...
    1. somehow decompiling the file and then reading it with php.
    2. text recognition. I saw some character recognition in php -google it.
    good luck.
     
    astrazone, Aug 10, 2009 IP
  8. linkinpark2014

    linkinpark2014 Peon

    Messages:
    153
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    u need to update ur information there u go read this:
    http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=72746
    Code (markup):
    well all i want to do is to extract 1 word from justin.tv web-player. so if the channel is offline it will show offline word on the player..i need to extract this word so I can use it for further use, like excluding this channel from my list etc...
     
    linkinpark2014, Aug 11, 2009 IP
  9. StewieGriffin

    StewieGriffin Peon

    Messages:
    81
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I stand corrected.

    It would be probably be simpler to make use of justin.tv API and check if they are broadcasting or not. I am not sure which method you have to call but check these out: http://apiwiki.justin.tv/mediawiki/index.php/REST_API_Documentation

    Surprising you mention Justin.tv as I am going to be making use of their API soon, hope we are not doing the same project. ;)
     
    StewieGriffin, Aug 11, 2009 IP
    linkinpark2014 likes this.
  10. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #10
    In PHP no, but there's a commercial product that exists for it (I'm sure there's some legal agreement stating you won't use it on anyone but your own files, otherwise adobe probably would have sued them long ago).

    http://www.sothink.com/product/flashdecompiler/index.htm
     
    kblessinggr, Aug 11, 2009 IP
  11. astrazone

    astrazone Member

    Messages:
    358
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    33
    #11
    im not sure that it helps him because he needs to access it from php. which is going to be very hard to do.

    look in the source of the page maybe something changes there if its on or off.
     
    astrazone, Aug 11, 2009 IP
  12. linkinpark2014

    linkinpark2014 Peon

    Messages:
    153
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    this info helped me alot...
    thanx mate..
    REP up ++ :)
     
    linkinpark2014, Aug 12, 2009 IP