Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (36)

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

Sur d’autres sites (6252)

  • ffmpeg_opt : Set the video VBV parameters only for the video stream from -target

    25 mai 2015, par Michael Niedermayer
    ffmpeg_opt : Set the video VBV parameters only for the video stream from -target
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] ffmpeg_opt.c
  • 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 ??????????????????

  • 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.&#xA;Here are the steps I think I need to take :

    &#xA;

    1. Find keyframes

    &#xA;

    input :

    &#xA;

    ffprobe -v error -select_streams v:0 -skip_frame nokey -show_entries frame=pkt_pts_time -of csv=p=0 &#x27;example.mkv&#x27;&#xA;

    &#xA;

    output :

    &#xA;

    0.000000&#xA;1.001000&#xA;11.011000&#xA;13.430000&#xA;20.812000&#xA;30.822000&#xA;40.832000&#xA;50.842000&#xA;⋮&#xA;

    &#xA;

    2. Export relevant section

    &#xA;

    For example, export the snippet 40.832000 → 50.842000.

    &#xA;

    3. Edit and reencode

    &#xA;

    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 :

    &#xA;

    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)&#xA;

    &#xA;

    4. Inject edit back into the video stream

    &#xA;

    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.

    &#xA;

    My main questions are :

    &#xA;

      &#xA;
    • A. How do I trim the video stream in 2. without reencoding ?
    • &#xA;

    • 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) ?
    • &#xA;

    • 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 &#x2B; edited &#x2B; v2 ?
    • &#xA;

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

    &#xA;

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

    &#xA;