House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Search cf-talk

July 04, 2009

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Home /  Groups /  ColdFusion Talk (CF-Talk)

Coldfusion Audio conversion

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Timothy Farrar
01/07/2009 09:46 AM

Does anyone know of a good cf tool for converting audio files to mp3? I looked briefly, and couldn't find any, so hoping someone else will know of one.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
01/07/2009 09:56 AM

> Does anyone know of a good cf tool for converting audio files to mp3? > I looked briefly, and couldn't find any, so hoping someone else will know of one. I doubt there's anything that's specific to CF. Look for Java or command-line tools to do this, and invoke them from CF. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information!

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Gert Franz
01/07/2009 11:15 AM

You can use Railo for it... <CFVIDEO> works with audio files as well. Greetings from Switzerland Gert Franz Railo Technologies GmbH gert.franz@railo.ch www.railo.ch Join our Mailing List german:    http://de.groups.yahoo.com/group/railo/ english:   http://groups.yahoo.com/group/railo_talk/ linked in: http://www.linkedin.com/e/gis/71368/0CF7D323BBC1 Timothy Farrar schrieb: > Does anyone know of a good cf tool for converting audio files to mp3? > I looked briefly, and couldn't find any, so hoping someone else will know of one.

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Timothy Farrar
01/07/2009 09:47 AM

Does anyone know of a good cf tool for converting audio files to mp3? I looked briefly, and couldn't find any, so hoping someone else will know of one.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Adrian Lynch
01/07/2009 09:56 AM

ffmpeg will do that for you. Adrian Building a database of ColdFusion errors at http://cferror.org/ > Does anyone know of a good cf tool for converting audio files to mp3? > I looked briefly, and couldn't find any, so hoping someone else will > know of one.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
C. Hatton Humphrey
01/07/2009 10:07 AM

> Does anyone know of a good cf tool for converting audio files to mp3? > I looked briefly, and couldn't find any, so hoping someone else will know of one. Only thing I can think of is using CFExecute to call FFMPEG to perform the conversion.  You can find it at http://ffmpeg.mplayerhq.hu/ Hatton

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Timothy Farrar
01/07/2009 03:20 PM

>> Does anyone know of a good cf tool for converting audio files to mp3? >> I looked briefly, and couldn't find any, so hoping someone else will know of one. > >Only thing I can think of is using CFExecute to call FFMPEG to perform >the conversion.  You can find it at http://ffmpeg.mplayerhq.hu/ > >Hatton Thanks all. I am looking at FFMpeg (didn't know it did audio as well) for video conversion, and windows keeps notifying me that a 'ffmpeg.exe stopped working and was closed. A problem caused the applicaion to stop working correctly. Windows will notify you if a solution is available'. I can't figure this one out, and have tried it on two different machines in my shop. It will run from the prompt, but when I try to cfexecute, or do a java runtime.exec() call, I get the error. Is this an issue with vista, or does anyone have any ideas on this?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Raymond Camden
01/07/2009 05:15 PM

I seem to remember a recent update that addressed an issue w/ ffmpeg and cfexecute. Have you checked the hotfixes @ Adobe? ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
C S
01/07/2009 06:01 PM

>I seem to remember a recent update that addressed an issue w/ ffmpeg >and cfexecute. Have you checked the hotfixes @ Adobe? Yes, the issue was ffmpeg would hang. It was because ffmpeg writes to stdout and stderr, but cfexecute was only capturing stdout.  The pre-fix work-around (for windows) was to use the /c and 2>&1 flags in the arguments.  As I am not using Vista, I do not know if this is the same issue. But it is worth a shot to look at the hotfixes .. -Leigh  

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Adrian Lynch
01/08/2009 10:04 AM

Are you calling it with cfexecute or the commandline? I've had ffmpeg do that to me with a precompiled version. Where did you get your's from? Or did you build the latest? Adrian ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Timothy Farrar
01/08/2009 10:37 AM

Right now I am calling it via cfExecute. I also tried the following: runtime = createObject("java", "java.lang.Runtime").getRuntime();   command = '#ffmpegPath# -i "#inputFilePath#" -g 300 -y -s 300x200 -f flv -ar 44100 "#ouputFilePath#"';   process = runtime.exec(#command#); which created the same issue. I can however successfully run ffmpeg from the dos prompt. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
C S
01/08/2009 01:03 PM

----- Excess quoted text cut - see Original Post for more ----- Adrian, Did that happen with cfexecute, at the command line or both and what o/s? I am wondering if this is a different issue than the ffmpeg/hang issue that was fixed in updater 1. Leigh

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Timothy Farrar
01/08/2009 01:31 PM

Adrian, I used 8.0.1, with the cumulative hotfix installed.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
AJ Mercer
01/08/2009 07:46 PM

is your CF service running as a named user? If not, may try running with the same user account you have logged in with. 2009/1/9 Timothy Farrar <timothyfarrar@sosensible.com> > Adrian, > > I used 8.0.1, with the cumulative hotfix installed.


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists