
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 (102)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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.
Sur d’autres sites (12097)
-
Returned non-zero exit status 1 / error code 1 : b''
26 août 2015, par pufAmufI’m trying to extract the video height via ffprobe into python, however I am having issues (with some videos).
Here is my ffprobe command :
ffprobe -v quiet -print_format compact=print_section=0:nokey=1:escape=csv -show_entries stream=height "some video here(bla)_25.mp4"
It returns something like this
720
(empty-line)
N/AHere is the code I used to extract the output for later processing :
executecommand = 'ffprobe -v quiet -print_format compact=print_section=0:nokey=1:escape=csv -show_entries stream=height "' + CurrentVideoToBeProcessed + '"'
VideoHeight = subprocess.check_output(executecommand)This is the error that came about :
subprocess.CalledProcessError : Command ’...’ returned non-zero exit
status 1So when I modified the code to this :
try:
VideoHeight = subprocess.check_output(executecommand,shell=True,stderr=subprocess.STDOUT)
except subprocess.CalledProcessError as e:
raise RuntimeError("command '{}' return with error (code {}): {}".format(e.cmd, e.returncode, e.output))This is the error I get :
RuntimeError : command ’...’ return with error (code 1) : b’’
I assumed at first the issue was with the file names, but certain videos work and certain don’t, irregardless of the file name.
This is the output I get in python for videos that work :b’360\r\n\r\n’
Any idea what’s going on ? Thanks !
Edit
It turns out the problem is in the file names after all. From what I gather so far at least, numbers in file-names seem to be causing the error.
Edit2
I re-ran the code after I closed several cmd instances and I am not getting the error anymore. I don’t know why. I am sure, however that if I were to convert hundreds of videos again I’ll get the error eventually as it has always happened eventually. -
cbs_mpeg2 : Rearrange start code search
29 juillet 2019, par Andreas Rheinhardtcbs_mpeg2 : Rearrange start code search
1. Currently, cbs_mpeg2_split_fragment uses essentially three variables
to hold the start code values found by avpriv_find_start_code. By
rearranging the code, one of them can be omitted.
2. The return value of avpriv_find_start_code points to the byte after
the byte containing the start code identifier (or to the byte after the
last byte of the fragment's data if no start code was found), but
cbs_mpeg2_split_fragment needs to work with the pointer to the byte
containing the start code identifier ; it already did this, but in a
clumsy way. This has been changed.
3. Also use the correct type for the variable holding the
CodedBitstreamUnitType.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
In which situation we need to used ffmpeg as Native (JNI) code in android ?
16 octobre 2019, par axita.savaniI am used FFmpeg as Library now. But when i have a search in google that some developers said that we can use FFmpeg with JNI as a native library but I’ll really don’t know why the developer said that, I think it’s related to the speed of exporting or code not display at App-decompile time.
But I don’t know in which situations and which requirements then we used FFmpeg native code in android ?