Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (58)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (8246)

  • Crop Videos & Reduce Quickly on Mobile with or w/o FFMpeg (Flutter)

    11 mai 2021, par Haidar Hammoud

    Cropping, modifying quality, and other seemingly simple edits applied to videos using FFMpeg take between 30 to 60 seconds for a 15 second long video.

    


    Apps like Snapchat, Instagram, TikTok, WhatsApp, and Twitter are able to nearly instantly edit a video file with quality modifications, videos concatenated together, image overlays applied over every frame, and cropping. This is evident from the fact that videos can be viewed by the receivers within seconds of them being sent with all the modifications applied.

    


    Are there any reliable ways to achieve the same speeds (0.5 - 1.5 seconds) for video editing on mobile using Flutter ? FFMpeg has everything I need but just runs very slowly. Is there a way to speed it up ?

    


  • FFMPEG video compress command takes time to execute in android [on hold]

    2 juillet 2014, par user3760821

    Video compress using FFMPEG in android takes time while executing command. Is there any way to decrease this time ?.i checked whatsapp which doesn’t take time to compress video.Is there any way to compress video without time delay

    I use ffmpeg library to compress video.i am able to successfully compress video.
    whatapp also doing compress video but it takes hardly one second to compress video while in my case it takes around 15second to convert 7mb video.

  • Custom video cropping using ffmpeg

    5 octobre 2019, par Priyanka

    I’m using the writingminds ffmpeg library for cropping the video and getting the height, width ,x and y coordinates via a custom selector.
    I’m using the following code for cropping :

    String[] cmd = {"-i", path, "-filter:v", "crop=" + valuewidth + ":" +
    valueheight + ":" + valuex + ":" + valuey, "-c:a", "copy", videoPath};
    execFFmpegBinary(cmd);

    On debugging, I’m getting this log :

    03-29 11:15:36.069 198-9920/? I/OMXCodec: [OMX.qcom.video.decoder.avc] Crop
    rect is 368 x 272 @ (0, 0)
    03-29 11:15:36.209 198-684/? E/MediaPlayerService: WFD client is not created
    03-29 11:15:36.229 198-9925/? I/OMXCodec: [OMX.qcom.video.decoder.avc] Crop
    rect is 368 x 272 @ (0, 0)
    03-29 11:15:36.359 15596-15596/zoptal.com.appegovidexample
    D/CropperActivity: ffmpeg : correct Loaded
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
    '/storage/emulated/0/WhatsApp/Media/WhatsApp Animated Gifs/VID-20170318-
    WA0000.mp4':

    Metadata:

    major_brand     : mp42

    minor_version   : 1

    compatible_brands: mp41mp42isom

    creation_time   : 2017-03-10 14:32:13

    Duration: 00:00:05.00, start: 0.080000, bitrate: 206 kb/s

     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv,  
     /smpte170m/bt709), 368x272, 203 kb/s, 14 fps, 100 tbr, 600 tbn, 1200 tbc
     (default)

     Metadata:

    creation_time   : 2017-03-10 14:32:13

    handler_name    : Core Media Video

    [Parsed_crop_0 @ 0x41e47550] Invalid too big or non positive size for width
    '630' or height '592'

    [Parsed_crop_0 @ 0x41e47550] Failed to configure input pad on Parsed_crop_0

    Error opening filters!
    03-29 11:17:32.253 15596-15596/zoptal.com.appegovidexample
     D/CropperActivity: Finished command : ffmpeg [Ljava.lang.String;@427f0d48
     03-29 11:17:32.273 15596-15596/zoptal.com.appegovidexample E/MediaPlayer:
     Unable to create media player

    EDIT :
    I tried scaling the video by adding"scale=1280:720" to the command(as default crop rect based on video was 368 x 272 @ (0, 0)).Now, I’m getting this error :

    Metadata:

    creation_time   : 2017-03-10 14:32:13

    handler_name    : Core Media Video

    [NULL @ 0x41b65c80] Unable to find a suitable output format for
    'crop=692:745:115:115'

    crop=692:745:115:115: Invalid argument

    EDIT : I solved it in the following way :

           float[]ghi=  cropImageView.getCropPoints();
           int a= Math.round(ghi[0]);
           int b= Math.round(ghi[1]);
           int c= Math.round(ghi[2]);
           int d= Math.round(ghi[3]);
           String[] cmde = {"-i", path ,"-filter:v", "crop=" + 240 + ":" +
           220 + ":" + a + ":" + b, "-c:a", "copy", videoPath};
           execFFmpegBinary(cmde);