Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (30)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (4556)

  • how to use x264 dll in another project

    5 août 2014, par Hadi Rasekh

    enter code here I want to use x264 in my project. There is some line in the code said :

    /* Application developers planning to link against a shared library version of
    * libx264 from a Microsoft Visual Studio or similar development environment
    * will need to define X264_API_IMPORTS before including this header.
    * This clause does not apply to MinGW, similar development environments, or non
    * Windows platforms. */

    But I don’t get this line :
    define X264_API_IMPORTS before including this header

    We can create x264 dll by its configuration and make

       ./configure --enable-shared
       make

    but I can not use the dll in my Qt Project.

    I can make my own dll (in another code) and use it in the project.
    But when I start to use x264 dll in my project I get the following error :

       C:\DataHiding\SourceCode2\GUI\DataHiding\mainwindow.cpp:10: error:
       'pulldown_frame_duration' was not declared in this scope
       qDebug() << pulldown_frame_duration[1];
                ^
  • ffprobe failing on certain videos

    19 mars 2020, par griswoldbar

    I work on a platform that uses ffprobe as part of a video transcoding pipeline. One of our users is trying and failing to upload video clips extracted from a CCTV system, and it seems the failure is occurring when we parse the clips with ffprobe.

    When I run ffprobe from the command line, I get this :

    $ ffprobe file.avi
    ffprobe version 4.2.2 Copyright (c) 2007-2019 the FFmpeg developers
     built with Apple clang version 11.0.0 (clang-1100.0.33.17)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
     libavutil      56. 31.100 / 56. 31.100
     libavcodec     58. 54.100 / 58. 54.100
     libavformat    58. 29.100 / 58. 29.100
     libavdevice    58.  8.100 / 58.  8.100
     libavfilter     7. 57.100 /  7. 57.100
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  5.100 /  5.  5.100
     libswresample   3.  5.100 /  3.  5.100
     libpostproc    55.  5.100 / 55.  5.100
    [avi @ 0x7fc22280b800] Invalid sample_size -1 at stream 1 setting it to 0
    [avi @ 0x7fc22280b800] Invalid sample_size -1 at stream 2 setting it to 0
    [avi @ 0x7fc22280b800] wav header size < 14 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
    [avi @ 0x7fc22280b800] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
    file.avi: Invalid data found when processing input

    I am however able to parse it with mediainfo, which outputs this :

    $ mediainfo file.avi
    General
    Complete name                            : file.avi
    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 11.3 MiB
    Duration                                 : 5 min 0 s
    Overall bit rate                         : 316 kb/s

    Video
    ID                                       : 0
    Format                                   : MPEG-4 Visual
    Codec ID                                 : MP43
    Codec ID/Info                            : Microsoft MPEG-4 v3 (pre-standard)
    Codec ID/Hint                            : Microsoft
    Duration                                 : 5 min 0 s
    Source duration                          : 5 min 0 s
    Bit rate                                 : 308 kb/s
    Width                                    : 640 pixels
    Height                                   : 480 pixels
    Display aspect ratio                     : 4:3
    Frame rate                               : 16.000 FPS
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.063
    Stream size                              : 11.0 MiB (97%)

    I’m guessing/hoping that there’s a way to make this work by passing appropriate flags to ffprobe - can anyone point me in the right direction ?

  • FFMpegCore .Net cuts off the fist few ( 1.5) seconds of audio

    28 mai 2024, par Tim

    I want to use FFMpegCore to convert some audio files to raw pcm. I noticed that this always cuts off 1.5 seconds of my audio from the start. I check my input stream, saved it to HD all good. If use it from cli with the same arguments everything seem fine. I tried -ss 0, no luck. This behavior is observed with .wav (RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz), same issue with different sample rate. I tested mp3 works fine.

    


    public async Task<memorystream> ConvertToPcmStreamAsync(Stream inputStream)&#xA;{&#xA;    var outputStream = new MemoryStream();&#xA;    &#xA;    var audioInput = new StreamPipeSource(inputStream);&#xA;    var audioOutput = new StreamPipeSink(outputStream);&#xA;&#xA;    await FFMpegArguments&#xA;        .FromPipeInput(audioInput)&#xA;        .OutputToPipe(audioOutput, options => options&#xA;            .WithCustomArgument("-ss 0 -f s16le -acodec pcm_s16le -ac 1"))&#xA;        .ProcessAsynchronously();&#xA;&#xA;    // Reset the position of the memory stream to the beginning&#xA;    outputStream.Position = 0;&#xA;&#xA;    return outputStream;&#xA;}&#xA;</memorystream>

    &#xA;