
Recherche avancée
Autres articles (101)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...)
Sur d’autres sites (7643)
-
Revision 4aa2d593520b162518e3bef7fc6eaeff1e4d8f0d : #FORMULAIRE_CONFIGURER_PREVISUALEUR remplace configuration/previsualiseur ...
4 octobre 2010, par Cerdic — Log#FORMULAIRE_CONFIGURER_PREVISUALEUR remplace configuration/previsualiseur l’icone qui etait utilisee est reformatee en 24x24 au lieu de 26x20 et renomee preview-24.png git-svn-id : svn ://trac.rezo.net/spip/spip@16391 caf5f3e8-d4fe-0310-bb3e-c32d5e47d55d
-
Révision 17459 : pipeline pre_edition_lien et post_edition_lien sur toutes les actions insertion/...
21 mars 2011, par cedric -Le pipeline est appele sur chaque lien y compris en cas d’ajout ou suppression massive. Le resultat du pipeline est a chaque fois l’id de l’objet lie, il suffit de renvoyer ’’ pour annuler l’operation.
-
carrierwave-ffmpeg .weba audio convert to .mp3 or .mp4
14 mai 2018, par nmadougI use react-mic on the front-end of my React/Rails application to capture audio from the user. react-mic formats the audio blob as .weba. I’m trying to convert the .weba to .mp4 or .mp3 using carrierwave-ffmpeg . I can isolate the issue to my Rails uploader, which is as follows :
require 'fog/aws'
class UserResponseUploader < CarrierWave::Uploader::Base
include CarrierWave::FFmpeg
if Rails.env.test?
storage :file
else
storage :fog
end
version :mp3 do
puts `which ffmpeg`
# binding.pry
process encode: [:mp3, audio_codec: "a libmp3lame -qscale:a 2"]
# process :encode_audio=> [:mp4, audio_codec: "aac",:custom => "-strict experimental -qscale:a 2"]
def full_filename(for_file)
super.chomp(File.extname(super)) + '.mp3'
end
end
# Directory where uploaded files will be stored on file system or AWS
def store_dir
"uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
end
endffmpeg is installed on my local PC and I can run the command on the terminal to get an audio file created
ffmpeg -i audio.weba -codec:a libmp3lame -qscale:a 2 willwork.mp3
My problem is when I try and run everything in my code, I get the following error message :
NameError (undefined local variable or method `e' for #):
I don’t know where it’s complaining. I have a feeling the encoding line is causing the problem and I don’t have it set up properly.
Any ideas ?