Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Convert video to flash using vid2swf

Convert video to flash using vid2swf

Scheduled Pinned Locked Moved ASP.NET
helpasp-netcomadobesysadmin
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Guffa
    wrote on last edited by
    #1

    I'm trying to use the vid2swf component[^], but I get an error message when I try to call the ConvertFile method. I have created a class Converter for the conversion, and I call the constructor with: Converter converter = new Converter(Server.MapPath("Data/casablanca_finale.avi"), Server.MapPath("Data/casablanca_finale.flv")); The constructor looks like this: public Converter(string source, string destination) { _converter = new Project1.VideoConverter(); _converter.ConvertFile(source, destination); } When I call the constructor, I get the error "Error creating process : 2" at the line that calls ConvertFile. I have checked that the paths sent to the constructor are correct. The source file exists. I have given full permission to the Data folder for the ASPNET account, so it shouldn't be any problem with file permissions. I have googled the error message, which resulted in no hits at all. Anyone got any idea what the source of the error is, or even what it means?

    --- It's amazing to see how much work some people will go through just to avoid a little bit of work.

    R 1 Reply Last reply
    0
    • G Guffa

      I'm trying to use the vid2swf component[^], but I get an error message when I try to call the ConvertFile method. I have created a class Converter for the conversion, and I call the constructor with: Converter converter = new Converter(Server.MapPath("Data/casablanca_finale.avi"), Server.MapPath("Data/casablanca_finale.flv")); The constructor looks like this: public Converter(string source, string destination) { _converter = new Project1.VideoConverter(); _converter.ConvertFile(source, destination); } When I call the constructor, I get the error "Error creating process : 2" at the line that calls ConvertFile. I have checked that the paths sent to the constructor are correct. The source file exists. I have given full permission to the Data folder for the ASPNET account, so it shouldn't be any problem with file permissions. I have googled the error message, which resulted in no hits at all. Anyone got any idea what the source of the error is, or even what it means?

      --- It's amazing to see how much work some people will go through just to avoid a little bit of work.

      R Offline
      R Offline
      RichardGrimmer
      wrote on last edited by
      #2

      Guffa wrote:

      "Error creating process : 2"

      Is that the full error message? Only reason I ask, is that whenever I've seen it before, it's been followed by "File not found", and has tended to be down to improperly referenced / GACed assemblies, or assemblies with "issues" :)

      "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

      G 1 Reply Last reply
      0
      • R RichardGrimmer

        Guffa wrote:

        "Error creating process : 2"

        Is that the full error message? Only reason I ask, is that whenever I've seen it before, it's been followed by "File not found", and has tended to be down to improperly referenced / GACed assemblies, or assemblies with "issues" :)

        "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        Yes, that is the full error message. Don't you just love it when you get a descriptive error message that immediately pinpoints the source of the error? ;)

        --- It's amazing to see how much work some people will go through just to avoid a little bit of work.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups