Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (53)

  • 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

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

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

  • How do I get ffmpeg to encode all files in one directory to another directory ? My directory names and filenames all have spaces and periods in them

    26 avril 2023, par Vihung

    I am using the Terminal on a Mac.

    


    Per another question, I am doing

    


    for i in ./01.\ Original\ Recording/*.m4a; do ffmpeg -i "$i" -b:a 64k ./02.\ Compressed/"$(basename $i)"; done


    


    (as you can see, there are spaces in the directory names as well as in the filenames)

    


    The output files are being put in the right directory (02.\ Compressed).

    


    Unfortunately, they come out named as 01.?Original?.m4a (first part of directory name and rest of file name with spaces substituted by ?)

    


  • How to extract time-accurate video segments with ffmpeg ?

    25 mai 2016, par Jim Miller

    This is not a particularly new question area around here, but I’ve tried what’s been suggested there without much luck. So, my story :

    I’ve got a hunk of 15 seconds of straight-from-the-camera.mov video out of which I want to extract a specific chunk, which I can identify by start time and stop time, in seconds. I started by trying to do what I’ll call a "copy extraction" : to get seconds 9 to 12,

    ffmpeg -i test.mov -vcodec copy -acodec copy -ss 9 -to 12 test-copy.mov

    This was a not-bad start, but there are some black frames at the beginning and end of the clip, which I can’t have — it has to be a clean edit from the original. So, I tried recoding the original into a new, trimmed clip :

    ffmpeg -i test.mov -ss 00:00:09 -t 00:00:03 test-out.mov

    This is better, but not quite : There are no longer any black frames at the beginning of the clip, but they’re still there at the end.

    After some more browsing and reading, I then suspected that the problem is that ffmpeg is having trouble finding the proper points because of a lack of keyframes in the original video. So I recoded the original video to (presumably) add keyframes, in a couple of different ways. Since I want to be able to pick video at boundaries of a second ("from 9 seconds to 12 seconds"), I tried, copying various suggestions around the web,

    ffmpeg -i test.mov -force_key_frames "expr:gte(t, n_forced)" test-forced.mp4

    and

    ffmpeg -i test.mov -g 1 test-g-inserted.mp4

    (I built these as mp4’s based on some comments about an mp4 container being needed to support the keyframe search, but I’m honestly just hacking here.) I then tried the extraction as before, but on these new videos that presumably now have keyframes in them. No luck — both seem to be about the same ; the start is OK but there are still black frames at the end. (FWIW, both test-forced.mp4 and test-g-inserted.mp4 also have trailing black frames.)

    So : I’m still stuck, and would like to not be. Any insights out there as to what I’m doing wrong ? I feel like I’m close, but I really need to get rid of those trailing black frames....

  • How to merge image and audio to video with the same color ? (FFMPEG)

    6 février 2019, par JeanClothem

    i try to merge audio and image to video in ffmpeg,

    The problem that export does not have the same color as the original


    Here is a comparison on YouTube

    Original : https://www.youtube.com/watch?v=NsSBI9qwFE4

    Export ffmpeg : https://www.youtube.com/watch?v=FsxwqTSqpbQ

    ffmpeg -loop 1 -i rose.jpg -i rose.flac -c copy -shortest rose.mkv

    I want to get the same color as my original image

    Thank you !