Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (53)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (4422)

  • FFMPEG output truncated when adding watermark

    17 juin 2020, par user1452030

    I'm using the following command to generate a watermarked 320Kbps MP3 preview of a wav file :

    



    ffmpeg -i /path/input.wav -y -filter_complex "amovie=/path/wm_padded.wav:loop=0,asetpts=N/SR/TB,adelay=3000|3000[beep];[0][beep]amix=duration=shortest,volume=2"  -b:a 320k  /path/preview.mp3


    



    (wm_padded.wav is the watermark file padded to 10 seconds and I'm using a Mac. The command was structured based on this post)

    



    While this works as expected at times, it produces a short, garbled preview some other times. Any help in debugging this issue would be greatly appreciated. I've verified the input file and it seems to be fine and here's the FFMPEG command output :

    



        $ ffmpeg -i /path/input.wav -y -filter_complex "amovie=/path/wm_padded.wav:loop=0,asetpts=N/SR/TB,adelay=3000|3000[beep];[0][beep]amix=duration=shortest,volume=2"  -b:a 320k -vsync 2 /path/test-Preview.mp3
ffmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.8)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.1_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.jdk/Contents/Home/include/darwin -fno-stack-check' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[wav @ 0x7ff2ba801a00] Discarding ID3 tags because more suitable tags were found.
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from '/path/input.wav':
  Metadata:
    comment         :  motion graphics, motion, textures
    time_reference  : 0
    coding_history  : 
  Duration: 00:00:01.75, bitrate: 1520 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
    Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 288x288 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn, 90k tbc (attached pic)
    Metadata:
      comment         : Cover (front)
[Parsed_amovie_0 @ 0x7ff2b9d0c040] Channel layout is not set in output stream 0, guessed channel layout is 'stereo'
Stream mapping:
  Stream #0:0 (pcm_s16le) -> amix:input0 (graph 0)
  volume (graph 0) -> Stream #0:0 (libmp3lame)
  Stream #0:1 -> #0:1 (mjpeg (native) -> png (native))
Press [q] to stop, [?] for help
[swscaler @ 0x108d00000] deprecated pixel format used, make sure you did set range correctly
[Parsed_amovie_0 @ 0x7ff2b9e09840] Channel layout is not set in output stream 0, guessed channel layout is 'stereo'
Output #0, mp3, to '/path/preview.mp3':
  Metadata:
    comment         :  motion graphics, motion, textures
    time_reference  : 0
    coding_history  : 
    TSSE            : Lavf58.29.100
    Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp, 320 kb/s
    Metadata:
      encoder         : Lavc58.54.100 libmp3lame
    Stream #0:1: Video: png, rgb24(progressive), 288x288 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 90k fps, 90k tbn, 90k tbc (attached pic)
    Metadata:
      comment         : Cover (front)
      encoder         : Lavc58.54.100 png
frame=    1 fps=0.0 q=-0.0 Lsize=     206kB time=00:00:00.10 bitrate=15994.8kbits/s speed=3.62x    
video:200kB audio:5kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.598223%


    



    Thanks in advance !

    


  • ffmpeg_python library to add a custom thumbnail to a .mp4 file using ffmpeg ?

    12 avril 2022, par alexia

    based on this post

    



    How do I add a custom thumbnail to a .mp4 file using ffmpeg ?

    



    Using ffmpeg 4.0, released Apr 20 2018 or newer,

    



    ffmpeg -i video.mp4 -i image.png -map 1 -map 0 -c copy -disposition:0 attached_pic out.mp4

    



    As in version 4.2.2...See Section 5.4 in FFmpeg documentation

    



    To add an embedded cover/thumbnail :

    



    ffmpeg -i in.mp4 -i IMAGE -map 0 -map 1 -c copy -c:v:1 png -disposition:v:1 attached_pic out.mp4


    



    how can i do that using ffmpeg_python library
https://github.com/kkroening/ffmpeg-python/tree/master/examples

    



    thanks

    


  • How to add a Poster Frame to an MP4 video by timecode ?

    25 mai 2020, par Crissov

    The mvhd atom or box of the original Quicktime MOV format supports a poster time variable for a timecode to use as a poster frame that can be used in preview scenarios as a thumbnail image or cover picture. As far as I can tell, the ISOBMFF-based MP4 format (.m4v) has inherited this feature, but I cannot find a way to set it using FFmpeg or MP4box or similar cross-platform CLI software. Edit : Actually, neither ISOBMFF nor MP4 imports this feature from MOV. Is there any other way to achieve this, e.g. using something like HEIFʼs derived images with a thmb (see Amendment 2) role ?

    



    <code width='202' height='300' / class='spip_code' dir='ltr'>mvhd</code> box layout

    &#xA;&#xA;

    The original Apple Quicktime (Pro) editor did have a menu option for doing just that. (Apple Compressor and Photos could do it, too).

    &#xA;&#xA;

    Quicktime menu

    &#xA;&#xA;

    To be clear, I do not want to attach a separate image file, which could possibly be a screenshot grabbed from a movie still, as a separate track to the multimedia container. I know how to do that :

    &#xA;&#xA;

    &#xA;&#xA;

    I also know that some people used to copy the designated poster frame from its original position to the very first frame, but many automatically generated previews use a later time index, e.g. from 10 seconds, 30 seconds, 10% or 50% into the video stream.

    &#xA;