Recherche avancée

Médias (91)

Autres articles (55)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (4955)

  • Python - Popen(shlex.split(command), shell=False) - not working with ffmpeg

    1er octobre 2014, par speedyrazor

    I am using Popen(shlex.split(command) to run an ffmpeg command which saves out wav files from a quicktime mov file and also save an ffmpeg log file at the same time. if I use this :

    command = './ffmpeg/ffmpeg -i /Users/me/Documents/MOVS/source.mov -map 0:1 -acodec pcm_s16le -y /Users/me/Documents/MOVS/source_01.wav'

    p = Popen(shlex.split(command), shell=False)

    Then the command completes correctly, but if I add the line which saves out a logfile then it no longer works, so if I use :

    command = './ffmpeg/ffmpeg -i /Users/me/Documents/MOVS/source.mov -map 0:1 -acodec pcm_s16le -y /Users/me/Documents/MOVS/source_01.wav 2> /Users/me/Documents/MOVS/lofFile.txt'

    p = Popen(shlex.split(command), shell=False)

    Then it no longer works. Using either command in the command line, without python, works fine. If I just use :

    p = Popen(command, shell=True)

    Then all works well, but I need to use the shell=False for other reasons.

    I just can’t understand why it breaks by adding the ’correct’ end line of 2> /Users/me/Documents/MOVS/lofFile.txt

  • getting video file duration from adb shell

    2 août 2014, par Ganesh Sonthi

    I am writing some code using Ui Automator in Android which needs to play video files until END. For most of the files i am able to get the duration in Right bottom of the player and able to give Sleep duration as same of that.

    But for some of the files [mpg] the playback and total duration displaying as 0.00. VLC-Android and PC will be able to display the duration properly like 23seconds .. etc.. I already tried MediaMetaDataRetriever method as mentioned in How to get length in milliseconds of video from URL without video view in Android ? but here also i got ’0’ as duration.

    So, in this case i need some sort of solution which will be able to provide me some solution to get the duration of the file - Either by using adb shell or by passing some commands or some APK which can display duration and can be invoked by command line along with file URI.

    Can anyone please suggest some method.

  • lavf/matroskaenc.c : Free dyn bufs in mkv_free. Fixes memory leaks when muxing fails.

    26 janvier 2017, par Sasi Inguva
    lavf/matroskaenc.c : Free dyn bufs in mkv_free. Fixes memory leaks when muxing fails.
    

    Signed-off-by : Sasi Inguva <isasi@google.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/matroskaenc.c