
Recherche avancée
Autres articles (95)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (5159)
-
Revision 64b30f41cd : Removed setup_pre_planes() call in read_mb_modes_mv() This code does not seem t
24 mai 2013, par Scott LaVarnwayChanged Paths :
Modify /vp9/decoder/vp9_decodemv.c
Removed setup_pre_planes() call in read_mb_modes_mv()This code does not seem to be necessary anymore.
For the 1080p clip used, the decoder performance improved by
2%.Change-Id : I66bb0496d4998b0d6c6637c746b642b77bdbef88
-
Why is `subprocess.call` not invoking the command
6 juin 2014, par ShookieI’m trying to run a .wav file through ffmpeg using the
subprocess.call(shell=True)
in the following code and it doesn’t seem to run. I know this because theoutput_file
isn’t created and I’m getting an exception in theopen()
method.
What am I doing wrong ?try:
import pocketsphinx
except:
import pocketsphinx as ps
import sphinxbase
import subprocess
import os
hmmd = "../../Pocketsphinx_Files/en-us-8khz"
lmdir = "../../Pocketsphinx_Files/cmusphinx-5.0-en-us.lm"
dictp = "../../Pocketsphinx_Files/cmu07a.dic"
output_filename = "../../temp/ps_output.wav"
def recognize(filename="../../temp/temp_output.wav"):
command = "ffmpeg -i "+filename+" -ac 1 -ab 16 -ar 16000 "+output_filename
subprocess.call(command,shell=True)
wavFile = open(output_filename,"rb")
speechRec = ps.Decoder(hmm = hmmd, lm = lmdir, dict = dictp)
wavFile.seek(44)
speechRec.decode_raw(wavFile)
result = speechRec.get_hyp()
#os.remove(filename)
#os.remove(output_filename)
return result
if __name__=="__main__":
print(recognize())edit : I’ve got ffmpeg installed.
Furthermore, when I run the subprocess.call() command from the python interpreter it seems to work. This is why I’m stumped. -
avcodec/h263dec : Don't call ff_thread_finish_setup() unnecessarily
24 février, par Andreas Rheinhardtavcodec/h263dec : Don't call ff_thread_finish_setup() unnecessarily
All hwaccels for MPEG-4/H.263 are run serially even when frame-threading
is in use. Therefore there is no gain in calling
ff_thread_finish_setup() in this case right before outputting
the frame.Removing this call also allows to revert commit
39a5c0ac0651113750d01f3ee6bcf3819de3d7ee.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>