Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (61)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

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

Sur d’autres sites (8901)

  • How to read a video stream(H.264) bitrate via ffprobe if the video is VBR

    26 janvier 2021, par Sean
      

    1. if the video stream is VBR, which means the bitrate is variable, so how to read the bitrate via ffprobe ?
    2. 


    3. How to get know the video stream is CBR or VBR ?
    4. 


    


  • How to replace a snippet in a video without reencoding the whole video

    3 novembre 2022, par Simon Streicher

    I am trying to edit and replace a section of a video without reencoding the whole video.
Here are the steps I think I need to take :

    


    1. Find keyframes

    


    input :

    


    ffprobe -v error -select_streams v:0 -skip_frame nokey -show_entries frame=pkt_pts_time -of csv=p=0 'example.mkv'


    


    output :

    


    0.000000
1.001000
11.011000
13.430000
20.812000
30.822000
40.832000
50.842000
⋮


    


    2. Export relevant section

    


    For example, export the snippet 40.832000 → 50.842000.

    


    3. Edit and reencode

    


    After editing that section, I need to reencode it to the original codecs for compatibility with the surrounding video. For example, this is the original codecs :

    


    Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x1600 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)


    


    4. Inject edit back into the video stream

    


    Finally, I need to use FFmpeg somehow to retain everything from the original file (audio, subtitles, chapters, etc.) and to construct a new video stream (for example, Stream #0:0) that is exactly 0 → 40.832000 of the original, the whole edited section, and 50.842000 → end of the original section.

    


    My main questions are :

    


      

    • A. How do I trim the video stream in 2. without reencoding ?
    • 


    • B. Assuming that the edited video's resolution will remain the same, what is the command for FFmpeg to encode my edit to the codecs in 3. (and would the video be concatenable with the original video) ?
    • 


    • C. How should I go about glueing the sections together ? Should I simply trim Stream #0:0 into sections v1 = 0 → 40.832 and v2 = 50.842 → end and then concatenate a new stream as new = v1 + edited + v2 ?
    • 


    • D. How do I replace Stream #0:0 with new ?
    • 


    


    And probably the most important question : are my assumptions correct and can this be achieved ?

    


  • ffmpeg converted mp4 video format is not playing on html5 video player

    15 août 2017, par alina

    i have converted a video via ffmpeg to mp4 but its playing on desktop pc player like Vlc but not on html5 player or wordpress player.

    Iam using this command while conversion :

    ffmpeg." -i ".$video_to_convert." -i watermark.png -filter_complex 'overlay=10:main_h-overlay_h-10' -c:v libx264 -crf 17 -preset slow -c:a libfaac -b:a 192k -ac 2 -b:a ".$quality." -acodec libmp3lame -ab 126000 -ar ".$audio." -ac 2 -s ".$size." ".$converted_vids.$name.".".$new_format."

    where :

    .$video_to_convert. = input.mp4

    .$converted_vids.$name. = output.mp4

    is there any syntax problem ??????????????????