FFMPEG error on import

670 views
Skip to first unread message

Steven Hale

unread,
Aug 11, 2011, 8:55:31 AM8/11/11
to EnterMedia
Hi I am evaluating the the Entermedia product and I like it so foar,
but I a problem oploading media I keep getting an ffmpeg error :

running: [ffmpeg, -i, /var/lib/tomcat6/webapps/ROOT/WEB-INF/data/media/
catalogs/public/originals/users/admin/AVI_DivX.avi, -y, -acodec,
libfaac, -ab, 96k, -ar, 44100, -ac, 1, -vcodec, libx264, -vpre,
normal, -crf, 28, -threads, 0, -s, 640x360, /var/lib/tomcat6/webapps/
ROOT/WEB-INF/data/media/catalogs/public/generated/users/admin/
AVI_DivX.avi/video.mp4tmp.mp4] in /var/lib/tomcat6/webapps/ROOT/WEB-
INF/bin/linux [com.openedit.util.Exec#runExec]
ERROR:
com.openedit.OpenEditException: Cannot run program "ffmpeg" (in
directory "/var/lib/tomcat6/webapps/ROOT/WEB-INF/bin/linux"):
java.io.IOException: error=2, No such file or directory



FFMPEG is installed correctly ... any thoughts


thanks

Steve

Ian

unread,
Aug 12, 2011, 8:23:55 AM8/12/11
to EnterMedia
Are you sure FFMPEG is in your path? It looks like EnterMedia can't
find it.

Steven Hale

unread,
Aug 12, 2011, 9:42:44 AM8/12/11
to enter...@googlegroups.com
yes, its in the PATH for root and tomcat6 users...

the full error is:

unning Media type: ffmpeg on asset users/admin/AVI_to_MPEG-4.avi
Running: [ffmpeg, -i, /var/lib/tomcat6/webapps/ROOT/WEB-INF/data/media/catalogs/hale/originals/users/admin/AVI_to_MPEG-4.avi, -y, -acodec, libfaac, -ab, 96k, -ar, 44100, -ac, 1, -vcodec, libx264, -vpre, normal, -crf, 28, -threads, 0, -s, 640x360, /var/lib/tomcat6/webapps/ROOT/WEB-INF/data/media/catalogs/hale/generated/users/admin/AVI_to_MPEG-4.avi/video.mp4tmp.mp4] in /var/lib/tomcat6/webapps/ROOT/WEB-INF/bin/linux [com.openedit.util.Exec#runExec]
ERROR:
com.openedit.OpenEditException: Cannot run program "ffmpeg" (in directory "/var/lib/tomcat6/webapps/ROOT/WEB-INF/bin/linux"): java.io.IOException: error=2, No such file or directory
at com.openedit.util.Exec.runExec(Exec.java:292)
at com.openedit.util.Exec.runExec(Exec.java:185)
at com.openedit.util.Exec.runExec(Exec.java:78)
at org.openedit.entermedia.creator.BaseCreator.runExec(BaseCreator.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)


why is it trying to run in

ffmpeg" (in directory "/var/lib/tomcat6/webapps/ROOT/WEB-INF/bin/linux"):
?

Christopher Burkey

unread,
Aug 18, 2011, 7:27:15 PM8/18/11
to EnterMedia
The easy way to fix is is to edit this file: /WEB-INF/bin/
commandmap.xml

<commandmap os="LINUX">
<commandbase>./WEB-INF/bin/linux</commandbase>
<exiftoolthumb>./exiftoolthumb.sh</exiftoolthumb>
<asperaupload>./aspera/upload.sh</asperaupload>
<ffmpeg>/usr/local/bin/ffmpeg</ffmpeg>
</commandmap>

Make sure you ffmpefg and possibly <convert> are pointing to valid
executables
Reply all
Reply to author
Forward
0 new messages