Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (18)

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (3646)

  • FFMPEG trimming video (using select between) doesn't affect overall duration

    5 mai 2022, par srb7

    Completely new to working with FFMPEG, what I'm trying to achieve is applying overlaying graphics at certain positions and times, and cutting out sections of a single input video.

    


    I've worked out the overlaying graphics, so this code is working :

    


    ffmpeg -i /Users/username/projectdir/static/video.mp4 \
  -i overlay.png -i overlay2.png \
  -filter_complex "[0:v][1:v] overlay=192:108:enable='between(t, 0, 5)'[ov0]; 
                   [ov0] overlay=192:108:enable='between(t, 5, 10)'" \
  -pix_fmt yuv420p output_overlayed.mp4


    


    But when I try to cut out sections using this code :

    


    ffmpeg -i /Users/username/projectdir/static/video.mp4 \
  -i overlay.png -i overlay2.png \
  -filter_complex "[0:v][1:v] overlay=192:108:enable='between(t, 0, 5)'[ov0]; \
                   [ov0] overlay=192:108:enable='between(t, 5, 10)', \
                      select='between(t,0,5)+between(t,10,15)', \
                      setpts='N/FRAME_RATE/TB'" \
  -pix_fmt yuv420p output_overlayed_trimmed.mp4


    


    It seems to cut correctly, so the original video starts playing from 0 seconds until 5 seconds and then plays from 10 seconds in until 15 seconds and cuts out. But after the point where the video cuts out it's just a black screen for the duration of the video. I can't seem to get it to work so it affects the overall duration of the video.

    


    (The values being passed in are just examples by the way, eg. I've got it to start an overlay 5 seconds in but also cut 5 seconds in)

    


    I have the timestamps for when the overlays should appear on the non-trimmed video, so the overlaying should happen first and then the trimming. If the video is trimmed first then the overlays will appear at the wrong times.

    


    An alternative way of achieving this that is currently working is by performing the first line of code (which just produces a new video file with the overlay) and then separately take this new file and perform the trimming independently :

    


    ffmpeg -ss 0 -to 5 -i /Users/username/projectdir/static/output_overlayed.mp4 \
  -ss 15 -to 20 -i /Users/username/projectdir/static/output_overlayed.mp4 \
  -filter_complex "[0][1]concat=n=2:v=1:a=1" output_trimmed.mp4


    


    But this means working with 2 separate files and then having to remove the first after the 2nd execution is complete. Ideally I'd combine them into one command which doesn't produce multiple files.

    


    Would appreciate any help - thanks !

    


  • openHEVC for audio decoding

    14 septembre 2017, par gsk

    I am using openHEVC decoder for one of my projects and am not really sure whether it supports decoding audio streams together with the video decoding. Initial testing with an AAC coded audio stream didn’t play inside the openHEVC. Can someone please help me to clarify this issue. If its not supporting what could be the way around given that I don’t want to give up openHEVC and use some other decoder.

    Thank you.

  • Anomalie #3181 (Nouveau) : mots et groupes - API d’édition des objets

    7 mars 2014, par Sylvain Lesage

    Les fonctions d’action du plugin mots ne semblent pas suivre les mêmes règles que l’API d’édition des objets, ce qui en permet pas d’utiliser ces fonctions génériques pour les mots ou les groupes de mots (me semble-t-il). Est-il envisageable de les adapter au format défini par l’API ?

    Insertion

    API : objet_inserer

     bool | int objet_inserer( string $objet , int $id_parent = null , array | null $set = null ) 
    

    Mot : mot_inserer

     int | bool mot_inserer( int $id_groupe ) 
    

    Groupe de mots : groupemots_inserer

     int | bool groupemots_inserer( string $table = ’’ ) 
    

    Modification

    API : objet_modifier

     mixed | string objet_modifier( string $objet , int $id , array | null $set = null ) 
    

    Mot : mot_modifier

     string | null mot_modifier( int $id_mot , array | null $set = null ) 
    

    Groupe mots : groupemots_modifier

     string | null groupemots_modifier( int $id_groupe , array | null $set = null )