Recherche avancée

Médias (91)

Autres articles (63)

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

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

Sur d’autres sites (11159)

  • Converting mp4 AAC to AVC using Python

    12 janvier 2020, par zion.b.

    i am using ffmpeg to convert video format. I have a video in mp4 aac and want to convert it to mp4 avc. I successfully(!!!) used ffmpeg to covert image to avi/mkv/even copy of the mp4 but nothing gives me what i desire.

    The idea is to have a video file format that will run on mostly all mobile devices such as mp4 avc.

    My python code :

    import subprocess #need to install ffmpegin terminal/cmd

    def convert_video(video_input, video_output):
       cmds = ['ffmpeg', '-i', video_input, video_output]
       subprocess.Popen(cmds)


    convert_video("videoName.mp4", "videoNameCopy.mp4")
  • Concat video with different sizes and config with ffmpeg

    31 juillet 2022, par Abrar

    I am building a mobile app where I am using ffmpeg to process videos.

    


    Users can choose multiple videos and they need to be merged together creating a final video.

    


    The problem is their selected videos can have different dimensions and configurations.

    


    So, when I tried concat demuxer, it produces weird results with impossible length and no data.

    


    concat protocol with intermediate ts file, seems to work but the resolution and size is stretched.

    


    So, what I want to do is this -

    


      

    1. Re encode every video to a specific resolution, 1080:1920 or 9/16. The video should not be stretched, instead black borders will be added on sides to make it that size.

      


    2. 


    3. Once every video is re encoded and have the same config, concat them.

      


    4. 


    


    How can I do this ?

    


  • Why ffmpeg encoded video is void the first second ?

    18 septembre 2023, par SkizZO

    i am using a bash script to save a short video from an HIKVision cam with homeassistant when the doorbell is pressed.

    


    Here is the commad :

    


    ffmpeg -fflags +genpts -y -ac 1 -channel_layout mono -rtsp_transport tcp -hide_banner -loglevel info -err_detect ignore_err -i  "rtsp://$user:$dvrpasswd@$dvraddress:554/Streaming/channels/${camnumber}01" -map 0:v  -map 0:a? -ar 44100 -filter:a "volume=$volume" -t $seconds -acodec aac -vcodec copy $filepathname


    


    It results in a video without the preview-frame, who starts at 1sec. (the timeline also can't be fully rewinded) :

    


    Image

    


    This behaviour (in photo) happens on mobile phones, the time shift happen both on windows and android.