Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (39)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (6215)

  • Restore the previous system path variable (windows)

    17 septembre 2022, par NaRas

    a question regarding messing with Windows Path variable.
My situation is quite specific :

    


      

    • I was trying to install ffmpeg according to this tutorial https://www.geeksforgeeks.org/how-to-install-ffmpeg-on-windows/
    • 


    • The last step was setting the path variable setx /m PATH "C:\ffmpeg\bin;%PATH%"
    • 


    • It worked, however afterwards I noticed that if I try to call python from the command prompt or the powershell if run as administrator, I started getting 'chcp' is not recognized as an internal or external command, (although works fine if run as user), indicating that something is wrong with PATH variables.
    • 


    • I looked into my variables and saw this edit.
    • 


    


    Path

    


    It seems to me that the command added the ffmpeg line to the system path and possibly overwritten the original, which is why there are issues when using command prompt as administrator. It probably should have added it to the user Path (not system Path variable)

    


    If that is the case, is there a way to restore the previous system Path variable. Maybe I can paste it from the user Path variable ?

    


  • Using DirectX from subprocess executed by windows service

    26 mai 2019, par Igor Gorelik

    I need to execute ffmpeg process from windows service and capture it’s standard output. It works fine until I use hardware acceleration. Because accessing DirectX from windows service is restricted, the subprocess also fails to access it.

    When I’m executing the same code from console application, everything works OK, but the same code executed from windows service fails to use hardware acceleration.

           string ffmpegArgs = /*-hwaccel dxva2 */"-threads 0 -probesize 100512 -i c:/Temp/test.mp4 -vf yadif -vcodec libx264 -preset ultrafast -tune zerolatency -profile baseline -x264-params keyint=20:min-keyint=20:scenecut=-1 -acodec aac -b:a 48k -flags +cgop -f mp4 -movflags empty_moov+default_base_moof+frag_keyframe c:/temp/output.avi";

           var psi = new ProcessStartInfo
           {
               FileName = "c:/Temp/ffmpeg4/ffmpeg.exe",
               Arguments = ffmpegArgs,
               WorkingDirectory = "c:/Temp/ffmpeg4",
               CreateNoWindow = false,
               WindowStyle = ProcessWindowStyle.Hidden,
               RedirectStandardInput = false,
               RedirectStandardOutput = true,
               RedirectStandardError = true,
               UseShellExecute = false
           };

           var processVideo = new Process { StartInfo = psi }.Start();

    I need somehow break the inherited restrictions to be able to execute ffmpeg with hardware acceleration (access DirectX API). Any suggestions ?

  • linphone on windows building error

    21 novembre 2013, par chhameed

    i have downloaded the linphone for Android from Github.
    i have also followed all the instructions in readme file. the problem is that when i run ndk-build command it produce below error .

    Android NDK: ERROR:jni/..//submodules/externals/build/ffmpeg/Android.mk:avutil-linphone: LOCAL_SRC_FILES points to a missing file
    Android NDK: Check that jni/..//submodules/externals/build/ffmpeg/arm/libavutil/libavutil-linphone-arm.so exists  or that its path is correct
    /cygdrive/c/development/android-ndk-r9b/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.

    what this error mean ? & how can i resolve this? i already spent many hours to searchout this error but no success...
    my OS is window 7 & i used cygwin for commands.

    i have found same question on SO
    Android NDK error when using FFmpeg in Android ?

    it says Basically problem was with ffmpeg lib.I was not able to compile ffmpeg lib on Windows 7. I switched to Ubuntu & tried AppUnite & after spending so many hours it was working.

    is it not possible to build linphone on windows ???