Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (29)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (7384)

  • Merge a sequence of JPEG images into a grid losslessly with FFmpeg

    20 janvier 2020, par Mody

    I have a sequence of images that are blocks of a larger image, which together make up the whole image. The blocks are the result of splitting the original image along evenly spaced horizontal and vertical lines, so they don’t have weird dimensions.

    Is there a way to combine them with FFmpeg (or something else like ImageMagick) without re-encoding the images ?

    This answer suggests the hstack or vstack FFmpeg filter, but my image blocks aren’t necessarily the full width or the full height of the original image.


    Like this :

    Six blocks of differing sizes in a 3-row, 2-column grid

    Perhaps this could be achieved with multiple FFmpeg commands using hstack or vstack (I’d prefer just one command though). Or with a complex filter ?


    e.g. Mona Lisa split into six distinct blocks, then arranged together


    Edit : I tried using filter_complex with FFmpeg :

    ffmpeg -i 0.jpg -i 1.jpg -i 2.jpg -i 3.jpg -i 4.jpg -i 5.jpg \
    -filter_complex "[0][1]hstack=inputs=2[row 0]; \
                    [2][3]hstack=inputs=2[row 1];
                    [4][5]hstack=inputs=2[row 2];
                    [row 0][row 1][row 2]vstack=inputs=3[out]" \
    -map "[out]" -c copy out.jpg

    but it can’t filter and copy streams at the same time.

  • 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.
The "export profiles" have many variables but the important ones here are maxheight and maxwidth.

    


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

    


      

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


    • The video must not have a height superior to maxheight or a width superior to maxwidth.
    • 


    • The original video and exported video have the same aspect ratio and no distortion occurs.
    • 


    • No padding or cropping should occur.
    • 


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


    • The function must work even with odd input resolutions.
    • 


    


    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.

    


    My current solution :

    


    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 +faststart output.mp4


    


    Thanks for reading

    


  • Anomalie #4272 : Vignettes considérée comme orphelins lors de la suppression des documents inutilisés

    11 février 2019, par Fabrice Véronneau