Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (78)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (7758)

  • FFMPEG, Blur an area of a video using Image Select Areas Plugin

    12 juillet 2016, par Drupalist

    I am building an online video editor. I need to allow the users to blur an area of movies. This must be done graphically, I mean user should be able to select an area of a video, using an screenshot, then the selected area must be blurred. Some thing like this

    enter image description here

    Is there anyway to map this selected area dimension and its distance from borders to the real values that must be applied to the video ?

    I mean four numbers, width, length, top, left will be provided using this plug in and I need to use these numbers to blur an area of videos.

    I take an screenshot of video. In order to keep the aspect ratio, I will fix the width to 800px and let the height to be scaled up/down. It is clear that the width, length, top, left of the selected area of the screenshot is a factor of the width, length, top, left of the area that must be blurred in video. but I don’t know how to get this factor. Besides that I don’t know how to get the video resolution.

    Thanks in advance.


    Update

    This is my PHP code that gets the selected area dimensions and offsets

    $iLeft = $_POST['left'];
    $iTop = $_POST['top'];
    $iWidth = $_POST['width'];
    $iHeight = $_POST['height'];
    exec('ffmpeg -i '.$url.' -filter_complex "[0:v]scale=iw*sar:ih,setsar=1,split[bg][bb];[bb]crop='.$iWidth.'*iw/800:iw*'.$iHeight.'/800:'.$iWidth.'*iw/800:'.$iHeight.'*iw/800,boxblur=10[b0];[bg][b0]overlay='.$iLeft.'*W/800:'.$iTop.'*W/800"" '.$name.' > block.txt 2>&1');

    $iLeft, $iTop, $iWidth, $iHeight are the left, top, width and height of the selected area via the image plugin.

    It blurs many selected areas very well, but areas like this

    enter image description here

    The Image Left, Top, Width, Height is 257,  39.26666259765625,  10,  391

    don’t get blurred. Also a video with Dimension 207x207 didn’t get blurred as well.

  • FFMPEG RTMP Streaming Issue On Live Server

    7 juillet 2016, par skos

    I am trying to stream MP4 file over RTMP with nginx-rtmp. I have no issues streaming on my local machine with this command -

    ffmpeg -re -i "sample-video.mp4" -c copy -f flv rtmp://localhost:1935/live/mystream

    However. when I try to replicate the same on server with command -

    ffmpeg -re -i "sample-video.mp4" -c copy -f flv rtmp://SERVER_IP_ADDRESS:1935/live/mystream

    I get this error - RTMP_Connect0, failed to connect socket. 10060 (Unknown error)

    I looked up online for 10060 socket errors but couldn’t find much help. I am assuming this could be Firewall related but I am not exactly sure how do I resolve this. Any help would be apprecaited. Thanks !

  • Using ffmpeg native aac codec, but metadata says libvo_aacenc, and faststart not supported ?

    8 juillet 2016, par Bob S

    I’m using ffmpeg and am trying to switch from using the ’libvo_aacenc’ encoder to the native aac encoder. It seems to work, but the metadata in the output seems to indicate that it’s still using the old encoder.

    I changed the audio portion of my ffmpeg call from

    -i out.wav -acodec libvo_aacenc

    to

    -i out.wav -acodec aac -strict experimental

    But the output includes this :

    Metadata :

    encoder         : Lavf53.21.1

    Stream #0.0: Video: libx264, yuv420p, 432x256, q=-1--1, 30 tbn, 30 tbc

    Stream #0.1: Audio: libvo_aacenc, 44100 Hz, 1 channels, s16, 200 kb/s

    I don’t understand where it is still getting the ’libvo_aacenc’ from ?

    Another problem, maybe unrelated, is that when I try to add the "-movflags +faststart" option to my call, I get errors :

    [mp4 muxer @ 0x49ad520] [Eval @ 0x3e59d37c6b0] Undefined constant or missing ’(’ in ’faststart’
    [mp4 muxer @ 0x49ad520] Unable to parse option value "faststart"
    [mp4 muxer @ 0x49ad520] Error setting option movflags to value +faststart.

    From looking online it would appear my ffmpeg version is old, pre faststart, but my ffmpeg version is 0.8.17-4:0.8.17-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers built on Mar 16 2015 13:26:50 with gcc 4.6.3

    That seems like it should include faststart, which was introduced in 2013, right ?
    Any ideas what could be going on ?

    Thanks very much,

    Bob