
Recherche avancée
Autres articles (86)
-
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 (...) -
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. -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (4389)
-
bash script with conditional arguments and output pipe not working [duplicate]
19 décembre 2022, par PavelCan u please help me with bash script for ffmpeg ?
Trying to create condition based on args to play OR save media to file, so I've created this kind of IF :


#!/bin/bash

if [ "$1" == "play" ]; then
 POSTFIX="-f matroska - | mpv -"
else
 POSTFIX="-y $OUTPUT"
fi

ffmpeg \
 # skipped personal ffmpeg stuff
 "$POSTFIX"



Now when I try to run it with "play" argument it says :


Unrecognized option 'f matroska - | mpv -'.



So if I add this POSTFIX both variants to command everything works fine...


It looks like something in my bash screens this args or something like that ? Also I don't see in error this dash symbol before f option


-
Stream mp4 file with watermark through a web using ffmpeg
24 mars 2023, par Jose A. MataránI'm having problems with ffmpeg, probably due to my inexperience with this software.


My basic need is the following : I have a series of videos with material that I want to protect so that it is not plagiarized. For this I want to add a watermark so that when a user views it, they also see some personal data that prevents them from downloading and sharing it without permission.


What I would like is to create a small Angular + Java application that does this task (invoking ffmpeg via
Runtime#exec
)

I have seen that from ffmpeg I can emit to a server, like ffserver but I wonder if there is a somewhat simpler way. Something like launching the ffmpeg command from my java application with the necessary configuration and having ffmpeg emit the video along with the watermark through some port/protocol.


EDIT


I have continued to investigate and I have seen that ffmpeg allows you to broadcast for WebRTC, but you need an adapter. What I would like and I don't know if it is possible is to launch ffmpeg so that it acts as a server and it can be consumed from the web.


-
sws/rgb2rgb : fix unaligned accesses in R-V V YUYV to I422p
9 novembre 2023, par Rémi Denis-Courmontsws/rgb2rgb : fix unaligned accesses in R-V V YUYV to I422p
In my personal opinion, we should not need to support unaligned YUY2
pixel maps. They should always be aligned to at least 32 bits, and the
current code assumes just 16 bits. However checkasm does test for
unaligned input bitmaps. QEMU accepts it, but real hardware dose not.In this particular case, we can at the same time improve performance and
handle unaligned inputs, so do just that.uyvytoyuv422_c : 104379.0
uyvytoyuv422_c : 104060.0
uyvytoyuv422_rvv_i32 : 25284.0 (before)
uyvytoyuv422_rvv_i32 : 19303.2 (after)