Recherche avancée

Médias (91)

Autres articles (77)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

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

  • Is it possible to open a shell window on Windows with QNX Development Platform already installed to configure and make Ffmpeg ?

    2 août 2017, par xiaokaoy

    I need to build FFmpeg (with some features disabled first to reduce the size of the target application file) for QNX/ARM. QNX Software Development Platform has been installed on my Windows. Is it possible to open a shell on my Windows to configure and make FFMPEG for QNX/ARM ?

    Or is it also possible to configure that in the IDE ?

  • bash Shell : lost first element data partially

    10 mars 2016, par Sandeep Singh Rana

    Using bash shell :
    I am trying to read a file line by line.
    and every line contains two meaning full file names delimited by "``"

    file:1 image_config.txt

    bbbbb.mp4``thumb/hashdata.gif
    bbbbb.mp4``thumb/hashdata2.gif

    Shell Script

    #!/bin/bash
    filename="image_config.txt"

    while IFS='' read -r line || [[ -n "$line" ]]; do

    IFS='``' read -r -a array <<< "$line"
    if [ "$line" = "" ]; then
    echo lineempty
    else

    file=${array[0]}
    hash=${array[2]}

       echo $file$hash;
       output=$(ffmpeg -v warning -ss 2 -t 0.8 -i $file -vf scale=200:-1 -gifflags +transdiff -y $hash);
       echo $output;
    #    echo ${array[0]}${array[1]}${array[2]}
    fi;

    done < "$filename"

    first time executed successfully but when loop executes second time.
    variable file lost bbbbb from bbbbb.mp4
    and following output comes out

    Output :

    user@domain [~/public_html/Videos]$ sh imager.sh
    bbbbb.mp4thumb/hashdata.gif

    .mp4thumb/hashdata2.gif
    .mp4: No such file or directory

    lineempty
  • ffmpeg shell script to squeeze videos for twitter

    12 juin 2018, par André Levy

    Here’s a pretty rookie attempt at creating a shell script to squeeze videos into twitter’s 140s limitation :

    for f in "$@"
    do
       /Applications/ffmpeg -i $f -filter_complex "[0:v]setpts=140 / \
     $(/Applications/ffprobe -i $f -show_entries format=duration -v quiet -of csv="p=0") \
     * PTS[v];[0:a]atempo= \
     $(/Applications/ffprobe -i $f -show_entries format=duration -v quiet -of csv="p=0") \
     / 140[a]" -map "[v]" -map "[a]"  "${f%.*}_twitter.mp4"
    done

    It works, but it’s pretty badly written. Can you help me improve it ?

    1. How can I run ffprobe only once ?
    2. Do I need ffprobe at all, or does ffmpeg have the duration of the input amongst its arguments ?
    3. Will it encode faster with other settings (e.g. HW acceleration) ?
    4. Any twitter upload scripts out there to pipe this into ?

    Needless to say, I looked for this answers all around, to no avail.

    Cheers.