Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (20)

  • 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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (4918)

  • Getting "Your FFProbe version is too old..." error in Laravel during file upload with FFMpeg

    9 septembre 2020, par pjotr79

    currently I'm working on a video uploader (to S3) script in Laravel. I'd like to get some info about the uploaded video and later I'd like to create thumbnails as well (with the help of this plugin). As a first step I've installed the FFMpeg with brew :

    


    $ brew update
$ brew upgrade
$ brew cleanup
$ brew install ffmpeg --force
$ brew link ffmpeg


    


    Then in composer

    


    $ composer require php-ffmpeg/php-ffmpeg


    


    When I'm checking the installation I get the following

    


    which ffmpeg
/usr/local/bin/ffmpeg

which ffprobe
/usr/local/bin/ffprobe


    


    By checking the version :

    


    ffmpeg -version
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
    built with Apple clang version 11.0.3 (clang-1103.0.32.62)
    configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
    libavutil      56. 51.100 / 56. 51.100
    libavcodec     58. 91.100 / 58. 91.100
    libavformat    58. 45.100 / 58. 45.100
    libavdevice    58. 10.100 / 58. 10.100
    libavfilter     7. 85.100 /  7. 85.100
    libavresample   4.  0.  0 /  4.  0.  0
    libswscale      5.  7.100 /  5.  7.100
    libswresample   3.  7.100 /  3.  7.100
    libpostproc    55.  7.100 / 55.  7.100


    


    The path also seems to be ok

    


    echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin


    


    But when I'm trying to upload a video file (sample.mp4) I have the following error message :
