• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

ffmpeg cfexecute

New Here ,
Apr 30, 2009 Apr 30, 2009

Copy link to clipboard

Copied

Hi all,

I tried to run something like below

<cfexecute name="#ExpandPath('.')#\ffmpeg.exe" arguments=" -i #ExpandPath('.')#\2.avi" outputfile="#ExpandPath('.')#\output.log" />

But nothing happened...Nothing outputs on screen... Nothing in the file... Do you know the reason???

Thanks very much,

TOPICS
Advanced techniques

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Apr 30, 2009 Apr 30, 2009

Copy link to clipboard

Copied

LATEST

There was an issue with cfexecute and ffmpeg where the process would hang.  I believe that was fixed in ColdFusion 8 Updater 1.

http://www.adobe.com/support/coldfusion/downloads_updates.html

The pre-fix alternative for windows is to use two extra arguments:  "/c" and "2>&1"

http://cfsearching.blogspot.com/2008/01/cfexecute-ffmpeg-and-mencoder-mystery.html

Example:

<cfexecute
   name="c:\windows\system32\cmd.exe"
   arguments='/c  "c:\pathToProgram\ffmpeg.exe" -i "c:\pathTo\yourFile.avi"  2>&1'
   outputfile='"c:\pathTo\output.log"'
   timeout="60" />

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation