Recherche avancée

Médias (91)

Autres articles (92)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

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

  • how to get the desktop location of the user

    15 mars 2020, par amit9867

    I am making a python script to merge a audio and video file through FFMPEG the code shown below is working perfectly fine but what i want to do is the (path) which i provided is of my desktop location but if somebody else will run this code then they will get error. so how can i give a universal path for desktop for any computer

    import os
    import subprocess
    import tkinter as tk

    root = tk.Tk()
    os.chdir('C://Users/ravir/desktop/') # how to get the users desktop location
    def merge():
     global p
     p =subprocess.Popen('ffmpeg -i video.avi -i audio.wav -c copy -shortest output.mkv' ,stdin=subprocess.PIPE)


    rec_btn = tk.Button(text='Start merging', width=20, command=merge)
    rec_btn.pack()


    root.mainloop()
  • Adjust Audio Start Point by 3 Frames

    11 mai 2022, par craigeley

    Because of an issue with my audio recorder, I have audio files that are always 3 frames behind the start of my video files, even though they have identical timecode. Currently, I am overcoming this issue by using -itsoffset, like so :

    


    ffmpeg -i video.MP4 -itsoffset 0.12512513 -i audio.WAV -c:a aac -map 0:v:0 -map 1:a:0 new.mp4


    


    Where 0.12512513 is 3 divided by 23.976. The results of this are satisfactory, but is contingent on all of my footage being shot in 23.976.

    


    However, since I spoke to tech support for the device and they assured me it will always be off by exactly three frames, I'm wondering if there is a faster and more universal way to do this, either a) a command like -itsoffset that accepts frames as a starting point, or if the better solution is to just cut off the first three frames of the video, which would also put them in sync. I have tinkered with trim=start_frame=3 but I can't figure out the correct position to place it within the command.

    


    Any advice from experienced ffmpeg'ers would be much appreciated !

    


  • NGINX RTMP convert flv to hls ?

    3 mai 2016, par MandelDuck

    I have a server that takes an rtmp stream and saves it as flv.

    Web users can view the flv video in their browser, however iPhone users can’t as it is flash

    Is there away to convert the saved flv files on the fly to hls for the iPhone viewers ?

    here is my config, Webusers access the vod application

    rtmp {
        server {
                listen 1935;
                chunk_size 4096;

                application live {
                        live on;
                        record all;
                        record_path /videos/av;
                        idle_streams off;
                }
                application audio {
                        live on;
                        record audio;
                        record_path /videos/audio;
                        idle_streams off;

                }
                application vod {
                        play /videos/av;
                }
                application aod {
                        play /videos/audio;
                }

        }
    }