Recherche avancée

Médias (91)

Autres articles (87)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (4286)

  • using ffmpeg.js to play H265 video, only play hvc1 format, can't play hev1 format, is there anyway to play hev1 ?

    1er novembre 2019, par Alex

    I compiled ffmpeg into ffmpeg.js and ffmpeg.wasm by using emscripten, so that it can run in the browser and play H265 video.

    However, I found that only the hvc1 format can be played.
    Like that:

    Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709, progressive), 1280x720, 854 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)

    and the hev1 format cannot be played.Like that :

    Stream #0:0(und): Video: hevc (Main) (hev1 / 0x31766568), yuv420p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 829 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)

    Web browser’s Console has this errors

    libffmpeg.js:1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x644b80] reached eof, corrupted CTTS atom
    >put_char @ libffmpeg.js:1
    >write @ libffmpeg.js:1
    >write @ libffmpeg.js:1
    >doWritev @ libffmpeg.js:1
    >___syscall146 @ libffmpeg.js:1
    >(anonymous) @ wasm-009a4202-743:1
    >(anonymous) @ wasm-009a4202-739:1
    >(anonymous) @ wasm-009a4202-741:1
    >(anonymous) @ wasm-009a4202-742:1
    >(anonymous) @ wasm-009a4202-437:1
    >(anonymous) @ wasm-009a4202-2083:1
    >(anonymous) @ wasm-009a4202-87:1
    >(anonymous) @ wasm-009a4202-923:1
    >(anonymous) @ wasm-009a4202-247:1
    >(anonymous) @ wasm-009a4202-247:1
    >(anonymous) @ wasm-009a4202-247:1
    >(anonymous) @ wasm-009a4202-247:1
    >(anonymous) @ wasm-009a4202-2864:1
    >(anonymous) @ wasm-009a4202-247:1
    >(anonymous) @ wasm-009a4202-3015:1
    >(anonymous) @ wasm-009a4202-247:1
    >(anonymous) @ wasm-009a4202-1073:1
    >(anonymous) @ wasm-009a4202-2261:1
    >(anonymous) @ wasm-009a4202-2562:1
    >(anonymous) @ libffmpeg.js:1
    >Decoder.openDecoder @ decoder.js:48
    >Decoder.processReq @ decoder.js:165
    >self.onmessage @ decoder.js:248
    libffmpeg.js:1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x644b80] error reading header
    >put_char @ libffmpeg.js:1
    >write @ libffmpeg.js:1
    >write @ libffmpeg.js:1
    >doWritev @ libffmpeg.js:1
    >___syscall146 @ libffmpeg.js:1
    >(anonymous) @ wasm-009a4202-743:1
    >(anonymous) @ wasm-009a4202-739:1
    >(anonymous) @ wasm-009a4202-741:1
    >(anonymous) @ wasm-009a4202-742:1
    >(anonymous) @ wasm-009a4202-437:1
    >(anonymous) @ wasm-009a4202-2083:1
    >(anonymous) @ wasm-009a4202-87:1
    >(anonymous) @ wasm-009a4202-1073:1
    >(anonymous) @ wasm-009a4202-2261:1
    >(anonymous) @ wasm-009a4202-2562:1
    >(anonymous) @ libffmpeg.js:1
    >Decoder.openDecoder @ decoder.js:48
    >Decoder.processReq @ decoder.js:165
    >self.onmessage @ decoder.js:248
    common.js:58 [2019-11-1 18:23:25:529][Decoder][IF] openDecoder return 8

    ffplay can play these two, why can only play hvc1 after compiling into ffmpeg.js and ffmpeg.wasm ?

  • ffmpeg take input and output as webm on port

    12 octobre 2019, par RussellHarrower

    I am wondering how I can take an audio input and output it as a webm

    This is what I thought would work to get it to rtp out but running into issue.

    ffmpeg -i http://stream.radiomedia.com.au:8003/stream -c copy  -f rtp rtp://127.0.0.1/streamID:54321  

    it returns

    ffmpeg -i http://stream.radiomedia.com.au:8003/stream -c copy  -f rtp rtp://127.0.0.1/streamID:54321                                 ffmpeg version 4.2.1-0york0~18.04 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
     configuration: --prefix=/usr --extra-version='0york0~18.04' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-nonfree --enable-libfdk-aac --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
     libavutil      56. 31.100 / 56. 31.100
     libavcodec     58. 54.100 / 58. 54.100
     libavformat    58. 29.100 / 58. 29.100
     libavdevice    58.  8.100 / 58.  8.100
     libavfilter     7. 57.100 /  7. 57.100
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  5.100 /  5.  5.100
     libswresample   3.  5.100 /  3.  5.100
     libpostproc    55.  5.100 / 55.  5.100
    [mp3 @ 0x564cf51de940] invalid concatenated file detected - using bitrate for duration
    Input #0, mp3, from 'http://stream.radiomedia.com.au:8003/stream':
     Metadata:
       track           : 1
       title           : DNR1 Signal 1
       comment         : www.dvdvideosoft.com
       date            : 2019
       icy-br          : 128
       icy-description : Radio Media PTY LTD
       icy-genre       : Indie
       icy-name        : DRN1
       icy-pub         : 0
       icy-url         : https://www.drn1.com.au
       StreamTitle     :
     Duration: N/A, start: 0.025057, bitrate: 320 kb/s
       Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
       Metadata:
         encoder         : LAME3.99r
    Output #0, rtp, to 'rtp://127.0.0.1/streamID:54321':
     Metadata:
       track           : 1
       title           : DNR1 Signal 1
       comment         : www.dvdvideosoft.com
       date            : 2019
       icy-br          : 128
       icy-description : Radio Media PTY LTD
       icy-genre       : Indie
       icy-name        : DRN1
       icy-pub         : 0
       icy-url         : https://www.drn1.com.au
       StreamTitle     :
       encoder         : Lavf58.29.100
       Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
       Metadata:
         encoder         : LAME3.99r
    SDP:
    v=0
    o=- 0 0 IN IP4 127.0.0.1
    s=DNR1 Signal 1
    c=IN IP4 127.0.0.1
    t=0 0
    a=tool:libavformat 58.29.100
    m=audio 0 RTP/AVP 14
    b=AS:320
    a=control:streamid=0

    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    av_interleaved_write_frame(): Invalid argument                                                                                                                                        Error writing trailer of rtp://127.0.0.1/streamID:54321: Invalid argument
    size=       0kB time=-00:00:00.02 bitrate=N/A speed=N/A                                                                                                                               video:0kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Conversion failed!
  • Join a lot of frames with some audio files

    30 octobre 2019, par Laurin Neff

    What I’m trying to do

    I have 3697 frames (frames/[0-3696].png) and 5 audio files, which are the same length in total as the resulting video should be (audio/[0-4].mp3). I’m trying to play the frames at 15 fps, with the audio files playing in sequence and putting this into out.mp4. How can I achieve this ?

    File tree

    frames
    |-0.png
    |-1.png
    |...
    |-3695.png
    \-3696.png
    audio
    |-0.mp3
    |-1.mp3
    |-2.mp3
    |-3.mp3
    \-4.mp3

    What I’ve tried

    ffmpeg -i frames/%d.png -i audio/%d.mp3 -vf fps=15 out.mp4

    What I expect

    I expect out.mp4 to contain all frames, with the 5 mp3 files playing in sequence

    What actually happens

    $ ffmpeg -i frames/%d.png -i audio/%d.mp3 -vf fps=15 out.mp4
    ffmpeg version n4.2.1 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 9.1.0 (GCC)
     configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
     libavutil      56. 31.100 / 56. 31.100
     libavcodec     58. 54.100 / 58. 54.100
     libavformat    58. 29.100 / 58. 29.100
     libavdevice    58.  8.100 / 58.  8.100
     libavfilter     7. 57.100 /  7. 57.100
     libswscale      5.  5.100 /  5.  5.100
     libswresample   3.  5.100 /  3.  5.100
     libpostproc    55.  5.100 / 55.  5.100
    Input #0, image2, from 'frames/%d.png':
     Duration: 00:02:27.88, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: png, rgb24(pc), 1920x1080, 25 fps, 25 tbr, 25 tbn, 25 tbc
    audio/%d.mp3: No such file or directory