Recherche avancée

Médias (91)

Autres articles (89)

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

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (13808)

  • FFMPEG command to mix audio and video with adjustable volume, plays till Video length and loop audio entire video

    10 mai 2020, par Tomin

    I have :

    



      

    • Video file of X length
    • 


    • Audio of Y length
    • 


    



    I am trying to achieve an output video that has the following qualities :

    



      

    1. The volume level of the added audio should be adjustable
    2. 


    3. The audio should loop till the end of the video
    4. 


    5. It should not break even if the input video does not have any audio
    6. 


    7. I should be able to mute the audio of the source video if needed.
    8. 


    9. All of the above, in the fastest possible way.
    10. 


    



    I'm not well versed with FFMPEG, maybe some experts could help.

    


  • Can I keep a persistent RTP connection in Python3 which forwards incoming mpegts segment files ?

    20 novembre 2024, par Eric Liang

    I've been experimenting with ways to implement an live-streaming HTTP server in Python 3.13 (GIL-disabled) which gradually receives .ts segment files every 1 second in order through PUT requests, saves them temporarily and locally, and delivers the segment files in the same order to a destination which accepts .ts segment files, necessarily through a single persistent connection to the destination.

    


    I have started trying it out with RTP as the protocol, but I've been struggling to keep the connection alive with ffmpeg as I seem to only be able to send 1 segment at a time (which requires a connection restart every time), or send all at once through concat demuxer. I've also experimented with the input to ffmpeg as a pipe, but that also seems to close immediately upon flushing the pipe with new input once. Other specs include not needing to re-encode so using the option -c copy is fine, the connection should persist even if idle, and I cannot use HLS push to the destination.

    


    Is there a way to do this ? (Lastly, because it's GIL-disabled, I also want to leverage that feature to minimize latency.)

    


  • Change the audio of the video based on start and end time

    4 avril 2022, par Vuqar Samed

    Lets say I have sample video named "samplevideo" and sample audio named "sampleaudio". I want to replace the audio of the samplevideo with the sampleaudio starting from 5 sec to 12 sec. Until 5 sec mark the video audio won't change, then sampleaudio starts and lasts for 7 sec.

    


    I tried to come up with ffmpeg command that solves this problem :

    


    ffmpeg -i samplevideo.mp4  -i sampleaudio.aac -ss 20 -map 0:v  -map 1:a -c:v copy output.mp4


    


    Problem :
    
It cuts video starting from 20 sec time mark. What I want is to persist the video and the original audio stream until it hits desired time mark and then use sampleaudio until desired end time.

    


    I would appreciate any help.