Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (51)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

Sur d’autres sites (5644)

  • FFMPEG shell execution with PHP - Unusual Error Because of GCC

    9 février 2012, par trocker

    I've been trying to debug the PHP Script, but the error message that I receive is very unusual.

    • CP, MV , WHOAMI - all these commands work with shell_exec
    • FFMPEG is installed
    • apache user - nobody with read write execute permission for nogroup to /usr/bin/ffmpeg.
    • FFMPEG working fine in terminal.
    • GCCPP is installed and GCC package is also installed.
    • Working with shell PHP command (brock@ubuntu $ php runthis.php)

    Code I ran :

    exec('ffmpeg -i beep.mp3 -ac 1 -ar 48000 -ab 128k audio1.mp3 2>&1', $out, $rv);
    echo "output is:\n".implode("\n", $out)."\nexit code:$rv\n";

    I get the following error :

    output is: ffmpeg: /opt/lampp/lib/libgcc_s.so.1: version `GCC_4.0.0' not found (required by /usr/lib/libdirac_encoder.so.0) ffmpeg: /opt/lampp/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6) exit code:1

    Can someone help me out here ?

  • Changing int main() to JNI interface prototype

    13 mars 2012, par iSun

    I changed ffmpeg.c according following link :

    http://www.roman10.net/how-to-port-ffmpeg-the-program-to-androidideas-and-thoughts/

    He said the change main () to JNI interface prototype. Well, I'm not familiar with JNI interface prototype, but I read an article about JNI and change it accordingly.

    Can anyone look at my code to see is this true or not ?

    JNIEXPORT jint JNICALL Java_com_ffmpegtest_MainActivity_main(JNIEnv *pEnv, int argc, char **argv) {
    int64_t ti;

    av_log_set_flags(AV_LOG_SKIP_REPEATED);

    if(argc>1 && !strcmp(argv[1], "-d")){
    run_as_daemon=1;
    verbose=-1;
    av_log_set_callback(log_callback_null);
    argc--;
    argv++;

    }

    avcodec_register_all();
    #if CONFIG_AVDEVICE
    avdevice_register_all();
    #endif
    #if CONFIG_AVFILTER
    avfilter_register_all();
    #endif
    av_register_all();

    #if HAVE_ISATTY
    if(isatty(STDIN_FILENO))
    avio_set_interrupt_cb(decode_interrupt_cb);
    #endif

    init_opts();

    if(verbose>=0)
    show_banner();

    /* parse options */
    parse_options(argc, argv, options, opt_output_file);

    if(nb_output_files <= 0 && nb_input_files == 0) {
    show_usage();
    fprintf(stderr, "Use -h to get full help or, even better, run 'man ffmpeg'\n");
    ffmpeg_exit(1);
    }

    /* file converter / grab */
    if (nb_output_files <= 0) {
    fprintf(stderr, "At least one output file must be specified\n");
    ffmpeg_exit(1);
    }

    if (nb_input_files == 0) {
    fprintf(stderr, "At least one input file must be specified\n");
    ffmpeg_exit(1);
    }

    ti = getutime();
    if (transcode(output_files, nb_output_files, input_files, nb_input_files,
    stream_maps, nb_stream_maps) < 0)
    ffmpeg_exit(1);
    ti = getutime() - ti;
    if (do_benchmark) {
    int maxrss = getmaxrss() / 1024;
    printf("bench: utime=%0.3fs maxrss=%ikB\n", ti / 1000000.0, maxrss);
    }

    return ffmpeg_exit(0);
    }
  • WAMP ffmpeg integration [closed]

    18 avril 2015, par systech44

    I am using WAMP server version 2.5, with Apache/2.4.9 (Win32) PHP/5.5.12 and is not possible to to integrate ffmpeg library with WAMP server.

    Here what I have done so far to integrate the ffmpeg with WAMP server.

    1. Download ffmpeg from here http://sergey89.ru/files/ffmpeg-php/.

    2. Extract the files. Copy php_ffmpeg.dll to E :\wamp\bin\php\php5.5.12\ext.

    3. Copy rest of the files to C :\Windows\System32.

    4. Add the following lines at the end of extension list of php.ini file.
      [PHP_ffmpeg]
      extension=php_ffmpeg.dll

    5. Click on Restart All Services.

    6. There is update of ffmpeg in phpinfo().

    7. Close WAMP.

    8. Start WAMP and getting the following warning.

    PHP Startup : ffmpeg : Unable to initiate module
    Module compiled with module API=20090626
    PHP compiled with module API=20121212
    These options need to match

    Please let me what exactly am I need to do to resolve the issue. I have visited other relevant threads in this forum and try few, but no solution. Please help to find the solution.