
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (52)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (10573)
-
Permission denied with JAVE on OSX
18 octobre 2016, par clankill3rI try to convert video to audio using jave on OSX.
http://www.sauronsoftware.it/projects/jave/manual.php
As the documentation states
...You can even build it by yourself getting the code (and the
documentation to build it) on the official ffmpeg site. Once you have
obtained a ffmpeg executable suitable for your needs, you have to hook
it in the JAVE library. That’s a plain operation.I builded ffmpeg, but running the code I get a Permission denied error.
I even changed all file permissions to 777 recursive.
Hope someone can help, the documentation and error messages are very unclear.public class Mp4ToSoundTest {
public static void main(String[] args) {
Mp4ToSoundTest a = new Mp4ToSoundTest();
a.setup();
}
void setup() {
File source = new File("/Users/doekewartena/Downloads/vids_future_proj/VID_20160523_180100.mp4");
System.out.println(source.exists());
FFMPEGLocator my_ffmpeg_locator = new FFMPEGLocator() {
@Override
protected String getFFMPEGExecutablePath() {
return "/Users/doekewartena/Downloads/ffmpeg-3.1.4";
}
};
File target = new File("/Users/doekewartena/Downloads/vids_future_proj/VID_20160523_180100.mp3");
AudioAttributes audio = new AudioAttributes();
audio.setCodec("libmp3lame");
audio.setBitRate(128000);
audio.setChannels(2);
audio.setSamplingRate(44100);
EncodingAttributes attrs = new EncodingAttributes();
attrs.setFormat("mp3");
attrs.setAudioAttributes(audio);
Encoder encoder = new Encoder(my_ffmpeg_locator);
// The source file can't be decoded. It occurs when the source file container, the video stream format or the
// audio stream format are not supported by the decoder. You can check for supported containers and plugged
// decoders calling the encoder methods getSupportedDecodingFormats(), getAudioDecoders() and getVideoDecoders().
try {
String[] r = encoder.getSupportedDecodingFormats();
System.out.println("a");
for (String s : r) {
System.out.println(s);
}
System.out.println("b");
System.out.println();
System.out.println(encoder.getAudioDecoders());
} catch (EncoderException e) {
e.printStackTrace();
}
try {
encoder.encode(source, target, attrs);
} catch (EncoderException e) {
e.printStackTrace();
}
System.out.println("done");
}
} -
Converting video files from mp4 to webM for playing using Media Source Extensions
19 octobre 2018, par raulI’m currently trying to implement a video player using Media Source Extensions. Currently just a very simple proof of concept, following a tutorial I found here.
I cloned their repo with all source code from github here and am testing the implementation on Chromium and Firefox with various video files.
Everything worked well with the example webm files in the repo for both browsers.
Next I tried to convert a video I downloaded from some random site using ffmpeg and mse-tools to "align the clusters" of the webm file using the following commands :
ffmpeg -i randomvideo.mp4 -c:v libvpx -c:a libvorbis output.webm
mse_webm_remuxer output.webm aligned.webmAgain, all was well on both browsers.
Finally, I wanted to convert a very simple animation I created in blender (rendered with h264 in mp4).
I tried converting the resulting file using the same process as above and the file played normally on firefox, but did not load on chromium.
I assume I am commiting some error when converting the file, but inspecting the attributes of the final file with vlc and ffprobe, I could not find any obvious problems.
Any ideas as to what I am doing wrong ?
One final test I did was to go to this site to get some sample webm files.
I downloaded the "Big Buck Bunny Trailer in WebM" and "Elephants Dream as WebM File".
Both files worked in firefox, but the "Elephants Dream" file would not play in chromium.
I am on a linux machine (Arch Linux distro) with the following versions of the browsers :
Chromium Version 69.0.3497.100 (Official Build) Arch Linux (64-bit)
Firefox 62.0.3 (64-bit)
I have shared the file I created from the blender animation (very small - only 36 KB) on google drive here in case anyone wants to check it out.
-
Unable to play webM file on chromium with Media Source Extensions. Works in firefox and vlc
23 octobre 2018, par raulI’m currently trying to implement a video player using Media Source Extensions. Currently just a very simple proof of concept, following a tutorial I found here.
I cloned their repo with all source code from github here and am testing the implementation on Chromium and Firefox with various video files.
Everything worked well with the example webm files in the repo for both browsers.
Next I tried to convert a video I downloaded from some random site using ffmpeg and mse-tools to "align the clusters" of the webm file using the following commands :
ffmpeg -i randomvideo.mp4 -c:v libvpx -c:a libvorbis output.webm
mse_webm_remuxer output.webm aligned.webmAgain, all was well on both browsers.
Finally, I wanted to convert a very simple animation I created in blender (rendered with h264 in mp4).
I tried converting the resulting file using the same process as above and the file played normally on firefox, but did not load on chromium.
I assume I am commiting some error when converting the file, but inspecting the attributes of the final file with vlc and ffprobe, I could not find any obvious problems.
Any ideas as to what I am doing wrong ?
One final test I did was to go to this site to get some sample webm files.
I downloaded the "Big Buck Bunny Trailer in WebM" and "Elephants Dream as WebM File".
Both files worked in firefox, but the "Elephants Dream" file would not play in chromium.
I am on a linux machine (Arch Linux distro) with the following versions of the browsers :
Chromium Version 69.0.3497.100 (Official Build) Arch Linux (64-bit)
Firefox 62.0.3 (64-bit)
I have shared the file I created from the blender animation (very small - only 36 KB) on google drive here in case anyone wants to check it out.