Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (58)

  • 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 extensions, plugins SPIP des canaux

    11 février 2010, par

    Un plugin est un ajout fonctionnel au noyau principal de SPIP. MediaSPIP consiste en un choix délibéré de plugins existant ou pas auparavant dans la communauté SPIP, qui ont pour certains nécessité soit leur création de A à Z, soit des ajouts de fonctionnalités.
    Les extensions que MediaSPIP nécessite pour fonctionner
    Depuis la version 2.1.0, SPIP permet d’ajouter des plugins dans le répertoire extensions/.
    Les "extensions" ne sont ni plus ni moins que des plugins dont la particularité est qu’ils se (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (6959)

  • NodeMediaServer MP4 change default video resolution 540p

    11 août 2021, par Farooq Zaman

    I have setup a nginx RTMP server and the purpose is to store videos streamed from mobile devices in MP4 format for later analysis. Although mobile devices are streaming videos in 720p resolution NodeMediaServer always store video in 540p resolution. How can I change this behaviour ? Following is NodeMediaServer configuration :

    


    const nodeMediaServerConfig = {
  rtmp: {
    port: 1936,
    chunk_size: 60000,
    gop_cache: true,
    ping: 60,
    ping_timeout: 10,
  },
  http: {
    port: 8000,
    mediaroot: './media',
    allow_origin: '*',
  },
  trans: {
    ffmpeg: '/usr/bin/ffmpeg',
    tasks: [
      {
        app: 'live',
        vcParam: [
          "-c:v",
          "libx264",
          "-vf",
          "scale=720:-1",
          "-b:v",
          "2800k",
          "-bufsize",
          "4200k",
          "-preset",
          "fast",
        ],
        ac: 'aac',
        acParam:["-b:a", "128k", "-ar", 48000],
        mp4: true,
        mp4Flags: '[movflags=faststart]',
      },
    ],
  },
};


    


    Any help in this matter is highly appreciated.

    


  • how to change the resolution FFMPEG live streaming to youtube

    15 juillet 2021, par StudyFromHome

    i use this code to live stream using my VPS in ffmpeg

    


    
#! /bin/bash
#


VBR="2500k"                                   
FPS="60"                                       
QUAL="ultrafast"                                  
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"  

SOURCE="/home/rsa-key/2222.mp4"             
KEY="ddf-khyf-dres-ek42-8sss"                                     

ffmpeg \
    -stream_loop -1 -i "$SOURCE" -deinterlace \
    -vcodec libx264 -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \
    -acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 512k \
    -f flv "$YOUTUBE_URL/$KEY"  



    


    how i change the resolution limit like 480p

    


  • Size of the file even larger after resizing to lower resolution

    8 juillet 2021, par Dejan Ćosić

    I am trying to resize mp4 file with resolution 3840x2160 and 25fps (670MB) to lower resolution 1920x1080.
After this command : ffmpeg -i dfgdfg.mp4 -filter:v scale=1920 :-1 -c:a copy -crf 18 dfgdfg.mp4 2>&1 I have even bigger file : 1.24GB.
To make things even more weird, if I trim small part of this video (28mb) and apply same command, I get, we can say, properly resized video (17mb).
Anyone have idea what's going on here and why resizing on smaller file works better then on large file ?
Just to mention that original video was made using drone and it has 3.91GB and I've resized it to 670MB using some 3rd party software so it's probably that 670MB video is already compressed.