
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (54)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (8939)
-
Install ffmpeg in MAMP
19 juin 2017, par David LiuI’m trying to use this : https://www.youphptube.com/ to create a video sharing website.
I’m developing locally using MAMP on macOS Sierra and have installed both ffmpeg and exiftool on the system, but how do I make it work from within the server ? Under "Advanced Configuration" what do I put in "Path to FFMPEG" and "Path to exiftool" ? What is the folder this path is relative to ? I guess this is why the videos I try to upload never start encoding. In "Leave blank for native ffmpeg" what does "native ffmpeg" mean ?
I already tried putting the absolute paths but it doesn’t work either. I’m getting this error log :
[19-Jun-2017 13:59:13 America/Panama] "status" :"error", "msg" :["sh : ffprobe : command not found"] ,"return_val":127, "where" :"getDuration", "cmd" :"ffprobe -i /Applications/MAMP/tmp/php/phpq2j0pt -sexagesimal -show_entries format=duration -v quiet -of csv=’p=0’"
[19-Jun-2017 13:59:13 America/Panama] Duration founded : EE:EE:EE
[19-Jun-2017 18:59:14 UTC] rm -f /Applications/MAMP/htdocs/platea-3/videos/video2_59481f01ed6179.69459230.jpg && ffmpeg -ss 5 -i /Applications/MAMP/htdocs/platea-3/videos/original_video2_59481f01ed6179.69459230 -qscale:v 2 -vframes 1 -y /Applications/MAMP/htdocs/platea-3/videos/video2_59481f01ed6179.69459230.jpg
Array
(
[0] => sh : ffmpeg : command not found
)So basically I think the server doesn’t find neither ffmpeg nor ffprobe.
I would appreciate it if someone could take the time to install it as well and take a look. Thanks !
-
How can I make ffmpeg executable file separately by using gcc command ?
8 juillet 2017, par koseonjaeactually, my goal is to use ffmpeg on Qt platform. But tow of them is unfamiliar with me..
I tried command on ./ffmpeg directory after build (./configure, make, sudo make install) as below on Mac (os x) 10.12.4 (Sierra)$ gcc ffmpeg.c -o a.out -I /usr/local/include -I /Users/koseonjae/ffmpeg -L /usr/local/lib -lavdevice -lavutil -lavformat -lavcodec -lavutil -lx264 -lvpx -lvorbisenc -lvorbis -ltheoraenc -ltheoradec -logg -lmp3lame -lbz2 -lz -lxslt -lfdk-aac -liconv -lopus -lx265 -lxvidcore -lpng16 -lswresample -framework CoreFoundation -framework CoreServices -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework AVFoundation -framework CoreMedia -framework CoreVideo -framework CoreAudio -framework Foundation -framework Security -framework VideoDecodeAcceleration -framework VideoToolbox
I added many library, but result is as below
/Users/koseonjae/ffmpeg/ffmpeg2.h:157:8 : error : unknown type name ’BOOL’
static BOOL WINAPI CtrlHandler(DWORD fdwCtrlType) ;/Users/koseonjae/ffmpeg/ffmpeg2.h:157:19 : error : expected ’ ;’ after top level declarator
static BOOL WINAPI CtrlHandler(DWORD fdwCtrlType) ;
what library should I add ?? thank you !
-
OpenCV (3.3.0) returns fail on VideoCapture with Video but works with Webcam [OS X]
1er novembre 2017, par njoyeThanks for reading already, I’ve been trying to get this to work for a day and I didn’t get closer to the solution.
I’m trying to get this object tracker to work. When I use a video from my webcam (with :
python object-tracker-single.py -d 0
, everything works as expected.But as soon as I’m trying to use a video file (i’ve tried different formats :
.mp4
,.mkv
&.avi
. I also tried to use the file given in the repository, that didn’t work as well. To see if there is aFile not found
-Error, I passed an invalid path to the function and an error got printed, that has not been printed when I used the other videos. So the file(s) i’m using is(/are) valid and not corrupted.I installed
dlib
throughhomebrew
following this article and compiledOpenCV
from the official source. This is the CMakeCache.txt thatCMake
spit out. After the first time I compiled it, I added opencv_contrib to the mix, thinking that it could help (I also think that I actually needed it), but that didn’t fix the problem.This is the code I’m having problems with :
# Create the VideoCapture object
cam = cv2.VideoCapture(source)
# If Camera Device is not opened, exit the program
if not cam.isOpened():
print "Video device or file couldn't be opened"
exit()
print "Press key `p` to pause the video to start tracking"
while True:
# Retrieve an image and Display it.
retval, img = cam.read() #<-- this returns false when trying to read a video
if not retval:
print "Cannot capture frame device"
exit()At the marked line,
retval
equalsFalse
andimage
equalsNone
.
It would already help me if I could somehow debug this behavior, but I didn’t find any way of doing so.I found that many Windows Users had problems with missing
ffmpeg
support, but that is not the case for me, since I usedffmpeg
in previous (not OpenCV-related) projects andCMakeCache.txt
reports thatffmpeg
has been found and the compilation succeeded.I also tried using a fully qualified file-name for the video file, which either resulted in
Video device or file couldn't be opened
or the given problem.If you have any idea how this problem can be completely resolved, have an Idea on how to solve it or can provide me with a way of properly debugging this behavior, I’d be super glad to here it !
Thanks already !
-
System : MacBook Pro (macOS Sierra
10.12.6
)OpenCV Version :
3.3.0
Dlib Version (not necessary imo, but hey) :
19.4.0
Edit 2
Output ofcmake -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib-master/modules ../ >> result.txt
: pastebin