Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (15)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

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

Sur d’autres sites (4007)

  • PHP passthru with proper child process closing

    6 juin 2022, par Bluchip Studio

    I am currently using the code below to try and restream a hls live stream via php the reason for this is php is all i have access to on the system i am using i can not use or install anything else and i like to watch my home tv in my current location my hls streams come direct from my own tbs octo encoder at my home so i know thats all good.

    


    my issue is that the stream randomly stops after around 30-50 seconds of playing it can be restarted no problem so i know the reading of the stream is not the issue.

    


    also when i disconnect and stop watching the stream the ffmpeg / streamlink processes do not stop and stay running in the back ground this has led to me getting some rather frustrating emails from the owner of the system i am using

    


    does anyone know if this is the best way to handel this task and how to possibly close the child processes created by passthru ?

    


    PS : I know all caps is not the correct way to code in production but as this is my personal code and it does not effect the way in witch the code is run it makes it so much easier for me to read being dyslexic !

    


    <?php

ini_set('output_buffering', '0');
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

set_time_limit(0);
ob_implicit_flush();

include './core/functions.php';

$PROCESS_URL = 'HTTP STREM URL GOES HERE';
    
$ENCODING_TYPE = 'mpegts';
    
$ENCODING_SETTINGS = 'streamlink '. $PROCESS_URL . ' best -O | '. FFMPEG .
    ' -threads 0' .
    ' -re' .
    ' -probesize 9000000'.
    ' -analyzeduration 9000000'.
    ' -i pipe:0' .
    ' -c:v copy -c:a copy' .
    ' -tune zerolatency' .
    ' -preset ultrafast' .
    ' -fflags +genpts' .
    ' -mpegts_flags initial_discontinuity' .
    ' -f ' . $ENCODING_TYPE . 
    ' pipe:1 2>' . LOG_DIRECTORY . '/' . MD5($PROCESS_URL) . '_ffmpeg.txt';

header('Content-type: application/octet-stream');
header('X-Accel-Buffering: no');

@passthru($ENCODING_SETTINGS);

?>


    


  • Record Desktop Audio, Microphone Audio, and Desktop Video with FFMPEg [closed]

    16 juillet 2022, par Mypantsrtooobig

    I have a personal project where I am trying to use FFmpeg as a custom screen recorder on my computer.

    


    I managed to make a command that records my microphone audio and desktop video and a different one to record my desktop video and audio but not one that does all three.

    


    ffmpeg -f gdigrab -video_size 1360x768  -i desktop -f dshow -i audio="virtual-audio-capturer" -i audio="Microphone (Logitech G432 Gaming Headset)"  D:\Untitled\attempt.mkv


    


    If my idea is not possible can I make a command that can record all three at the same time and merge them into one .mp4 file ?
this is the command that I would think to work but it does not.
I would appreciate any help, thank you.

    


  • Random Weird HLS generation with ffmpeg

    16 août 2022, par user15006279

    I am doing some live streaming setup for my personal project and I noticed that sometime ffmpeg will not generate any hls auto it was running. I copied the same command and run in shell and it was generating HLS files successfully but somehow it was not generating with nginx.

    


    Enter image description here

    


    1

    


    The more weird thing is that if i restart nginx for like a couple of times, it will regenerate. I am only playing youtube video from browser somehow ffmpeg process is not generating hls. Even after a couple of restarts, it will generate sometimes but its random. Mostly not generating at all. Can you guys help me with it ?

    


    image

    


    2