Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (60)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • 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 (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin 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 (...)

Sur d’autres sites (6854)

  • Use popen with a relative or absolute path on Windows in C

    9 juillet 2017, par Tiwenty

    I’m trying to a GUI wrapper for FFmpeg. I decided to build my program around the binary instead of the libraries. I want to call ffmpeg.exe in parallel to my program and get the console output instantly to parse it and show to the user a progress bar or something.

    So I found popen which sends me the output when it comes so I can do what I want with it. But there are some problems with paths in popen on Windows.

    When I try ffmpeg.exe -i TEST.mkv TEST.mp4 (when I’m in the folder of both ffmpeg.exe and my source file either from start or a chdir) it works well and I get what I want.

    But when I do

    bin/ffmpeg.exe -i TEST.mkv TEST.mp4

    (with the executable obviously being in the bin folder) it doesn’t find the command bin :

    'bin' is not recognized as an internal or external command, operable program or batch file.

    It also doesn’t work with quotation marks around the path :

    "bin/ffmpeg.exe" -i TEST.mkv TEST.mp4

    But it does work with an absolute path and quotation marks :

    "C:/PATH/TO/USER/FFmpeg GUI/bin/ffmpeg.exe" -i jellyfish.mkv jellyfish.mp4.

    But it gets funnier.

    If I use relative paths for the source and output, it works.

    "C:/Users/tibtw_000/Raccourci/Code/FFmpeg GUI/bin/ffmpeg.exe" -i videos/jellyfish.mkv videos/jellyfish.mp4

    But if I want to put an absolute path to my source or output files, it now doesn’t work.

    "C:/PATH/TO/USER/FFmpeg GUI/bin/ffmpeg.exe" -i "C:/PATH/TO/USER/FFmpeg GUI/videos/jellyfish.mkv"

    and now returns

    'C:/PATH/TO/USER/FFmpeg' is not recognized as an internal or external command, operable program or batch file.

    Now I’m starting to wonder if the space in my path is at fault. And it was. When I use

    C:/PATH/TO/USER/FFmpegGUI/bin/ffmpeg.exe -i C:/PATH/TO/USER/FFmpegGUI/videos/jellyfish.mkv C:/PATH/TO/USER/FFmpegGUI/videos/jellyfish.mp4 in popen everything works perfectly.

    So what should I do ? Do I force the user to not put his files in paths with spaces ? Is there a special character that I can put instead of a normal space in the path to make popen understand what I want it to do ?

  • Flutter | Retrieve ffprobe data

    23 juin 2021, par YourLogarithm

    I'm using flutter_ffmpeg package, specifically I'm trying to retrieve information regarding the chapter marks from a .m4b file which is an audiobook. By using this method :

    


    _flutterFFmpeg.executeWithArguments(['-i', widget.book.path, '-print_format', 'json', '-show_chapters', '-loglevel', 'error']);


    


    I was able to output this data as a JSON map in the console. The thing is, I need to use this data inside my application, is there a way to get access to those chapters as a variable using another approach, or maybe to access this data directly from the console log printed by the method shown earlier.

    


  • avcodec/png : Clearly separate encoding header and frames

    31 mars 2015, par Donny Yang
    avcodec/png : Clearly separate encoding header and frames
    

    Signed-off-by : Donny Yang <work@kota.moe>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/pngenc.c