Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (77)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • 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" ;

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (9840)

  • ffmpeg - avcodec_decode_audio3 always returns 0 with aac decoding on android

    26 novembre 2011, par Android007

    I am writing an audio decoder based on ffmpeg for android, where I have to decode aac audio, but because of some reason it always returns 0 bytes decoded.

    Looks like I pass everything right. Can anybody tell me what went wrong in my case.I copied code from ffplay.c.
    What is the reason avcodec_decode_audio3 function always returns zero ?

    Here is the code from ffplay.c :

    AVPacket *pkt_temp = &is->audio_pkt_temp;
       AVPacket *pkt = &is->audio_pkt;
       AVCodecContext *dec= is->audio_st->codec;
       int n, len1, data_size;
       double pts;

             data_size = sizeof(is->audio_buf1);
           len1 = avcodec_decode_audio3(dec, (int16_t *)is->audio_buf1, &data_size, pkt_temp);
           if (len1 < 0) {
               pkt_temp->size = 0;
               break;
           }

          if (data_size <= 0){
                      //This block always gets executed.
               continue;
       }
  • Error while executing build.sh in ffmpeg-android

    22 juillet 2013, par Swathi EP

    I downloaded ffmpeg-android from the link : http://bambuser.com/opensource

    I followed the steps given in the file README available in that downloaded folder.

    I tried compiling ffmpeg with both android NDK r5 and r6, but got the same error which is as below :

    arm-linux-androideabi-gcc is unable to create an executable file.
    C compiler test failed.

    If you think configure made a mistake, make sure you are using the latest
    version from SVN.  If the latest version fails, report the problem to the
    ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solving the problem.

    Cygwin Version : 1.7.9

    Please someone help me in resolving it.

  • Playing RTSP stream in Android

    9 décembre 2014, par Kamil

    I’m trying to play video stream on Android device. Unfortunatelly I still get the same problem with MediaPlayer/VideoView. I’m searching for a few days, but still haven’t found any working solution.
    For test purposes I’m using MediaPlayer app from API Demos (API Demos/Media/MediaPlayer/Play Streaming Video).
    Here is code snippet for playing stream

    mMediaPlayer = new MediaPlayer();
    mMediaPlayer.setDataSource(path);
    mMediaPlayer.setDisplay(holder);
    mMediaPlayer.prepare();
    mMediaPlayer.setOnBufferingUpdateListener(this);
    mMediaPlayer.setOnCompletionListener(this);
    mMediaPlayer.setOnPreparedListener(this);
    mMediaPlayer.setOnVideoSizeChangedListener(this);

    When I try to play stream I get this info from logcat
    http://pastebin.com/5Uib5CH5

    This is configuration of ffserver streaming the video

    Port 8090
    BindAddress 0.0.0.0

    RTSPPort 7654
    RTSPBindAddress 0.0.0.0

    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 10000

    CustomLog -
    NoDaemon
    <Feed feed1.ffm>

    File /tmp/feed1.ffm
    FileMaxSize 5M

    Launch ffmpeg -i mmsh://tempserv.cam/vid1

    ACL allow 127.0.0.1

    </Feed>

    <Stream rat1.mpg>
    Feed feed1.ffm
    Format rtp
    NoAudio
    VideoBitRate 56k
    VideoBufferSize 40
    VideoFrameRate 12
    VideoSize 176x144
    VideoGopSize 12
    VideoCodec libx264
    AVPresetVideo baseline
    </Stream>

    If anyone can advise me how to fix it, or at least indicate an mistake, I will be grateful.