Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (96)

  • 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

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (8122)

  • FFMPEG add circular mask to videos, convert to black and white and concatenate

    3 mai 2018, par Yassine

    Hello everyone i’m a beginner and i would appreciate your help.

    I’m making a mobile application that generates custom video resumes based on the user’s videos taken from his phone, the user has to upload 5 different videos to the server from the mobile application, in the server side i want to :

    • Add a .png circular mask to each video.
    • Make each video black and white.
    • Concatenate the videos with other already existing title videos
      (e.g [userVideo1] [title1] [userVideo2] [title2]...) Visual Example

      [Edit : I would like more features]

    • Add background music
    • Add watermark logo in the middle
    • Remove silent footage from the beginning and from the end
    • Some input videos might be rotated, i want to rotate videos back to normal if they are rotated.

    So far i managed to add the circular mask, make the videos black and white and concatenate 3 videos including a premade title video, but the second user video has no sound in the output.

    This is the script i ended up with :

    ffmpeg -i uservid1.mov -i uservid2.mp4 -i mask.png -i title1.mp4  -preset
    ultrafast -filter_complex "

    [2:v][0:v]scale2ref[s1][s2];    
    [s2][s1]overlay[vid1];  
    [2:v][1:v]scale2ref[s3][s4];
    [s4][s3]overlay[vid2];  
    [vid1]hue=s=0[v0];
    [vid2]hue=s=0[v1];  
    [v0]scale=720x400[in0];
    [v1]scale=720x400[in1];
    [3:v]scale=720x400[in3];
    [in0]setsar=sar=0[final0];
    [in1]setsar=sar=0[final1];      
    [in3]setsar=sar=0[final3];
    [final0][final3][final1]concat=n=3;"

    -codec:a copy finalCV.mp4  
  • How to stream all videos in a folder on facebook ?

    16 juillet 2022, par Joan Zhou

    I have code for live any video, but I don't know how to live 1 folder have several videos.

    


    title 1  dir/b/s "G:\test" > 1.txt   for /F "delims=;" %%F in (1.txt) DO ffmpeg -re -i "%%F"  -preset medium -vcodec libx264 -acodec aac  -f flv "rtmps://live-api-s.facebook.com:443/rtmp/FB-10192

    


  • Scaling videos for device that doesn't support aspect ratio metadata

    18 juillet 2017, par forthrin

    I have hundreds of videos which are all approximately 4:3 format, but with different resolutions and various cropping (eg. videos may be 640x480, 640x470, 630x480, etc.).

    I converted the videos into a fixed screen size (160x128) for a primitive device. When playing the videos on the device, some appear "thin", while in VLC on my computer, the aspect ratio is correct.

    I assume the reason for this is that the video player on the primitive device doesn’t honour the aspect ratio metadata in the video file. Here are two examples of metadata :

    • 320x240 SAR=1:1 DAR=4:3 (Displays correctly on device and desktop)
    • 480x480 SAR=4:3 DAR=4:3 (Displays thin on device, correct on desktop)

    How can I create a general command line that will give all videos correct playback on my primitive device, regardless of their original size and aspect ratio ?

    The best would be to somehow ask ffmpeg to remove the metadata, and compensate for it when scaling. Another possible option would be to add black bars so the video is always 160x128 pixels.

    I’m open to any solution. Below is my current version :

    for f in *; do ffmpeg -i $f -vcodec mpeg4 -vf scale=160:-1 out/$f; done