Recherche avancée

Médias (91)

Autres articles (56)

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

  • 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 ;

  • 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

Sur d’autres sites (8953)

  • How to receive the parameters after image cropping using uCrop library ?

    12 décembre 2016, par Dylan

    For cropping an image in my Android app I used the code sample from uCrop library - cropping image library.
    After some searching I didn’t find any library that can Crop Video like the Image cropping. So, I decided to get the first image frame from the video I need to crop and to pass it to uCrop library. After the user will crop this image I want to receive parameters :
    1. Path to the cropped image
    2. Rect params that represents X, Y, width, height
    3. Rotate angle.

    Using this parameters I will be able to crop the video with ffmpeg library (I guess).

    How and where in a code using uCrop library I can receive the params I need after the first frame is cropped ?

  • Ffmpeg how do I put image behind video at fixed position [duplicate]

    30 janvier 2020, par andrew cummins

    I have an image (720x1280) I want to use as the canvas. I want to put a video in front of the Image but at a specific section and output to mp4. I attached a screenshot

    I’m familiar with the overlay command but not sure how to get the video overlay in that exact location.

    ffmpeg -loop 1 -i image.png -i video.mp4 -filter_complex "[1:v]scale=400 :-1[fg] ;[0:v][fg]overlay=(W-w)/2 :(H-h)/2:shortest=1" output.mp4

    [Screenshot idea]

    https://i.stack.imgur.com/8dHJ4.jpg

  • How to create a fixed image video with ffmpeg that avoids pixelization when it's not maximized ?

    11 août 2022, par Nelson Teixeira

    I have a waiting video in the project I develop. This video is a fixed waiting image with music. I was asked to change the image in the video due to deprecated logo.

    


    So initially I tried just to replace the image in the video using this command :

    


    ffmpeg -i old_waiting_video.mp4 -i new_image.png -filter_complex "[1][0]scale2ref[i][v];[v][i]overlay" -c:a copy new_waiting_video.mp4


    


    This lead to the image became pixelated when the video isn't maximized. When maximized the image is OK. But it looks terrible in the small player.

    


    Here is an image of the problem :

    


    enter image description here

    


    The above image is the image without zoom out. The left bottom image is a screen capture when I resize it in an image tool and the right bottom is a screen capture of how it looks like in the player.
The image has more than this text, but I thought that wouldn't be appropriate to display my company's logo here. The logo itself is even more pixelized and looks terrible.

    


    So to try to solve this problem I extracted the audio from the file and try to add the image and the audio together to see if it removed the pixelization. So I used this command :

    


    ffmpeg -i audio.m4a -i new_image.png new_waiting_video.mp4


    


    When it failed, searching a bit I came across this other command :

    


    ffmpeg -loop 1 -i new_image.png -i audio.m4a -c:v libx264 -tune stillimage -c:a copy -pix_fmt yuv420p -shortest new_waiting_video.mp4


    


    Again the pixelization ocurred. I know it's possible because this problem doesn't occur in the old logo.

    


    What would be the correct command that allowed that the zoomed out image in the player doesn't pixelate ?

    


    Edit 1

    


    I would also be interested in a command that substitutes the image on the old video as long it doesn't pixelate in the non-maximized player.

    


    Edit 2

    


      

    • Video resolution : 1920x1080
    • 


    • New image resolution : 1920x1080
    • 


    • Non-maximized video player size : 640x360
    • 


    • Video tag : <video src="my-video-url.mp4" style="width: 640px;"></video>
    • &#xA;

    &#xA;