
Recherche avancée
Autres articles (51)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
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 (...) -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...)
Sur d’autres sites (5644)
-
OpenCV video writing to named pipe
21 janvier 2012, par user28667I'm trying to send videos created with OpenCV in real-time to user though Apache (user downloads video from a website). I don't need streaming video. I'm just trying to transfer whole video file. My OpenCV program writes video to a named pipe (created with mkfifo) and PHP scrpt reads from it and outputs to user.
The problem is that pipe-transfered videos doesn't open in Windows. They're shorter exactly at 7072 bytes (checked with different videos). They are not just truncated. The first difference between videos appeared in 5-th byte. And there is no mistake in PHP script. I've checked it using :
cat fifo.avi > output.avi
The result was the same. How to make OpenCV write videos to pipes just as to normal files ? Why this happens ? Or is there another way to send videos in real-time to user ?
P. S. Thanks and sorry for bad English
P. P. S. I'm creating CvVideoWriter with this code if it matters :cvCreateVideoWriter("fifo.avi",CV_FOURCC('M','J','P','G'),25,cvSize(blah blah blah),1)
-
Centos : TERM environment Variable Not Set
21 janvier 2014, par ArchitactI am working on a mobile application which allows users to upload videos, upon upload the videos are converted to mp4 format, I am using a shell script for that purpose, the script was working fine on our last server but we switched our server and now it has stopped working, the log files of apache are printing.
[Tue Jan 21 00:57:37.003944 2014] [:error] TERM environment variable not set.
[Tue Jan 21 00:57:37.148531 2014] [:error] ./script.sh: line 3: ffmpeg: command not found
[Tue Jan 21 00:57:37.148794 2014] [:error] script.sh: line 4: ffmpeg: command not foundThe content of script.sh are
#!/bin/bash -p
clear
ffmpeg -i $filename -strict experimental -ar 22050 converted.mp4<br />
ffmpeg -itsoffset -1 -i converted.mp4 -vframes 25 -filter:v scale="min(500\, iw):-1" thumbnail.pngI am calling the script form php using
shell_exec("script.sh 52567afa374c61381399290.mp4");
Any help would be greatly appreciated.
Thanks
-
FFMpeg installation in Ubuntu 12.04 and using it in PHP-FFMpeg
16 mai 2015, par SohelAhmedMI have tried many many failed attempt to install FFMpeg in my Ubuntu 12.04.
I used following links : 1, 2, 3 and many others.Then I need to use it in PHP-FFMpeg
And Then I need to deploy in Linux based server. This is my requirement.But after much trying, I just downloaded static build through this link.
This helped me to successfully convert video and use FFMpeg through terminal in Ubuntu. But I cannot use it through PHP-FFMpeg library which I need to run. In docs of PHP-FFMpeg it is written
This library requires a working FFMpeg install. You will need both
FFMpeg and FFProbe binaries to use it. Be sure that these binaries can
be located with system PATH to get the benefit of the binary
detection, otherwise you should have to explicitely give the binaries
path on load.and I am not getting this.