Recherche avancée

Médias (91)

Autres articles (80)

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

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

Sur d’autres sites (7066)

  • Recording MP3 file from iphone using FFMPEG

    16 octobre 2014, par harit shah

    I am trying to record an mp3 file from iphone. It seems it is not possible so next option I am trying is recording it with aac encoding and convert it with ffmpeg exe to mp3.

    I am recording the m4a file with following code :

    // Set the audio file
    NSArray *pathComponents = [NSArray arrayWithObjects:
                              [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject],
                              @"MyAudioMemo.aac",
                              nil];
    NSURL *outputFileURL = [NSURL fileURLWithPathComponents:pathComponents];

    // Setup audio session
    AVAudioSession *session = [AVAudioSession sharedInstance];
    [session setCategory:AVAudioSessionCategoryPlayAndRecord error:nil];
    UInt32 audioRouteOverride = kAudioSessionOverrideAudioRoute_Speaker;
    AudioSessionSetProperty (kAudioSessionProperty_OverrideAudioRoute,sizeof (audioRouteOverride),&audioRouteOverride);

    NSMutableDictionary *recordSettings = [[NSMutableDictionary alloc] initWithCapacity:10];
    NSNumber *formatObject;
    formatObject = [NSNumber numberWithInt: kAudioFormatMPEG4AAC];

    [recordSettings setObject:formatObject forKey: AVFormatIDKey];
    [recordSettings setObject:[NSNumber numberWithFloat:44100.0] forKey: AVSampleRateKey];
    [recordSettings setObject:[NSNumber numberWithInt:1] forKey:AVNumberOfChannelsKey];
    // [recordSettings setObject:[NSNumber numberWithInt:12800] forKey:AVEncoderBitRateKey];
    // [recordSettings setObject:[NSNumber numberWithInt:16] forKey:AVLinearPCMBitDepthKey];
    [recordSettings setObject:[NSNumber numberWithInt: AVAudioQualityHigh] forKey: AVEncoderAudioQualityKey];

    so when I try to convert it using ffmpeg -i 1.m4a 1.mp3 it says invalid input found while reading 1.m4a. I tried different encoding but everytime I get the same error. Any help on this would be life saving.

    Thanks.

  • vdpau : add av_vdpau_bind_context()

    4 octobre 2014, par Rémi Denis-Courmont
    vdpau : add av_vdpau_bind_context()
    

    This function provides an explicit VDPAU device and VDPAU driver to
    libavcodec, so that the application is relieved from codec specifics
    and VdpDevice life cycle management.

    A stub flags parameter is added for future extension. For instance, it
    could be used to ignore codec level capabilities (if someone feels
    dangerous).

    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DBH] doc/APIchanges
    • [DBH] libavcodec/vdpau.c
    • [DBH] libavcodec/vdpau.h
    • [DBH] libavcodec/vdpau_internal.h
    • [DBH] libavcodec/version.h
  • SOLVED : How to start CMD and execute command in current folder with a batch file

    22 mai 2024, par pzych0p4th

    I have this command that I run via cmd in a folder and it executes without problems :

    &#xA;

    for %i in (*) do ffmpeg -y -i "%i" -vcodec copy -acodec copy -map 0:v -map 0:a "%i.mp4"

    &#xA;

    Now I want to create a batch file that I can just open and it will execute this command in the current folder.&#xA;However for the life of me I cannot get anything to work.&#xA;Ive tried googling the answer and tried lots of answers from here also, but it seems my knowledge is lacking a bit.&#xA;If anyone can give any tips that would be appreciated, thanks.&#xA;I apologize beforehand if something is blatantly obvious, lmao.

    &#xA;