Recherche avancée

Médias (91)

Autres articles (73)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (11340)

  • ffmpeg DASH - Include the stream's width and height (WxH) in the outputted filenames

    20 juillet 2022, par Jarad

    Given this :

    


    ffmpeg -i test.mp4 -c:a aac -c:v libx264 ^
-map v:0 -s:0 960x540 -b:v:0 800k ^
-map v:0 -s:1 320x170 -b:v:0 300k ^
-map 0:a ^
-f dash dash/master.mpd


    


    Produces this :

    


    chunk-stream0-00001.m4s
chunk-stream0-00002.m4s
...
chunk-stream0-00044.m4s
chunk-stream0-00045.m4s
chunk-stream1-00001.m4s
chunk-stream1-00002.m4s
...
chunk-stream1-00044.m4s
chunk-stream1-00045.m4s
chunk-stream2-00001.m4s
chunk-stream2-00002.m4s
...
chunk-stream2-00074.m4s
chunk-stream2-00075.m4s
init-stream0.m4s
init-stream1.m4s
init-stream2.m4s
master.mpd


    


    Inspection shows : ffprobe master.mpd

    


    Input #0, dash, from 'master.mpd':
  Duration: 00:06:11.00, start: -0.021333, bitrate: 0 kb/s
  Program 0
  Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 960x540 [SAR 1:1 DAR 16:9], 152 kb/s, 30 fps, 30 tbr, 15360 tbn (default)
    Metadata:
      variant_bitrate : 300000
      id              : 0
  Stream #0:1: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 320x170 [SAR 17:18 DAR 16:9], 21 kb/s, 30 fps, 30 tbr, 15360 tbn (default)
    Metadata:
      variant_bitrate : 28227
      id              : 1
  Stream #0:2(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 110 kb/s (default)
    Metadata:
      variant_bitrate : 128000
      id              : 2


    


    I want output instead like this :

    


    chunk-stream0-960x540-00001.m4s
chunk-stream0-960x540-00002.m4s
...
chunk-stream0-960x540-00044.m4s
chunk-stream0-960x540-00045.m4s
chunk-stream1-320x170-00001.m4s
chunk-stream1-320x170-00002.m4s
...
chunk-stream1-320x170-00044.m4s
chunk-stream1-320x170-00045.m4s
chunk-stream2-???????-00001.m4s
chunk-stream2-???????-00002.m4s
...
chunk-stream2-???????-00074.m4s
chunk-stream2-???????-00075.m4s
init-stream0-960x540.m4s
init-stream1-320x170.m4s
init-stream2-???????.m4s
master.mpd


    


    where ??????? could be just audio or 48000hz or whatever.

    


    The Question

    


    Is there a way to include the stream's width and height (its size) in the outputted filenames from the command-line interface ? If no, how could it be accomplished using a shell script for example.

    


  • ffmpeg : scale output cropped width/height doesn't work

    10 septembre 2012, par Meir Gerenstadt

    I'm trying to crop video frames with ffmpeg, and I would like to scale the cropped image automatically.
    I saw an option at av filter : http://ffmpeg.org/libavfilter.html#SEC41

    ./ffmpeg -i video.mp4 -vf "crop=640:480,scale=ow:oh" -f mpegts udp ://127.0.0.1:1234

    I receive an error : Error when evaluating the expression 'oh'

  • Stripping 'actual time of day' from AVI files

    22 avril 2014, par wxJunkie

    I have TB’s of AVI|DV|VOB files. I want to run a script that will enable me to find the real start time + end time AND the navigation (latitude & longitude) that is embedded in the audio of each of the clips that I have and export the list perhaps to a .txt or .doc list. I use a SMPTE reader now that can read the time that is embedded in the video, so there has to be a script that will pull those certain criteria’s out ?

    I have ran several codes in the past that has given me :
    duration : 00:01:23.83 start : 0.0000000, bitrate 28771 kb/s etc.
    I always get ’start : 0.0000000’ for each clip and I need the real start time of each clip.

    Is this possible ?