Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (39)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • 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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (9647)

  • How to add intro image beginning of video with same video aspect ratio in ffmpeg ?

    10 juin 2021, par Manoj Kag

    I have one image and one video. I would like to add image as video just before actual video so i can stream video with intro frame for 5 seconds.

    


    I found one command and full fill my requirement but in that command image added at the end of the video and i need beginning of the video. Let me share command below :

    


    ffmpeg -i 1.mp4 -loop 1 -t 5 -i 2.jpg -f lavfi -t 5 -i anullsrc -filter_complex "[0]split[base][full];[base]trim=0:5,drawbox=t=fill[base];[1][base]scale2ref=iw:ih:force_original_aspect_ratio=decrease:flags=spline[2nd][base];[base][2nd]overlay='(W-w)/2':'(H-h)/2'[padded];[full][0:a][padded][2:a]concat=n=2:v=1:a=1[v][a]" -c:v libx264 -c:a aac -strict -2 -map "[v]" -map "[a]" output.mp4

    


    Image should be resize dynamically according to the video resolution.
Best solution will be appreciate from bottom of heart.

    


  • FFMPGE Android, Merged Video ,Audio come before video on web browser

    2 février 2017, par Himanshu Shekher Jha

    I am merging two video together, One Video is created from image, and other Video is recorded from Camera. Before Merging I used a code to change codec of both video in same format. Everything is working well, but when i try to play video on web browser, We got audio of recorded video before Recorded Video Start.

    FFMPge code to create video from image is

    "-loop 1 -i " + profileImagePath + " -i " + recordedAudioPath + " -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 192k -pix_fmt yuv420p -shortest " + profileVideoPath;

    FFMPge code to change codec of video

    " -s  640x360 -vcodec libx264 -acodec aac -strict -2 -pix_fmt yuv420p  -ac 1 -ar 16000 -r 13 -ab 32000 "

    FFMPge code to merge video

    String list = generateList(new String[]{ profileVideoCodecPath, recordedVideoCodecPath});

               String cmd = " -f concat -i " + list + " -c copy " + mergedVideoPath;
  • The most efficient way to generate mp4 video containing looped boomerang-alike video file ?

    29 juillet 2019, par B. Palka

    I’ve developed an Android app that allows user to create boomerang-alike mp4 video. This video consists of 10 still images being played back and forth quite fast. I know that such video (boomerang effect) can be easily looped from single video file while playing it, but I really need to create a mp4 video that would essentially contain already prepared boomerang video. The output video can be downloaded and played by user on any external player (over which obviously I don’t have any control).

    For that purpose currently I create a video from images in a loop. The loop starts from 1st picture and goes to 10th picture with 0.25 sec delay between frames, then goes back from 10th to 1st including delay. And there is 5 of those loops, which essentialy means creating a single video from 5 * 10 * 2 = 100 images. I know it’s kinda ridiculous, so the time that it takes to prepare this video is riduculous as well (around 1:40 min).

    What solution could you recommend assuming that the output video really has to consist of 5 loops back-and-forth ? I’ve thought about creating single loop video (20 pictures) and then create final output video by concatenating it 5 times. But could it be any good ? I’m trying to find an efficient yet understandable for a beginner Android programmer way.