Recherche avancée

Médias (91)

Autres articles (111)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

Sur d’autres sites (9974)

  • How to convert mp4 to h264 adding AUDs using FFMPEG

    30 décembre 2016, par SyntheticGio

    I am trying to convert an mp4 clip to h264 bytestream format using FFMPEG. I have successfully compiled FFMPEG from source with access to libx264.

    Looking at the documentation for FFMPEG (version 3.2.2) under libx264 there is a bool flag -aud. In the online documentation it gives the example

    ffmpeg -i input.flac -id3v2_version 3 out.mp3

    Using this format, the following command works, but doesn’t produce the desired AUDs in the output file :

    ffmpeg -i input.mp4 -codec:v libx264 -aud 1 output.h264

    I’ve also tried different variants with this including :

    ffmpeg -i input.mp4 -vcodec libx264 -aud 1 output.h264
    ffmpeg -i input.mp4 -aud 1 output.h264

    etc.

    I assume there is something I’m misunderstanding about performing this operation. I basically want to take a h264 movie in an mp4 container and dump it as an h264 stream with AUDs added to it. Any idea why this isn’t working ?

    (I’ve also tried using x264 with the -aud flag, also ran fine but didn’t produce the desired output).

  • How to convert mp4 to h264 adding AUDs using FFMPEG

    16 mars 2021, par syntheticgio

    I am trying to convert an mp4 clip to h264 bytestream format using FFMPEG. I have successfully compiled FFMPEG from source with access to libx264.

    



    Looking at the documentation for FFMPEG (version 3.2.2) under libx264 there is a bool flag -aud. In the online documentation it gives the example

    



    ffmpeg -i input.flac -id3v2_version 3 out.mp3


    



    Using this format, the following command works, but doesn't produce the desired AUDs in the output file :

    



    ffmpeg -i input.mp4 -codec:v libx264 -aud 1 output.h264


    



    I've also tried different variants with this including :

    



    ffmpeg -i input.mp4 -vcodec libx264 -aud 1 output.h264
ffmpeg -i input.mp4 -aud 1 output.h264


    



    etc.

    



    I assume there is something I'm misunderstanding about performing this operation. I basically want to take a h264 movie in an mp4 container and dump it as an h264 stream with AUDs added to it. Any idea why this isn't working ?

    



    (I've also tried using x264 with the -aud flag, also ran fine but didn't produce the desired output).

    


  • FFMPEG Image to video zoompan starting position

    4 août 2018, par lchn

    In creating mp4 slideshows out of images, I’ve taken some examples online for zoompan, but I still haven’t quite grasped how to make them start from a certain location in an image. Here’s the typical command :

    ffmpeg -i image-000.jpg -filter_complex "color=c=black:r=60:s=1920x1080[demo] ;[0:v]format=pix_fmts=yuva420p,scale=8000 :-1,zoompan=z=’min(zoom+0.0005,1.2)’:s=2000x1333:d=360:x=’if(gte(zoom,0.9),x,x+1/a)’:y=’if(gte(zoom,0.9),y,y+1)’,fade=in:0:25:alpha=1,setpts=PTS-STARTPTS+0.0/TB[v0] ;[demo][v0]overlay=format=yuv420"
    - t 6 -c:v libx264 -y out000.mp4

    Photos I use are typically 3x2 or 4x3 in aspect ratio, so I get that they’d have to be cut off somewhere in a 16x9 video. The thing with the above code (and many other "Ken Burns effect" samples) is that they start with the bottom portion of the images cut off, then either zoom in more or zoom out, never showing the bottom.

    How do I get the animation to start further down on the image ? Nothing I do in the y=’...’ section affects it. Not even putting in constant numbers between 0 and 100000 instead of adjusting values in that formula y=’if(gte(zoom,0.9),y,y+1)’.

    Note : I’ve had some success using crop or pad for the original image, but I’d rather understand how to better position zoompan inside of the image.