Recherche avancée

Médias (1)

Mot : - Tags -/3GS

Autres articles (41)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (8057)

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