Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (111)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (7884)

  • lavu/riscv : add optimisations

    12 septembre 2022, par Rémi Denis-Courmont
    lavu/riscv : add <intmath.h> optimisations
    

    This provides some micro-optimisations for signed integer clipping, and
    support for bit weight with the Zbb extension.

    • [DH] libavutil/intmath.h
    • [DH] libavutil/riscv/intmath.h
  • How to extract fully synced audio with ffmpeg ?

    2 janvier 2023, par Brendan Hill

    I have an MP4 file with video and audio. I need to extract the audio stream only to an MP3 file.

    &#xA;

    However it is critical for our application that the timing / synchronization of the audio file is exactly aligned with the original video, as we cross-correlate audio features based on timing.

    &#xA;

    I currently use this command :

    &#xA;

    ffmpeg -y &#xA;   -v error &#xA;   -map 0:a ./the-output-file-mp3&#xA;   -map 0:v ~/a-dummy-video-output-file.mp4&#xA;   -i ~/the-input-file.mp4&#xA;   -acodec copy &#xA;  &#xA;

    &#xA;

    as I read somewhere that mapping both 0:a and 0:v would guarantee alignment & synchronization. I then discard the video file as it is not needed.

    &#xA;

    However it is orders of magnitude faster to just extract the audio instead :

    &#xA;

    ffmpeg -y &#xA;   -v error &#xA;   -map 0:a ./the-output-file-mp3&#xA;   -i ~/the-input-file.mp4&#xA;   -acodec copy &#xA;

    &#xA;

    But I don't know if this guarantees alignment, because I read on this page that :

    &#xA;

    If you only extract audio from a video stream, the length of the audio may be shorter than the length of the video. To make sure this doesn't happen, extract both audio AND video with the same call to ffmpeg, e.g. "ffmpeg -i vid.avi -map 0:a audio.wav -map 0:v onlyvideo.avi

    &#xA;

    However perhaps I am putting too much weight on that comment. I don't care if the audio clip finishes early, but it is critical that it does not start late, or get de-synced from the original video at any point.

    &#xA;

    What is the most efficient way with ffmpeg to extract the audio stream with a guarantee that it is 100% aligned in time to the video (and starts at exactly the same time) ?

    &#xA;

    Will this method guarantee alignment ?

    &#xA;

    ffmpeg -y &#xA;   -v error &#xA;   -i ~/the-input-file.mp4&#xA;   -vn&#xA;   -acodec copy &#xA;   ~/the-output-file.mp4&#xA;   &#xA;

    &#xA;

  • What would be the correct way to use Exec or Transcode ffmpeg in SRS version of Windows 5.0.128

    29 janvier 2023, par diegosn79

    i was doing tests in different ways, and i can't use the Exec or Transcode option, i highlight that I have copied the ffmpeg.exe in the objs folder.&#xA;These are the codes I tried, and I attach the log errors.

    &#xA;

    exec {&#xA;&#xA;enabled on;&#xA;&#xA;publish ./objs/ffmpeg.exe -rtbufsize 10M -i rtmp://10.1.9.240/live/encoder  -vf scale=1080:720 -c:v libx264 -profile:v high -level 4.2 -preset fast -b:v 1500k -c:a aac -ac 2 -b:a 96k -f flv -y rtmp://10.1.9.240:1935/live/encoderlow/;&#xA;&#xA;}&#xA;

    &#xA;

    LOGS

    &#xA;

    [2023-01-04 10:05:46.410][WARN][1309][01568ctu][11] EXEC : Ignore error, code=3028(FFmpegFork)(Failed to fork FFmpeg trancoder process) :&#xA;process start : vfork process failed, cli=./objs/ffmpeg.exe -rtbufsize 10M -i rtmp ://10.1.9.240/live/encoder -vf scale=1080:720 -c:v libx264 -profile:v high -level 4.2 -preset fast -b:v 1500k -c:a aac -ac 2 -b:a 96k -f flv -y rtmp ://10.1.9.240:1935/live/encoderlow/&#xA;thread [1309][01568ctu] : do_cycle() [./src/app/srs_app_ng_exec.cpp:108][errno=11]&#xA;thread [1309][01568ctu] : start() [./src/app/srs_app_process.cpp:197][errno=11]

    &#xA;

    transcode

    &#xA;

        enabled     on;&#xA;&#xA;    ffmpeg      ./objs/ffmpeg.exe;&#xA;&#xA;    engine ff {&#xA;&#xA;        enabled         on;&#xA;&#xA;        vfilter {&#xA;&#xA;        }&#xA;&#xA;        vcodec          libx264;&#xA;&#xA;        vthreads        4;&#xA;&#xA;        vprofile        high;&#xA;&#xA;        vpreset         fast;&#xA;&#xA;        vbitrate        1500k;&#xA;&#xA;        vparams {&#xA;&#xA;        }&#xA;&#xA;        acodec          libfdk_aac;&#xA;&#xA;        aparams {&#xA;&#xA;        }&#xA;&#xA;        output          rtmp://127.0.0.1:[port]/[app]/[stream]_[engine]?vhost=[vhost];&#xA;&#xA;    }&#xA;&#xA;}&#xA;

    &#xA;

    LOGS

    &#xA;

    [2023-01-04 11:04:45.295][WARN][1489][34r32764][11] Encoder : Ignore error, code=3028(FFmpegFork)(Failed to fork FFmpeg trancoder process) : ffmpeg start : vfork process failed, cli=./objs/ffmpeg.exe -f flv -i rtmp ://127.0.0.1:1935/live ?vhost=defaultVhost/encoder -vcodec libx264 -b:v 1500000 -threads 4 -profile:v high -preset fast -acodec libfdk_aac -f flv -y rtmp ://127.0.0.1:1935/live/encoder_ff ?vhost=defaultVhost 1 > ./objs/ffmpeg-encoder-defaultVhost-live-encoder-ff.log 2 > ./objs/ffmpeg-encoder-defaultVhost-live-encoder-ff.log&#xA;thread [1489][34r32764] : do_cycle() [./src/app/srs_app_encoder.cpp:117][errno=11]&#xA;thread [1489][34r32764] : start() [./src/app/srs_app_process.cpp:197][errno=11]

    &#xA;