
Recherche avancée
Autres articles (94)
-
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 (...) -
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) (...)
-
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (7240)
-
Encode mp4 video with just audio
13 mai 2015, par mikesolI am working on a cordova app for iOS and Android and the app works on all devices I’ve tested except the OnePlus, where the audio does not work but the video does. I’ve tried ogg and mp3 but to no avail. However, mp4 videos play perfectly.
As a hackish solution, I’d like to make all of my audio mp4 video that has no images and just audio. Is this possible using ffmpeg or another too and will it play in the video tag ? If all else fails I can create a video with a single stock image, but I’m afraid that the result will be larger than what I’m looking for.
-
Android : Not able to merge two audio files using FFMPEG
27 mars 2019, par Asif SbI am trying to merge two wav audio files into one using FFMPEG library.
Here is the command I used for merging two audio files.
String s = "ffmpeg -i "+recordFile+" -i "+audioFromVideo+" -filter_complex amix=inputs=3:duration=first:dropout_transition=3 "+finalAudio;
Below is my audio merger code :
public void mergeMediaFiles(Context context,String[] cmd) {
FFmpeg ffmpeg = FFmpeg.getInstance(context);
try {
try {
//Load the binary
ffmpeg.loadBinary(new LoadBinaryResponseHandler() {
@Override
public void onStart() {
}
@Override
public void onFailure() {
}
@Override
public void onSuccess() {
}
@Override
public void onFinish() {
}
});
} catch (FFmpegNotSupportedException e) {
// Handle if FFmpeg is not supported by device
}
// to execute "ffmpeg -version" command you just need to pass "-version"
ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {
@Override
public void onStart() {
Log.d("ttt", "onStart:merge ");
}
@Override
public void onProgress(String message) {
Log.d("ttt", "onProgress: merge");
}
@Override
public void onFailure(String message) {
Log.d("ttt", "onFailure: stock down");
}
@Override
public void onSuccess(String message) {
Log.d("ttt", "onSuccess: stock up");
File file= new File(finalAudio);
if (file.exists()) {
Log.d(TAG, "onPostExecute: mila bhai");
startPlaying(file.getPath());
}
}
@Override
public void onFinish() {
Log.d("ttt", "onFinish: merge ");
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
//
}
}
}When I try to run this code. It always triggers failure callback.
I just wanted to understand what is the issue with the command and merger code ? -
Table spécifique pour les métas
14 septembre 2011SPIPmotion récupère beaucoup d’informations sur la configuration de FFmpeg et autres logiciels disponibles qu’il stock à l’heure actuelle dans la table spip_metas.
Il semble judicieux de stocker ces éléments de configuration dans une table auxiliaire afin de ne pas encombrer les $GLOBALS trimballées partout dans le site car elles ne sont pas constamment nécessaires.