Your FFProbe version is too old and does not support -help option, please upgrade.

    


    Here's the snippet from my code to test the upload :

    


        use FFMpeg;


    public function upload(Request $request)
    {
        if ($request->hasFile('files')) {
            $files = $request->file('files');
            foreach ($files as $key => $file) {
                $filename = pathinfo($file->getClientOriginalName(), PATHINFO_FILENAME);
                $extension = $file->getClientOriginalExtension();
                $filename = str_slug($filename).'.'.$extension;
                Storage::disk('s3Files')->put($filename, file_get_contents($file),'public');
                $fileurl = \Config::get('s3.files').$filename;

                $ffprobe = FFMpeg\FFProbe::create([
                    'ffmpeg.binaries'  => '/usr/local/bin/ffmpeg',
                    'ffprobe.binaries' => '/usr/local/bin/ffprobe'
                ]);

                $filesave = new File();
                $filesave->name = $filename;
                $filesave->type = $file->getClientMimeType();
                $filesave->size = $file->getSize();
                $filesave->duration = $ffprobe->format($fileurl)->get('duration');
                $filesave->save();

            }
        }
    }


    


    Now I spent hours to try to find a solution (also checking this thread here, but I couldn't solve the issue.

    


    My dev environment runs on Mac OS X 10.15.5, with Nginx and PHP 7.4.

    


    Do you have any idea how could I fix this problem ?

    


  • electron-packager - exclude ffmpeg from final build

    20 juillet 2020, par TomRavn

    I am working on electron windows desktop app. I would like to make my build little bit smaller. I noticed that electron-packager add ffmpeg and other files into final build, my question is, is there possibility to make build without ffmpeg possibly without other unnecessary files (if there are any).

    


    My build command look like this :

    


    "electron-packager . hiss_xread --overwrite --asar --platform=win32 --arch=x64 --appCopyright=\"Copyright 2020 Tom Ravn, all rights reserved.\" --icon=src/favicon.ico --prune=true --out=release-builds --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\"Hiss xRead\""


    


    Thank you very much in advance.

    


  • Anomalie #4522 (En cours) : erreur en php 8 dans mysql.log

    14 juillet 2020, par Franck D

    Hello :)

    Windows 10 (1909)
    Firefox 78.0.2
    Easyphp
    Apache 2.4.43 x64
    PHP 8.0.0 alpha1 x64
    MySQL 8.0.20 x64
    PhpMyAdmin 5.0.2
    Prefix des tables "spip5"
    Je fais tout afficher via mes_options, j’installe spip 3.3 ensuite, je regarde les logs de la table mysql.log et cela m’affiche 5 erreurs ( à voir si ce n’est pas "normal" quand même, car cela semble fonctionner quand même)

    2020-07-14 14:48:35 127.0.0.1 (pid 1576) C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test5\ecrire\base\connect_sql.php:L170:spip_sql_erreur()::Pub:ERREUR : Erreur 1525 de mysql : Incorrect TIMESTAMP value : ’’2020-07-13 14:48:35’’
    in C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test5\plugins-dist\forum\forum_pipelines.php L308 [sql_delete(),forum_optimiser_base_disparus(),minipipe(),execute_pipeline_optimiser_base_disparus(),pipeline(),optimiser_base_disparus(),optimiser_base(),genie_optimiser_dist(),queue_start_job(),queue_schedule(),inc_genie_dist(),cron(),action_cron(),traiter_appels_actions(),include()]
    DELETE FROM `spip`.spip5_forum
    WHERE statut=’redac’ AND maj < ’\’2020-07-13 14:48:35\’’

    2020-07-14 14:48:35 127.0.0.1 (pid 1576) C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test5\ecrire\base\connect_sql.php:L170:spip_sql_erreur()::Pub:ERREUR : Erreur 1525 de mysql : Incorrect TIMESTAMP value : ’’2020-07-13 14:48:35’’
    in C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test5\plugins-dist\mots\mots_pipelines.php L97 [sql_delete(),mots_optimiser_base_disparus(),minipipe(),execute_pipeline_optimiser_base_disparus(),pipeline(),optimiser_base_disparus(),optimiser_base(),genie_optimiser_dist(),queue_start_job(),queue_schedule(),inc_genie_dist(),cron(),action_cron(),traiter_appels_actions(),include()]
    DELETE FROM `spip`.spip5_mots
    WHERE length(titre)=0 AND maj < ’\’2020-07-13 14:48:35\’’

    2020-07-14 14:48:35 127.0.0.1 (pid 1576) C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test5\ecrire\base\connect_sql.php:L170:spip_sql_erreur()::Pub:ERREUR : Erreur 1525 de mysql : Incorrect TIMESTAMP value : ’’2020-07-13 14:48:35’’
    in C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test5\plugins-dist\petitions\petitions_pipelines.php L78 [sql_delete(),petitions_optimiser_base_disparus(),minipipe(),execute_pipeline_optimiser_base_disparus(),pipeline(),optimiser_base_disparus(),optimiser_base(),genie_optimiser_dist(),queue_start_job(),queue_schedule(),inc_genie_dist(),cron(),action_cron(),traiter_appels_actions(),include()]
    DELETE FROM `spip`.spip5_petitions
    WHERE statut=’poubelle’ AND maj < ’\’2020-07-13 14:48:35\’’

    2020-07-14 14:48:35 127.0.0.1 (pid 1576) C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test5\ecrire\base\connect_sql.php:L170:spip_sql_erreur()::Pub:ERREUR : Erreur 1525 de mysql : Incorrect TIMESTAMP value : ’’2020-07-13 14:48:35’’
    in C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test5\plugins-dist\sites\sites_pipelines.php L228 [sql_delete(),sites_optimiser_base_disparus(),minipipe(),execute_pipeline_optimiser_base_disparus(),pipeline(),optimiser_base_disparus(),optimiser_base(),genie_optimiser_dist(),queue_start_job(),queue_schedule(),inc_genie_dist(),cron(),action_cron(),traiter_appels_actions(),include()]
    DELETE FROM `spip`.spip5_syndic
    WHERE maj<’\’2020-07-13 14:48:35\’’ AND statut=’refuse’

    2020-07-14 14:48:35 127.0.0.1 (pid 1576) C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test5\ecrire\base\connect_sql.php:L170:spip_sql_erreur()::Pub:ERREUR : Erreur 1525 de mysql : Incorrect TIMESTAMP value : ’’2020-07-13 14:48:35’’
    in C :\Program Files (x86)\EasyPHP-Devserver-17\eds-www\test5\plugins-dist\breves\breves_pipelines.php L298 [sql_select(),breves_optimiser_base_disparus(),minipipe(),execute_pipeline_optimiser_base_disparus(),pipeline(),optimiser_base_disparus(),optimiser_base(),genie_optimiser_dist(),queue_start_job(),queue_schedule(),inc_genie_dist(),cron(),action_cron(),traiter_appels_actions(),include()]
    SELECT B.id_breve AS id
    FROM `spip`.spip5_breves AS B
    LEFT JOIN `spip`.spip5_rubriques AS R
    ON B.id_rubrique=R.id_rubrique
    WHERE R.id_rubrique IS NULL
    AND B.maj < ’\’2020-07-13 14:48:35\’’