Recherche avancée

Médias (0)

Mot : - Tags -/configuration

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

Autres articles (40)

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

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (4730)

  • avutil/internal : remove FF_ALLOCx{_ARRAY}_OR_GOTO macros

    2 juin 2020, par Limin Wang
    avutil/internal : remove FF_ALLOCx_ARRAY_OR_GOTO macros
    

    These functions have a terrible design, let us fix them before extending
    them.
    First design mistake : no error code. A helper function for testing
    memory allocation failure where AVERROR(ENOMEM) does not appear is
    absurd.

    Second design mistake : printing a message. Return the error code, let
    the caller print the error message.

    Third design mistake : hard-coded use of goto.

    http://ffmpeg.org/pipermail/ffmpeg-devel/2020-May/262544.html

    Signed-off-by : Limin Wang <lance.lmwang@gmail.com>

    • [DH] libavutil/internal.h
  • ffmpeg conversion from MOV to mp4 - how to conserve creation date

    13 juin 2020, par jacobacci

    Windows 10 1909, latest updates.

    &#xA;&#xA;

    I am helping a friend move his photos and videos from one Apple ID to another.&#xA;I have downloaded all items to my PC using iCloud for PC. I then proceeded to re-upload all the photos to the new Apple ID.&#xA;2'000 of the videos are MOV, which I cannot upload to iCloud. I seem to need to convert them to mp4 in order to upload them.

    &#xA;&#xA;

    I have converted all of the MOVs to mp4 using the following batch

    &#xA;&#xA;

    FOR /F "tokens=*" %%G IN (&#x27;dir /b *.MOV&#x27;) DO ffmpeg -i "%%G" -f mp4 -vcodec copy -acodec mp3 "%%~nG.mp4"&#xA;

    &#xA;&#xA;

    This worked fine and I managed to upload the (now) mp4's to iCloud. Unfortunately all the mp4's now carry yesterday's date as creation date. In iCloud (and on the iPad) all the videos are now displayed with a creation date of 12.6.2020 and it is impossible to find a particular video. Also the context to the photos is lost.

    &#xA;&#xA;

    Question :

    &#xA;&#xA;

      &#xA;
    • Is there any way to (batch) convert 2'000 MOV to mp4 while preserving the creation date ?
    • &#xA;

    • alternatively : is there any way to upload the original MOV files to iCloud ?
    • &#xA;

    &#xA;

  • Error when converting mp4 video to HLS using stream as input in node js using ffmpeg

    6 janvier 2023, par Sankalp Kataria

    I am trying to convert an MP4 file to HLS using ffmpeg.&#xA;Code :

    &#xA;&#xA;

    var stream = createReadStream(filePath);&#xA;ffmpeg(stream)&#xA;    .on(&#x27;stderr&#x27;, function(stderrLine) {&#xA;        console.log(&#x27;Stderr output: &#x27; &#x2B; stderrLine);&#xA;    })&#xA;    .on(&#x27;end&#x27;, function() {&#xA;        console.log(&#x27;done processing input stream&#x27;);&#xA;    })&#xA;    .on(&#x27;error&#x27;, function(err) {&#xA;        console.log(&#x27;an error happened: &#x27; &#x2B; err.message);&#xA;    })&#xA;    .save(join(__basedir, "public", `file.m3u8`));&#xA;

    &#xA;&#xA;

    OutPut :

    &#xA;&#xA;

    Stderr output: ffmpeg version git-2020-05-22-38490cb Copyright (c) 2000-2020 the FFmpeg developers&#xA;Stderr output:   built with gcc 9.3.1 (GCC) 20200513&#xA;Stderr output:   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf&#xA;Stderr output:   libavutil      56. 46.100 / 56. 46.100&#xA;Stderr output:   libavcodec     58. 86.101 / 58. 86.101&#xA;Stderr output:   libavformat    58. 43.100 / 58. 43.100&#xA;Stderr output:   libavdevice    58.  9.103 / 58.  9.103&#xA;Stderr output:   libavfilter     7. 82.100 /  7. 82.100&#xA;Stderr output:   libswscale      5.  6.101 /  5.  6.101&#xA;Stderr output:   libswresample   3.  6.100 /  3.  6.100&#xA;Stderr output:   libpostproc    55.  6.100 / 55.  6.100&#xA;Stderr output: [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b68c53cb00] overread end of atom &#x27;stsd&#x27; by 34 bytes&#xA;Stderr output: [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b68c53cb00] stream 0, offset 0x30: partial file&#xA;Stderr output: [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b68c53cb00] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1920x1080, 2528 kb/s): unspecified pixel format&#xA;Stderr output: Consider increasing the value for the &#x27;analyzeduration&#x27; and &#x27;probesize&#x27; options&#xA;Stderr output: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;pipe:0&#x27;:&#xA;Stderr output:   Metadata:&#xA;Stderr output:     major_brand     : isom&#xA;Stderr output:     minor_version   : 512&#xA;Stderr output:     compatible_brands: isomiso2avc1mp41&#xA;Stderr output:     encoder         : Lavf56.25.101&#xA;Stderr output:   Duration: 00:03:00.97, start: 0.000000, bitrate: N/A&#xA;Stderr output:     Stream #0:0(und): Video: h264 (avc1 / 0x31637661), none, 1920x1080, 2528 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 48k tbc (default)&#xA;Stderr output:     Metadata:&#xA;Stderr output:       handler_name    : VideoHandler&#xA;Stderr output:     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)&#xA;Stderr output:     Metadata:&#xA;Stderr output:       handler_name    : SoundHandler&#xA;Stderr output: Stream mapping:&#xA;Stderr output:   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))&#xA;Stderr output:   Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;Stderr output: [mov,mp4,m4a,3gp,3g2,mj2 @ 000001b68c53cb00] stream 0, offset 0x30: partial file&#xA;Stderr output: pipe:0: Invalid data found when processing input&#xA;Stderr output: Cannot determine format of input stream 0:0 after EOF&#xA;Stderr output: Error marking filters as finished&#xA;Stderr output: Conversion failed!&#xA;Stderr output:&#xA;an error happened: ffmpeg exited with code 1: pipe:0: Invalid data found when processing input&#xA;Cannot determine format of input stream 0:0 after EOF&#xA;Error marking filters as finished&#xA;Conversion failed!&#xA;

    &#xA;&#xA;

    I've also tried with moveflag option&#xA;.outputOptions("-movflags isml&#x2B;frag_keyframe") also with -movflags faststart

    &#xA;&#xA;

    I've read through&#xA;How do you use Node.js to stream an MP4 file with ffmpeg ?

    &#xA;&#xA;

    But i didn't quite understand what and how to do it.

    &#xA;