Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (59)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (6341)

  • PHP stops after exactly 46 seconds

    12 octobre 2012, par Lisa

    I have seen many topics with a similar question, but not a similar situation, because the php settings do not seem to be the problem.

    The current php.ini settings are :

    max_execution_time = 600
    max_input_time = 600
    memory_limit = 512M
    post_max_size = 192M
    upload_max_filesize = 192M

    These settings cannot be overwritten by the local .htaccess

    The script
    The script is PHP and does the following :

    User uploads a movie file (using uploadify).
    Once the upload is finished a script uses ffmpeg to convert it in to a lower quality 480p flv file.

    The problem
    This script has always worked and since the upgrade from php 5.3.9 to 5.3.17 it has stopped working.
    The upload part works fine. I have tried it with 1Mb to 190mb files.
    Once uploaded the conversion starts and the script always stops at exactly 46 seconds. I have no clue why, but it is always 46 seconds.

    The server
    The server is a xeon quad-core 16Gb ram and a load average of 0.62 (8 = 100% cpu usage)

    I truly have no idea what the problem seems to be. The script worked fine and has not changed. So it must be something to do with the new PHP or perhaps Apache, but I have no clue.

    Does anyone have a suggestion regarding what the problem could be ?

  • ffmpeg : using the returned data in php

    4 décembre 2013, par user1503606

    I have started using ffmpeg and I am very new to it, so please bear with me.

    I have installed ffmpeg on my server and it works great ; I can run certain commands and get output data when logged in via ssh

    For example I can run

    ffmpeg -i Sleep\ Away.mp3

    Which returns the following :

    ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers
     built on Aug 20 2012 09:28:43 with clang 3.1 (tags/Apple/clang-318.0.61)
     configuration: --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaac --enable-libxvid --enable-libx264 --enable-libvpx --enable-hardcoded-tables --enable-shared --enable-pthreads --disable-indevs --cc=clang
     libavutil    51.  9. 1 / 51.  9. 1
     libavcodec   53.  7. 0 / 53.  7. 0
     libavformat  53.  4. 0 / 53.  4. 0
     libavdevice  53.  1. 1 / 53.  1. 1
     libavfilter   2. 23. 0 /  2. 23. 0
     libswscale    2.  0. 0 /  2.  0. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    [mp3 @ 0x7f9694011a00] Header missing
       Last message repeated 13 times
    [mp3 @ 0x7f9694007c00] max_analyze_duration 5000000 reached at 5007020
    [mp3 @ 0x7f9694007c00] Estimating duration from bitrate, this may be inaccurate
    Input #0, mp3, from 'Sleep Away.mp3':
     Metadata:
       track           : 3
       album           : Bob Acri
       artist          : Bob Acri
       title           : Sleep Away
       genre           : Jazz
       album_artist    : Bob Acri
       composer        : Robert R. Acri
       date            : 2004
     Duration: 00:03:21.77, start: 0.000000, bitrate: 192 kb/s
       Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 192 kb/s
    At least one output file must be specified

    The question I am asking is, how can I use the output data above ? I am developiong a music website ; say I want to loop through all the MP3 files and save the info about them into a database, so that the above would result in :

    Sleep Away.mp3    mp3    3:21    Jazz    2004     Bob Acri ...

    obviously in a table

    I have tried to use the php backtick operator with no success so far. I just thought I would put a question up here to get some advice from people that have done something similar.

    Thanks

    Update : I have tried the following

    &lt;?php $output = `ffmpeg -i Sleep\ Away.mp3`; echo "<pre>$output</pre>"; ?>
    &lt;?php $output = shell_exec(&#39;ffmpeg -i Sleep\ Away.mp3&#39;); echo "<pre>$output</pre>"; ?>

    both don't appear to return anything.

  • Directshow X264Vfw Codec CPU usage issue

    18 juillet 2012, par meghana

    I run one graph in graphedit that is below,

    Video Source (Capture Pin) --> x264vfw - H.264/MPEG-4 AVC Codec ---------> Mpeg Muliplexter --> Output (Writer)                                            

    By running this graph in graphedit , it consumes cpu usage to 35% (average approx.) , if i just remove x264vfw - H.264/MPEG-4 AVC Codec , then Cpu Usage reduces to 2% - 5%.

    I understand that compressor uses remarkable CPU and Memory , but this is very high usage , we need to reduce it any how.

    Can i reduce CPU usage by changing some configuration of vfw or in any other way ??
    Or please suggest me if there's any other x264 vfw codec for mpeg4 in directshow that uses less of cpu memory ??

    Edit :

    Below is my x264Vfw Codec Settings

    Encoding Type : Single Pass - bitrate-based (ABR)
    bitrate : 285 (but i get output bitrate around 485)
    Output Mode : VFW
    VFW FourCC : H264
    SAR : 2:1