Recherche avancée

Médias (91)

Autres articles (36)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (3165)

  • how to make this ffmpeg concat better or fast ?

    21 mai 2021, par JohnTerry

    I am using this command to concat video urls and producing output video as .webm but it is very slow how do i make this faster ?

    


    command is -

    


        cmd = "ffmpeg -safe 0 -f concat -protocol_whitelist file,http,https,tcp,tls,crypto -segment_time_metadata 1 -i {} -vf select=concatdec_select,scale={}:{} -af aselect=concatdec_select,aresample=async=1 -c:v libvpx-vp9 -crf 30 -b:v 0 -b:a 128k -c:a libopus {}".format(text_file_path, width, height, output_video_path)


    


    I created a video of resolution 640:360 and full log for the video is posted below-

    


    ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg developers


built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --prefix= --prefix=/usr --disable-debug --disable-doc --disable-static --enable-cuda --enable-cuda-sdk --enable-cuvid --enable-libdrm --enable-ffplay --enable-gnutls --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libnpp --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopus --enable-libpulse --enable-sdl2 --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-nonfree --enable-nvenc --enable-omx --enable-openal --enable-opencl --enable-runtime-cpudetect --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-xlib
  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
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55d8eeec1580] Auto-inserting h264_mp4toannexb bitstream filter
Input #0, concat, from '/home/xyz/Desktop/a/files4.txt':
  Duration: N/A, start: 0.000000, bitrate: 2073 kb/s
    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s
    Metadata:
      creation_time   : 2010-05-17T15:28:46.000000Z
      handler_name    : (C) 2007 Google Inc. v08.13.2007.
    Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1947 kb/s, 24 fps, 24 tbr, 24k tbn, 48 tbc
    Metadata:
      creation_time   : 2010-05-17T15:28:46.000000Z
      handler_name    : (C) 2007 Google Inc. v08.13.2007.
File '/home/aman/Desktop/a/out5.webm' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:1 -> #0:0 (h264 (native) -> vp9 (libvpx-vp9))
  Stream #0:0 -> #0:1 (aac (native) -> opus (libopus))
Press [q] to stop, [?] for help
[libopus @ 0x55d8ef23ab00] No bit rate set. Defaulting to 96000 bps.
[libvpx-vp9 @ 0x55d8eeecca80] v1.7.0
[libvpx-vp9 @ 0x55d8eeecca80] Neither bitrate nor constrained quality specified, using default CRF of 32
Output #0, webm, to '/home/aman/Desktop/a/out5.webm':
  Metadata:
    encoder         : Lavf58.45.100
    Stream #0:0(und): Video: vp9 (libvpx-vp9), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 24 fps, 1k tbn, 24 tbc
    Metadata:
      creation_time   : 2010-05-17T15:28:46.000000Z
      handler_name    : (C) 2007 Google Inc. v08.13.2007.
      encoder         : Lavc58.91.100 libvpx-vp9
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
    Stream #0:1(und): Audio: opus (libopus), 48000 Hz, stereo, flt, 96 kb/s
    Metadata:
      creation_time   : 2010-05-17T15:28:46.000000Z
      handler_name    : (C) 2007 Google Inc. v08.13.2007.
      encoder         : Lavc58.91.100 libopus
frame=15691 fps= 45 q=0.0 Lsize=   52833kB time=00:10:53.81 bitrate= 662.0kbits/s speed=1.87x    
video:44974kB audio:7523kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.640121%

Process finished with exit code 0


    


  • Use FFmpeg in Visual Studio

    12 février, par box

    I'm trying to use FFmpeg in a C++ project in Visual Studio 2010. I want to include the libraries as statically linked files. Simple programs like libavcodec/api-example.c compile without error and no linker error appears in the error view when starting them. However, a message box shows up after starting the application, saying that avutil-51.dll is missing. Do you have any hints on how to fix that ?

    



    I used the latest dev build from http://ffmpeg.zeranoe.com/builds/. Then I specified include as additional include directory, avcodec.lib ;avfilter.lib ;avformat.lib ;avutil.lib as additional dependencies and lib as additional library directory.

    


  • ffmpeg - Convert files but keep Same Date Modification as Original ?

    9 septembre 2021, par user5894146

    So I want to start with that ffmpeg and powershell isn't really my strength but I have been using the following powershell command to convert every .flac file in a certain directory to a 320K file.

    


    dir *.flac | foreach {ffmpeg -i $_.FullName -c:v copy  -b:a 320k  $_.FullName.Replace('flac', 'mp3')}


    


    This works exactly how I want to without any album art being transcoded but I want to incorporate a way so that the new .mp3 files that are created have the SAME DATE MODIFICATION value of the .flac files. Is something like this even possible ?

    


    audio_ex.flac = Date Modification: 1/1/2010
audio_ex.mp3 = Date Modification: 9/8/2021


    


    should be instead

    


    audio_ex.flac = Date Modification: 1/1/2010
audio_ex.mp3 = Date Modification: 1/1/2010


    


    I have a folder of 6K files and want each original date modified to match the newly created files so if I can do the above command and also have the date mod time match within one execution, that would be ideal.

    


    I thought of manually changing each files mod time using 3rd party tools but it will be too time consuming.