Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (97)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (8812)

  • doc : delete viterbi.txt

    10 novembre 2013, par Timothy Gu
    doc : delete viterbi.txt
    

    The description has been moved to the FFmpeg wiki :
    https://trac.ffmpeg.org/wiki/ViterbiAlgorithm

    Signed-off-by : Timothy Gu <timothygu99@gmail.com>

    • [DH] doc/viterbi.txt
  • OpenCV3 returning float FRAME_COUNT

    15 mars 2016, par mprat

    I am using OpenCV3 on OSX with Python 2.7 bindings. However, when I try to read the frame count of my video (a .mp4 video), it returns a float - I am expecting an int. Do I need to compile OpenCV3 with some special flags ? Am I missing some codecs ?

    import cv2
    vid = cv2.VideoCapture("vid.mp4")
    print vid.get(cv2.CAP_PROP_FRAME_WIDTH)

    And it returns a float.

    Installation details :

    • ffmpeg : brew install ffmpeg --with-dcadec --with-openh264 --with-openjpeg --with-openssl --with-tools --with-x265  --with-zimg --with-libvidstab --with-libvpx
    • opencv3 : brew install opencv3 --with-ffmpeg --with-contrib
  • How to save ffmpeg segmets to disk immediately with sub-second intervals ?

    20 octobre 2023, par amfast

    I'm trying to record video on a raspberry and have it save as much as possible (sub-second resolution) in case of a power cutoff.

    &#xA;

    I use -f segment to save the encoded stream in 100ms segments with the hope that all but the interrupted (by power cutoff) segment will be saved in memory. Unfortunately, when cutting off power, all the destination files (output_0001.mp4, output_0002.mp4, ...) are created, but empty.

    &#xA;

    To save the files to disk immediately, I added the -strftime 1 option that allows formatting the output filename as time. It seems weird that this is the (only ?) way to trigger immediate saving of files, but it works - untill I try to have segments smaller than 1 second. The problem seems to be that the format string %d, that previously added a sequence number in my output filenames, now represents "day" (i.e. date) and the smallest resolution time format string is %S for second. I saw %f suggested somewhere for smaller resolutions, but it only prints "%f".

    &#xA;

    The result is that the segmentation part of ffmpeg does create 100ms segments and save them to disk immediately, but the strftime feature gives the output files names that only change every second, so all the interim files are overwritten.

    &#xA;

    Example of the failing command below. Without the -strftime option this creates nice segments, but does not save them to disk immediately.

    &#xA;

    libcamera-vid --flush \&#xA;    --framerate ${FRAMERATE} \&#xA;    --width ${WIDTH} \&#xA;    --height ${HEIGHT} \&#xA;    -n \&#xA;    -t ${TIMEOUT} \&#xA;    --codec yuv420 \&#xA;    -o - | &#xA;ffmpeg \&#xA;    -fflags nobuffer \&#xA;    -strict experimental \&#xA;    -loglevel debug \&#xA;    -flags low_delay \&#xA;    -f rawvideo \&#xA;    -pix_fmt yuv420p \&#xA;    -s:v ${WIDTH}x${HEIGHT} \&#xA;    -r ${FRAMERATE} \&#xA;    -i - \&#xA;    -c:v h264_v4l2m2m \&#xA;    -f segment \&#xA;    -segment_time 0.1 \&#xA;    -segment_format mp4 \&#xA;    -reset_timestamps 1 \&#xA;    -strftime 1 \&#xA;    -b:v ${ENCODING_BITRATE} \&#xA;    -g 1 \&#xA;    "output_%04d.mp4"&#xA;

    &#xA;

    Question :
    &#xA;Is there another way besides -strftime to trigger immediate saving ? Or is there a mechanism to feed finer resolution format strings to the output filename ?

    &#xA;