
Recherche avancée
Autres articles (111)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 -
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 (...)
Sur d’autres sites (10244)
-
change brew install directory
23 juin 2018, par Addison WuI used homebrew to install ffmpeg and it’s by default in /usr/local/Cellar.
I have to run a matlab code, which tries to read ffmpeg from /usr/local/bin and returns error.Is there any way for me to change the path for brew install of ffmpeg ?
-
conversion from mp3 to ogg using php
9 janvier 2014, par PreethyI want to convert mp3 file to ogg. I tried the following code
exec("/usr/local/bin/ffmpeg -i 1.mp4 -vcodec libtheora -acodec libvorbis testjohn4545454.ogg",$output);
var_dump($output);But it does not convert the file and it only returns
array(0) { }
and it only takes a little execution time.But the conversion is success when using ssh command.
Please give me solution.
-
Extract WAV audio file from video after uploading on web, using FFMPEG in django
26 mars 2019, par maryam mehboobProblem
I am trying to find a way to extract an audio wav file from a mp4 video file that is uploaded by a web user using
ffmpeg
using Django.If I will find to extract audio, then where should I save it in my project ?
- I tried it with "Django-ffmpeg", but didn’t convert and was stuck in ’pending conversion’ message.
-
Then I tried with :
import subprocess
subprocess.call('ffmpeg -i filename.mp4 filename.wav')
Error
Script
def validate_file_extension(value) :
import os
from django.core.exceptions import ValidationError
ext = os.path.splitext(value.name)1 # [0] returns path+filename
filename = os.path.splitext(value.name)1 # [0] returns path+filename
valid_extensions = [’.mp4’]
if not ext.lower() in valid_extensions :
raise ValidationError(u’Unsupported file extension.’)
else :
import subprocess
subprocess.call(’ffmpeg -i filename.mp4 filename.wav’)