Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (91)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (21004)

  • Convert .flac to .mp3 with ffmpeg, avoid small silence ?

    19 septembre 2017, par RocketNuts

    I’m converting a bunch of .flac audio samples to .mp3 with ffmpeg. Some of these samples are supposed to loop, i.e. the end of the sample fits seamlessly to the beginning (no tick).

    Now no matter how high the mp3 quality setting I use, I keep getting about 0.05 sec of silence at the beginning of the resulting .mp3 which is not there in the original flac.

    Here’s a zoomed in Audacity view of the beginning and ending of both audio samples :

    Original flac :

    original

    Notice how the beginning and ending are both ’flat’, so they fit smoothly.

    Converted to mp3 :

    converted

    Notice how there is now suddenly a 0.05 sec silence, and the end doesn’t end exactly flat (on the baseline). Hence they don’t fit, and the tick and silence are clearly audible when playing in a loop.

    I’m using this for the conversion :

    ffmpeg -i foo.flac -acodec libmp3lame -ab 320k bar.mp3

    or this : (with the -q:a VBR setting)

    ffmpeg -i foo.flac -acodec libmp3lame -q:a 0 bar.mp3

    Either -q:a 0 or -ab 320k is supposed to give the highest possible quality, but I can’t get rid of that strange silence in the beginning and small cutoff at the end, which causes a tick when playing in a loop.

  • How to place a still image before a video stream

    15 août 2018, par Frank Natoli

    My question has been answered, see this thread :
    How can I place a still image before the first frame of a video ?
    Unfortunately, the non-audio solution is not working for me.
    I have an input BMP file, and input CINE file [written by Vision Research SDK], and wish to produce an output MP4 file.
    I pass the following command :

    ffmpeg -y -r 100 -loop 1 -framerate 100 -t 1 -i c :\x.bmp -i c :\x.cine -filter_complex ’[0:0] [1:0] concat=n=2:v=1:a=0’ c :\x.mp4

    And get error message :

    [AVFilterGraph @ 000000000346be80] No such filter : ’[0:0]’
    Error initializing complex filters.
    Invalid argument

    Is the original thread answer for non-audio mistaken ?
    Or have I not exactly done what the original thread answer suggests ?

  • convert video without losing frames and have same fps and tbr using ffmpeg

    15 août 2021, par srinivast6

    My original video "test1.mp4" has following properties

    


    Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 283 kb/s, 34.55 fps, 50 tbr, 50k tbn, 50 tbc (default).


    


    I got it from running ffmpeg -i test1.mp4.

    


    I had to change the video codec to h264. So I converted the above video using below command

    


    ffmpeg -i test1.mp4 test1.mp4.

    


    However the props of the converted video has changed. fps is 50 and tbr is 50. And also frame count has increased compared to original video.

    


     Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 114 kb/s, 50 fps, 50 tbr, 12800 tbn, 100 tbc (default)


    


    After following this link https://superuser.com/questions/1307863/why-is-ffmpeg-changing-framerate-from-60-to-120, I found that ffmpeg uses tbr values instead of fps while converting in order to not to lose any frames but at the cost of duplicate frames. As suggested in the link above I used vsync 0 option while converting video.

    


    ffmpeg -i test1.mp4 -vsync 0 test1_sync.mp4.


    


    Now the Frame count is same as the input video (checked using ffprobe). But the fps is still little different from the original video.

    


     Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 61 kb/s, 12.88 fps, 50 tbr, 12800 tbn, 100 tbc (default).


    


    How come frame count remains same even when fps is different ?

    


    To my use case I need the converted video to have same number of frames at the same timestamps as the original video, i just need the codec to be changed to h264. I dont want duplicate or losing frames.

    


    How can I achieve this ?