
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (101)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...)
Sur d’autres sites (6680)
-
mpeg4videoenc : Remove disabled variant of mpeg4_encode_block().
26 juin 2011, par Diego Biurrunmpeg4videoenc : Remove disabled variant of mpeg4_encode_block().
-
Insta360 RS One Inch damaged file correction from dual 360 to equirectangular not lining up perfectly [closed]
25 juillet 2024, par Barry HouldsworthI replaced my old Theta Z1 with an Insta360 RS One Inch.


The first time using it for an actual job, 6 of the 50 photos I took came back with damaged files. enter image description here


The Insta360 support team have been completely useless.


I have an image but it's sort of a dual fisheye thing.enter image description here


I found ffmpeg and tried to use that to correct...and it's soooo close but not quite there.


Here is the command I used to process the dual fisheye image to equirectangular


ffmpeg -i input.jpg -vf v360=dfisheye:e:pitch=-180:roll=0:yaw=100:ih_fov=193:iv_fov=193 -qscale:v 1 -frames:v 1 output2.jpg


It works great except there is a very noticeable seam where the two images join. It looks like one of the images needs to be nudged up just a bit before the conversion. But...I don't know how to do that.


Note that this is for photos not video.


Any help would be much appreciated.


Thanks !


I tried the command above and was hoping it would convert from a dual fisheye image to an equirectangular image.


It does work but there is a noticable seam where the two images join.


I have tried tweaking the fov values but that did not seem to help.


-
Monitoring for failure and quickly restarting systemd service
16 février 2024, par mzrtI am running a 24/7 youtube stream on Ubuntu. My ffmpeg command is wrapped in a systemd service. On several occasions the ffmpeg command has failed and systemd has not restarted quickly enough to keep the youtube stream alive. When this happens I need to daemon-reload and restart the systemd service.


To counter this I have written a bash script that checks the log for stream ending errors, however, it does not seem to be working. I have had failures since implementing this script, and it did not seem to have been triggered.


two questions :


- 

- is there a more efficient way to do what I am doing ?
- if not, can anyone identify what I am doing wrong ?






#!/bin/bash

RESET=0

while true; do
 # Get the current time minus 1 minute
 LAST_1_MINUTE=$(date -d '1 minute ago' '+%b %e %H:%M:%S')
 
 # Run the command to check for the error within the last minute
 if journalctl --since "$LAST_1_MINUTE" | grep -qi "Error writing trailer"; then
 if [ $RESET -lt 1 ]; then
 # Perform actions if error is detected
 sudo systemctl daemon-reload && \
 echo "Restarting master.service by monitor.sh script at $(date)" >> /var/log/monitor.log && \
 sudo systemctl restart master.service
 RESET=2
 fi
 else
 RESET=$((RESET - 1))
 fi

 # Wait for 20 seconds before the next iteration
 sleep 20
done