
Recherche avancée
Autres articles (105)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (12273)
-
How to create thumbnail about torrent without downloading video files ? [on hold]
1er septembre 2019, par tty78Most of time, torrent sites like RARBG/The Pirate Bay/KickAss would return many query results even through I have typed in many detailed keywords, which is not strange because there are many people upload it.
So, when i want to watch/download a torrent movie, it’s better to check the video first to find out that :
- is it a fake video
- is the video watermarked
- is there some AD in the video
- is it 1980*1080 or 640*480 ??
What i want to do is creating thumbnail of the videos without download them, so that i can save a lot of broadband, disk space and time.
Now I can create thumbnail with a python tool - vcsi, but it depends on the video file stored in disk.
In fact,vcsi
get meta information withffprobe
and create thumbnail usingffmpeg
.def probe_media(self, path):
"""Probe video file using ffprobe
"""
ffprobe_command = [
"ffprobe",
"-v", "quiet",
"-print_format", "json",
"-show_format",
"-show_streams",
path
]
try:
output = subprocess.check_output(ffprobe_command)
self.ffprobe_dict = json.loads(output.decode("utf-8"))
except FileNotFoundError:
error = "Could not find 'ffprobe' executable. Please make sure ffmpeg/ffprobe is installed and is in your PATH."
error_exit(error)ffmpeg_command = [
"ffmpeg",
"-ss", skip_time,
"-i", self.path,
"-ss", skip_delay,
"-vframes", "1",
"-s", "%sx%s" % (width, height),
]WebTorrent may be a solution but it’s not good because I have a lot of torrent file to scan.
I want to create thumbnail on a ubuntu VPS because it can run day and night, and i can post thumbnail under the torrent comments.
Some key frame, resolution and duration are enough, maybe.
-
Merge commit ’e6fb844f7b736e72da364032d251283bce9e63ad’
20 avril 2015, par Michael NiedermayerMerge commit ’e6fb844f7b736e72da364032d251283bce9e63ad’
* commit ’e6fb844f7b736e72da364032d251283bce9e63ad’ :
Implement shared parsing of INFO tag in Canopus familyMerged-by : Michael Niedermayer <michaelni@gmx.at>
-
Why can I run this command from the terminal but I get an error when my python runs it from the terminal for me ?
9 mai 2019, par mu234I’m trying to write a python script that basically captures webcam videos from the terminal. When I put the command in a string and use
subprocess.call(script, True)
, I get an error, but when I literally copy/paste the same command to the terminal it works fine.This is my python :
import subprocess
import os
if (os.path.isdir("Videos/Webcam/temp") is False):
dirmake = 'mkdir Videos/Webcam/temp'
subprocess.call(dirmake, True)
cmd = 'ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm'
subprocess.call(cmd, True)and this is the error
`FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm': 'ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm'`
If I just run
ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm
from the terminal it works fine.Originally the video was supposed to go in Videos/Webcam/temp but I took it out to see if the error had something to do with where I was putting the video. I’m using Ubuntu 18.04.2 LTS if that makes a difference.