Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (20)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (6367)

  • libavcodec/amfenc_hevc : Recommend values for min and max video quantizer scale.

    9 mars 2021, par Ovchinnikov Dmitrii
    libavcodec/amfenc_hevc : Recommend values for min and max video quantizer scale.
    

    Current settings makes bitrate larger than expected, more information :
    https://github.com/HandBrake/HandBrake/issues/3447#issue-820490736

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/amfenc_hevc.c
  • FFMpeg : scale down videos with maximum width and height while maintaining aspect ratio

    20 février 2021, par R3D34THR4Y

    In my program the user can input any video file he wants and have it transcoded ready for social media no matter its dimensions and aspect ratio.&#xA;The "export profiles" have many variables but the important ones here are maxheight and maxwidth.

    &#xA;

    The FFMpeg filters must output a video that follows the following rules :

    &#xA;

      &#xA;
    • If the video is vertical, permutate the maxheight and maxwidth values (social media considers both 1280x720 and 720x1280 as "720P")
    • &#xA;

    • The video must not have a height superior to maxheight or a width superior to maxwidth.
    • &#xA;

    • The original video and exported video have the same aspect ratio and no distortion occurs.
    • &#xA;

    • No padding or cropping should occur.
    • &#xA;

    • The video should not be scaled if it is already under those maximum dimensions (no upscaling).
    • &#xA;

    • The function must work even with odd input resolutions.
    • &#xA;

    &#xA;

    I have tried finding a combination of filters that do that but I haven't been able so far, either the video gets distorted or it gets huge black bars if the aspect ratio isn't right, the solution may be simple but I'm a beginner on this library so I'm probably just missing an easy solution.

    &#xA;

    My current solution :

    &#xA;

    ffmpeg -i input.mp4 -vf [in] scale=1280:720:flags=lanczos:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1 [res]; [res] format=yuv420p [format] -c:v libx264 -c:a aac -movflags &#x2B;faststart output.mp4&#xA;

    &#xA;

    Thanks for reading

    &#xA;

  • ffmpeg error : Unable to find a suitable output format for 'scale=1500:1000'

    13 février 2021, par Tomáš Zato - Reinstate Monica

    I am trying to convert a bunch of images into a video. The original image resolution is 6000x4000, but if I use ffmpeg to create a video with that resolution, no player can even play it because it's way to huge.

    &#xA;

    I tried to set the output resolution as such, dividing the input resolution by 4 :

    &#xA;

    ffmpeg -r 60 -s 1500x1000 -start_number 3790 -i DSC_%04d.jpg -vcodec libx264 -crf 25  -pix_fmt yuv420p ../video_lowres.mp4&#xA;

    &#xA;

    This had no effect and still produced 6000x4000 video. So instead, I tried this parameter : scale=1500:1000 The full command I ran :

    &#xA;

    ffmpeg -r 60 scale=1500:1000 -start_number 3790 -i DSC_%04d.jpg -vcodec libx264 -crf 25  -pix_fmt yuv420p ../video_lowres.mp4&#xA;

    &#xA;

    But I got this error :

    &#xA;

    [NULL @ 000002ad897bd9c0] Unable to find a suitable output format for &#x27;scale=1500:1000&#x27;&#xA;scale=1500:1000: Invalid argument&#xA;

    &#xA;

    How can I create a downscaled video from photos using ffmpeg ?

    &#xA;