
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (94)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (9832)
-
Anomalie #2964 : Développement boite d’options inverser
26 mars 2013, par b bSalut et merci pour le signalement, Le problème vient du fait que sous ie, l’event onchange d’un input est lancé après que l’input perde le focus. Du coup notre implémentation est foireuse avec ce comportement, il faut revoir ça. À ce que je lis ici : (...)
-
Xuggler encoding and muxing
18 décembre 2012, par HeineyBehindsI'm trying to use Xuggler (which I believe uses
ffmpeg
under the hood) to do the following :- Accept a raw MPJPEG video bitstream (from a small TTL serial camera) and encode/transcode it to h.264 ; and
- Accept a raw audio bitsream (from a microphone) and encode it to AAC ; then
- Mux the two (audio and video) bitsreams together into a MPEG-TS container
I've watched/read some of their excellent tutorials, and so far here's what I've got :
// I'll worry about implementing this functionality later, but
// involves querying native device drivers.
byte[] nextMjpeg = getNextMjpegFromSerialPort();
// I'll also worry about implementing this functionality as well;
// I'm simply providing these for thoroughness.
BufferedImage mjpeg = MjpegFactory.newMjpeg(nextMjpeg);
// Specify a h.264 video stream (how?)
String h264Stream = "???";
IMediaWriter writer = ToolFactory.makeWriter(h264Stream);
writer.addVideoStream(0, 0, ICodec.ID.CODEC_ID_H264);
writer.encodeVideo(0, mjpeg);For one, I think I'm close here, but it's still not correct ; and I've only gotten this far by reading the video code examples (not the audio - I can't find any good audio examples).
Literally, I'll be getting byte-level access to the raw video and audio feeds coming into my Xuggler implementation. But for the life of me I can't figure out how to get them into an h.264/AAC/MPEG-TS format. Thanks in advance for any help here.
-
Capture video and audio using javascript
16 janvier 2017, par Anand SoniI am trying to capture video and audio from web browser and upload it to the server. The thing is I don’t want to use flash in this.
So I am using HTML5 feature and a library called RecorderRTC to make it possible. I am using Ruby on Rails in backend. Though I am feeling this feature is still under implementation I am facing challenges.
Following javascript code I have written : http://pastebin.com/KjwunFfD and here is my rails code :
uuid = UUID.generate
audio_file_name = "#{uuid}.wav" if params[:chrome]
audio_file_name = "#{uuid}.ogg" if params[:firefox]
video_file_name = "#{uuid}.webm"
directory = "#{Rails.root}/public/record"
directory = directory + "/chrome" if params[:chrome]
directory = directory + "/firefox" if params[:firefox]
audio_path = File.join(directory, audio_file_name)
video_path = File.join(directory, video_file_name)
#puts params[:audioBlob].tempfile.read
File.open(audio_path, "wb") { |f| f.write(params[:audioBlob].tempfile.read) } if params[:audioBlob]
File.open(video_path, "wb") { |f| f.write(params[:videoBlob].tempfile.read) } if params[:videoBlob]
output = `ffmpeg -i #{video_path} -i #{audio_path} -acodec copy -vcodec copy #{directory}/#{uuid}.mkv`
message[:video_url] = "/record/chrome/#{video_file_name}" if params[:chrome]
message[:video_url] = "/record/firefox/#{video_file_name}" if params[:firefox]
message[:audio_url] = "/record/chrome/#{audio_file_name}" if params[:chrome]
message[:audio_url] = "/record/firefox/#{audio_file_name}" if params[:firefox]
message[:audio_video_url] = "/record/chrome/#{uuid}.mkv" if params[:chrome]
message[:audio_video_url] = "/record/firefox/#{uuid}.mkv" if params[:firefox]My problem is when I try to run this code through Firefox ffmpeg is giving error of codec not found. I am not sure what I am missing. Can any one help ?