Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (27)

  • 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

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (2405)

  • Xuggler encoding images to video FPS issue

    1er novembre 2011, par Chris Robinson

    I've been experimenting with encoding a video from a series of images using CaptureScreenToFile.java as a basis. My output is to be an MP4 file. From 26 images, using the code as is (taking the images from a directory instead of from a screen capture obviously), the encoding video is 11s. However, if I change the framerate variable to :

    frameRate = IRational.make(1, 24);

    which I believe should result in a video of 24FPS. It does not however, (no change from the original video in fact). I experimented with changing the timeStamp variable in encodeImage() method to :

    long timeStamp = (firstTimeStamp*1000)+(i*40);

    where 0 < i < 25 to see if that would help but it doesn't. Can anyone explain to me how to encode a directory of images to a video with a framerate that I can set ?

  • FFmpeg not encoding with libx264 library

    29 octobre 2011, par bOkeifus

    Hey people of StackOverflow. I have been having a strange issue that I'm not exactly sure what's going on. I am using FFmpeg to convert any incoming video files to h264 mp4 files using the libx264. This is the log that I get from running this line of code :

    ffmpeg -y -i vdoname.flv -acodec libfaac -vcodec libx264 -sameq vid.mp4

    This is the log output after running the line :

    FFmpeg version SVN-r13428, Copyright (c) 2000-2008 Fabrice Bellard, et al.
     configuration: --prefix=/usr --disable-static --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-liba52 --enable-liba52bin --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-network --disable-ipv6 --disable-ffserver --disable-ffplay
     libavutil version: 49.6.0
     libavcodec version: 51.57.0
     libavformat version: 52.14.0
     libavdevice version: 52.0.0
     built on Feb 17 2009 09:01:13, gcc: 4.1.2 20071124 (Red Hat 4.1.2-42)

    Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 49.92 (599/12)
    Input #0, flv, from '/html/video/937.flv':
     Duration: 00:00:10.08, start: 0.000000, bitrate: 48 kb/s
       Stream #0.0: Video: flv, yuv420p, 720x480, 49.92 tb(r)
       Stream #0.1: Audio: mp3, 22050 Hz, stereo, 48 kb/s
    Output #0, h264, to '/html/flvideo/new_937.mp4':
       Stream #0.0: Video: libx264, yuv420p, 720x480, q=2-31, 200 kb/s, 49.92 tb(c)
       Stream #0.1: Audio: libfaac, 22050 Hz, stereo, 64 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
    [libx264 @ 0x11d58b0]using cpu capabilities: MMX MMXEXT SSE SSE2 3DNow!
    Press [q] to stop encoding

    Can someone please help me out and tell me what to do to get this to work ? I guessed that the libx264 external library is not installed but it doesn't exactly say that in the log file and it looks as if it does find it but then doesn't actually encode the video.

    Any and all help is greatly appreciated.

  • FFmpeg with PHP causes Internal Server Error

    19 novembre 2015, par Scott Heath

    I have a PHP script that calls exec() to convert video files using ffmpeg. The script works fine with smaller files, but larger files, usually around 20MB, produce a 500 Internal Server Error after the conversion has run for about 45 seconds.

    The max_execution_time is set to 600 seconds (10 minutes) and the max post and upload sizes are set to 1000 MB. The server is Unix based and is not running in safe mode.

    Although the issue only happens with larger sizes, I’m not even sure it’s a file size issue. The script will pass with a 12.6MB MOV file but will fail with an 11MB MP4 file.

    Below is the exec() line from my script :

    exec('ffmpeg -y -i '.escapeshellarg($uploadFile).' -vcodec libx264 -ab 128k -ac 2 -b 640k -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -maxrate 10M -bufsize 10M -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 '.$convertFile);

    Thanks !