Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (78)

  • 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 (...)

  • 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 (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (8827)

  • Fluent-FFmpeg Error : ffprobe exited with code 1

    24 juin 2020, par Thiago Cardoso

    I'm using a Lambda function to split a given file into pieces, and often I receive an error during the file processing :

    



    {&#xA;    "errorType": "Error",&#xA;    "errorMessage": "ffprobe exited with code 1\nffprobe version 4.2.2-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2007-2019 the FFmpeg developers\n  built with gcc 8 (Debian 8.3.0-6)\n  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg\n  libavutil      56. 31.100 / 56. 31.100\n  libavcodec     58. 54.100 / 58. 54.100\n  libavformat    58. 29.100 / 58. 29.100\n  libavdevice    58.  8.100 / 58.  8.100\n  libavfilter     7. 57.100 /  7. 57.100\n  libswscale      5.  5.100 /  5.  5.100\n  libswresample   3.  5.100 /  3.  5.100\n  libpostproc    55.  5.100 / 55.  5.100\n[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6f35c40] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!\n[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6f35c40] moov atom not found\n/tmp/file.mp4: Invalid data found when processing input\n",&#xA;    "stack": [&#xA;        "Error: ffprobe exited with code 1",&#xA;        "ffprobe version 4.2.2-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2007-2019 the FFmpeg developers",&#xA;        "  built with gcc 8 (Debian 8.3.0-6)",&#xA;        "  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg",&#xA;        "  libavutil      56. 31.100 / 56. 31.100",&#xA;        "  libavcodec     58. 54.100 / 58. 54.100",&#xA;        "  libavformat    58. 29.100 / 58. 29.100",&#xA;        "  libavdevice    58.  8.100 / 58.  8.100",&#xA;        "  libavfilter     7. 57.100 /  7. 57.100",&#xA;        "  libswscale      5.  5.100 /  5.  5.100",&#xA;        "  libswresample   3.  5.100 /  3.  5.100",&#xA;        "  libpostproc    55.  5.100 / 55.  5.100",&#xA;        "[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6f35c40] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!",&#xA;        "[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6f35c40] moov atom not found",&#xA;        "/tmp/file.mp4: Invalid data found when processing input",&#xA;        "",&#xA;        "    at ChildProcess.<anonymous> (/var/task/node_modules/fluent-ffmpeg/lib/ffprobe.js:233:22)",&#xA;        "    at ChildProcess.emit (events.js:198:13)",&#xA;        "    at ChildProcess.EventEmitter.emit (domain.js:448:20)",&#xA;        "    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)"&#xA;    ]&#xA;}&#xA;</anonymous>

    &#xA;&#xA;

    I see the error message, and what it is telling me, but what I cannot understand is that this very file works sometimes. Before the process starts I download the file from S3 into my Lambda container, maybe this is my problem, but still, this works sometimes.

    &#xA;

  • Problem playing a sound with pydub Error : pydub.exceptions.CouldntDecodeError : Decoding failed. ffmpeg returned error code : 1

    28 mai 2020, par studioDKR

    I have a problem getting a file played in the browser with pydub. I think the function is working, but I just don't get the right file path to it, or something else is missing. Would love to get your help !

    &#xA;&#xA;

    I get the pydob error message : pydub.exceptions.CouldntDecodeError : Decoding failed. ffmpeg returned error code : 1

    &#xA;&#xA;

    Here is the error I get :

    &#xA;&#xA;

    [2020-05-28 16:04:33,023] ERROR in app: Exception on /overview [POST]&#xA;Traceback (most recent call last):&#xA;  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app&#xA;    response = self.full_dispatch_request()&#xA;  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request&#xA;    rv = self.handle_user_exception(e)&#xA;  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception&#xA;    reraise(exc_type, exc_value, tb)&#xA;  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise&#xA;    raise value&#xA;  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request&#xA;    rv = self.dispatch_request()&#xA;  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request&#xA;    return self.view_functions[rule.endpoint](**req.view_args)&#xA;  File "/Users/Micha/Documents/GitHub/podprod/app.py", line 109, in overview&#xA;    sound = AudioSegment.from_file(filepath)&#xA;  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pydub/audio_segment.py", line 723, in from_file&#xA;    raise CouldntDecodeError(&#xA;pydub.exceptions.CouldntDecodeError: Decoding failed. ffmpeg returned error code: 1&#xA;&#xA;Output from ffmpeg/avlib:&#xA;&#xA;b&#x27;ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers\n  built with Apple clang version 11.0.3 (clang-1103.0.32.59)\n  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.3 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags=-fno-stack-check --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libsrt --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\n  libavutil      56. 31.100 / 56. 31.100\n  libavcodec     58. 54.100 / 58. 54.100\n  libavformat    58. 29.100 / 58. 29.100\n  libavdevice    58.  8.100 / 58.  8.100\n  libavfilter     7. 57.100 /  7. 57.100\n  libavresample   4.  0.  0 /  4.  0.  0\n  libswscale      5.  5.100 /  5.  5.100\n  libswresample   3.  5.100 /  3.  5.100\n  libpostproc    55.  5.100 / 55.  5.100\n/Users/Micha/documents/github/podprod/uploads/test2.wav: Invalid data found when processing input\n&#x27;&#xA;

    &#xA;&#xA;

    This is the Flask route with the function I am writing.

    &#xA;&#xA;

    @app.route("/overview", methods=["GET", "POST"])&#xA;def overview():&#xA;&#xA;    entries = []&#xA;&#xA;    # Open a file&#xA;    path = app.config["FILE_UPLOADS"]&#xA;&#xA;    with os.scandir(path) as dirs:&#xA;        for entry in dirs:&#xA;            entries.append(entry.name)&#xA;&#xA;    if request.method == "POST":&#xA;        filename = request.form[&#x27;filename&#x27;]&#xA;&#xA;        filepath = os.path.join(app.config["FILE_UPLOADS"], filename)&#xA;&#xA;        # Play the sound&#xA;        sound = AudioSegment.from_file(filepath)&#xA;        play(sound)&#xA;&#xA;        return render_template(&#x27;overview.html&#x27;, entries=entries)&#xA;

    &#xA;&#xA;

    Here is the HTML template :

    &#xA;&#xA;

        {% extends &#x27;main_template.html&#x27; %}&#xA;&#xA;    {% block title %}PodProd Podcast Overview{% endblock %}&#xA;&#xA;    {% block main %}&#xA;&#xA;    <div class="container">&#xA;&#xA;        <h1>Here is an overview of your files</h1>&#xA;&#xA;        <table class="table table-striped">&#xA;            <tr>&#xA;                <th>Filename</th>&#xA;                <th>Action</th>&#xA;            </tr>&#xA;        {% for result in entries %}&#xA;            {% if ".wav" in result %}&#xA;                <tr>&#xA;                    <td>{{ result }}</td>&#xA;                    <td><form action="" method="POST"> <button type="submit" class="btn btn-primary" value="{{" result="result">Play</button></form>&#xA;                </td></tr>&#xA;            {% endif %}&#xA;        {% endfor %}&#xA;        </table>&#xA;&#xA;    </div>&#xA;&#xA;    {% endblock %}&#xA;

    &#xA;

  • Error compiling FFMPEG / libav code after adding avfilter

    9 mai 2020, par Daniel Kobe

    My encoding and decoding was working fine using ffmpeg and libav, but then I added a filter in the encoding step to rotate my video and it no longer works in my docker machine, BUT it does work locally.

    &#xA;&#xA;

    The error message when compiling in docker is

    &#xA;&#xA;

    //usr/local/lib/libavfilter.a(vf_pp.o): In function `pp_init&#x27;:&#xA;/var/tmp/ffmpeg/libavfilter/vf_pp.c:56: undefined reference to `pp_get_mode_by_name_and_quality&#x27;&#xA;//usr/local/lib/libavfilter.a(vf_pp.o): In function `pp_uninit&#x27;:&#xA;/var/tmp/ffmpeg/libavfilter/vf_pp.c:161: undefined reference to `pp_free_mode&#x27;&#xA;/var/tmp/ffmpeg/libavfilter/vf_pp.c:163: undefined reference to `pp_free_context&#x27;&#xA;//usr/local/lib/libavfilter.a(vf_pp.o): In function `pp_filter_frame&#x27;:&#xA;/var/tmp/ffmpeg/libavfilter/vf_pp.c:142: undefined reference to `pp_postprocess&#x27;&#xA;//usr/local/lib/libavfilter.a(vf_pp.o): In function `pp_config_props&#x27;:&#xA;/var/tmp/ffmpeg/libavfilter/vf_pp.c:115: undefined reference to `pp_get_context&#x27;&#xA;collect2: error: ld returned 1 exit status&#xA;

    &#xA;&#xA;

    These are my relevant configurations in docker file

    &#xA;&#xA;

    # Install libx264 for video encoding.&#xA;RUN cd /var/tmp &amp;&amp; curl -L http://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20190103-2245-stable.tar.bz2 > x264.tar.bz2 &amp;&amp; \&#xA;    echo "21cb6e2bb660f863713fb9f752654c65191e032dac1329ec113786c69f0f75c1  x264.tar.bz2" > x264.sha256sum &amp;&amp; \&#xA;    shasum -a 256 -c x264.sha256sum &amp;&amp; \&#xA;    tar xjf x264.tar.bz2 &amp;&amp; \&#xA;    cd x264-snapshot-20190103-2245-stable &amp;&amp; \&#xA;    ./configure \&#xA;        --enable-static \&#xA;        --enable-pic \&#xA;        --disable-cli \&#xA;        --disable-avs \&#xA;        --disable-opencl &amp;&amp; \&#xA;    make -j8 &amp;&amp; \&#xA;    make install-lib-static&#xA;&#xA;# Compile ffmpeg.&#xA;COPY ffmpeg.tar /var/tmp/ffmpeg.tar&#xA;RUN cd /var/tmp &amp;&amp; tar xf ffmpeg.tar &amp;&amp; \&#xA;    cd ffmpeg &amp;&amp; \&#xA;    ./configure \&#xA;        --cc=/usr/bin/clang-6.0 \&#xA;        --cxx=/usr/bin/clang&#x2B;&#x2B;-6.0 \&#xA;        --extra-libs="-lpthread" \&#xA;        --enable-gpl \&#xA;        # without pic - opencv will throw up errors&#xA;        --enable-pic \&#xA;        --enable-libx264 \&#xA;        --disable-network &amp;&amp; \&#xA;     make -j 8 &amp;&amp; \&#xA;     make install&#xA;

    &#xA;&#xA;

    Not sure this is relevant but here are my flags

    &#xA;&#xA;

    LDFLAGS: -lavcodec -lavfilter -lswscale -lavutil -lswresample -lx264 -lm -lz&#xA;

    &#xA;&#xA;

    Here's my local ffmpeg configuration and version

    &#xA;&#xA;

    ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with Apple clang version 11.0.0 (clang-1100.0.33.17)&#xA;  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&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;

    &#xA;&#xA;

    Here's the output from my docker machine

    &#xA;&#xA;

    ffmpeg version 4.1.1 Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with clang version 6.0.0-1~bpo9&#x2B;1 (tags/RELEASE_600/final)&#xA;  configuration: --cc=/usr/bin/clang-6.0 --cxx=/usr/bin/clang&#x2B;&#x2B;-6.0 --extra-libs=-lpthread --enable-gpl --enable-pic --enable-libx264 --disable-network&#xA;  libavutil      56. 22.100 / 56. 22.100&#xA;  libavcodec     58. 35.100 / 58. 35.100&#xA;  libavformat    58. 20.100 / 58. 20.100&#xA;  libavdevice    58.  5.100 / 58.  5.100&#xA;  libavfilter     7. 40.101 /  7. 40.101&#xA;  libswscale      5.  3.100 /  5.  3.100&#xA;  libswresample   3.  3.100 /  3.  3.100&#xA;  libpostproc    55.  3.100 / 55.  3.100&#xA;

    &#xA;&#xA;

    How can I get my configuration fixed so it works like in local ? I didn't specifically configure my local environment so it's going to be using default configuration.

    &#xA;