Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (75)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une 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, par

    Multilang 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, par

    Par 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 (6348)

  • ffmpeg neighbor resize giving distortion when resizing video game footage. 2x2 pixels converted to 3x3 don't hold their color and are pixelated

    12 avril 2020, par PixelFrustated

    Here is my ffmpeg code :

    



    ffmpeg -i C :\FFMPEG\bin\input.mp4 -vf "scale=-2:1080" -sws_flags neighbor -c:v libx264 -crf 0 -preset Slow -c:a copy -b:a 320k C :\FFMPEG\bin\VIDEO2_1080p.mp4

    



    I'm converting a 720p video to 1080p. The game is 2x2 pixels and when I do the conversion they should be flat 3x3 pixels but instead they come out with slight miscolors on the insides between the pixels and their color is slightly off.

    



    Can anyone help me figure out why this warped ?

    



    Pixels on the left are 2x2 and are converted to the pixels on the right.

    



    Instead of 2x2 expanding out to a 3x3 it takes a weird blend going vertical but the horizontal pixels are just fine.

    


  • How can I start ffmpeg while playing a full screen game ?

    11 janvier 2021, par Muhamed Shair benshair

    This is a class of the ffmpeg :

    


    using System;  
using System.Collections.Generic;  
using System.Linq;  
using System.Text;  
using System.Threading.Tasks;  
using System.IO;  
using System.Diagnostics;  
  
namespace Ffmpeg_App  
{  
    class Ffmpeg  
    {  
        Process process;  
  
        public void Start(string FileName, int Framerate)  
        {  
            process = new System.Diagnostics.Process();  
            process.StartInfo.FileName = @"D:\ffmpegx86\ffmpeg.exe"; // Change the directory where ffmpeg.exe is.  
            process.EnableRaisingEvents = false;  
            process.StartInfo.WorkingDirectory = @"D:\ffmpegx86"; // The output directory  
            process.StartInfo.Arguments = @"-f gdigrab -framerate " + Framerate + " -i desktop -preset ultrafast -                                                                     pix_fmt yuv420p " + FileName;  
            process.Start();  
            process.StartInfo.UseShellExecute = false;  
            process.StartInfo.CreateNoWindow = false;  
            Close();  
        }  
  
        public void Close()  
        {  
            process.Close();  
        }  
    }  
}  


    


    And in form1 :

    


    At the top :

    


    Ffmpeg fmpeg = new Ffmpeg();


    


    In a button click event :
To start :

    


    private void Start_Click(object sender, EventArgs e)  
        {  
            fmpeg.Start("test.mp4", 24);  
        }


    


    and to stop :

    


    private void Stop_Click(object sender, EventArgs e)  
        {  
            fmpeg.Close();  
        }


    


    The problem is when I'm in full screen game I don't have access to the form and the buttons they are hidden in the background.

    


    I need to make some global keys hook maybe ?

    


  • avformat : add Digital Pictures SGA game demuxer

    21 février 2021, par Paul B Mahol
    avformat : add Digital Pictures SGA game demuxer
    
    • [DH] Changelog
    • [DH] libavformat/Makefile
    • [DH] libavformat/allformats.c
    • [DH] libavformat/sga.c
    • [DH] libavformat/version.h