
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (72)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (8852)
-
Opencv VideoCapture always returns false on Heroku
27 juin 2022, par Dacian MujdarI'm using the following code to open a video stream :


import cv2
video = cv2.VideoCapture()
video.open("some_m3u8_link")
success, image = video.read()



However, even if the code works as intended locally, on Heroku
success
is always false.

I'm using cedar-14 stack with the following buildpacks :




heroku/python


https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git




(I tried several buildpack options for ffmpeg)


Running
ffmpeg --version
on heroku instance will returnffmpeg version 4.0-static https://johnvansickle.com/ffmpeg/


Is there any setting/configuration I missed in order to make it work on deployment ? Thank you !


Later edit : I tried several links for "some_m3u8_link" including from twitch and other streaming services (including traffic streaming li
An example for reproducing :


python -c "import cv2; video=cv2.VideoCapture(); video.open('https://hddn01.skylinewebcams.com/live.m3u8?a=5tm6kfqrhqbpblan9j5d4bmua4'); success, image = video.read(); print(success)"



Returns True on local machine and False on Heroku.


(the link is taken from here)


-
ffmpeg carrierwave-video always returns "unknown encoder libfaac"
17 juillet 2015, par olgashI can give ffmpeg videos to convert via command line, and it converts them happily, but when I ask it to convert things in rails, it returns "Unknown encoder libfaac" no matter the video I give it.
I call it using this line :
process encode_video : [:mp4, resolution : "640x480"]I’ve already spent hours trying to (unsuccessfully) compile ffmpeg with libfaac on Windows, but now it just seems ridiculous, because not everything I pass it is even aac. What’s going on ?
-
Revision d78dbff09a : Subpel search cleanups and enhancements - Some fixes to surface fit. - Returns
7 octobre 2014, par Deb MukherjeeChanged Paths :
Modify /vp9/encoder/vp9_encoder.h
Modify /vp9/encoder/vp9_mbgraph.c
Modify /vp9/encoder/vp9_mcomp.c
Modify /vp9/encoder/vp9_mcomp.h
Modify /vp9/encoder/vp9_pickmode.c
Modify /vp9/encoder/vp9_rdopt.c
Modify /vp9/encoder/vp9_speed_features.c
Modify /vp9/encoder/vp9_speed_features.h
Modify /vp9/encoder/vp9_temporal_filter.c
Subpel search cleanups and enhancementsSome fixes to surface fit.
Returns variance function as cost rather than sad in the
pattern search and diamond search functions. Only
vp9_pattern_search_sad function used in bigdia search
uses sad as integer 1-away costs.Deploys SUBPEL_TREE_PRUNED_MORE for speed 4+.
Results :
derf [Speed 3] : About +0.036% in coding efficiency without any
discernible speed loss.
derf [Speed 4] : About 2-3% faster at -0.199% loss in coding efficiency.
derf [Speed 5] : About 3-4% faster at -0.149% loss in coding efficiency.Change-Id : I8462f94f6adb46966ca964f2bd0400977357fd63