Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (90)

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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (16114)

  • FFMPEG Error while processing the decoded data for stream #0:1

    2 décembre 2020, par Michael Joseph Aubry

    When using the FFMPEG command in my Lambda function I am getting this issue (version 4.2.1). When using it on my local machine it works fine (4.3.1).

    


    Lambda Version Info

    


    {
  data: 'ffmpeg version 4.2.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers\n' +
    'built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516\n' +
    'configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --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'
}


    


    Macbook Pro Version Info

    


    {
  data: 'ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --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-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --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. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100'
}


    


    My goal with this command is to generate a thumbnail sprite sheet.

    


    ffmpeg \
  -threads 8 \
  -ignore_editlist 1 \
  -i URL \
  -f image2 \
  -vf "select='not(mod(n,25))',setpts='N/(25*TB)',scale=180:180,tile=5x25" \  
  -pix_fmt yuvj420p \
  -an \
  -qscale:v 28 \
  -vsync 0 \
  -preset veryfast \
  pipe:1


    


    The same error occurs when I have a .jpg output on disk i.e /tmp/test.jpg

    


    This is the exact log from cloudwatch

    


    {&#xA;    "errorType": "Error",&#xA;    "errorMessage": "ffmpeg exited with code 1: Error reinitializing filters!\nFailed to inject frame into filter network: Invalid argument\nError while processing the decoded data for stream #0:1\nConversion failed!\n",&#xA;    "stack": [&#xA;        "Error: ffmpeg exited with code 1: Error reinitializing filters!",&#xA;        "Failed to inject frame into filter network: Invalid argument",&#xA;        "Error while processing the decoded data for stream #0:1",&#xA;        "Conversion failed!",&#xA;        "",&#xA;        "    at ChildProcess.<anonymous> (/var/task/node_modules/fluent-ffmpeg/lib/processor.js:182:22)",&#xA;        "    at ChildProcess.emit (events.js:314:20)",&#xA;        "    at ChildProcess.EventEmitter.emit (domain.js:483:12)",&#xA;        "    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)"&#xA;    ]&#xA;}&#xA;</anonymous>

    &#xA;

    Here is the raw command using fluent-ffmpeg inside node.js

    &#xA;

        const passThrough = new stream.PassThrough();&#xA;    const fps = 25;&#xA;    const sWidth = 720 / 4;&#xA;    const sHeight = 1920 / 4;&#xA;&#xA;    ffmpeg(s3Url)&#xA;      .setFfmpegPath("/opt/ffmpeg")&#xA;      .inputOptions([`-threads`, "8", "-ignore_editlist", "1"])&#xA;      .outputOptions([&#xA;        "-f",&#xA;        "image2",&#xA;        "-vf",&#xA;        `"select=&#x27;not(mod(n,${fps}))&#x27;,setpts=&#x27;N/(${fps}*TB)&#x27;,scale=${sWidth}:${sHeight},tile=5x25"`,&#xA;        "-pix_fmt",&#xA;        "yuvj420p",&#xA;        "-an",&#xA;        "-qscale:v",&#xA;        "28",&#xA;        "-vsync",&#xA;        "0",&#xA;        "-preset",&#xA;        "veryfast"&#xA;      ])&#xA;      .output(passThrough)&#xA;      .on("start", (cmdline) => console.log(cmdline))&#xA;      .on("progress", (progress) => {&#xA;        console.log(progress);&#xA;      })&#xA;      .on("error", (err) => {&#xA;        console.log(err);&#xA;        reject(err);&#xA;      })&#xA;      .run();&#xA;

    &#xA;

    Additional log from cloudwatch

    &#xA;

    2020-12-02T18:42:55.023Z    2f334838-f748-4f2e-a639-15df0686ab4b    INFO    Error: ffmpeg exited with code 1: Error reinitializing filters!Failed to inject frame into filter network: Invalid argumentError while processing the decoded data for stream #0:1Conversion failed!    at ChildProcess.<anonymous> (/var/task/node_modules/fluent-ffmpeg/lib/processor.js:182:22)    at ChildProcess.emit (events.js:314:20)    at ChildProcess.EventEmitter.emit (domain.js:483:12)    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)&#xA;</anonymous>

    &#xA;

  • How can I extract "GROUP-ID", "LANGUAGE" and "INSTREAM-ID" from ts using ffmpeg

    21 novembre 2020, par user1163234

    I am trying to get the captions from a segment from a live feed. I am running the command

    &#xA;

    ffmpeg -i seg-1077853030-v1-a1.ts

    &#xA;

    Output

    &#xA;

    `Input #0, mpegts, from 'seg-109853030-v1-a1.ts' :&#xA;Duration : 00:00:06.01, start : 57867.901133, bitrate : 2649 kb/s&#xA;Program 1

    &#xA;

    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc&#xA;Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 98 kb/s&#xA;Stream #0:2[0x102]: Data: timed_id3 (ID3  / 0x20334449)`&#xA;

    &#xA;

    My question is what command should I run to print out the caption file with the track metadata including label and language.

    &#xA;

  • HTML mp4 Streaming / How can I automatically move the "atom moov" to the beginning of the file ?

    29 octobre 2020, par Einkornwolf

    so I am currently building a Website for School and implemented an Upload-System. Now I want People to be able to watch uploaded Videos. Currently if you try to watch a Video, lets say test.mp4 it takes over a minute to load. I know that using : ffmpeg -i inputvideo.mp4 -movflags faststart -acodec copy -vcodec copy outputvideo.mp4 moves the atom moov to the beginning of the file. And when I manually convert the mp4 using the previous command the file starts playing instantly. But now my problem is, that I don't want to convert each file manually. Is there another way of playing user-uploaded Videos instantly ? Thanks for your help in advance.

    &#xA;

    I am using this Code, but it has nothing to do with the streaming itself I guess :

    &#xA;

      <source src="Clap.mp4" type="video/mp4">&#xA;Your browser does not support the video tag. &#xA;&#xA;</source>

    &#xA;

    I also tried to use a js library :

    &#xA;

      &#xA;&#xA;  &#xA;  <code class="echappe-js">&lt;script src=&quot;https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js&quot;&gt;&lt;/script&gt;&#xA;&#xA;&#xA;&#xA;  &#xA;    &#xA;    &#xA;    

    &#xA; To view this video please enable JavaScript, and consider upgrading to a&#xA; web browser that&#xA; supports HTML5 video&#xA;

    &#xA; &#xA;&#xA; &lt;script src=&quot;https://vjs.zencdn.net/7.8.4/video.js&quot;&gt;&lt;/script&gt;&#xA;&#xA;

    &#xA;

    In both cases I want to play Clap.mp4

    &#xA;