Recherche avancée

Médias (91)

Autres articles (73)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

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

Sur d’autres sites (11869)

  • Long video files are shortened when exported [closed]

    28 avril, par Mathilda

    I'm working on videos with a maximal length of 23h59m59s (let's say 24h). I wanted to do several modifications on these videos, including dividing them into smaller parts and converting them into images. I'm doing it with Python in the Anaconda interface.

    


    My 24-hour videos are properly read by the Windows "Films & TV" player. They are also properly read by VLC media player. However, as soon as I try to use them :

    


      

    • in editing software (Movavi) ;
    • 


    • on an online editing site (Video-cutter) ;
    • 


    • on Python (cv2 and moviepy packages) ; or
    • 


    • on ffmpeg
    • 


    


    the indicated video duration is correct only if the video is less than 13h15m22s. If it is longer than that, the indicated duration is equal to the real duration minus 13h15m22s, regardless of the loaded video's metadata (size, weight, fps, duration).

    


    I have tried with videos of different durations, different pixel sizes and weights in GB, and different fps. I had variable fps mode on the videos, so I tried to set them to fixed mode using ffmpeg, but the exported video with fixed fps still has 13h15m22s missing. For videos taken from the web (YouTube), this problem does not appear on any of the 4 tested supports, so there is no problem coming from my machine or software. The issue must be in the videos. But I don't understand what could be in the videos for it to always be 13h15m22s that are removed, regardless of the video size. Moreover, if the video was corrupted, I wouldn't be able to display it in Films & TV or VLC media player.

    


    I used ffmpeg to see if the video was corrupted :

    


    ffmpeg.exe -v error -i "/Users/myname/Desktop/myvideo.mp4" -f null >error.log 2>&1

ffmpeg.exe -v error -i "/Users/myname/Desktop/myvideo.mp4" -f null

ffprobe -show_entries stream=r_frame_rate,nb_read_frames,duration -select_streams v -count_frames -of compact=p=1:nk=1 -threads 3 -v 0


    


    And nothing appears in the output so I guess there's no error detected. I tried to repair my video with ffmpeg anyway :

    


    ffmpeg -i "/Users/myname/Desktop/myvideo.mp4" -c copy "/Users/myname/Desktop/myvideo_fixed.mp4”


    


    And there is still 13h15m22s missing.

    


    I finally tried to repair it with Untrunc, which gave me a completely black video of 55 minutes for a video supposed to last several hours. Untrunc asks for the corrupted file and a functional video file taken by the same camera as input, so I used a 3min26 file for this, assuming that since the file is less than 13h15m22s and does not appear truncated on the software, it is not corrupted. Maybe I should have taken a larger video file (a few hours for example), but I'm not sure it's going to change anything.

    


    I don't know what to do to be able to cut these videos and use them in Python without them being truncated.

    


  • Adding FFMPEG support to Chromium Portable on Windows without recompiling

    13 décembre 2023, par Ashby

    I am using Chromium portable on Windows recently.

    


    I downloaded Chromium portable from chromium.org, finding it without FFMPEG support, which means playing media just not possible for some websites.

    


    Is there a simple or a little complex hack or plugin or patches to make FFMPEG on Chromium portable from chromium.org work ? Thanks.

    


    Due to personal reasons I am not intended to use Google Chrome for some months, due to its automatic updates something like Windows Update, making me annoyed.

    


    On Linux, I know there is a package called chromium-codecs-ffmpeg-extra, which makes FFMPEG support possible. But I do NOT find something similar on Windows.

    


    Recompiling Chromium costs hours and I just do not want to use some third-party Chromium releases due to security requests.

    


    Years have gone and past questions years ago on stackflow just not cater my need today.

    


    Thanks for your patience & understanding.

    


  • faster way to downmix 5.1 videos to stereo ?

    22 octobre 2020, par alex hansen

    I have a hand full of movies that are all in 5.1 audio, i need there to be one audio track that is only in stereo. i have found a few suggestions as to how to do this but some dont work for me and others are way too slow.

    


    the one i found that works the fastest is this :

    


    ffmpeg -y -i "input" -map 0:v -c:v copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 aac -ac 2 -metadata:s:a:1 title="Eng 2.0 Stereo" -map 0:a:1? -c:a:2 copy -map 0:a:2? -c:a:3 copy -map 0:a:3? -c:a:4 copy -map 0:a:4? -c:a:5 copy -map 0:a:5? -c:a:6 copy -map 0:a:6? -c:a:7 copy -map 0:s? -c:s copy "output"   


    


    sadly i do not remember where it came from.

    


    the problem with this being that it creates a separate audio track, and for my purposes this does not work.

    


    doing just the standard -ac 2 works but is way to slow, i estimated to take over 40 hours to go through all my movies.

    


    edit :
a bit of extra information to throw in here

    


      

    • all the movies are mp4's
    • 


    • all except 2 movies are 5.1 audio (there is 1 7.1 and 1 mono. i dont really care about them tho)
    • 


    • the command i posted runs at about a 40x speed while just doing -ac 4 runs at 2x speed
    •