
Recherche avancée
Autres articles (99)
-
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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)
Sur d’autres sites (9771)
-
FFMPEG to command not working as i intend [closed]
11 mai 2023, par KillerHaseTVI want to cut my video by using timestamps. I have a txt file with my timestamps and I put them in the correct variables. For example, $startzeit = 00:00:01 and $endzeit = 00:00:10. So, I want :01 -> :10 and not :01 and run for 10 seconds until :11.


The problem has something to do with "-to" because the timestamps are correct.


Here is my code


$segment = 0
$pathtxt = "D:\Streamshit\Stream\Videos schneiden\timestamps.txt"
$pathvideo = "D:\Streamshit\Stream\Videos schneiden\2023-05-04_18-59-45.mkv"
$zeile = (Get-Content -LiteralPath $pathtxt).Length
$segment_list = @(Get-Content -LiteralPath $Pathtxt)

while($segment -lt $zeile){

 $timestamp = $segment_list[$segment].split(",")
 $startzeit = $timestamp[0]
 $endzeit = $timestamp[1]
 $TEST = "D:\Streamshit\Stream\Videos schneiden\Clips\video$segment.mp4"
 $segment++ 
 ffmpeg -ss $startzeit -i $pathvideo -to $endzeit -c copy $TEST 
}



and here are my timestamps :


00:00:01,00:00:10
00:00:24,00:00:41
00:01:29,00:01:42
00:02:19,00:02:46
00:04:11,00:04:58
00:08:38,00:08:42
00:10:05,00:10:14
00:12:07,00:14:47
00:16:59,00:17:20
00:26:31,00:27:00
00:34:36,00:36:56
00:39:01,00:39:21
00:46:32,00:46:53
00:48:00,00:48:58
00:51:11,00:52:01
00:56:15,00:57:52
00:59:20,01:01:20
01:03:21,01:03:40
01:12:02,01:12:17
01:14:48,01:14:59
01:15:13,01:19:03
01:19:14,01:19:23
01:23:49,01:24:06
01:24:23,01:24:50
01:25:13,01:26:10
01:26:45,01:26:56
01:29:08,01:29:29
01:31:54,01:32:10
01:36:32,01:37:41
01:39:37,01:39:53
01:55:30,01:56:02
02:13:07,02:13:44
03:12:19,03:12:50



I already tried it with just -t which is normally doing what my code is doing and -to should do what I want, but it doesn't.


-
doc/html : support texinfo 7.0
8 novembre 2023, par Frank Plowmandoc/html : support texinfo 7.0
Resolves trac ticket #10636 (http://trac.ffmpeg.org/ticket/10636).
Texinfo 7.0, released in November 2022, changed the names of various
functions. Compiling docs with Texinfo 7.0 resulted in warnings and
improperly formatted documentation. More old names appear to have
been removed in Texinfo 7.1, released October 2023, which causes docs
compilation to fail.This commit addresses the issue by adding logic to switch between the old
and new function names depending on the Texinfo version. Texinfo 6.8
produces identical documentation before and after the patch.CC
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1938238.html
https://bugs.gentoo.org/916104Signed-off-by : Frank Plowman <post@frankplowman.com>
-
How to put the output of ffmpeg into a pipe in Python ? [duplicate]
16 février 2023, par Eric PalmerI'm trying to use python to feed the results of ffmpeg into a pipeline, and then I can use this pipeline for subsequent operations (such as rtmp streaming). I've written the correct command, but I don't know how to accomplish this with Python.


I wrote the following code in the Shell, it can run correctly.


ffmpeg -re -i '2023-02-16_21:02:50.mp4' -f mpegts -c:v copy -c:a aac -vbsf h264_mp4toannexb pipe:1.ts | cat >> push



When I'm trying to do the above in Python, I'm getting an error.


cat: '>>': No such file or directory



Here is my python code.


command = [
 'docker',
 'run',
 '-v',
 f'{cwd}:{cwd}',
 '-w',
 f'{cwd}',
 'jrottenberg/ffmpeg',
 '-re',
 '-i', f'{video_path}',
 '-f', 'mpegts',
 '-c:v', 'copy',
 '-c:a', 'aac',
 '-vbsf', 'h264_mp4toannexb',
 'pipe:1.ts',
]

pa = subprocess.Popen(
 command,
 stdout = subprocess.PIPE,
 stderr = error_file
)

command = [
 'cat',
 '>>',
 f'{pipe_name}'
]

with pa.stdout:
 pb = subprocess.Popen(
 command,
 stdin = pa.stdout,
 stdout = error_file,
 stderr = error_file
 )