
Recherche avancée
Autres articles (97)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (11623)
-
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 ?
-
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>
-
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.