Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (107)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (10704)

  • accurate cutting of video (+ audio) with ffmpeg [migrated]

    4 novembre 2012, par Pete Oakey

    I want my website to allow users to accurately create their own clips from a source video I provide.

    I have a source video file that I first want to convert to something suitable for a website :

    Input #0, matroska,webm, from 'source.mkv':
    Duration: 00:28:18.57, start: 0.000000, bitrate: 10183 kb/s
    Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 48 tbc (default)
    Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s (default)

    So I use ffmpeg to convert it like so :

    ffmpeg -i source.mkv -c:v libx264 -c:a aac -strict experimental -vf scale="960:-1" source.mp4

    Watching this video back it is good enough quality and small enough file size for my needs, and loads/plays on my website.

    So I have a webpage that lets users select a start and endpoint on this video - and create a clip. Here's an example of the ffmpeg command that I use for that :

    -ss 577.920 -i source.mp4 -t 011.980 -codec:v copy -codec:a copy -vf scale="960:-1" clip1.mp4

    The problem is the clip is not always time-accurate enough. Usually the audio is accurate enough but the video stops half a second early or something.

    Is there any way to make this accurate and in-sync to say, 0.2 of a second ?

    EDIT :
    Adding -force_key_frames 00:00:00.2 didn't help.

  • Wrong frame rate when saving camera feed to a file using FFMPEG

    23 août 2015, par LEM

    I’m trying to save the live feed from an IP camera to a file but the resulting file always plays much faster than the original speed.

    I have tried with the following commands :

    ffmpeg -i http://171.22.3.47/image -vcodec copy -an -t 900 c:\output.mp4

    ffmpeg -i http://171.22.3.47/image -c:v libx264 -an c:\output.mp4

    Does anybody know what I’m missing ? Both commands create the file and I can use Windows Media Player to play them, but they run much faster.

  • Rotate video adding black bars with ffmpeg

    13 février 2016, par MrMoog

    I have a lot of mp4 full hd videos made with a smartphone that looks rotated 90°.

    These files have proper rotation metadata and they plays correctly on VLC or other desktop mediaplayers, but I want to display them on my dvd player that does not handles mp4 metadata.

    So I tried to transpose with ffmpeg but I obtain 1080x1920 files, resolution obviously not recognized by tv/dvd-player.

    How can I transpose, resize and add black side (left/right) bars of the correct dimensions to get "correct" 1920x1080 videos ?