Repositories: oohoo - Capture

repository_capture
Maintained by Picture of Nicolas Bretin Nicolas Bretin, Picture of Patrick Thibaudeau Patrick Thibaudeau
This repository allows users to record video, sound and take a photo WITHOUT a streaming server. This works as any other Moodle 2.x repository. It must first be enabled. Once enabled, it will show up in the file picker. Simply click on the "Capture" repository and choose if you want to record a sound, a video or have a picture taken from your webcam. Once you are done recording, you can edit your video by trimming the beginning and the end.
283 sites
19 downloads
4 fans

This repository allows users to record video, sound and take a photo
WITHOUT a streaming server.
This works as any other Moodle 2.x repository. It must first be enabled. Once enabled, it will show up in the file picker. Simply click on the "Capture" repository and choose if you want to record a sound, a video or have a picture taken from your webcam.

Once you are done recording, you can edit your video by trimming the beginning and the end.

Note: You must install FFMPEG on your Moodle server inorder for this plugin to work.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6

Contributors

Picture of Nicolas Bretin
Nicolas Bretin (Lead maintainer)
Picture of Patrick Thibaudeau
Patrick Thibaudeau: Maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Sankar Mahadevan
    Thu, 21 Feb 2013, 6:36 PM
    Hi, I have installed Capture plugin and activated. Then I copied ffmpeg folder as you said above. When I try to record a video; it records the video and play in the recording window, but when I try to save; I am getting this error "The recording does not exist. There is probably a problem with the server configuration. Verify that the temp folder is writable and that FFMPEG is properly installed." Also audio is not clear its running very fast for both video recording and audio recording. Please help. Thank in advance,
    Regards,
    Sankar.
  • Picture of Nicolas Bretin
    Fri, 22 Feb 2013, 8:22 AM
    Hi Sankar,
    Try to go to Moodle ► Site administration ► Plugins ► Repositories ► Capture
    Check your FFMPEG path and save. This action checks also if FFMPEG has been founded and if it can be executed.
    If you have an error check your FFMPEG installation, for example try to convert (with your command line) a video in mp4. The command will be something like
    ffmpeg -i myvideo.avi -acodec aac -strict experimental myvideo.mp4
    If it works then you probably set the wrong path in your Moodle config.
    If it does not work, you have the wrong ffmpeg version, try an other one!

    I hope this will help you!
    Nicolas Bretin
  • Picture of Sankar Mahadevan
    Tue, 26 Feb 2013, 9:25 PM
    Hi Nicolas,
    Could you please explain how to install FFMPEG in Linux based server ?

    Thanks,
    Sankar.
  • Picture of Nicolas Bretin
    Wed, 27 Feb 2013, 12:12 AM
    Hi Sankar,

    That really depends of your Linux, for example for Ubuntu 12.04 and 12.10 you just have to do "sudo apt-get install ffmpeg"
    For Ubuntu 10.04 you will have to follow this Guide: https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuideLucid
    I never tried on other Linux like CentOS but I am sure you can find a guide like above!

    Nicolas
  • Picture of Sankar Mahadevan
    Wed, 27 Feb 2013, 12:58 PM
    Thanks for your update Nicolas.
    I have installed "FFMPEG" in windows machine. I am able to record audio and video. While playback audio is running too fast; and video is not playback and did not show any error. I have installed Quicktime player also. Also I need to install this plugin in my local server and remote server both are Linux based CentOS. Any help??

    Thanks,
    Sankar.
  • Picture of Nicolas Bretin
    Wed, 27 Feb 2013, 11:42 PM
    Hi Sankar,
    I am sorry I don't really have an idea why this is happening...
    Concerning the audio running too fast it could be a codec problem during the encoding.
    You can check what is generated by capture before send to moodle files system in the folder moodledata/temp/capture. Here you will have probably multiple folders named with a number.
    Open the last created, If you recorded a sound you should have:
    - A mp3 file with the name you wanted,
    - A zip file
    - A folder named video. In this folder you will have the original wav file before encoding. Check if the mp3 and the wav files are running too fast.

    If you like you can send me in private your moodle access, that will probably help me to understand what is the problem!

    Nicolas
  • Picture of Dan Trockman
    Fri, 22 Mar 2013, 10:54 PM
    I love the simplicity and speed of this recording method. I too am having an issue of video and audio not in sync. video runs several seconds behind the audio. Hints? I am running newest ffmpeg, ubuntu server 12.04.
  • Picture of Dan Trockman
    Sat, 23 Mar 2013, 4:24 AM
    All good now, turns out (because I could see the delay in the preview) that the async of audio and video was not in the ffmpeg conversion, rather it was flash on the client. Hardware acceleration was turned off in the flash settings. Now all is good. Try that Sankar.
  • Oam
    Wed, 10 Jul 2013, 1:31 AM
    Hi !
    We have a problem : I tried with Moodle 2.4 and Moodle 2.5, using Windows, Ubuntu or Mac as client : the recording works, we can listen what is recorded, we valid (there is no error) but the file is always empty (size = 0). I checked the permissions of the folder : everything is ok. I do not understand the problem. What can I check ?
  • Picture of Nicolas Bretin
    Mon, 22 Jul 2013, 10:50 PM
    Hi Pascal,
    Check if you have files (right after you saved your record) in your Moodle Data folder/temp/capture/
    If there is nothing here check the rights on the temp folder.

    Check also that FFMPEG is well installed on your server.
    You ca try to convert a file to mp3: ffmpeg -i myfile.wav myfile.mp3
    Don't hesitate if you need more help.
    Nicolas
  • Picture of Mark Storey
    Tue, 13 Aug 2013, 11:01 AM
    Hello Friends,
    Thanks for a potentially great plugin.
    I have installed ffmpeg. All working fine.
    I have install the capture plugin.
    I can record and playback, additionally the data is stored within the moodledata etc folder under capture.
    As a previous statement above noted, the following error occurs.

    "The recording does not exist. There is probably a problem with the server configuration. Verify that the temp folder is writable and that FFMPEG is properly installed."

    Any help would be appreciated.

    Thanks again.
  • Picture of Fotis Skandalis
    Wed, 22 Jan 2014, 6:34 PM
    Hi,
    I have taken every step required:
    -I installed ffmpeg on my server CentOS.(made an mp3 file from the command line too).
    -The moodledata/capture/temp folder has 777 perms.
    But i still get the error "The recording does not exist. There is probably a problem with the server configuration. Verify that the temp folder is writable and that FFMPEG is properly installed."

    As the path to my exec i used /usr/bin/ffmpeg
    I also noticed that the at temp folder there are files created (with 666 perms).
    Any help would be appreciated. Thanks in advance
  • Picture of Marian Zefferer
    Sun, 23 Oct 2016, 8:48 PM
    When I try to install then it says:
    Das Plugin 'repository_areafiles' wurde am falschen Ort installiert '$CFG->dirroot/repository/capture'. Die Installation sollte hier erfolgen: '$CFG->dirroot/repository/areafiles'
    Debug info:
    Error code: detectedmisplacedplugin
    ×Stack trace:
    line 468 of /lib/upgradelib.php: plugin_misplaced_exception thrown
    line 1742 of /lib/upgradelib.php: call to upgrade_plugins()
    line 677 of /admin/index.php: call to upgrade_noncore()

    Therefore I said before the installation, that the main directory should be named areafiles, but he doesn't do it. What can I do, to install it?
  • Picture of roger eric
    Wed, 26 Oct 2016, 11:49 PM
    Bonjour,
    J'ai installé capture sous moodle 3.1.2 et lorsque je le configure pour ne pas prendre en considération la vidéo cela ne change rien. de plus la possibilité de prendre des photos ne s'affiche jamais !!!!
    J'ai bien installé ffmpeg mais lorsque je fais une video le son est ok par contre il n'y a pas d'image. par contre lorsque je regarde dans /var/www/moodledata/temp/capture je retrouve chaque prise en plusieurs photo comme 25 images par seconde, c'est bizarre.
    auriez vous une piste
    merci beaucoup
    C'est toujours un plaisir de discuter avec des francophones du canada.
    Eric
  • Picture of Marian Zefferer
    Thu, 27 Oct 2016, 12:57 AM
    Hey guys i installed ffmpeg on a linux server. the command "find / | grep ffmpeg". says the path is: /usr/share/zsh/functions/Completion/Unix/_ffmpeg
    therefore i wrote: "/usr/share/zsh/functions/Completion/Unix/_ffmpeg"
    but i says its the wrong path. do i have to do something different on linux?
1 2
Please login to post comments