Recherche avancée

Médias (91)

Autres articles (61)

  • 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 (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (10047)

  • Trouble trimming video by frame number with ffmpeg

    8 décembre 2023, par jgore200377

    I want to trim/split a video with ffmpeg using frames. The reason why is because I am using a Shot Transition Detection model which returns a probability of transition for every frame in the video.

    


    Using timestamps to cut the video has yielded bad results as the precision is not 100%.

    


    Ive tried this command which just outputs the entire video which is DEFINITELY not what I want

    


    ffmpeg -i video.mp4 -vf "trim=start_frame=100:end_frame=200,setpts=PTS-STARTPTS" -c:a copy output.mp4


    


    Ive also tried using python bindings with ffmpeg-python

    


    import ffmpeg

input_file = ffmpeg.input('video.mp4')
output_file = ffmpeg.output(input_file.trim(start_frame=1300, end_frame=1500), 'test_output.mp4')
ffmpeg.run(output_file)


    


    This doesnt work either and outputs a video with half of it being still with unpredictable length

    



    


    Ive visited some other sites but none seem to have this nailed down and it would be much appreciated if someone can answer how to use frames to trim/split a video with ffmpeg.

    


  • aac : check the maximum number of channels

    27 avril 2013, par Luca Barbato
    aac : check the maximum number of channels
    

    Broken bitstreams could report a larger than specified number of
    channels and cause outbound writes.

    CC:libav-stable@libav.org

    • [DBH] libavcodec/aacdec.c
  • Overlaying frame number with ffmpeg [duplicate]

    30 mars 2024, par DMagma

    This should be simple but it is giving me fits and I haven't been able to find this specific problem. I am trying to overlay the frame number on a set of videos but my ffmpeg command string is ignoring any text overlay that has anything to do with a frame number. For example, these produce the correct overlay

    


    "-vf drawtext=fontfile='Arial.ttf': text='TEST': fontsize=30: fontcolor=yellow@1.0:x=(w-text_w-15):y=15" 
"-vf drawtext=fontfile='Arial.ttf': text='%camera%': fontsize=30: fontcolor=yellow@1.0:x=(w-text_w-15):y=15" 
"-vf drawtext=fontfile='Arial.ttf': text='%vname%': fontsize=30: fontcolor=yellow@1.0:x=(w-text_w-15):y=15" 


    


    but these all ignore the "text" input and instead overlay "fontsize=30" or "start_number=1" to the frames

    


    "-vf drawtext=fontfile='Arial.ttf': text=%{n}: fontsize=30: fontcolor=yellow@1.0:x=(w-text_w-15):y=15" 
"-vf drawtext=fontfile='Arial.ttf': text='%{n}': fontsize=30: fontcolor=yellow@1.0:x=(w-text_w-15):y=15" 
"-vf drawtext=fontfile='Arial.ttf': text='Frame %{frame_num}': start_number=1: fontsize=30: fontcolor=yellow@1.0:x=(w-text_w-15):y=15" 


    


    I am at a loss as to why it is not properly identifying or using the frame number.

    


    I have tried multiple variations such as those shown above including swapping the order of the inputs to no effect.