Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (31)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (4149)

  • ffmpeg watermark transparent background

    6 mai 2013, par ionutvmi

    I'm trying to add a watermark to a video file but i'm having problems with the background of the watermark because i want it to be transparent.

    My approach is like this : i make a png file the size of the video with transparent background like this

    $im = imagecreatetruecolor($width, $height);
    $almostblack = imagecolorallocate($im,254,254,254);
    imagefill($im,0,0,$almostblack);
    $black = imagecolorallocate($im,0,0,0);
    imagecolortransparent($im,$almostblack);

    $textcolor = imagecolorallocate($im, 255, 0, 0);

    // Write the string at the top left
    imagestring($im, 5, 0, 0, 'Hello world!', $textcolor);

    imagepng($im, $img);
    imagedestroy($im);

    and then i add it to the video like this

    exec("/usr/bin/ffmpeg -y -i '$file->path' -sameq -vf 'movie=$img [logo]; [in][logo] overlay=main_w-overlay_w:main_h-overlay_h [out]' '$new_path'");

    the watermark is added but it's background is not transparent.

    Any idea what i'm doing wrong ?

    UPDATE : it turns out it works just fine for other png images so the problem must be in the way i build the png file any ideas why it doesn't work that way ?

  • Ideal bitrates for different video resolutions

    15 octobre 2018, par Ramesh Navi

    I am building a Video-on-demand service for a closed community. I using FFMPEG for video processing and dash.js for adaptive bitrate player with custom resolution selector. Can somebody please suggest what ideal bitrates should I use while video/audio transcoding ?

    I am talking about -b:v and -ab option

    ffmpeg -i vid.mp4 -c:v libvpx-vp9 -keyint_min 150 \
    -g 150 -tile-columns 4 -frame-parallel 1  -f webm -dash 1 \
    -an -vf scale=144:-1 -b:v 120k -dash 1 video_1.webm \
    -an -vf scale=240:-1 -b:v 250k -dash 1 video_2.webm \
    -an -vf scale=360:-1 -b:v 500k -dash 1 video_3.webm \
    -an -vf scale=480:-1 -b:v 750k -dash 1 video_4.webm \
    -an -vf scale=720:-1 -b:v 1500k -dash 1 video_5.webm

    And

    ffmpeg -i vid.mp4 -vn -acodec libvorbis -ab 96k -dash 1 audio_96k.webm

    Any suggestions/hacks or examples to tackle real-world network situations are appreciated.

  • How play AVI with sound by OpenCV on Win32

    4 janvier 2015, par Andrei Shumilov

    I need play AVI by OpenCV and any sound player (vfw/ffmpeg...) on Win32. It seems to me this is very secret or useless thing ’cos I found only one sample in the world : Audio output with video processing with opencv

    Mr. Karl Phillip wrote there :
    "On my Mac I compiled it with :
    g++ ffmpeg_snd.cpp -o ffmpeg_snd -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/local/include/opencv -I/usr/local/include -I/usr/local/include/SDL -Wl,-framework,Cocoa ...."

    But I must use MSVS2010 (I have working project). Ok, I installed mingw to try, but still don’t know what could replace "framework,Cocoa".

    Give me please links to WORKING examples OpenCV+anysoundplayer on Win32 or help me port Karl’s example at least.