Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (102)

  • 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 ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (12438)

  • Adding soft dvdsub subtitle track (idx+sub) to mp4 video using ffmpeg [closed]

    4 décembre 2024, par Tom Solid

    I have an .mp4 video and a dvdsub subtitle in to files (.idx and .sub). When I play the video (with VLC media player) the subtitles are displayed correctly, but I have tried to repack the video and the subtitles into one .mp4 file with ffmpeg :

    


    ffmpeg -i input.mp4 -f vobsub -sub_name input.sub -i input.idx -map 0:v:0 -map 0:a:0 -map 1:s:0 -codec:v copy -c:a copy -scodec dvdsub output.mp4


    


    the subtitles are not displayed. According to VLC, there is a subtitle track in output.mp4, but I cant see any subtitles during the play.

    


    Additional information that the video size (624x336) and the frame size in input.idx (1920x1080) are different.

    


    I have tried several variations of the code above (without forcing the format with -f, using three -i keys, several variations of -map) but I cannot figure out what is the problem. Your help is welcomed.

    


  • Also print GUIDs as shown in the Windows registry to ease debugging.

    2 décembre 2014, par Carl Eugen Hoyos
    Also print GUIDs as shown in the Windows registry to ease debugging.
    
    • [DH] libavformat/riff.h
  • FPS shown in ffmpeg does not match with total frames/duration

    14 juin 2020, par Lincolnhuj

    FPS is defined as number of frames per second. But when I try to calculate FPS using total frames / duration, I get slightly different number than the FPS shown in ffmpeg :

    



    For this video http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerFun.mp4
using ffmpeg, we can get its FPS, duration and total frames :

    



    


    ffprobe -select_streams v -show_streams ForBiggerFun.mp4 | grep nb_frames

    


    



    nb_frames=1440

    



    


    ffmpeg -i ForBiggerFun.mp4

    


    



    23.98 fps
Duration : 00:01:00.07

    



    If we calculate duration per frame using nb_frames, we get
fps = nb_frames/Duration = 1440/60.07 = 23.972032628599965, which is different from 23.98

    



    Which value is more reliable ? Does the difference means duration of a frame might be different from others (frames are not evenly distributed) ?