Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (81)

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

  • 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

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (10931)

  • Are there differences between the parameters of different versions of ffmpeg ?

    13 octobre 2019, par Mauro Alejandro Pereira

    I want to obtain a different raw video for each frame of an MP4 file.
    My instruction works in an old version of ffmpeg but not in the new one.

    In the mp4 file there are 137 frames. It is checked. The versions are installed on different machines.

    Versions 2.8.15 :

    $ ffmpeg -i ./video.mp4 -vf fps=30 -vframes 137 -vcodec rawvideo -s '1920x1080' -pix_fmt gray -threads 0 frame%08d.raw
    ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
     libavutil      54. 31.100 / 54. 31.100
     libavcodec     56. 60.100 / 56. 60.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 40.101 /  5. 40.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './video.mp4':
      Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: mp41mp42
       creation_time   : 2019-03-11 16:16:54
     Duration: 00:00:04.57, start: 0.000000, bitrate: 14014 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 13816 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
       Metadata:
         creation_time   : 2019-03-11 16:16:54
         encoder         : AVC Coding
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default)
       Metadata:
         creation_time   : 2019-03-11 16:16:54
    Output #0, image2, to 'frame%08d.raw':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: mp41mp42
       encoder         : Lavf56.40.101
       Stream #0:0(eng): Video: rawvideo (Y800 / 0x30303859), gray, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc (default)
       Metadata:
         creation_time   : 2019-03-11 16:16:54
         encoder         : Lavc56.60.100 rawvideo
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
    Press [q] to stop, [?] for help
    frame=  137 fps= 73 q=-0.0 Lsize=N/A time=00:00:04.56 bitrate=N/A dup=1 drop=0    
    video:277425kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    Version 4.1.4 :

    $ ffmpeg -i ./video.mp4 -vf fps=30 -vframes 137 -vcodec rawvideo -s '1920x1080' -pix_fmt gray -threads 0 frame%08d.raw
    ffmpeg version 4.1.4-1~deb10u1 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 8 (Debian 8.3.0-6)
     configuration: --prefix=/usr --extra-version='1~deb10u1' --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-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x558d1a5bb880] st: 0 edit list: 1 Missing key frame while searching for timestamp: 0
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x558d1a5bb880] st: 0 edit list 1 Cannot find an index entry before timestamp: 0.
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: mp41mp42
       creation_time   : 2019-03-11T16:16:54.000000Z
     Duration: 00:00:04.57, start: 0.000000, bitrate: 14014 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 13816 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
       Metadata:
         creation_time   : 2019-03-11T16:16:54.000000Z
         encoder         : AVC Coding
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default)
       Metadata:
         creation_time   : 2019-03-11T16:16:54.000000Z
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
    Press [q] to stop, [?] for help
    Output #0, image2, to 'frame%08d.raw':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: mp41mp42
       encoder         : Lavf58.20.100
       Stream #0:0(eng): Video: rawvideo (Y800 / 0x30303859), gray,     1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 497664 kb/s, 30 fps, 30 tbn, 30 tbc (default)
       Metadata:
         creation_time   : 2019-03-11T16:16:54.000000Z
         encoder         : Lavc58.35.100 rawvideo
    frame=  136 fps= 25 q=-0.0 Lsize=N/A time=00:00:04.53 bitrate=N/A speed=0.834x    
    video:275400kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    In the latest version, I expect 137 files but the amount is 136.

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