Moodle Plugins directory: oohoo - Capture | Moodle.org

oohoo - Capture
Repositories ::: repository_capture
Maintained by
Nicolas Bretin,
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.
Latest release:
17 sites
1 downloads
6 fans
Current versions available: 1
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.
Useful links
Contributors
Nicolas Bretin (Lead maintainer)
Patrick Thibaudeau: Maintainer
Please login to view contributors details and/or to contact them
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
Could you please explain how to install FFMPEG in Linux based server ?
Thanks,
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
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.
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
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 ?
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
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.
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
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?
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
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?
faccio parte di un liceo italiano che usa moodle per la formazione degli studenti e in particolare capture per il caricamento delle lezioni che vengono fatte in classe. utilizziamo la versione 3.3.1 di moodle caricata su hosting aruba il quale utilizza un hosting condiviso per il funzionamento di FFmpeg versione 3.3.2. Purtroppo ci dava degli errori sul percorso che abbiamo risolto con l'assistenza aruba. Ora riesco a caricare i file audio ma non quelli video. I tecnici aruba hanno provato il seguente comando
/usr/bin/ffmpeg -y -r 15 -f image2 -i "/web/htdocs/www.liceirenierbl.eu/home/filetemp/temp/capture/1502444115/video/img%06d.jpg" -i "/web/htdocs/
e questo è l'errore che restituisce
ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-11)
configuration: --enable-libmp3lame --enable-shared --enable-gpl --disable-yasm --enable-libx264
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
Input #0, image2, from '/web/htdocs/www.liceirenierbl.eu/home/filetemp/temp/capture/1502444115/video/img%06d.jpg':
Duration: 00:00:06.53, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 320x240 [SAR 1:1 DAR 4:3], 15 fps, 15 tbr, 15 tbn, 15 tbc
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, wav, from '/web/htdocs/www.liceirenierbl.eu/home/filetemp/temp/capture/1502444115/video/audio.wav':
Duration: 00:00:05.62, bitrate: 705 kb/s
Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
No pixel format specified, yuvj444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0xc86b80] using SAR=1/1
[libx264 @ 0xc86b80] using cpu capabilities: none!
[libx264 @ 0xc86b80] profile High 4:4:4 Predictive, level 1.2, 4:4:4 8-bit
[libx264 @ 0xc86b80] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=7 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[AVFilterGraph @ 0xc3eaa0] Error initializing threading.
[AVFilterGraph @ 0xc3eaa0] Error creating filter 'anull'
Error reinitializing filters!
Failed to inject frame into filter network: Cannot allocate memory
Error while processing the decoded data for stream #1:0
[image2 @ 0xbcb720] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
Conversion failed!
Avete una soluzione a questo problema. Grazie!