Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (107)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

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

Sur d’autres sites (16828)

  • Why do some methods end with a number in ffmpeg

    20 mars 2020, par jinux

    Why do some methods end with a number in ffmpeg such as avcodec_alloc_context3()

    I google it and look over the ffmpeg development conversion, but can’t find the result

  • How to set source port number, in ffmpeg and udp protocol ?

    18 janvier 2021, par Rasoul Sharifian

    I am using FFmpeg library to send webcam frames through udp protocol for my destination.

    


    My command line is :

    


    ffmpeg -f dshow -i  video="Lenovo EasyCamera" -vcodec libx264  -f mpegts udp://192.168.30.20:8080   


    


    My problem is on the receiver side, where we can not distinguish the source port number.
Is there any command line to set the source port number ?

    


    Thanks a lot

    


  • How to crop and rotate the video in Android using crop image and convert image libraries ?

    10 mai 2017, par Dylan

    I am creating an app for Android with a crop Image / Crop Video functionality. For iOS this app is already created.

    For iOS is used the lib for edit the video LLVideoEditor
    and the lib for the image crop and rotate TOCropViewController

    For Android I found uCrop library for Image cropping and ffmpeg-for-Android library for the video cropping.

    To crop video, I take the first frame of the video, and after that I crop it with uCrop library to receive the coordinates of cropping. (X, Y, Width, Height, rotate Angle).
    The received coordinates I pass as command to the ffmpeg-for-Android as command line.
    The command looks like :

    To crop video I use the command :

    ffmpeg -y -i /sdcard/video/in.mp4 -vf crop=Width:Height:X:Y /sdcard/video/out.mp4

    To crop and rotate video by 90 degree ClockWise I use the command :

    ffmpeg -y -i /sdcard/video/in.mp4 -vf crop=Width:Height:X:Y transpose=1 /sdcard/video/out.mp4

    The issues that I have :

    1. When I choose the crop image area and press rotate image by 90 degree and press apply, the uCrop library returns me X, Y, croppedImageWidth, croppedImageHeight, Angle. In this case Y should be equals 0, but I receive Y > 0, i.e. Y = height of Black area above the image. The uCrop library does not do the correct image zooming after the crop image area is selected.

    enter image description here

    1. Converting the video with ffmpeg library works very slowly. The video I convert has only 5 second lenght, so the converting should be quick. But it takes about 15 seconds. In comparison with iOS it takes very very long.

    The questions are :
    1. Is this way I choose to crop video is the right one ?
    2. Where can I find the similar libraries for Android as for iOS that will allow me to have the same functionality for Android app as iOS app already has, i.e. receive the right crop image coordinates and quick crop video ?