Recherche avancée

Médias (91)

Autres articles (31)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • 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

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (4910)

  • FFMPEG - Output video not playing after effect

    11 mai 2021, par D.B.

    I am using FFMPEG for giving effects to video.

    


    I tried to give effect to video using below commands.

    


    ffmpeg -i Input1.mp4 -i Input2.mp4 -filter_complex xfade=transition=circleopen:duration=5:offset=0 OutPutVideo.mp4


    


    My command runs fine but output video is not running even in VLC media player.

    


    I got these commands from location :
https://ottverse.com/crossfade-between-videos-ffmpeg-xfade-filter/

    


    My videos are at location :
https://drive.google.com/drive/folders/1SLsrRUjyGH3eM7Oe3cptU_YPkga7EoCO?usp=sharing

    


    Please advise what is the issue ?

    


    Kind Regards,

    


  • using gstreamer or ffmpeg to create hsync and vsync video effect using just terminal commands

    15 mars 2017, par Rick T

    I’m trying to find a way to create a vsync / hsync effect by just typing commands into the terminal. Can gstreamer or ffmpeg do this ?

    Example : I have an image and I want it to repeatedly scroll up and / or scroll to the side.
    See example of animated vertical gif image below

    Hsync

    I’m using ubuntu 16.04 (linux)

  • Statement has no effect 'AVPacket'

    24 octobre 2013, par ssrp

    I am developing a Decoder using android NDK and FFmpeg native libraries. I have put Native Support for the project using Android Tools and I have the C code in videodecoder.cpp file. In the file the following function gives me this problem

    JNIEXPORT jint Java_ssrp_android_ffmpegdecoder_H264Decoder_consumeNalUnitsFromDirectBuffer(
           JNIEnv* env, jobject thiz, jobject nal_units, jint num_bytes,
           jlong pkt_pts) {
       DecoderContext *ctx = get_ctx(env, thiz);

       void *buf = NULL;
       if (nal_units == NULL) {
           D("Received null buffer, sending empty packet to decoder");
       } else {
           buf = env->GetDirectBufferAddress(nal_units);
           if (buf == NULL) {
               D("Error getting direct buffer address");
               return -1;
           }
       }

       AVPacket packet = {.data = (uint8_t*) buf, .size = num_bytes, .pts = pkt_pts };

       int frameFinished = 0;
       int res = avcodec_decode_video2(ctx->codec_ctx, ctx->src_frame,&frameFinished, &packet);

       if (frameFinished)
           ctx->frame_ready = 1;

       return res;
    }

    At the line AVPacket packet = {.data = (uint8_t*) buf, .size = num_bytes, .pts = pkt_pts };

    It says that `Statement has no effect "AVPAcket" and

    At the line int res = avcodec_decode_video2(ctx->codec_ctx, ctx->src_frame,&frameFinished, &packet);

    It says that

    Invalid arguments '
    Candidates are:
    int avcodec_decode_video2(AVCodecContext *, AVFrame *, int *, const AVPacket *)'