Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (38)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

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

  • 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

Sur d’autres sites (4480)

  • php_ffmpeg some error and solutions

    26 mars 2018, par sonam Sharma

    I have successfully installed php_ffmpeg in my new project with the help of a guy on stackoverflow.com.
    I can do the basic jobs like extracting a frame out of a video
    but when I try to convert the video to another format I get this error :

    Fatal error : Uncaught exception ’Alchemy\BinaryDriver\Exception\ExecutionFailureException’
    with message ’ffprobe failed to execute command "C :\ffmpeg\bin\ffprobe.EXE"
    "sample3.mp4" "-show_streams" "-print_format" "json"’ in
    C :\wamp\www\raidpipe\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe.php on line 244

    Alchemy\BinaryDriver\Exception\ExecutionFailureException :
    ffprobe failed to execute command "C :\ffmpeg\bin\ffprobe.EXE"
    "sample3.mp4" "-show_streams" "-print_format" "json" in
    C :\wamp\www\raidpipe\vendor\alchemy\binary-
    driver\src\Alchemy\BinaryDriver\ProcessRunner.php on line 100

    FFMpeg\Exception\RuntimeException :
    Unable to probe sample3.mp4 in
    C :\wamp\www\raidpipe\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe.php on line 244

    I have used this code in my test page :

    <?php
    require 'vendor/autoload.php';
    $ffmpeg = FFMpeg\FFMpeg::create();
    $video = $ffmpeg->open('test/sample3.mp4');
    $video
    ->filters()
    ->resize(new FFMpeg\Coordinate\Dimension(320, 240))
    ->synchronize();
     $video
    ->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(19))
    ->save('test/clip/frame123.jpg');
     $video
    ->save(new FFMpeg\Format\Video\X264(), 'export-x264.mp4')
    ->save(new FFMpeg\Format\Video\WMV(), 'export-wmv.wmv')
    ->save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');
    ?>

    When I run this code it gives me the frame without any error

    require 'vendor/autoload.php';
     $ffmpeg = FFMpeg\FFMpeg::create();
     $video = $ffmpeg->open('test/sample3.mp4');
     $video
    ->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(19))
    ->save('test/clip/frame123.jpg');

    Please suggest me a way to convert the video by using the php_ffmpeg
    i need the video to be converted to some basic formats which can be supported by all the browsers and also please let me know is it a good practice to use exc (execute) in php ??

    I got the above code from this link

     https://github.com/PHP-FFMpeg/PHP-FFMpeg
  • php_ffmpeg some error and sollutions

    6 mars 2016, par sonam Sharma

    Hello I have successfully installed php_ffmpeg in my new project with the help of a guy on stackoverflow.com.
    I can do the basic jobs like extracting a frame out of a video
    but when I try to convert the video to another format I get this error :

    Fatal error : Uncaught exception ’Alchemy\BinaryDriver\Exception\ExecutionFailureException’
    with message ’ffprobe failed to execute command "C :\ffmpeg\bin\ffprobe.EXE"
    "sample3.mp4" "-show_streams" "-print_format" "json"’ in
    C :\wamp\www\raidpipe\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe.php on line 244

    Alchemy\BinaryDriver\Exception\ExecutionFailureException :
    ffprobe failed to execute command "C :\ffmpeg\bin\ffprobe.EXE"
    "sample3.mp4" "-show_streams" "-print_format" "json" in
    C :\wamp\www\raidpipe\vendor\alchemy\binary-
    driver\src\Alchemy\BinaryDriver\ProcessRunner.php on line 100

    FFMpeg\Exception\RuntimeException :
    Unable to probe sample3.mp4 in
    C :\wamp\www\raidpipe\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe.php on line 244

    I have used this code in my test page :

    <?php
    require 'vendor/autoload.php';
    $ffmpeg = FFMpeg\FFMpeg::create();
    $video = $ffmpeg->open('test/sample3.mp4');
    $video
    ->filters()
    ->resize(new FFMpeg\Coordinate\Dimension(320, 240))
    ->synchronize();
     $video
    ->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(19))
    ->save('test/clip/frame123.jpg');
     $video
    ->save(new FFMpeg\Format\Video\X264(), 'export-x264.mp4')
    ->save(new FFMpeg\Format\Video\WMV(), 'export-wmv.wmv')
    ->save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');
    ?>

    When I run this code it gives me the frame without any error

    require 'vendor/autoload.php';
     $ffmpeg = FFMpeg\FFMpeg::create();
     $video = $ffmpeg->open('test/sample3.mp4');
     $video
    ->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(19))
    ->save('test/clip/frame123.jpg');

    Please suggest me a way to convert the video by using the php_ffmpeg
    i need the video to be converted to some basic formats which can be supported by all the browsers and also please let me know is it a good practice to use exc (execute) in php ??

    I got the above code from this link

     https://github.com/PHP-FFMpeg/PHP-FFMpeg
  • how to install arm64 ffmpeg on x86 ubuntu

    22 avril 2023, par rat star

    I've tried to install arm ffmpeg on my Ubuntu x86 because I need x86 environment to develop and run on my aarch64 device. So I installed x264 and use these codes :

    


    ./configure --enable-shared --enable-pic --enable-static --disable-x86asm --cross-prefix=aarch64-linux-gnu- --enable-cross-compile --arch=aarch64 --target-os=linux --enable-libx264 --enable-gpl --prefix=${THIRDPART_PATH} --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
make -j8
make install


    


    howerver, it succeeded in configure after I installed pkg-config-aarch64-linux-gnu and export path like

    


    export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"


    


    but when I functioned "make -j8", it failed and returned error message below :

    


    /usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/local/lib/libx264.so when searching for -lx264
/usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/local/lib/libx264.so when searching for -lx264
libavcodec/libavcodec.so: undefined reference to `x264_encoder_open_164'
collect2: error: ld returned 1 exit status
Makefile:108: recipe for target 'ffprobe_g' failed
make: *** [ffprobe_g] Error 1
make: *** Waiting for unfinished jobs....
/usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/local/lib/libx264.so when searching for -lx264
/usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/local/lib/libx264.so when searching for -lx264
libavcodec/libavcodec.so: undefined reference to `x264_encoder_open_164'
collect2: error: ld returned 1 exit status
Makefile:108: recipe for target 'ffmpeg_g' failed
make: *** [ffmpeg_g] Error 1


    


    How can I solve that ?

    


    I've depicted all above