Hello,
I am using Drupal 7 and I am getting the following errors when I upload a video. Does anybody know how to fix this? Greatly appreciated.
" * Notice: Undefined offset: 0 in video_ffmpeg->get_playtime() (line 241 of /homepages/42/d363957561/htdocs/sites/all/modules/video/transcoders/video_ffmpeg.inc).
* Notice: Undefined offset: 2 in video_ffmpeg->get_playtime() (line 244 of /homepages/42/d363957561/htdocs/sites/all/modules/video/transcoders/video_ffmpeg.inc).
* Notice: Undefined offset: 1 in video_ffmpeg->get_playtime() (line 247 of /homepages/42/d363957561/htdocs/sites/all/modules/video/transcoders/video_ffmpeg.inc).
* Warning: Invalid argument supplied for foreach() in video_transcoder->generate_thumbnails() (line 61 of /homepages/42/d363957561/htdocs/sites/all/modules/video/includes/transcoder.inc).
* Notice: Undefined offset: 0 in video_ffmpeg->get_playtime() (line 241 of /homepages/42/d363957561/htdocs/sites/all/modules/video/transcoders/video_ffmpeg.inc).
* Notice: Undefined offset: 2 in video_ffmpeg->get_playtime() (line 244 of /homepages/42/d363957561/htdocs/sites/all/modules/video/transcoders/video_ffmpeg.inc).
* Notice: Undefined offset: 1 in video_ffmpeg->get_playtime() (line 247 of /homepages/42/d363957561/htdocs/sites/all/modules/video/transcoders/video_ffmpeg.inc).
* Warning: Invalid argument supplied for foreach() in video_transcoder->generate_thumbnails() (line 61 of /homepages/42/d363957561/htdocs/sites/all/modules/video/includes/transcoder.inc)."
Comments
Comment #1
hypertext200Make sure u have installed the FFMPEG properly.
Comment #2
donundeen commentedI get this error as well. Drupal 7
Could you provide more detail on how to properly install ffmpeg on a windows server?
I have downloaded ffmpeg, the 64-bit static version, and unpacked the exe into a folder on my 64-bit windows 2008 server.
I have specified the path to ffmpeg on in the Video module configuration page.
i still get this error. Is there something I'm doing wrong? I haven't seen any instructions on how to do this.
Thanks!
Comment #4
shixish commentedI'm getting the same errors.
I tried using the alpha2 version, then the latest dev, and both versions are giving me these errors.
I'm running an ubuntu server, i installed ffmpeg, ffmpeg2theora, and php5-ffmpeg and checked the file paths in the module settings.
Any suggestions on what i should try?
Comment #5
prasannah.ganeshan commentedhttp://ffmpeg.zeranoe.com/
Information for enabling the transcoder is found here. extract the archive and point the correct .exe in the settings.