Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (94)

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

  • 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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (7220)

  • Add multiple timecodes to single audio file (.mkv ?) resulting from concatenating several (timecode-based) audio files

    6 juin 2020, par user3497017

    I first converted two .WAV files into .MKV files inserting timecode for each of this file. Then I concatenated these two .MKV files as inputs (each .MKV including one timecode inside). However timecodes were not maintained in the final output.MKV. I tried :

    



     1. ffmpeg -f concat -i mylist.txt -c copy output.mkv  
 2. mkvmerge -o output.mkv 1.mkv + 2.mkv


    



    with mylist.txt containing :

    



    file '1.mkv'
file '2.mkv'


    



    But the final file output.mkv resulting from such a concatenation has lost timecodes in case 1. In case 2, there is only one time code that has been preserved (from input 2.mkv) at the end. According to mediaInfo command line. I was expecting 2 times codes issued from 1.mkv and from 2.mkv. But is it the right approach ? (Is it even do-able ?)

    



    To summarize, my goal is to insert multiple time codes along with / inside a single audio file (.WAV, or .MKV, or whatever). Here is a sreenshot that technically depicts my purpose enter image description here

    


  • How to use command of ffmpeg on android

    23 janvier 2015, par user2830969

    I download ffmpeg static from http://ffmpeg.gusari.org/static/ and I run command

    ./ffmpeg -i inputFile.mp4 -vf drawtext="fontsize=60:fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf:fontcolor=green:text=AAAA:x=(w-max_glyph_w)/2:y=h/2-ascent" outputFile.mp4

    it work fine on my desktop.
    I want to use this command to run in android. I copy ffmpeg file to my android app to run command but it not work.

    public ProcessRunnable create() {
           if (inputPath == null || outputPath == null) {
               throw new IllegalStateException("Need an input and output filepath!");
           }  

           final List<string> cmd = new LinkedList<string>();
            public ProcessRunnable create() {
           if (inputPath == null || outputPath == null) {
               throw new IllegalStateException("Need an input and output filepath!");
           }  

           final List<string> cmd = new LinkedList<string>();

           cmd.add(mFfmpegPath);
           cmd.add("-i");
           cmd.add(inputPath);
           cmd.add("-vf");
           cmd.add("drawtext=\"fontsize=60:fontfile=/system/fonts/DroidSans.ttf:fontcolor=green:text=AAAA:x=(w-max_glyph_w)/2:y=h/2-a
           cmd.add(mFfmpegPath);
           cmd.add("-i");
           cmd.add(inputPath);
           cmd.add("-vf");
           cmd.add("drawtext=\"fontsize=60:fontfile=/system/fonts/DroidSans.ttf:fontcolor=green:text=AAAA:x=(w-max_glyph_w)/2:y=h/2-ascent\"");
           cmd.add(outputPath);
           Log.w("Command", cmd.toString());
           final ProcessBuilder pb = new ProcessBuilder(cmd);
           return new ProcessRunnable(pb);
       }
    </string></string></string></string>

    please tell me know "How can I do that ?" thanks so much

  • ffmpeg black screen issue for video video generation from a list of frames

    11 mai 2023, par arlaine

    I used a video to generate a list of frames from it, then I wanted to create multiple videos from this list of frames.&#xA;I've set starting and ending frames indexes for each "sub video", so for example,&#xA;indexes = [[0, 64], [64, 110], [110, 234], [234, 449]], and those indexes will help my code generate 4 videos of various durations. The idea is to decompose the original video into multiple sub videos. My code is working just fine, the video generated.

    &#xA;

    But every sub video start with multiple seconds of black screen, only the first generated video (so the one using indexes[0] for starting and ending frames) is generated without this black screen part. I've tried changing the frame rate for each sub_video, according to the number of frames and things like that, but I didn't work. You can find my code below

    &#xA;

    for i, (start_idx, end_idx) in enumerate(self.video_frames_indexes):&#xA;    if end_idx - start_idx > 10:&#xA;        shape = cv2.imread(f&#x27;output/video_reconstitution/{video_name}/final/frame_{start_idx}.jpg&#x27;).shape&#xA;        os.system(f&#x27;ffmpeg -r 30 -s {shape[0]}x{shape[1]} -i output/video_reconstitution/{video_name}/final/frame_%d.JPG&#x27;&#xA;              f&#x27; -vf "select=between(n\,{start_idx}\,{end_idx})" -vcodec libx264 -crf 25&#x27;&#xA;              f&#x27; output/video_reconstitution/IMG_7303/sub_videos/serrage_{i}.mp4&#x27;)&#xA;

    &#xA;

    Just the ffmpeg command

    &#xA;

    ffmpeg -r 30 -s {shape[0]}x{shape[1]} -i output/video_reconstitution/{video_name}/final/frame_%d.JPG -vf "select=between(n\,{start_idx}\,{end_idx})" -vcodec libx264 -crf 25 output/video_reconstitution/IMG_7303/sub_videos/serrage_{i}.mp4&#xA;

    &#xA;