Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

Sur d’autres sites (5486)

  • FFMPEG changes color when adding an image as first frame

    24 septembre 2024, par hendrikschneider

    I am using ffmpeg to add an image as a first frame. This one works but the issue is that the colors are being faded. My attempt was to check the color encoding of the input video and apply it to the output video but still the issue is there.

    


    What I found out is that this issue does not happen when I use a frame from the video, so it somehow related to using an image.

    


    This is my command to add an image as thumbnail :

    


    ffmpeg -loop 1 -framerate 30 -t 0.5 -i thumbnail.png -f lavfi -t 0.5 -i aevalsrc=0 -i input_video.mp4 -filter_complex "[0:v][1:a][2:v][2:a] concat=n=2:v=1:a=1" -shortest -color_primaries bt2020 -color_trc bt709 -colorspace bt709 output_test1.mp4


    


    Screenshot of the original and the output video. Left is the original with brighter colors compared to the output on the right.
enter image description here

    


  • ffmpeg - frames to video using reference timecodes

    20 août 2020, par Tuxa

    I have a video with variable framerate that I decode into single frames using -vsync passthrough to avoid duplicate/lost frames. After processing those frames with another application I want to encode them again into an mp4 video that has the exact same timestamps as the original video.

    


    My idea is to input the frames plus the original video and use the timecodes of the latter. Is this possible ?

    


    This is my current approach :

    


    ffmpeg -i input/%d.jpg -vsync 0 -i input.mov  \
    -filter_complex '[0]setpts=PTS[vid1];[vid1]pad=iw*2:ih[vid2];[vid2][1:v]overlay=W/2:0[vid3]' \
    -map [vid3] -map 1:a \
    -y result.mp4


    


    I do a concatenation of both videos side-by-side to see if they are in sync which they are not...

    


    setpts=PTS uses the timecodes of the frames so this can not work. However, is there a way of using PTS from the second video ? Something like [0]setpts=PTS{1:v:0} ?

    


  • ffmpeg transcoding move to mp4

    16 août 2022, par Paul

    I currently use windows free software called : AnyVideoConverter to convert my iPhone huge MOV files to MP4s that can be played on other devices via my plex server.
I want to automate that process so it runs in the background on one of my linux machines.
However I am struggling to get it working. Here is what I have so far.

    


    Original file details :
Duration : 00:00:13.53
Original Video : 40MB
Video details : Stream #0:0(und) : Video : hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709), 3840x2160, 23453 kb/s, 30 fps, 30 tbr, 600 tbn, 600 tbc (default)

    


    AnyVideoConverted file :
File Size : 5MB
Video Details : Stream #0:0(und) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 3840x2160, 2870 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)

    


    This format works great on all my devices

    


    So far the closes I managed to get to that is this ffmpeg command :

    


    ffmpeg -i original.mov -c:v libx264 -profile:v baseline -maxrate 3M -bufsize 3M -c:a aac -b:a 128k x264.mp4


File size:5MB
Video details :     Stream #0:0(und) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 2160x3840, 3063 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)

    


    problem is that when I try to play it via plex I get :

    


    Playback Error : This server is not powerful enough to convert video

    


    What am I doing wrong here ?

    


    My knowledge of ffmpeg or video encoding/transcoding is zero. Can someone advise me how to get my mov files converted to mp4 so they can be played via plex without additional transcoding by plex and without reducing the resolution size of the converted video.

    


    Any pointers ?
Thanks