Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (31)

  • Les images

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

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

  • ffmpeg how to open from browser and save in server

    11 février 2021, par leo

    The following code split one video from the server and save the video in the server , but how ffmpeg gets a video directly from browser ,(html5 video uploaded for the user )

    


    Code

    


    <video crossorigin="anonymous"></video>&#xA;&#xA;&#xA;&lt;?php &#xA;if (isset($_POST["submit"])){&#xA;require &#x27;vendor/autoload.php&#x27;;&#xA;$ffmpeg = FFMpeg\FFMpeg::create();&#xA;$video = $ffmpeg->open(&#x27;myvideos/video.mp4&#x27;); ** how i get uservideo  without upload the video into the server?** &#xA;$video&#xA;->filters()&#xA;->clip(FFMpeg\Coordinate\TimeCode::fromSeconds(2), FFMpeg\Coordinate\TimeCode::fromSeconds(3));&#xA;$video&#xA;->save(new FFMpeg\Format\Video\WMV(), &#x27;myvideos/clipedvideo.wmv&#x27;);  &#xA;}?>    &#xA;

    &#xA;

  • Anomalie #4668 (Nouveau) : Erreur 500 : failed to open dir : Permission denied

    15 février 2021, par Pierre KUHN

    Bonjour,

    Avec la dernière version de 4.3.0 on bloque à la fin :

    1. <span class="CodeRay"><span class="constant">Fatal</span> error: <span class="constant">Uncaught</span> <span class="constant">UnexpectedValueException</span>: <span class="constant">RecursiveDirectoryIterator</span>::__construct(./docker/database/mysql): failed to open dir: <span class="constant">Permission</span> denied in /<span class="keyword">var</span>/www/html/octoshow/spip_loader.php:<span class="integer">998</span> <span class="constant">Stack</span> trace: <span class="comment">#0 [internal function]: RecursiveDirectoryIterator->__construct('./docker/databa...', 12288) #1 [internal function]: RecursiveDirectoryIterator->getChildren() #2 [internal function]: FilterIterator->rewind() #3 /var/www/html/octoshow/spip_loader.php(998): FilterIterator->rewind() #4 /var/www/html/octoshow/spip_loader.php(928): SL_lister_contenus_superflus(Array, './', Array) #5 /var/www/html/octoshow/spip_loader.php(887): SL_comparer_contenus(Array, './') #6 /var/www/html/octoshow/spip_loader.php(1187): SL_nettoyer_superflus(Array, './') #7 /var/www/html/octoshow/spip_loader.php(1345): spip_deballe_paquet('spip/archives/s...', './spip-v3.2.9.z...', '', 0) #8 /var/www/html/octoshow/spip_loader.php(1462): spip_deballe('spip/archives/s...', 'fichier', '', 0) #9 {main} thrown in /var/www/html/octoshow/spip_loader.php on line 998</span>
    2. </span>

    Télécharger

    Je travail sur docker, les droits rw-rw--- 1 999 999
    Merci

  • ffmpeg crashes in electron on mac apple store ; no suitable image found file system sandbox blocked open() of 'libass'

    20 février 2021, par Martin

    I am trying to release an electron app on the Mac Apple Store (mas), my electron app uses ffmpeg to render videos. In order to release my app on the mac apple store, It needs to be sandboxed, and by default ffmpeg makes calls to external libraries so I need to statically build ffmpeg and package it with my app. I have successfully built my app, submitted it to the app store, had it approved, and downloaded/used it but my ffmpeg fails with this errir :

    &#xA;

    Uncaught (in promise) Error: Command was killed with SIGABRT (Aborted): /Users/martinbarker/Documents/projects/digify-new/dist/mas/Digify.app/Contents/Resources/ffmpeg -i /Users/martinbarker/Downloads/Steve Leach With The Crystal Grass Orchestra – Ocean Potion/9. Get Out In The Sun.flac -i /Users/martinbarker/Downloads/Steve Leach With The Crystal Grass Orchestra – Ocean Potion/10. Golden Hues.flac -y -filter_complex concat=n=2:v=0:a=1 -c:a libmp3lame -b:a 320k /Users/martinbarker/Downloads/Steve Leach With The Crystal Grass Orchestra – Ocean Potion/output-261020.mp3&#xA;dyld: Library not loaded: /usr/local/opt/libass/lib/libass.9.dylib&#xA;  Referenced from: /Users/martinbarker/Documents/projects/digify-new/dist/mas/Digify.app/Contents/Resources/ffmpeg&#xA;  Reason: no suitable image found.  Did find:&#xA;    file system sandbox blocked open() of &#x27;/usr/local/opt/libass/lib/libass.9.dylib&#x27;&#xA;    /usr/local/opt/libass/lib/libass.9.dylib: stat() failed with errno=1&#xA;    file system sandbox blocked open() of &#x27;/usr/local/lib/libass.9.dylib&#x27;&#xA;    file system sandbox blocked open() of &#x27;/usr/local/Cellar/libass/0.15.0/lib/libass.9.dylib&#x27;&#xA;    at makeError (/Users/martinbarker/…eca/lib/error.js:59)&#xA;    at handlePromise (/Users/martinbarker/…/execa/index.js:114)&#xA;    at async file:/Users/ma…js/newindex.js:1151&#xA;

    &#xA;

    I think this line is important ; file system sandbox blocked open() of &#x27;/usr/local/opt/libass/lib/libass.9.dylib&#x27; but I'm not sure what I should change with my static ffmpeg build so that it works in production and so that I can avoid the above error.

    &#xA;

    My code is available on the branch mas-attempt-after-redesign here : https://github.com/MartinBarker/digify/tree/mas-attempt-after-redesign

    &#xA;

    Inside my package.json I have the command download-ffmpeg which clones the ffmpeg repo, runs a configure command with some flags, and then builds ffmpeg into a folder called 'ffmpeg-mac', this folder gets packaged with the app for the mac apple store build.

    &#xA;

    git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg-mac &amp;&amp; cd ffmpeg-mac &amp;&amp; ./configure pkg_config=&#x27;pkg-config --static&#x27; --pkg-config-flags=&#x27;--static&#x27; --libdir=/usr/local/lib --extra-version=ntd_20150128 --disable-shared --disable-lzma --enable-gpl --enable-pthreads --enable-nonfree --enable-libass --enable-libfdk-aac  --enable-libmp3lame  --enable-libx264 --enable-static --enable-filters --enable-runtime-cpudetect &amp;&amp; make &amp;&amp; cd ..&#xA;

    &#xA;

    You can see in the above ffmpeg command the flag --enable-libass, but even though I have that flag included, after I build and sign my mac apple store build by running sudo rm -rf dist/mas/ &amp;&amp; npm run build-mas &amp;&amp; sh mas-sign-script.sh, the production build (once approved) fails with the above included error.

    &#xA;