Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (47)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

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

Sur d’autres sites (5906)

  • Flutter ffmpeg kit : Invalid size error when trying to scale video

    27 juillet 2023, par veryepicdude

    I'm trying to resize a video to match instagram's video format requirements. I'm using the ffmpeg_kit_flutter_full_gpl: ^5.1.0 package to do so and this is the function I'm calling :

    


    Future<void> resizeVideo(String input, String output) async {&#xA;&#xA;  final command = &#x27;-i $input -c:v libx264 -aspect 16:9 -crf 18 -vf "scale=iw*min(1280/iw\,720/ih):ih*min(1280/iw\,720/ih),pad=1280:720:(1280-iw)/2:(720-ih)/2" -fpsmax 60 -preset ultrafast -c:a aac -b:a 128k -ac 1 -use_editlist false -ar 48000 -pix_fmt yuv420p -movflags &#x2B;faststart -t 59 -y $output&#x27;;&#xA;  final session = await FFmpegKit.execute(command);&#xA;  print("resize done with ${await session.getReturnCode()}");&#xA;}&#xA;</void>

    &#xA;

    However I get this error every time :

    &#xA;

     Stream #0:0[0x1](und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 60 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2023-07-27T15:30:28.000000Z&#xA;      handler_name    : Core Media Audio&#xA;      vendor_id       : [0][0][0][0]&#xA;  Stream #0:1[0x2](und): Video: hevc (hvc1 / 0x31637668), yuv420p(tv, smpte170m/bt709/bt709), 720x1280, 2085 kb/s, 30 fps, 30 tbr, 600 tbn (default)&#xA;    Metadata:&#xA;      creation_time   : 2023-07-27T15:30:28.000000Z&#xA;      handler_name    : Core Media Video&#xA;      vendor_id       : [0][0][0][0]&#xA;Stream mapping:&#xA;  Stream #0:1 -> #0:0 (hevc (native) -> h264 (libx264))&#xA;  Stream #0:0 -> #0:1 (aac (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[Parsed_scale_0 @ 0x2834a53f0] Invalid size &#x27;iw*min(1280/iw&#x27;&#xA;[AVFilterGraph @ 0x28278e3a0] Error initializing filter &#x27;scale&#x27;[AVFilterGraph @ 0x28278e3a0]  with args &#x27;iw*min(1280/iw&#x27;[AVFilterGraph @ 0x28278e3a0] &#xA;Error reinitializing filters!&#xA;Failed to inject frame into filter network: Invalid argument&#xA;Error while processing the decoded data for stream #0:1&#xA;[aac @ 0x105334290] Qavg: 461.613&#xA;[aac @ 0x105334290] 2 frames left in the queue on closing&#xA;

    &#xA;

    Removing the scale filter makes the function work fine, but it fails the instagram video requirements listed here.&#xA;Any help will be greatly appreciated.

    &#xA;

  • ffmpeg scale down video dynamically (squeeze-back) or zoompan out to smaller than original VER2

    19 juillet 2023, par loarrin

    I have 2 videos, I'm trying to overlay one on top of the other, and have it shrink down in an animated fashion until it appears like a picture-in-picture setup. Then, after a few seconds it should scale back up. Just like in this question. Here is the working code from there :

    &#xA;

    ffmpeg -i bg.mov -i top.mov -filter_complex "[0:v]scale=1920x1080,setpts=PTS-STARTPTS[bg]; [1:v]setpts=PTS-STARTPTS&#x2B;2/TB, scale=-1:&#x27;480&#x2B;600*abs(sin((t-2)*2*PI/8))&#x27;:eval=frame[top]; [bg][top]overlay" -vcodec libx264 out.mp4&#xA;

    &#xA;

    It works perfectly, but I have one difference I cannot achieve modifying existing code : scale filter in this example resizes the second video stream having attraction point in the top left corner of this stream. I mean, when the second stream is getting smaller, it is scaled to the top left corner. And if it is getting bigger, it again stretches from the top left corner. The top left corner of the stream being scaled is staying in one place constantly no matter what.

    &#xA;

    Is it possible to make more symmetrical version of this scale code, so when the second stream is scaled it is scaled from and to the top center of it (So the top left corner would move right when the stream is getting smaller and move to the left then the stream is getting bigger) ?

    &#xA;

    enter image description here

    &#xA;

  • avfilter/avf_showcwt : add sqrt frequency scale

    9 juillet 2023, par Paul B Mahol
    avfilter/avf_showcwt : add sqrt frequency scale
    
    • [DH] doc/filters.texi
    • [DH] libavfilter/avf_showcwt.c