Recherche avancée

Médias (91)

Autres articles (67)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (7046)

  • Short HLS MPEG2 Video Segments Do Not Play

    24 août 2019, par Jon H

    I’ve been attempting to cut a video into small segments (words), to be rearranged. While I’ve been able to do it with FFMPEG, cutting into segments and using the fast concat demuxer to reassemble the segments, I am trying to speed it up.

    I have been doing this by splitting the original video into short MPEG2 .ts segments for each word :

    ffmpeg -ss 1 -to 1.5 -i "source.mp4" -c:v libx264 -b:v 1200k -c:a aac -b:a 192k -hls_flags single_file "word.ts"

    I have then tried making a m3u8 playlist of these short video segments, but I found that only segments around 2 seconds or more, play at all.

    I then tried using the ’cat’ command to join these segments into a single file, which I understand should be possible with MPEG2 streams. However, this did not play all the segments either.

    To test if all the segments were present in this concatenated file, I used FFMPEG to convert it back into an MP4 file, and all the segments were present.

    I would appreciate any suggestions on producing the segments, and concatenating individual segments simply without FFMEPG. My project isn’t viable if having to call FFMPEG each time, but would work great if I can simply concatenate words together.

  • ffmpeg random mp3 audio play

    24 août 2021, par Arky

    I stream images from an IP camera to an external player and play back mp3 files as background music in a loop. In order to keep the playback continuity, I combined several mp3 songs together. Each time the external player is started, the background music starts from the same track (which was saved first as a result of joining mp3 files). When I start the player, I would like to run a random mp3 file as background music and play the whole list in random order and additionally in a loop.
Here is my current camera streaming code + logo position + mp3 playback

    


     ffmpeg -stimeout 5000000 -rtsp_transport tcp \
 -i "rtsp://IP:PORT/Streaming/Channels/101/" \
 -i /root/logo_streaming.png -filter_complex "overlay=x=main_w-overlay_w-30:y=30" -stream_loop -1 \
 -i /root/mix_57m37s.mp3 \
 -vcodec libx264 -preset veryfast -vprofile baseline -x264opts keyint=40 -b:v 4096k -bufsize 1024k \
 -f mpegts udp://IP:PORT?pkt_size=1316


    


  • How to Play Multiple Streams with FFPLAY at the Same Time using RTSP Url

    28 avril 2024, par Bilal Ahmed Yaseen

    I am trying to play live stream coming from the server with RTSP URL. A sample RTSP URL is given below :

    



    rtsp://username:password@machine_ip/42331536059e9f21


    



    Actually, this stream is the call between two participants (caller & called). But when I play this URL with FFPLAY, I get just one stream(called) while I should get both streams (caller and called). I am using the following command :

    



    ffplay rtsp://username:password@machine_ip/42331536059e9f21


    



    Am I missing some parameters along with this command to fetch all streams.