Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (95)

  • 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 (...)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le 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 (5217)

  • ultimate video player not working with one video (Uncaught in promise)

    29 octobre 2018, par completeidiothereDoh

    So I have a small website that I have yet to launch using PHP / MySQL. One section there is a video player, and I am using the Ultimate video player script beecause it easily allowed me to change some codes to insert ads, etc. So far I’ve only added about 20 videos, mostly downloaded from archive.org. The uploads are processed using FFMPEG, specifically this command :
    exec(’ffmpeg -i ’.$uploadfile.’ -f mp4 ’.$new_flv) ;

    I also do some other things with ffmpeg such as create an animated .gif and a video thumbnail. So far everything has worked. Prior to using the current video script I was using video.js and this issue didn’t happen. Once I switched over to the new script I noticed this one video won’t play. It acts like it wants to play (spinner spins for a few seconds) but ultimately goes back to the pre-play video thumbnail rather than playing the video.

    I am experiencing this in Google Chrome, though the same thing using Edge. The Chrome console messages reads as follows : Uncaught (in promise) DOMException : The play() request was interrupted by a call to pause().

    The video worked prior to switching to this video player. The file also works attempting to open in Windows. The file works opening directly in Chrome. Plus all other videos work except for this one. I contacted the author and was told that it sounds like an encoding issue and that he isn’t very good at that sort of thing.

    I won’t post the paid script’s js source file here, but I guess I am wondering if anything I’ve listed points to maybe he is correct (although then why did it work in video.js and not uvp ?) and my rudimentary ffmpeg mp4 conversion command needs some work, or else perhaps some of the research I’ve done on this google chrome console message can fix the issue. I don’t believe I can make the corrections myself but I’m curious if anyone suspects this is really an encoding issue.

    I’ve only managed to add about 20 videos, so so far 1/20, or 5% videos aren’t working. I am worried that ignoring a video that isn’t working now, once there are thousands of videos, then maybe 100 won’t work, etc. Furthermore, although probably mostly SERPS (since I haven’t technically launched yet), the video in question has the most views haha. So if it is attracting more organic traffic than the other videos I would obviously like to have it working again.

    I may need to move back to video.js, but the reason I switched was I was having a difficult time (not being an excellent coder) attempting to implement an ads system. Oh well, thanks if anyone has any suggestions or ideas.

  • How to overlay a video on another video and also fade in a PNG

    3 février 2019, par Imonaboat

    I am looking to overlay a video on top of another video and then also add a fade in and fade out PNG.

    I have the current command which works perfectly in merging two video files one on top of the other.

    ffmpeg -y -i output.mp4 -i transparent.mp4 -filter_complex "[1:v][0:v]scale2ref[ua][b];[ua]setsar=1,format=yuva444p,colorchannelmixer=aa=.7[u];[b][u]overlay=eof_action=pass[v]" -map [v] awsome.mp4

    I need to now add a PNG on it as well that fades in at 1s and fades out at 9.5s.

    Appreciate any and all advice.

  • Overlay Video on Video FFMPEG

    9 août 2017, par user3354787

    I have found a link explaining how to do this, however I do not know how to do it with a streaming video. FFmpeg - Overlay one video onto another video ?

    I am running a robot that uses FFMPEg to send straming video to letsrobot.tv You can see my bot on the website called patton II. I wnated to overlay a video HUD on the stream. If you can help me with a step by step that would be great. Sorry for such an open ended question but I am new to this whole thing but i will correct it or answer anything you need in order for you to help me

       overlayCommand = '-vf dynoverlay=overlayfile=/home/pi/runmyrobot/images/hud.png:check_interval=500'
    videoCommandLine = '/usr/local/bin/ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video%s %s -f mpegts -codec:v mpeg1video -s 640x480 -b:v %dk -bf 0 -muxdelay 0.001 %s http://%s:%s/hello/640/480/' % (deviceAnswer, rotationOption, args.kbps, overlayCommand, server, videoPort)
    audioCommandLine = '/usr/local/bin/ffmpeg -f alsa -ar 44100 -i hw:1 -ac 2 -f mpegts -codec:a mp2 -b:a 32k -muxdelay 0.001 http://%s:%s/hello/640/480/' % (server, audioPort)