Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (50)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (5798)

  • Properly open audio files with libav/ffmpeg

    20 novembre 2013, par Hyndrix

    I am trying to decode audio samples from various file formats using ffmpeg. Therefore I have started some experimenting based on the code in this discussion : How to decode audio via FFmpeg in Android . I use the latest FFMPEG release (1.0) and compile it using https://github.com/halfninja/android-ffmpeg-x264

    AVFormatContext * pFormatCtx;

    avcodec_register_all();
    av_register_all();

    int lError;
    if ((lError = avformat_open_input(&pFormatCtx, filename, NULL, 0))
           != 0) {
       LOGE("Error open source file: %d", lError);
       return;
    }
    if ((lError = avformat_find_stream_info(pFormatCtx, 0)) < 0) {
       LOGE("Error find stream information: %d (Streams: %d)", lError, pFormatCtx->nb_streams);
       return;
    }
    LOGE("audio format: %s", pFormatCtx->iformat->name);
    LOGE("audio bitrate: %d", pFormatCtx->bit_rate);
    audioStreamIndex = av_find_best_stream(pFormatCtx, AVMEDIA_TYPE_AUDIO,
           -1, -1, &codec, 0);

    //if (audioStreamIndex < 0 || audioStreamIndex >= pFormatCtx->nb_streams)
    //  audioStreamIndex = 0;

    LOGE("Stream: %d (total: %d)", audioStreamIndex, pFormatCtx->nb_streams);
    LOGE("audio codec: %s", codec->name);

    FFMPEG is compiled using enable-decoder=mp1/mp2/mp3/ogg/vorbis/wav/aac/theora and without any external libraries (e.g. libmp3lame, libtheora, etc.)

    Opening of mp3 and wav files works without problems producing the following output for instance for mp3 :

    audio format : mp3

    audio bitrate : 256121

    stream : 0 (total : 1)

    audio codec : mp3

    But when I try to open an ogg file I get this :

    Error find stream information : -1 (Streams : 1)

    When I manually set audioStreamIndex=0 and comment out the return statement :

    Error find stream information : -1 (Streams : 1)

    audio format : mp3

    audio bitrate : 0

    stream : 0 (total : 1)

    audio codec : mp3

    For m4a (AAC) I get this :

    audio format : mp3

    audio bitrate : 288000

    stream : 0 (total : 1)

    audio codec : mp1

    but later it fails in avcodec_decode_audio3.

    I also tried to manually force a format without success :

    AVInputFormat *pForceFormat= av_find_input_format("ogg");
    if ((lError = avformat_open_input(&pFormatCtx, filename, pForceFormat, 0))
    // continue

    Is there something wrong with the loading code which makes it only work with mp3 and wav and fails for other formats ?

    Regards,

  • curl | tar - gzip : stdin : not in gzip format

    17 avril 2021, par Jonathan Ong

    I'm trying to install ffmpeg on travis with this command :

    



    curl http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz | tar -C /usr/local/bin/ -xvz


    



    I get this error :

    



    $ curl http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz | tar -C /usr/local/bin/ -xvz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time      Current
                                 Dload  Upload   Total   Spent    Left      Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
gzip: stdin: not in gzip format
tar: Child died with signal 13
tar: Error is not recoverable: exiting now
The command "curl http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz | tar -C /usr/local/bin/ -xvz" failed and exited with 2 during .


    



    however, it works locally on OS X. what's going on ?

    


  • curl | tar - gzip : stdin : not in gzip format

    16 avril 2015, par Jonathan Ong

    I’m trying to install ffmpeg on travis with this command :

    curl http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz | tar -C /usr/local/bin/ -xvz

    I get this error :

    $ curl http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz | tar -C /usr/local/bin/ -xvz
     % Total    % Received % Xferd  Average Speed   Time    Time     Time      Current
                                    Dload  Upload   Total   Spent    Left      Speed
     0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    gzip: stdin: not in gzip format
    tar: Child died with signal 13
    tar: Error is not recoverable: exiting now
    The command "curl http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz | tar -C /usr/local/bin/ -xvz" failed and exited with 2 during .

    however, it works locally on OS X. what’s going on ?