Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (61)

  • 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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (9179)

  • rtmp : Factor out publish specific code

    14 septembre 2013, par Luca Barbato
    rtmp : Factor out publish specific code
    

    Will be reused for supporting play.

    • [DBH] libavformat/rtmpproto.c
  • Use ffmpeg Windows batch script on OS X

    3 novembre 2015, par andisk

    I got an ffmpeg batch script written by someone. The script takes all video clips of a specific folder, cuts off first and last frame, converts the clips to ProRes and saves them in a new folder. I got it running under Windows (just have to double-click the *.bat file and it does what it’s supposed to do).
    But now I need that same script running on a mac. I’ve installed ffmpeg over homebrew. Then I tried to make a Automator-Service, but with no success. Best thing would be if I could just right click on the folder with the videos, go to services and click on convert. I’m not really into coding and scripting, but the people who should use the script are happy when they find the power switch of the computer..
    Can anyone help me with this ?
    Cheers andisk

    Edit : Here’s the code

       `@echo off


       mkdir tmp
       mkdir converted


       set pathtofind=%~dp0
       echo Searching for files in %pathtofind%%1\


       setlocal enableextensions
       setlocal ENABLEDELAYEDEXPANSION



       for %%f in (%pathtofind%%1\*) do (
               echo Handling file %%f
               ffmpeg -y -loglevel quiet -i %%f tmp\%%d.png
               set count=0
               for %%x in (tmp\*) do set /a count +=1
               echo Deleting frames 1 and !count!
               del tmp\1.png
               del tmp\!count!.png
               echo Saving %%~nf.mov
               ffmpeg -y -loglevel verbose -f image2 -r 24 -i tmp\%%d.png -vcodec prores -profile:v 1 -r 24 converted\%%~nf.mov
               del /q tmp\*.*

               echo ---------------------------
       )


       rd tmp`
  • NSTask and FFMpeg losing output

    16 novembre 2011, par Morgan

    I'm trying to call ffmpeg from NSTask in objective-c. I execute the ffmpeg command in terminal and it works flawlessly every time. I make the same command using NSTask, and it never gives me the whole output. It cuts it off half way through the output, at a seemingly random spot every time. Here is my code.

       - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
    {
       NSString* ffmpegPath = [[NSBundle mainBundle] pathForResource:@"ffmpeg" ofType:@""];
       NSString* path = @"test.mov";

       NSTask *task = [[NSTask alloc] init];
       NSArray *arguments = [NSArray arrayWithObjects: @"-i", path, nil];
       NSPipe *pipe = [NSPipe pipe];
       NSFileHandle * read = [pipe fileHandleForReading];

       [task setLaunchPath: ffmpegPath];
       [task setArguments: arguments];
       [task setStandardOutput: pipe];
       [task launch];
       [task waitUntilExit];

       NSData* data = [read readDataToEndOfFile];
       NSString* stringOutput = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];


       NSLog(@"%@", stringOutput);
       NSLog(@"%i", [task terminationStatus]);
       NSLog(@"DONE");
    }