Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (97)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Les sons

    15 mai 2013, par
  • 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 (7423)

  • 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

    


  • Announcing TMPGEnc 4 : now with x264 !

    26 novembre 2010, par Dark Shikari — commercial, japan, licensing, x264

    A few months ago, we announced a commercial licensing program so that even companies unable to use GPL software in their products have a chance to use the open source x264 instead of proprietary alternatives. The system worked on two basic concepts. First, all licensees would still be required to give their changes to x264 back to us : x264 must forever remain free, with no useful contributions kept hidden from the community. Second, all the profits would go directly back to x264, primarily to the developers who’ve made the most significant contributions to x264 over the years, but also to funding future development, bounties for new features, as well as contributing to other related projects (e.g. Videolan and ffmpeg).

    Over the past couple of months, we’ve gotten an enormous response ; over 40 companies have inquired about licensing, with more contacting us every day. Due to the sheer volume of interest, we’ve partnered with CoreCodec, the creators of the free Matroska container format and developers of CoreAVC, to make x264 as widely available as possible in the world of commercial software as it is in the world of open source. All of this is already filtering back to benefiting x264 users, with many bugs being reported by commercial licensees as well as some code contributed.

    Today, we announce the first commercial consumer encoding software to switch to x264 : Pegasys Inc.’s TMPGEnc. Expect many more to follow : with x264 now available commercially as well as freely, there are few excuses left to use any other H.264 encoder. Vendors of overpriced, underpowered proprietary competitors should begin looking for new jobs.

    (Pegasys press release : English, Japanese)