Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (65)

  • 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

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (4885)

  • Two Pass encoding FFMpeg C/C++

    21 mai 2018, par Carmine Spizuoco

    From different days I’m trying to implement the two pass encoding h264 in ffmpeg without success. I understand that in the first pass I need to create a text file with the statistics that are in stats_out. This step is realized internally from ffmpeg, so I need set the first pass and have the data in stats_out and after I need go to pass 2.

    For now I’m trying to activate the pass 1 in different way adding the flag in the codecContext :

    CodecCtx->flags |= AV_CODEC_FLAG_PASS1;

    and/or set the option before the creation of context :

    av_opt_set(CodecCtx, "pass", "1", 0);

    but in any way i have the same result, stats_out is always (null).

    Also in the investigation i discovery this FF_API_STATS_BIT that seems to be deprecated :

    if FF_API_STAT_BITS

    /* statistics, used for 2-pass encoding */
    attribute_deprecated
    int mv_bits;
    attribute_deprecated
    int header_bits;
    attribute_deprecated
    int i_tex_bits;
    attribute_deprecated
    int p_tex_bits;
    attribute_deprecated
    int i_count;
    attribute_deprecated
    int p_count;
    attribute_deprecated
    int skip_count;
    attribute_deprecated
    int misc_bits;

    /** @deprecated this field is unused */
    attribute_deprecated
    int frame_bits;

    endif

    So there is i little bit of ambiguity on how to realize this process and the relative posts are too old and not very usefull.

    There is anyone that had experience on it ?

  • bash script to start/stop ffmpeg x11grab

    13 décembre 2018, par lunacafu

    A application is storing its status in a file on the server /temp/status.txt. There are 4 status possible : wait, ready, recording, finished. With a cronjob I would like to start a shell script that checks this file and take action as follows :

    • wait -> do nothing
    • ready -> execute ffmpeg -f x11grab -s cif -r 25 -i :0.0 /tmp/out.mpg. Now while ffmpeg captures, the status.txt file still has to be checked for a change to the status,
    • recording -> do nothing
    • finished -> send q command to ffmpeg process to quit capturing process and finish script.

    I tried to solve it with expect and xdotool to realize that this absolutely the wrong way. My problem is that I acutally have no experience in bash and handling processes, child processes etc.

  • bash script to start/stop ffmpeg x11grab

    28 juin 2012, par lunacafu

    A application is storing its status in a file on the server /temp/status.txt. There are 4 status possible : wait, ready, recording, finished. With a cronjob I would like to start a shell script that checks this file and take action as follows :

    • wait -> do nothing
    • ready -> execute ffmpeg -f x11grab -s cif -r 25 -i :0.0 /tmp/out.mpg. Now while ffmpeg captures, the status.txt file still has to be checked for a change to the status,
    • recording -> do nothing
    • finished -> send q command to ffmpeg process to quit capturing process and finish script.

    I tried to solve it with expect and xdotool to realize that this absolutely the wrong way. My problem is that I acutally have no experience in bash and handling processes, child processes etc.