
Recherche avancée
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)
Sur d’autres sites (11091)
-
How can I fix 'Missing system type and architecture' error when downloading FFmpeg library in Maui.net ?
2 juin 2023, par Alhusseen AlfalahyMissing system type and architecture when Xabe.FFmpeg.Downloader.FFmpegDownloader.GetLatestVersion in Maui.net


I was trying to run the FFmpeg library download code and I always get this error


Missing system type and architecture


Steps to replicate the problem


Create a new Maui project


Install NuGet Xabe.FFmpeg.Downloader


This is the homepage code


namespace MauiApp1;

public partial class MainPage : ContentPage
{
 // A button to download FFmpeg
 private Button Button;

 public MainPage()
 {
 Button = new() { Text = "Download FFmpeg" };

 Button.Clicked += Button_Clicked;

 Content = new StackLayout()
 {
 Children =
 {
 Button
 }
 };
 }

 private async void Button_Clicked(object sender, EventArgs e)
 {
 try
 {
 var status = await Permissions.CheckStatusAsync();
 if (status != PermissionStatus.Granted)
 {
 status = await Permissions.RequestAsync();
 }

 status = await Permissions.CheckStatusAsync();
 if (status != PermissionStatus.Granted)
 {
 status = await Permissions.RequestAsync();
 }

 if (status == PermissionStatus.Granted)
 {

 await Xabe.FFmpeg.Downloader.FFmpegDownloader.GetLatestVersion(Xabe.FFmpeg.Downloader.FFmpegVersion.Official);
 //await Xabe.FFmpeg.Downloader.FFmpegDownloader.GetLatestVersion(Xabe.FFmpeg.Downloader.FFmpegVersion.Android);
 //await Xabe.FFmpeg.Downloader.FFmpegDownloader.GetLatestVersion(Xabe.FFmpeg.Downloader.FFmpegVersion.Official, Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "FFmpeg"));
 //await Xabe.FFmpeg.Downloader.FFmpegDownloader.GetLatestVersion(Xabe.FFmpeg.Downloader.FFmpegVersion.Android, Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "FFmpeg"));


 await DisplayAlert("Install", "Install completed successfully", "OK");
 }
 }
 catch (Exception ex)
 {
 // Show an alert message with exception message 
 await DisplayAlert("Install Failed", $"An error occurred: {ex.Message}", "OK");
 }
 }
}



These are file access permissions on Android



 
 



-
vaapi_encode_h265 : Ensure that ref pics are always in the RPS
25 janvier 2019, par Mark Thompsonvaapi_encode_h265 : Ensure that ref pics are always in the RPS
When making a new P-frame when B-frames are present the previous P-frame
is normally in the DPB because it will be referred to by subsequent
B-frames. However, this is not true if there are no B-frames, or in edge
cases where a GOP ends with two P-frames. Fix this by adding the direct
ref pics to the RPS explicitly.Fixes #7699.
Tested-by : Ullysses A Eoff <ullysses.a.eoff@intel.com>
-
How to draw - dynamic - "safe areas" in ffplay
16 juin 2023, par F.O.R.A.R.T.we need to preview videos with overlayed so-called "safe areas" according to this EBU document : SAFE AREAS FOR 16:9 TELEVISION PRODUCTION.


Here's the scheme for 1080p resolution :
1080p Safe Areas


Those consist of three different "zones", each with the same percentage size-to-the-edge of the video frame for any resolution :


- 

- Action Safe Area (GREEN box) : 3.5%
- Graphics Safe Area (RED box) : 5%
- 4:3 Safe Area (GREY box) : 16.25%








It should be easily achieveable using the drawbox command, but how can be dynamically adapted to any video resolution ?