Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (42)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

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

Sur d’autres sites (6856)

  • Using ffmpeg with frei0r on windows 10. Can't find module from frei0r

    21 février 2023, par Denis

    I am trying to add a filter to my video using ffmpeg and frei0r filters on windows 10. ffmpeg.exe is located in the system32 folder. ffmpeg works fine on other tasks. As soon as I try to add the frei0r filter, I get an error :

    


    Could not find module 'glow'.
Error initializing filter 'frei0r' with args 'glow:20'


    


    I downloaded the frei0r dll files from the official site and placed them in the system32 folder, and then placed them in another folder. Additionally, I registered the path :

    


    set FREI0R_PATH=C:\WINDOWS\system32\frei0r-1


    


    In cmd I enter the following command :

    


    ffmpeg -loglevel debug -i 1.mp4 -vf "frei0r=glow:20" -t 10 1out.mp4


    


    help me

    


    I tried everything I saw online and nothing helped.

    


  • how to write subcommand to FFPLAY during playback using subprocess module ?

    4 mars 2023, par ChienMouille

    I'm trying to pause a video playback started with FFPLAY through a python subprocess. You can do this manually by pressing the "p" key on the keyboard while the video is playing. I'd like to emulate this behavior through a python call.

    


    I'm now sending a "p" string, encoded as bytes, through the stdin of the Popen call. The video starts and I can pause it with the keyboard but the communicate command doesn't seem to do anything.

    


    import subprocess
import time

proc = subprocess.Popen(['ffplay', 'PATH_TO_'],
                        stdin=subprocess.PIPE,
                        stdout=subprocess.PIPE,
                        )
time.sleep(2) # just waiting to make sure playback has started
proc.communicate(input="p".encode())[0]



    


    Thanks in advance !

    


  • FFMPEG color key filter applied, output to a transparent HEVC mov file, speed is different

    2 mars 2023, par Patrick Vellia

    I have an original recording that has the following ffprobe output :

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
    major_brand     : mp41
    minor_version   : 538120216
    compatible_brands: mp41
    creation_time   : 2023-02-28T19:06:41.000000Z
    firmware        : H21.01.01.50.00
  Duration: 00:00:08.15, start: 0.000000, bitrate: 60160 kb/s
  Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 59891 kb/s, 119.88 fps, 119.88 tbr, 120k tbn, 119.88 tbc (default)
    Metadata:
      creation_time   : 2023-02-28T19:06:41.000000Z
      handler_name    : GoPro H.265
      vendor_id       : [0][0][0][0]
      encoder         : GoPro H.265 encoder
      timecode        : 19:05:32:105
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      creation_time   : 2023-02-28T19:06:41.000000Z
      handler_name    : GoPro AAC  
      vendor_id       : [0][0][0][0]
      timecode        : 19:05:32:105
  Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2023-02-28T19:06:41.000000Z
      handler_name    : GoPro TCD  
      timecode        : 19:05:32:105
  Stream #0:3(eng): Data: bin_data (gpmd / 0x646D7067), 76 kb/s (default)
    Metadata:
      creation_time   : 2023-02-28T19:06:41.000000Z
      handler_name    : GoPro MET  
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 100359 for input stream 3


    


    This video is chroma keyed, so I ran the following command the key out the green and export it to a HEVC mov container (the Apple HEVC supports alpha channel via the videotoolbox codec) :

    


    ffmpeg -i test.mp4 -vf colorkey=0x00b140:0.3:0.1 -vcodec hevc_videotoolbox -alpha_quality 0.5 -tag:v hvc1 output1.mov


    


    which results in this ffprobe :

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output1.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    encoder         : Lavf58.76.100
  Duration: 00:00:08.15, start: 0.000000, bitrate: 366946 kb/s
  Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, gbr/bt709/bt709, progressive), 3840x2160 [SAR 1:1 DAR 16:9], 367188 kb/s, 119.88 fps, 119.88 tbr, 120k tbn, 120k tbc (default)
    Metadata:
      handler_name    : GoPro H.265
      vendor_id       : FFMP
      encoder         : Lavc58.134.100 hevc_videotoolbo
      timecode        : 19:05:32:105
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 118 kb/s (default)
    Metadata:
      handler_name    : GoPro AAC  
      vendor_id       : [0][0][0][0]
  Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s
    Metadata:
      handler_name    : GoPro H.265
      timecode        : 19:05:32:105
Unsupported codec with id 0 for input stream 2


    


    When the play the original video inside a web browser, it will play normally. As in, the video doesn't play in slo-mo but at "normal speed" which is what I actually want. User can slow it down and still have the frames necessary to keep the clarity when desired.

    


    However, when I play the second video, it is unnaturally slow even at 2x the speed.

    


    The only difference I can see above is that the export didn't include the second data stream (input 3).

    


    This was recorded on a GoPro Hero 10. I am using FFMPEG 4.6.

    


    Any help would be appreciated to fine tune the command.