Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (32)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (5501)

  • ffmpeg_filter : do not pick evil path for trim filters

    12 juillet 2013, par Paul B Mahol
    ffmpeg_filter : do not pick evil path for trim filters
    

    Signed-off-by : Paul B Mahol <onemda@gmail.com>

    • [DH] ffmpeg_filter.c
  • iOS header search path

    25 mai 2016, par AlecGamble

    So I’m pretty new to iOS development and I’m a little confused by the header search paths. Here are the ones it’s already including :

    enter image description here

    I presume some (if not all) of these are present because it’s a cordova project.

    In my file structure I’ve added a folder with the FFmpeg libraries (the FFmpeg folder is on the same level as classes within the app directory). I presume I want to include everything in the lib subfolder (they’re all .a files) so my file structure is :

    App Folder (Same level as the .xcodeproj file) > FFmpeg > FFmpeg-iOS > lib > .a files.

    Could somebody suggest to me what linker I should use or how I somewhere I can look to find out ?

    Thanks.


    I’m trying things like :

    $(PROJECT_DIR)/AppFolder/FFmpeg/FFmpeg-iOS/include

    and

    $(SRCROOT)/AppFolder/FFmpeg/FFmpeg-iOS/include

    and then I feel like I should be able to import it as :

    #import <libavcodec></libavcodec>avcodec.h>

    but it’s just not finding it, I’ve tweaked the path a lot.

  • Shell script works fine from shell but doesn’t work as expected when executed via PHP “shell_exec” code

    9 décembre 2019, par Eric Feillant

    This record.sh script shell is here and works fine on command line to record an MP4 file from a local flv live stream :

    DATE=`date +"%d-%m-%Y-%T"`
    if [ -s NAMESTREAM ]
    then
    cat config.php | dos2unix | grep auth | grep username | \
    awk -F ' ' '{print $3}' | sed "s/'//g" | sed "s/;//g" | while read VAR
    do echo $VAR > RECSTREAM
    echo "Starting recording ..."
    ffmpeg -i "rtmp://localhost/hls/$VAR" -crf 19 videos/"$VAR"_"$DATE".mp4
    done
    else
    echo "Streaming is not started, please start it before"
    fi

    I send a shell_exec to call the last shell script in a php script like this :

    $old_path = getcwd();
    chdir('/usr/local/nginx/html/mydir');
    $output = shell_exec('nohup ./record.sh >/dev/null 2>/dev/null &amp;');
    chdir($old_path);

    The MP4 video files are generated but unreadable with VLC, etc… It seems that the problem is due to my PHP script but I am not able to know why.

    When executing from the shell command line : PHP myphpscript.php works fine, MP4 video files are OK. But from the PHP web page, the MP4 video files are corrupted.

    Any ideas ? Any param to test in FFmpeg to have a good mp4 video file ?