Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (18)

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

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (4489)

  • how to encode mp4 from movie content for wowza streaming ?

    15 juillet 2014, par lng0415

    i want to encode to mp4(h.264 codec) from avi,mpg..... for wowza streaming.

    encode mp4 using ffmpeg, jave.

    encode is success, but wowza streaming is not work on android and iphone OS.
    (it’s play successfully on my PC)

    please help me.

    thank you.

    ps. i’m sorry. i’m poor at english.

    [using jave]

    File source = new File("D://temp/20140704_163504.mp4");
    File target = new File("D://temp/jave.mp4");

    AudioAttributes audio = new AudioAttributes();
    audio.setCodec("libmp3lame");
    audio.setBitRate(new Integer(64000));
    audio.setChannels(new Integer(1));
    audio.setSamplingRate(new Integer(22050));

    VideoAttributes video = new VideoAttributes();
    video.setCodec("h263");
    video.setBitRate(new Integer(320000));
    video.setFrameRate(new Integer(15));
    video.setSize(new VideoSize(400, 300));

    EncodingAttributes attrs = new EncodingAttributes();
    attrs.setFormat("mp4");
    attrs.setAudioAttributes(audio);
    attrs.setVideoAttributes(video);
    Encoder encoder = new Encoder();
    encoder.encode(source, target, attrs);
  • iOS Libavcodec - Trim and convert a video

    14 juillet 2015, par AnujAroshA

    In my iOS project, I am trying to take an .mp4 video file, cut out a small clip in the middle of the file, and convert the output to .mov file. I am using libavcodec to do this.

    I built the FFmpeg libraries for iOS using this script and added to my project.

    The code I am using to trim and convert the video file is this.

    The issues with final output of the file are :

    1. When I copy the output from the iPhone to my mac, the video meta data for duration and video dimensions are blank. If I do the same for the original, I get the video length and dimensions correctly. I must not be creating the video meta data on the new video correctly.

    2. The frame rate on the outputted video appears to be wrong. I expect to see e.g. 250 frames over 10 seconds (25fps), but instead I see 250 frames over 4 seconds, then only the last frame for the remaining 6 seconds.

    3. The code should seek to 100s in the video before starting trimming. Instead, the code appears to crop the video starting at the beginning.

  • Getting accurate time from FFMPeg with Objective C (Audio Queue Services)

    2 avril 2012, par Winston

    My iPhone app plays an audio file using FFMPeg.

    I'm getting the elapsed time (to show to user) from the playing audio (in minutes and seconds after converting from microseconds, given by FFMPeg) like so :

    AudioTimeStamp currentTimeStamp;
    AudioQueueGetCurrentTime (audioQueue, NULL, &currentTimeStamp, NULL);

    getFFMPEGtime = currentTimeStamp.mSampleTime/self.basicAudioDescription.mSampleRate;

    self.currentAudioTime = [NSString stringWithFormat: @"%02d:%02d",
                               (int) getFFMPEGtime / (int)60000000,
                               (int) ((getFFMPEGtime % 60000000)/1000000)];

    Everything works fine, but when I scrub back or forward to play another portion of the song, the elapsed time will go back to zero, no matter the current position. The timer will always zero out.

    I know I'm suposed to do some math to keep track of the old time and the new time, maybe constructing another clock or so, perhaps implementing another callback function, etc... I'm not sure what way I should go.

    My questions are :

    1) What's the best approach to keep track of the elapsed time when going back/forward in a song, avoiding the clock to always going back to zero ?

    2) Should I look deeply into FFMPeg functions or should I stick with Objective-C and Cocoa Touch for solving this problem ?

    Please, I need some advices/ideas from experienced programmers. I'm stuck. Thanks beforehand !