Recherche avancée

Médias (91)

Autres articles (83)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (13182)

  • feed raw yuv frame to ffmpeg with timestamp

    30 août 2014, par hawk_with_wind

    I’ve trying pipe audio and video raw data to ffmpeg and push realtime stream through RTSP protocol on android.
    the command-line is look like this

    "ffmpeg -re -f image2pipe -vcodec mjpeg -i "+vpipepath
    + " -f s16le -acodec pcm_s16le -ar 8000 -ac 1 -i - "
    + " -vcodec libx264 "
    + " -preset slow -pix_fmt yuv420p -crf 30 -s 160x120 -r 6 -tune film "
    + " -g 6 -keyint_min 6 -bf 16 -b_strategy 1 "
    + " -acodec libopus -ac 1 -ar 48000 -b:a 80k -vbr on -frame_duration 20 "
    + " -compression_level 10 -application voip -packet_loss 20 "
    + " -f rtsp rtsp://remote-rtsp-server/live.sdp";

    I’m using libx264 for video codec and libopus for audio codec.
    the yuv frames are feed through a named pipe created by mkfifo, the pcm frames are feed through stdin.

    It works, and I can fetch and play the stream by ffplay. But there is serverely audio/video sync issue. Audio is 5 10 seconds later than video.
    I guess the problem is both yuv frame and pcm frame doesn’t have any timestamp on them. FFmpeg add timestamp when it feed with the data. but audio/video capture thread is impossible to run at the same rate.
    Is there a way to add timestamp to each raw data frame ? (something like PST/DST ?)

    the way I used was from this thread :
    Android Camera Capture using FFmpeg

  • avformat/movenc, segafilmenc : Remove unnecessary avio_tell()

    16 janvier 2020, par Andreas Rheinhardt
    avformat/movenc, segafilmenc : Remove unnecessary avio_tell()
    

    When the faststart option for the mov/mp4 muxer is used, the current
    position (i.e. the size of the already written data pre-shifting) was
    evaluated twice : First in an initialization and then again later,
    overwriting the first value without having ever touched it. So remove
    the initialization.

    Also, the clone of this code in the Sega FILM muxer behaves the same and
    has been treated the same.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/movenc.c
    • [DH] libavformat/segafilmenc.c
  • How to use ffmpeg and javascript for user to add input box inside of a video

    23 janvier 2016, par Donalda Donalda

    I work on my website and the problem i faces is that i cant find a working way to get the chance for a user to drag an input box and set it into video specifying duration for the item.

    so i have a video and a textbox and my problem is when i grag the box i want it to stck to the video and stay there.

    Code is here :

       
       
       
       <code class="echappe-js">&lt;script&gt;<br />
           function allowDrop(ev) {<br />
               ev.preventDefault();<br />
           }<br />
    <br />
           function drag(ev) {<br />
               ev.dataTransfer.setData(&quot;text&quot;, ev.target.id);<br />
           }<br />
    <br />
           function drop(ev) {<br />
               ev.preventDefault();<br />
               var data = ev.dataTransfer.getData(&quot;text&quot;);<br />
               ev.target.appendChild(document.getElementById(data));<br />
           }<br />
       &lt;/script&gt;