Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (61)

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

  • 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
  • convert from jpg to mp4 by ffmpeg

    5 juillet 2015, par Sam

    I have 320 jpg(320x574) images which I have recorded them with 2004 fps. I want to make a .mp4 video of them. I have run below codes in cmd (win7) and it just make a video of jpg number 320 and if I go for this (’*.jpg’) insted of 320 it does not work. I really appreciate any help.

    ffmpeg -r 1/5 -i C:\data-Sam\320.jpg -c:v libx264 -r 30 -pix_fmt yuv420p C:\data-Sam\out.mp4