Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (40)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (5679)

  • ffmpeg libswresample channel mapping

    21 mars 2024, par Joseph Katrinka

    Im currently working on some c++ that uses ffmpeg to take audio from a stereo file and make a mono audio file using only the sample from one channel.
I havent been able to find and examples of people using the swr_set_channel_mapping call online, so Im wondering if anyone knows of the correct usage.
Right now Im doing something like this

    


    swr_alloc_set_opts2(&swrCtx, &out_channel_layout, AV_SAMPLE_FMT_S16, codecCtx->sample_rate, &codecCtx->ch_layout, codecCtx->sample_fmt, codecCtx->sample_rate, 0, NULL);

int* channel_mapping = (int*)av_mallocz(2 * sizeof(int));
if (useLeft)
{
channel_mapping[0] = AV_CH_FRONT_LEFT;
}
else
{
channel_mapping[0] = AV_CH_FRONT_RIGHT;
}   
swr_set_channel_mapping(swrCtx, channel_mapping);

if (swr_init(swrCtx) < 0)
    {
        DBG("failed to init resampler");
        ffmpegCleanup();
        return false;
    }



    


    Is this the correct way to do this ? Its been giving me some problems and Im worried I could be doing something wrong.
Thanks.

    


    Ive tried different ways of defining channel_mapping with no success. Im not sure what the correct way is and an example would be pretty useful.

    


  • How to install ffmpeg and an app together on a Mac ?

    31 décembre 2020, par Patrick

    I have an electron app built and packaged for macOS in a .app file. The app requires ffmpeg to be installed on the end-user's computer to be used.

    



    Currently, I've had to manually install ffmpeg on each end-user's computer to run the app.

    



    I want to distribute the app online with an easy installer for both ffmpeg and the app. I've seen .dmg files which allows you to drag the .app into the applications folder easily, but the ffmpeg dependency is still absent in the installation process.

    



    How can I install ffmpeg and the app together on a mac ?

    



    Perhaps including the ffmpeg build in the .app content is a solution as well.
This may not be possible though because a relevant question mentions there are only abstractions of the ffmpeg CLI instead of something that can directly use ffmpeg.

    


  • AttributeError : module 'ffmpeg' has no attribute 'load'

    23 avril 2023, par az-purplepen

    I'm having difficulty with ffmpeg. I've installed it properly (I think) but still get AttributeErrors.

    


    I used the online guide (https://ffmpeg.org/download.html), and doing pip install ffmpeg-python instead of pip install ffmpeg. I've verified the installation with pip show. I've also made sure to not name my files ffmpeg.py.

    


    However, when I try running the following commands in terminal, I get an Attribute Error. Any tips ? I've seen this question pop up before, but none of the tips have worked.

    


    >>> import ffmpeg&#xA;>>> ffmpeg.load(&#x27;cover.wav&#x27;)&#xA;Traceback (most recent call last):&#xA;  File "<stdin>", line 1, in <module>&#xA;AttributeError: module &#x27;ffmpeg&#x27; has no attribute &#x27;load&#xA;</module></stdin>

    &#xA;