
Recherche avancée
Autres articles (27)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (5104)
-
ffmpeg not working in google colab
16 août 2018, par Nikhil WaghI’m trying to use Google Colab to do something. Particularly I want to use ffmpeg package to create a video from a image.
But ffmpeg doesn’t seems to be working fine. Here is the link to my notebook : https://colab.research.google.com/drive/1YP-DSRoZO-Afz03tjwPfoxA-Kttm-2vK
The output of this (in the last block) was supposed to be
400 400
instead of0 0
frame_width = int(cap.get(3))
frame_height = int(cap.get(4))
print frame_width, frame_heightThe same code is working fine with Azure notebooks and also on my local machine.
What can be the reason for it ? And how to rectify that ?
-
ultimate video player not working with one video (Uncaught in promise)
29 octobre 2018, par completeidiothereDohSo 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.
-
Add file name to video (drawtext) - Cannot find a valid font for the family Sans Error Ffmpeg [duplicate]
18 mars 2019, par Oli ShingfieldThis question already has an answer here :
I have a folder with a couple of short videos in, I would like to add the file names of the videos in the video in the bottom right corner while converting them from mov to mp4. I have tried using :
@echo off
set "INPUT=E:\Users\Oli Shingfield\Documents\Projects\v1.3.1\downloads3"
for %%a in ("%INPUT%\*.mov") do (
ffmpeg -i "%%~a" -vf drawtext=text="%%~na":x=105:y=120:fontfile="E:\Users\Oli Shingfield\Documents\Projects\v1.3.1\downloads3\impact.ttf":fontsize=25:fontcolor=white -b:v 1M -r 60 -b:a 320k -ar 48000 -crf 17 "%%~na.mp4"
)
pausebut I am getting the error :
[Parsed_drawtext_0 @ 000002548db70e00] Cannot find a valid font for the family Sans
[AVFilterGraph @ 000002548cd00a20] Error initializing filter 'drawtext' with args 'text=RP AS A WHOLE:x=105:y=120:fontfile=E:UsersOli_ShingfieldDocumentsProjectsv1.3.1downloads3impact.ttf:fontsize=25:fontcolor=white'
Error reinitializing filters!
Failed to inject frame into filter network: No such file or directory
Error while processing the decoded data for stream #0:0
[aac @ 000002548be61ae0] Qavg: 65536.000
[aac @ 000002548be61ae0] 2 frames left in the queue on closing
Conversion failed!It seems as though it can’t find the font file even though it’s in the same location and I am specifying the exact file path.
Has anyone got any ideas ? I’m baffled.
Thanks !
Oli