Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (81)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9180)

  • doc/general : update after recent additions

    25 octobre 2015, par Paul B Mahol
    doc/general : update after recent additions
    

    Signed-off-by : Paul B Mahol <onemda@gmail.com>

    • [DH] doc/general.texi
    • [DH] libavformat/vag.c
  • avutil/pixfmt : Clarify the meaning of the "alpha" bit in rgb555/bgr555

    6 février 2015, par Michael Niedermayer
    avutil/pixfmt : Clarify the meaning of the "alpha" bit in rgb555/bgr555
    

    Found-by : wm4
    Reviewed-by : wm4 <nfxjfg@googlemail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavutil/pixfmt.h
  • Can VLC's method for estimating the duration of a video be reproduced by the means of ffmpeg ?

    28 février, par archie

    This may seem to duplicate previous questions but it does not, as far as I can tell.

    &#xA;

    I have a bash script for indexing images and videos to a thumbnails database. A user of my script complained that some videos of hers are skipped over with an error message "corrupted metadata" even though VLC can play them smoothly. These are about 10 videos out of some 15 thousand, but I'd like to solve the problem.

    &#xA;

    I will focus on a single video from the bunch. File name : "Paper_and_discussion_M492.mkv", actual duration 02:03:47 (hh:mm:ss). The duration and bitrate fields in the video metadata are missing.

    &#xA;

    ffmpeg  -hide_banner -i "Paper_and_discussion_M492.mkv" 2> ffmpeg_data.txt&#xA;

    &#xA;

    gives the following output :

    &#xA;

      Input #0, matroska,webm, from &#x27;Paper_and_discussion_M492.mkv&#x27;:&#xA;  Metadata:&#xA;    COMPATIBLE_BRANDS: isomiso2avc1mp41&#xA;    MAJOR_BRAND     : isom&#xA;    MINOR_VERSION   : 512&#xA;    ENCODER         : Lavf58.76.100&#xA;  Duration: N/A, start: 0.000000, bitrate: N/A&#xA;  Stream #0:0: Video: hevc (Main), yuv420p(tv, progressive), 854x480 [SAR 1280:1281 DAR 16:9], 24 fps, 24 tbr, 1k tbn, 24 tbc (default)&#xA;    Metadata:&#xA;      HANDLER_NAME    : VideoHandler&#xA;      VENDOR_ID       : [0][0][0][0]&#xA;      ENCODER         : Lavc58.134.100 libx265&#xA;  Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default)&#xA;    Metadata:&#xA;      HANDLER_NAME    : SoundHandler&#xA;      VENDOR_ID       : [0][0][0][0]&#xA;      ENCODER         : Lavc58.134.100 libvorbis&#xA;At least one output file must be specified&#xA;

    &#xA;

    Therefore, as expected,

    &#xA;

    ffprobe -i <file> -show_entries format=duration -v quiet -of csv="p=0"&#xA;</file>

    &#xA;

    returns "N/A".

    &#xA;

    Decoding the whole file does work :

    &#xA;

    ffprobe -show_entries stream=r_frame_rate,nb_read_frames -select_streams v -count_frames -of compact=p=0:nk=1 -v 0 "Paper_and_discussion_M492.mkv"&#xA;

    &#xA;

    but it obviously takes a lot of time, especially for a > 2 hours video.

    &#xA;

    The "faster answer" proposed by LSerni in https://superuser.com/questions/1179000/ffmpeg-get-duration-of-video-file-without-meta-data should give an estimate of duration based on bitrate ; but bitrate is also "N/A" in the incriminated file(s). Their command-line solution based on ffmpeg ends with an error "division by zero".

    &#xA;

    However, if I open the file with VLC, it plays ok and VLC immediately shows the duration of the file as 02:03:47. I have checked that duration is precise. Search and jump are also very fast : if I skip 1 hr, playback promptly resumes at the right time.

    &#xA;

    So, a doubt is gnawing at me : How does VLC succeed where I consistently fail ? It must have a way for recovering data that I might also be able to use to produce a correct estimate of duration.

    &#xA;

    My question is : is it possible to reproduce VLC's method (or equivalent) by means of ffmpeg ?

    &#xA;