Recherche avancée

Médias (91)

Autres articles (106)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (11869)

  • How do I use ffmpeg to extract the total time of a video slice without actually producing the video slice ?

    18 juin 2022, par iChux
    


    I have a video named 'ev.mp4'. Slice the video into segments :

    


    


    # COMMAND 1
ffmpeg -i "ev.mp4" -c copy -map 0 -segment_time 15 -g 9 \
    -sc_threshold 0 -force_key_frames "expr:gte(t,n_forced*9)" \
    -reset_timestamps 1 -f segment ev-%04d.mp4

ev-0000.mp4
ev-0001.mp4
ev-0002.mp4


    


    


    Get each segment time

    


    


    # COMMAND 2
for f in ev-*.mp4;
do
    echo $f == $(ffprobe -v error -show_entries \
    format=duration -of default=noprint_wrappers=1:nokey=1 $f);
done;

ev-0000.mp4 == 17.251000
ev-0001.mp4 == 17.918000
ev-0002.mp4 == 10.444000


    


    


    I am only able to extract the duration of each sliced segment after the videos have existed in a sliced format on the hard drive e.g. ev-0000.mp4

    


    


    My question : is it possible to get the duration of each slice from COMMAND 1 such that instead of producing the sliced files, I will get the duration of each slice ?

    


  • Capture pictures from IP camera

    29 décembre 2016, par Иван Деркач

    i’m trying to make project, which will take picture from ip camera (camera can’t send any esle format of video, except for .h264), my problem in that i don’t know, how to do it. I used live555 library and i tried to use openRTSP (from testProgs). So got images this way, but i had make .mp4 files and save little slices of video, after i opened them with Aforge.Video.FFMPEG library and took pictures, but i couldn’t take the video, while my parallel thread made me those files. So i checked those files in my program, but it doesn’t work. There was another problem, live555 standart program don’t write evenly(first file can be 10 sec, second can be 8 seconds, about 5-6 files don’t work, if total duration 20 secodns), and because of it Aforge couldn’t open them all. Please help me, i suggest that i should use testRTSPclient(from testProgs too), it’s dummy of real program, but i don’t know, what to do, this library little hard for my understanding. Give me advice and thanks.
    There references to this library : http://www.live555.com/
    There visual studio project of this library : http://www.bumblebee.website/downloads_l555.html

  • ffmpeg hundreds of videos- to-image as shell script in keyboard maestro

    28 juillet 2023, par Leopardi

    First I would like to say that I use MacOS, I am new using ffmpeg and keyboard maestro and have no little to none experience in coding. But I think I did learned a bit is the past few weeks trying to solve the problem I will ask now. Believe me I tried searching for answers online and did a lot of trial and error before coming here to ask my question.
so here is what I am trying to do :

    


    I have a folder (/Users/Documents/clips) with 450 short AVI clips (foto1.avi, foto2.avi...., foto450.avi) from which I would like to extract all frames from. I know how to extract all frames from 1 clip and copy them to an existing directory :

    


    *ffmpeg -i /Users/Documents/clips/foto1.avi /Users/Documents/Frames/Foto1/frame%06d.png *

    


    With their command all frames from the clip Foto1.avi (frame000001.png, frame000002.png...., frame000132.png) are copied to the folder /Foto1.

    


    With keyboard Maestro I created 450 folders named afters the 450 .avi clips.

    


    Is there a way to write a ffmpeg command that will extract the frames of all 450 .avi clips to the folder with the same name as the file ?

    


    I was hoping there would be a way of seeing variables in this kind of way :

    


    ffmpeg -i /Users/Documents/clips/foto%.avi /Users/Documents/Frames/Foto%/frame%06d.png

    


    I really appreciate any help. Thank you !

    


    I tried searching for answers in forums, ffmpeg database. And since I have almost no knowledge on coding sometimes is hard to decipher and understand the meaning of the code.