Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (90)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (9900)

  • please critize my YouTube-DL & FFMPEG scripts

    18 février 2020, par QX7337

    my goals are to

    1. download the best video and the best audio that YouTube has

    2. save the video with audio as VP9 & MKV

    3. save the audio as OGG and also as FLAC

    currently i cannot save the audio as OGG, only as FLAC. only after I have FLAC, i run another script to make a copy from the FLAC into OGG

    please help me improve my script so that i can have both FLAC & OGG in one run, automatically

    thank you

    here is my script

    --format "(bestvideo[vcodec^=av01][height>=1080][fps>30]/bestvideo[vcodec=vp9.2][height>=1080][fps>30]/bestvideo[vcodec=vp9][height>=1080][fps>30]/bestvideo[vcodec^=av01][height>=1080]/bestvideo[vcodec=vp9.2][height>=1080]/bestvideo[vcodec=vp9][height>=1080]/bestvideo[height>=1080]/bestvideo[vcodec^=av01][height>=720][fps>30]/bestvideo[vcodec=vp9.2][height>=720][fps>30]/bestvideo[vcodec=vp9][height>=720][fps>30]/bestvideo[vcodec^=av01][height>=720]/bestvideo[vcodec=vp9.2][height>=720]/bestvideo[vcodec=vp9][height>=720]/bestvideo[height>=720]/bestvideo)+(bestaudio[acodec=opus]/bestaudio)/best" --keep-video
    --prefer-ffmpeg
    --merge-output-format mkv
    --extract-audio --audio-format flac
  • FFMPEG gets in never ending condition while live streaming on YouTube

    17 avril 2019, par Nayan Katkani

    I have been working in AS3 to stream 1080P video on YouTube and video gets start uploading and almost 4-5 minutes of the video has been uploaded successfully and afterwards YouTube shows that stream has been ended, but FFMPEG will never hits on "Exit" or any other method even after waiting for next 10 minutes.

    Below is the method I am using.

    public var _nativeProcessStartupInfo:NativeProcessStartupInfo;
    public var _processArgs:Vector.<string>;
    public var _process:NativeProcess;
    protected function StartVideo_clickHandler(event:MouseEvent):void
    {
       _nativeProcessStartupInfo.executable = File.applicationStorageDirectory.resolvePath("ffmpeg.exe Path");
       _processArgs.push('-re');
       _processArgs.push('-i');
       _processArgs.push(VideoPath);
       _processArgs.push('-vcodec');
       _processArgs.push('copy');
       _processArgs.push('-acodec');
       _processArgs.push('copy');
       _processArgs.push('-maxrate');
       _processArgs.push('4500k');
       _processArgs.push('-bufsize');
       _processArgs.push('9000k');
       _processArgs.push('-pix_fmt');
       _processArgs.push('yuv422p');
       _processArgs.push('-preset');
       _processArgs.push('fast');
       _processArgs.push('-ac');
       _processArgs.push('2');
       _processArgs.push('-r');
       _processArgs.push('30');                            
       _processArgs.push('-g');
       _processArgs.push('60');                            
       _processArgs.push('-ar');
       _processArgs.push('44100');
       _processArgs.push('-f');
       _processArgs.push('flv');                  
       _processArgs.push(streamurl+'/'+streamname);
       _nativeProcessStartupInfo.arguments = _processArgs;
       _process = new NativeProcess();
       _process.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA, onOutputData);
       _process.addEventListener(ProgressEvent.STANDARD_ERROR_DATA, progress);
       _process.addEventListener(NativeProcessExitEvent.EXIT, onExit);
       _process.addEventListener(IOErrorEvent.STANDARD_OUTPUT_IO_ERROR, onIOErrorNativeProcess);
       _process.addEventListener(IOErrorEvent.STANDARD_ERROR_IO_ERROR, onIOErrorNativeProcess);
       _process.start(_nativeProcessStartupInfo);
    }
    public function onIOErrorNativeProcess(event:IOErrorEvent):void
    {
       trace(event.toString());
    }
    public function onOutputData(event:ProgressEvent):void
    {
       trace("Got: ", _process.standardOutput.readUTFBytes(_process.standardOutput.bytesAvailable));
    }
    public function progress(e:ProgressEvent):void
    {
       trace(e);
    }
    public function onExit(e:NativeProcessExitEvent):void
    {
       trace(e);
    }
    </string>

    I have tried with 720P video too by changing bit rate from 4500k to 2500k which is as per YouTube and it is working fine but with 1080P something not went as per expectation.

    Here are the video details :
    Resolution : 1920*1080
    Data Rate : 3220kbps
    FrameRate : 20
    Video Description

    Thanks in advance

  • FFmpeg streaming to youtube very slowly

    3 avril 2022, par codingmaster398

    Input :

    &#xA;

    const runCommand = require(&#x27;./runCommand&#x27;)&#xA;&#xA;runCommand(&#xA;    &#x27;ffmpeg&#x27;,&#xA;    `-threads:v 2 -threads:a 8 -filter_threads 2 -thread_queue_size 512 \&#xA;-loop 1 -i ./place.png \&#xA;-stream_loop -1 \&#xA;-i ./track.mp3 \&#xA;-pix_fmt yuv420p -c:v libx264 -qp:v 19 -profile:v high -rc:v cbr_ld_hq -level:v 4.2 -r:v 60 -g:v 120 -bf:v 3 -refs:v 16 -preset fast -f flv rtmp://a.rtmp.youtube.com/live2/${process.env.streamkey}`,&#xA;    (data) => console.log(data),&#xA;    () => console.log(&#x27;finished&#x27;)&#xA;  )&#xA;

    &#xA;

    Output :

    &#xA;

    x    &#xA;frame=  588 fps=8.7 q=21.0 size=    9000kB time=00:00:22.76 bitrate=3238.2kbits/s speed=0.339x    &#xA;frame=  590 fps=8.7 q=19.0 size=    9001kB time=00:00:22.83 bitrate=3229.4kbits/s speed=0.336x    &#xA;frame=  597 fps=8.7 q=21.0 size=    9007kB time=00:00:23.11 bitrate=3191.5kbits/s speed=0.337x    &#xA;frame=  603 fps=8.7 q=20.0 size=    9012kB time=00:00:23.36 bitrate=3159.3kbits/s speed=0.338x    &#xA;frame=  608 fps=8.7 q=21.0 size=    9016kB time=00:00:23.56 bitrate=3133.9kbits/s speed=0.339x    &#xA;frame=  614 fps=8.8 q=19.0 size=    9021kB time=00:00:23.80 bitrate=3104.9kbits/s speed=0.339x    &#xA;frame=  617 fps=8.7 q=21.0 size=   10702kB time=00:00:23.92 bitrate=3663.8kbits/s speed=0.337x    &#xA;frame=  623 fps=8.7 q=20.0 size=   10735kB time=00:00:24.16 bitrate=3638.9kbits/s speed=0.338x    &#xA;frame=  629 fps=8.7 q=21.0 size=   10740kB time=00:00:24.40 bitrate=3605.8kbits/s speed=0.338x    &#xA;frame=  635 fps=8.7 q=20.0 size=   10745kB time=00:00:24.63 bitrate=3573.1kbits/s speed=0.339x    &#xA;frame=  643 fps=8.8 q=20.0 size=   10751kB time=00:00:24.96 bitrate=3527.4kbits/s speed=0.341x    &#xA;frame=  646 fps=8.8 q=19.0 size=   10754kB time=00:00:25.08 bitrate=3512.1kbits/s speed=0.341x    &#xA;frame=  651 fps=8.8 q=20.0 size=   10758kB time=00:00:25.28 bitrate=3485.6kbits/s speed=0.341x    &#xA;frame=  656 fps=8.8 q=21.0 size=   10762kB time=00:00:25.48 bitrate=3459.6kbits/s speed=0.341x    &#xA;frame=  658 fps=8.7 q=19.0 size=   10764kB time=00:00:25.56 bitrate=3448.7kbits/s speed=0.338x    &#xA;frame=  664 fps=8.7 q=21.0 size=   10769kB time=00:00:25.81 bitrate=3417.9kbits/s speed=0.338x&#xA;

    &#xA;

    Why is my FPS so low when streaming to Youtube ?

    &#xA;

    P.S. The process is using very low memory and CPU, can I sacrifice a bit more for it ?&#xA;enter image description here

    &#xA;