Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (81)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (12438)

  • ffmpeg command to insert the Static frames in a video, if the video has the gaps inside of it ?

    1er septembre 2020, par geo-freak

    I have a 10 min video file(.ts file), it has the gaps(empty video) from 4th min to 7th min. I want to insert the static frames from start of the gaps to end of the gap.

    


    I have a command to create the static video with null(silent) audio.

    


    ffmpeg -loop 1 -i img002.jpg -f lavfi -i anullsrc=channel_layout=5.1:sample_rate=48000 -c:v libx264 -t 10 -pix_fmt yuv420p -vf scale=480:320 -y output.ts


    


    I want to add this static video with silent audio in a a recording from specific period.

    


    How can I achieve it ?

    


    Thanks in advance.

    


  • FFMPEG delay mutliple overlay videos (with different delays)

    28 avril 2019, par Bamba675

    I’m trying to overlay a video (for example a report) with different other videos or images, like hints to the facebook page or a hint to the website. These other videos or images are smaller than the original and sometimes transparent (rgba).

    I already tried to overlay multiple videos, which works pretty well :

    ffmpeg -i 30fps_fhd.mp4 -i sample.mp4 -i timer.webm -i logo.jpg -filter_complex "overlay = x=100:y=1000, overlay = x=30:y=66:eof_action=pass, overlay = x=0:y=0" -acodec copy -t 70 out.mp4

    But now, I want to start some videos or images not at the beginning of the video, instead after a period of time.
    I found flags like ’itsoffset’ or ’setpts’, but I dont know how to apply them on this ’multiple video / image overlay command’.

    LG Bamba

  • FFMpeg command line to create specific MPD Manifest

    22 février 2024, par Seth Haberman

    I have tried to get an FFMpeg command to yield the below manifest. Right below is the FFmpeg command that I have tried to make but it has not created the same manifest file as what I am trying to replicate a stream from a third party system to add my own stream to their system so that it will actually play back.

    


    "$ffmpeg_path" \
    -i "$input_file" \
    -r 30000/1001 \
    -vf "scale=3840:1080" \
    -c:v libx265 \
    -c:a aac -b:a 128k \
    -ar 48000 \
    -f dash \
    -use_timeline 1 \
    -use_template 1 \
    -init_seg_name "init-stream\$RepresentationID\$.m4s" \
    -media_seg_name "chunk-stream\$RepresentationID\$-\$Number%05d\$.m4s" \
    -seg_duration 3 \
    "$output_file"


    


    The code above yields a manifest that is structured like below.

    


    &lt;?xml version="1.0" encoding="utf-8"?>&#xA;<mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediapresentationduration="PT1M35.1S" maxsegmentduration="PT3.0S" minbuffertime="PT16.8S">&#xA;    <programinformation>&#xA;    </programinformation>&#xA;    <servicedescription>&#xA;    </servicedescription>&#xA;    <period start="PT0.0S">&#xA;        <adaptationset contenttype="video" startwithsap="1" segmentalignment="true" bitstreamswitching="true" framerate="30000/1001" maxwidth="3840" maxheight="1080" par="32:9">&#xA;            <representation mimetype="video/mp4" codecs="hev1" bandwidth="2227590" width="3840" height="1080" sar="1:1">&#xA;                <segmenttemplate timescale="30000" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startnumber="1">&#xA;                    <segmenttimeline>&#xA;                        <s t="0" d="247247"></s>&#xA;                        <s d="250250" r="9"></s>&#xA;                        <s d="104104"></s>&#xA;                    </segmenttimeline>&#xA;                </segmenttemplate>&#xA;            </representation>&#xA;        </adaptationset>&#xA;        <adaptationset contenttype="audio" startwithsap="1" segmentalignment="true" bitstreamswitching="true">&#xA;            <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="128000" audiosamplingrate="48000">&#xA;                <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="1"></audiochannelconfiguration>&#xA;                <segmenttemplate timescale="48000" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startnumber="1">&#xA;                    <segmenttimeline>&#xA;                        <s t="0" d="143360"></s>&#xA;                        <s d="144384" r="29"></s>&#xA;                        <s d="93120"></s>&#xA;                    </segmenttimeline>&#xA;                </segmenttemplate>&#xA;            </representation>&#xA;        </adaptationset>&#xA;    </period>&#xA;</mpd>&#xA;&#xA;

    &#xA;

    The problem is that I I need it to create a stream where the manifest looks like the manifest below. If it doesn't look or function as below, it will not playback correctly on this third parties system.

    &#xA;

    &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?>&#xA;<mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediapresentationduration="PT1M35.7S" minbuffertime="PT5.9S">&#xA;    <programinformation></programinformation>&#xA;    <period start="PT0.0S">&#xA;        <adaptationset contenttype="video" segmentalignment="true" bitstreamswitching="true">&#xA;            <representation bandwidth="12000000" width="3840" height="1080" framerate="30000/1001" mimetype="video/mp4" codecs="hev1">&#xA;                <segmenttemplate media="chunk-stream$RepresentationID$-$Number%05d$.m4s" initialization="init-stream$RepresentationID$.m4s" startnumber="1" timescale="30000">&#xA;                    <segmenttimeline>&#xA;                        <s t="0" d="89089" r="31"></s>&#xA;                        <s d="21021"></s>&#xA;                    </segmenttimeline>&#xA;                </segmenttemplate>&#xA;            </representation>&#xA;        </adaptationset>&#xA;        <adaptationset contenttype="audio" segmentalignment="true" bitstreamswitching="true">&#xA;            <representation bandwidth="1536000" audiosamplingrate="48000" mimetype="audio/mp4" codecs="mp4a.40.2">&#xA;                <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="16"></audiochannelconfiguration>&#xA;                <segmenttemplate media="chunk-stream$RepresentationID$-$Number%05d$.m4s" initialization="init-stream$RepresentationID$.m4s" startnumber="1" timescale="48000">&#xA;                    <segmenttimeline>&#xA;                        <s t="0" d="143360"></s>&#xA;                        <s d="142336" r="2"></s>&#xA;                        <s d="143360"></s>&#xA;                        <s d="142336" r="3"></s>&#xA;                        <s d="143360"></s>&#xA;                        <s d="142336" r="3"></s>&#xA;                        <s d="143360"></s>&#xA;                        <s d="142336" r="3"></s>&#xA;                        <s d="143360"></s>&#xA;                        <s d="142336" r="3"></s>&#xA;                        <s d="143360"></s>&#xA;                        <s d="142336" r="3"></s>&#xA;                        <s d="143360"></s>&#xA;                        <s d="142336" r="1"></s>&#xA;                        <s d="32768"></s>&#xA;                    </segmenttimeline>&#xA;                </segmenttemplate>&#xA;            </representation>&#xA;        </adaptationset>&#xA;    </period>&#xA;</mpd>&#xA;

    &#xA;