Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (83)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

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

  • Transcode Webm to Audio file (fluent-ffmpeg)

    3 juillet 2017, par shamaleyte

    I have a video file and its properties are as the following when I check via the ffprobe command ;
    My purpose is to take the audio file only and its size should not be >100mb.
    Is there any proper way of doing it in an NPM project ?

    ffprobe 2.webm
    ffprobe version N-86175-g64ea4d1 Copyright (c) 2007-2017 the FFmpeg
    developers built with gcc 6.3.0 (GCC)   configuration: --enable-gpl --
    nable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2
    --
    nable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-
    ontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --
    nable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --
    nable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-
    ibmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
    ibopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-
    ibsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-
    ibtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --
    nable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
    ibx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --
    nable-zlib   libavutil      55. 63.100 / 55. 63.100   libavcodec     57.
    96.101  
    7. 96.101
    libavformat    57. 72.101 / 57. 72.101
    libavdevice    57.  7.100 / 57.  7.100
    libavfilter     6. 90.100 /  6. 90.100
    libswscale      4.  7.101 /  4.  7.101
    libswresample   2.  8.100 /  2.  8.100
    libpostproc    54.  6.100 / 54.  6.100
    Input #0, matroska,webm, from '2.webm':
    Metadata:
     encoder         : libwebm-0.2.1.0
     creation_time   : 2017-05-04T14:59:01.639000Z
    Duration: 00:02:35.16, start: 0.000000, bitrate: 32 kb/s
    Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default)
    Stream #0:1(eng): Video: vp8, yuv420p(progressive), 640x480, SAR 1:1 DAR
    4:3, 14.99 tbr, 1k tbn, 1k tbc (default)
  • How can I mux a MKV and MKA file and get it to play in a browser ?

    28 juin 2017, par Robert

    I’m using ffmpeg to merge .mkv and .mka files into .mp4 files. My current command looks like this :

    ffmpeg -i video.mkv -i audio.mka output_path.mp4

    The audio and video files are pre-signed urls from Amazon S3. Even on a server with sufficient resources, this process is going very slowly. I’ve researched situations where you can tell ffmpeg to skip re-encoding each frame, but I think that in my situation it actually does need to re-encode each frame.

    I’ve downloaded 2 sample files to my macbook pro and have installed ffmpeg locally via homebrew. When I run the command

    ffmpeg -i video.mkv -i audio.mka -c copy output.mp4

    I get the following output :

    ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
     built with Apple LLVM version 8.1.0 (clang-802.0.42)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
     libavutil      55. 58.100 / 55. 58.100
     libavcodec     57. 89.100 / 57. 89.100
     libavformat    57. 71.100 / 57. 71.100
     libavdevice    57.  6.100 / 57.  6.100
     libavfilter     6. 82.100 /  6. 82.100
     libavresample   3.  5.  0 /  3.  5.  0
     libswscale      4.  6.100 /  4.  6.100
     libswresample   2.  7.100 /  2.  7.100
     libpostproc    54.  5.100 / 54.  5.100
    Input #0, matroska,webm, from '319_audio_1498590673766.mka':
     Metadata:
       encoder         : GStreamer matroskamux version 1.8.1.1
       creation_time   : 2017-06-27T19:10:58.000000Z
     Duration: 00:00:03.53, start: 2.831000, bitrate: 50 kb/s
       Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
       Metadata:
         title           : Audio
    Input #1, matroska,webm, from '319_video_1498590673766.mkv':
     Metadata:
       encoder         : GStreamer matroskamux version 1.8.1.1
       creation_time   : 2017-06-27T19:10:58.000000Z
     Duration: 00:00:03.97, start: 2.851000, bitrate: 224 kb/s
       Stream #1:0(eng): Video: vp8, yuv420p(progressive), 640x480, SAR 1:1 DAR 4:3, 30 tbr, 1k tbn, 1k tbc (default)
       Metadata:
         title           : Video
    [mp4 @ 0x7fa4f0806800] Could not find tag for codec vp8 in stream #0, codec not currently supported in container
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
    Stream mapping:
     Stream #1:0 -> #0:0 (copy)
     Stream #0:0 -> #0:1 (copy)
       Last message repeated 1 times

    So it appears that the specific encodings I’m working with are vp8 videos and opus audio files, which I believe are incompatible with the .mp4 output container. I would appreciate answers that cover ways of optimally merging vp8 and opus into .mp4 output or answers that point me in the direction of output media formats that are both compatible with vp8 & opus and are playable on web and mobile devices so that I can bypass the re-encoding step altogether.

    EDIT :

    Just wanted to provide a benchmark after following LordNeckbeard’s advice :

    4 min 41 second video transcoded locally on my mac

    LordNeckbeard’s approach : 15 mins 55 seconds (955 seconds)
    Current approach : 18 mins 49 seconds (1129 seconds)

    18% speed increase
  • How to disable libav autorotate display matrix

    16 janvier 2018, par Davood Falahati

    I have a video taken from my mobile in portrait mode. Here is the dumped info about the video :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.MOV':
    Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2017-05-04 02:21:37
    Duration: 00:00:06.91, start: 0.000023, bitrate: 4700 kb/s
    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 90 kb/s (default)
    Metadata:
     creation_time   : 2017-05-04 02:21:37
     handler_name    : Core Media Data Handler
    Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720, 4602 kb/s, 29.98 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)
    Metadata:
     rotate          : 90
     creation_time   : 2017-05-04 02:21:37
     handler_name    : Core Media Data Handler
     encoder         : H.264
    Side data:
     displaymatrix: rotation of -90.00 degrees
     5.78 A-V: -0.028 fd=   1 aq=   14KB vq=  351KB sq=    0B f=0/0  

    I am using libav api to decode/encode my video. After encoding, I get the rotated version of the video by -90 degrees.

    How can I stop decoder to prevent auto-rotation ?