Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (55)

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

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (5874)

  • iPhone slow motion video transcode

    28 septembre 2019, par coverboy

    I’m developing upload video (taken from iPhone) to my server.

    However, I have no idea how to implement.

    Any source code objective-c or swift will be welcomed.

    I have 120fps or 240fps video (It’s a slo-mo).
    When I playback these video on my iPhone6. I can see slo-mo effect.
    (I know playback frame rate is 30fps.)

    I want to convert that video before upload to my server, from 120/240 fps to 30fps video. (I mean not adjusting playback frame rate, it means video transcode to 30fps.)
    Additionally, I want to check slo-mo effect start-point and end-point.
    (Maybe iPhone record this information to video binary(it might be reside in file’s header.)

    Well, I guess if I use ffmpeg library, it should be easy(?).

    So any suggestions will be welcomed.

  • ffmpeg audio and the iphone

    17 juin 2019, par michelle

    has anyone been able to make ffmpeg work with audio queues, I get an error when I try to create the queue.

    ret = avcodec_open(enc, codec);

    if (ret < 0) {
       NSLog(@"Error: Could not open video decoder: %d", ret);
       av_close_input_file(avfContext);
       return;
    }


    if (audio_index >= 0) {
       AudioStreamBasicDescription
       audioFormat;

       audioFormat.mFormatID = -1;

       audioFormat.mSampleRate =
       avfContext->streams[audio_index]->codec->sample_rate;

       audioFormat.mFormatFlags = 0;

       switch (avfContext->streams[audio_index]->codec->codec_id)
       {
       case CODEC_ID_MP3:
           audioFormat.mFormatID = kAudioFormatMPEGLayer3;
           break;

       case CODEC_ID_AAC:
           audioFormat.mFormatID = kAudioFormatMPEG4AAC;
           audioFormat.mFormatFlags = kMPEG4Object_AAC_Main;
           break;

       case CODEC_ID_AC3:
           audioFormat.mFormatID = kAudioFormatAC3;
           break;
       default:
           break;
       }

       if (audioFormat.mFormatID != -1) {
           audioFormat.mBytesPerPacket = 0;
           audioFormat.mFramesPerPacket =
           avfContext->streams[audio_index]->codec->frame_size;

           audioFormat.mBytesPerFrame = 0;

           audioFormat.mChannelsPerFrame = avfContext->streams[audio_index]->codec->channels;

           audioFormat.mBitsPerChannel = 0;

           if (ret = AudioQueueNewOutput(&audioFormat, audioQueueOutputCallback, self, NULL, NULL, 0, &audioQueue)) {

               NSLog(@"Error creating audio output queue: %d", ret);
           }

    The issues only with the audio,

    Video is perfect if only I can figure out how to get audio queues to work.

    http://web.me.com/cannonwc/Site/Photos_6.html

    I though of remoteio but there is’nt much doc on that.

    I will share the code for the complete class with anyone that helps me get it to work.

    The idea is to have a single view controller that plays any streaming video passed to it, similar to ffplay on the iphone but without the sdl overhead.

  • Recorded & uploaded video from iphone device won't play in iphone

    11 juin 2019, par Sohil Chamadia

    I am facing an issue regarding :

    Recording video from iphone and uploading that video on my application(Develop in Wordpress Framework) then the video uploaded won’t play in iphone devices.

    This issue occurs only when I "Record video from iphone and then uploading that video into the application".If I upload existing video from iphone device then video will be played and it’s working fine. So please help to resolve this issue.I have used "FFmpeg library" to reduce the size of video.

    Below is the code which i have used to play video :

    <video preload="auto" width="320" height="240" controls=""><source src="abc.mp4" type="video/mp4">Your browser does not support the video tag.</source></video>

    When i click on video to play it then video is not play and cross sign is shown over the play button.Below i have attached screenshot of it :
    enter image description here