I am attempting to use "Test convert file with FFmpeg" with this dev version.

When I attempt this with a FireFox browser, I get:

"Warning: Unresponsive Script
A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

Script: http://10.144.10.240/files/js/js_6d4643e77b398a78ae91e5598b0021a9.js:13"

When I attempt this with a Safari browser, I get:

"An error occurred.
/ffmpeg_wrapper/js
(no information available)."

/ffmpeg_wrapper/js
(no information available).

Comments

stefanwray’s picture

I'm noticing that /ffmpeg_wrapper/js is in ffmpeg_wrapper_ui.module

Here is more detail on the error

Type php
Date Tuesday, May 4, 2010 - 16:47
User channeladmin
Location http://10.144.10.240/ffmpeg_wrapper/js
Referrer http://10.144.10.240/node/20869/ffmpeg/58
Message filesize() [function.filesize]: stat failed for /tmp/ThatsAwk3.mov . flv in /usr/local/share/drupal/v6/modules/ffmpeg_wrapper/ffmpeg_wrapper_class.inc on line 121.
Severity error
Hostname 10.144.30.50
Operations

stefanwray’s picture

Priority: Normal » Critical
arthurf’s picture

it looks like the issue is a bad file name for the output file

kreynen’s picture

I'm going to try to reproduce this error on a test configuration.

arthurf’s picture

File path error is now fixed in dev

arthurf’s picture

I added an additional check to see if the file exists before filesize is called.

mikeytown2’s picture

I get this same error using the latest dev. Happens when I press transcode.

ffmpeg command

-y -i %in_file -acodec libfaac -aq 100 -ac 2 -vcodec libx264 -vpre /usr/ffpresets/libx264-slow.ffpreset -crf 26 -map_meta_data 0:0 -threads 0 %out_file
arthurf’s picture

With firebug are you seeing a ffmpeg_wrapper js script get loaded?

mikeytown2’s picture

This is in the DOM; extra slash

<script type="text/javascript" src="//misc/autocomplete.js?J"></script>
mikeytown2’s picture

fixed the typo; no longer get a 404 but I still get the error

The Fix at line 255

/**
 * Default form for transcoding
 *
 * @param $file
 *   Object,
 */
function ffmpeg_wrapper_ui_transcode_form(&$form, &$form_state, $file) {
  // Require autocomplete js because of the node autocomplete loaded
  // by ahah in ffmpeg_wrapper_ui_node_action_form()
  drupal_add_js('misc/autocomplete.js');
...
arthurf’s picture

At what point do you get the the error? I'm curious to know if it happens once the ajax call is made

mikeytown2’s picture

After clicking transcode; give it about 3 seconds then the error shows up.

dirtabulous’s picture

When doing a test, I am getting the same error after about 3 seconds. There is no error in the logs regarding this.

jospBln’s picture

Having the same problem

I use a H264 6000kb/s OSX compressor .mov file and would like to compress it with 750kb/s in H264.

mottboy’s picture

Same problem.. I don't have a js folder or file in the module..so not sure what is being called