Recherche avancée

Médias (91)

Autres articles (111)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (10983)

  • Using Gstreamer or ffmpeg to create rtsp client on Android

    9 décembre 2014, par Pankaj Bansal

    I want to stream a rtsp stream on android and I finally have come to
    conclusion that I can’t use android API’s MediaPlayer,Videoview etc because
    latency is big issue for me. I need an latency of <500 ms. Now I am
    planning to use Gstreamer or ffmpeg to create an android rtsp client. I just have few
    doubts

    1. Will the Gstreamer or ffmpeg client be able to provide latency <500ms. I read there are
      some parameters which I can tweak to get very low latency. Just want to
      confirm. I have very good network bandwidth. The frame size is generally
      1920X1080.

    2. I read Gstreamer is one made one level above ffmpeg and uses ffmpeg
      codecs to work. I want to know which one is easier to work with for creating an android client. Working on Gstreamer or workig directly on ffmpeg.

    3. If I use Gstreamer android client, Will I have to use the Gstreamer server as well to stream the data ? Currently I am using Live555 RTSP server to stream data

  • Revision 7f77a1c3c9 : Merge "Unify intra mode mask into mode_skip_mask scheme"

    12 septembre 2014, par Jingning Han

    Changed Paths :
     Modify /vp9/encoder/vp9_rdopt.c



    Merge "Unify intra mode mask into mode_skip_mask scheme"

  • How create a circular video (transparent area on top of video) effect without applying image mask to video

    26 septembre 2024, par Arina Lubimova

    Basically i googled a lot and solutions suggests apply some PNG mask or do not provide needed solution.

    &#xA;

    What i've found.

    &#xA;

    ffmpeg -i main.mkv -i facecloseup.mkv&#xA; -filter_complex "[1]trim=end_frame=1,&#xA;  geq=&#x27;st(3,pow(X-(W/2),2)&#x2B;pow(Y-(H/2),2));if(lte(ld(3),pow(min(W/2,H/2),2)),255,0)&#x27;:128:128,&#xA;  loop=-1:1,setpts=N/FRAME_RATE/TB[mask];&#xA;  [1][mask]alphamerge[cutout];&#xA;  [0][cutout]overlay=x=W-w:y=0[v];&#xA;  [0][1]amix=2[a]"&#xA; -map "[v]" -map "[a]"  out.mp4&#xA;

    &#xA;

    command = "-i " &#x2B; this.video1Path.getPath() &#x2B; " -i " &#x2B; this.video2Path.getPath() &#x2B; " -filter_complex [1]trim=end_frame=1,geq=lum_expr=&#x27;st(3,pow(X-(W/2),2)&#x2B;pow(Y-(H/2),2));if(lte(ld(3)," &#x2B; (this.mZoomLayout.getZoomedWidth()/2) &#x2B; "*" &#x2B; (this.mZoomLayout.getZoomedWidth()/2) &#x2B; "),255,0)&#x27;:128:128,format=gray,loop=-1:1,setpts=N/FRAME_RATE/TB[mask];[1][mask]alphamerge,format=rgba,lutrgb=a=if(gte(val\\,16)\\,val)[cutout];[0][cutout]overlay=" &#x2B; this.mZoomLayout.getCircleX() &#x2B; ":" &#x2B; this.mZoomLayout.getCircleY() &#x2B; ":enable=&#x27;between(t,0," &#x2B; this.videoTwoDuration &#x2B; ") -c:v libx264 -crf 24 -preset ultrafast " &#x2B; videoPath.getPath(); &#xA;

    &#xA;

    So i tried to extract needed things from them, but i don't understand how exactly i need to do that, i did this :

    &#xA;

    ffmpeg -i video.mp4 -filter_complex "[0]geq=&#x27;st(3,pow(X-(W/2),2)&#x2B;pow(Y-(H/2),2));if(lte(ld(3),pow(min(W/2,H/2),2)),255,0)&#x27;:H:W; [0:v][mask]alphamerge" out.mp4&#xA;

    &#xA;

    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001f761dd8e40] Invalid stream specifier: mask.&#xA;    Last message repeated 1 times&#xA;Stream specifier &#x27;mask&#x27; in filtergraph description [0]geq=&#x27;st(3,pow(X-(W/2),2)&#x2B;pow(Y-(H/2),2));if(lte(ld(3),pow(min(W/2,H/2),2)),255,0)&#x27;:H:W; [0:v][mask]alphamerge matches no streams.&#xA;

    &#xA;

    ffmpeg -i video.mp4 -filter_complex "[0]geq=lum_expr=&#x27;st(3,pow(X-(W/2),2)&#x2B;pow(Y-(H/2),2));if(lte(ld(3),pow(min(W/2,H/2),2)),255,0)&#x27;:H:W; [0:v][mask]alphamerge" out.mp4&#xA;

    &#xA;

    [mov,mp4,m4a,3gp,3g2,mj2 @ 000001bfd9218e80] Invalid stream specifier: mask.&#xA;    Last message repeated 1 times&#xA;Stream specifier &#x27;mask&#x27; in filtergraph description [0]geq=lum_expr=&#x27;st(3,pow(X-(W/2),2)&#x2B;pow(Y-(H/2),2));if(lte(ld(3),pow(min(W/2,H/2),2)),255,0)&#x27;:H:W; [0:v][mask]alphamerge matches no streams.&#xA;

    &#xA;

    And one more time, guys, if you are going to post some "prepared image mask" solution - just leave, the question is about creating mask on air.

    &#xA;

    So, let's say we have red square (yes, ratio is static, always 1:1), yes, i can't post it because i dont have 10 rep. (...).

    &#xA;

    https://i.sstatic.net/MsL71.png - red square.

    &#xA;

    https://i.sstatic.net/aIFEV.png - circle

    &#xA;

    https://i.sstatic.net/R8EAx.png - result

    &#xA;

    https://i.sstatic.net/WtqQg.png - final result

    &#xA;

    I actually want to get the answer from @Gyan or @llogan because i searched a lot and only these two guys do understand how to make things programmatically.

    &#xA;

    More tech details :&#xA;Aspect ratio is constant - 1:1, width and height should be taken from the video in auto way, we need to create a white square with transparent circle inside it, the end result must contain "rounded" video with white background.

    &#xA;