Recherche avancée

Médias (91)

Autres articles (60)

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

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (3632)

  • Recording lossy video stream

    27 janvier 2014, par tomas

    I'm trying to record live video stream to a file.

    I tried with VLC using

    vlc INPUT —sout '#stdaccess=file,mux=ts,dst=file.mp4'

    I tried with ffmpeg using

    ffmpeg INPUT -vcodec copy -acodec copy file.mp4

    Both records just fine, but the source tends to loose connection for 1-2seconds, and then recording just stops >.< leaving me with half finished recording :(

    I want the recording to continue, and the recording app try to reconnect.

    What can you recommend ?

  • Why is ffmpeg's hstack so much slower than overlay and pad ?

    27 janvier 2021, par cgenco

    I'm using ffmpeg to stitch together two videos of people chatting into a video with each of them side-by-side, like this :

    &#xA;

    left.mp4 + right.mp4 = out.mp4

    &#xA;

    Here's the command I'm currently using to get this done, which runs at 2.5x on my 13" M1 MacBook Pro :

    &#xA;

    ffmpeg -y -i left.mp4 -i right.mp4 -filter_complex "&#xA;  [0:v] crop=w=in_w/2 [croppedLeft];&#xA;  [1:v][1:v] overlay=x=overlay_w/4 [shiftedRight];&#xA;  [shiftedRight][croppedLeft] overlay [vout];&#xA;  [0:a][1:a] amix [aout]&#xA;" -map "[vout]" -map "[aout]" -ac 2 out.mp4&#xA;

    &#xA;

    This command crops the left video to half of its original width (cropping so the video is centered), then shifts the right video a quarter of its width to the right, then overlays the left video on the left half of the output merged with the shifted right video.

    &#xA;

    One day on my weekly fun-time read-through the FFmpeg filters documentation I stumbled on a filter named hstack, which is described as being "faster than using overlay and pad filter to create same output."

    &#xA;

    My ex wife can affirm that there are few higher priorities in my life than going faster, so I altered my ffmpeg script to use hstack instead of two overlays :

    &#xA;

    ffmpeg -y -i left.mp4 -i right.mp4 -filter_complex "&#xA;  [0:v] crop=w=in_w/2 [croppedLeft];&#xA;  [1:v] crop=w=in_w/2 [croppedRight];&#xA;  [croppedLeft][croppedRight] vstack [vout];&#xA;  [0:a][1:a] amix [aout]&#xA;" -map "[vout]" -map "[aout]" -ac 2 out.mp4&#xA;

    &#xA;

    ...but that command runs painfully slowly, like 0.1x. It takes multiple minutes to render a single second.

    &#xA;

    So uhhh what's going on here ? Why is hstack taking so long when it's supposed to be faster ?

    &#xA;

    I've tried this on both the M1 native build from OSXExperts (version N-99816-g3da35b7) and the standard ffmpeg from brew and hstack is just as slow on each.

    &#xA;

  • how can I slow down a video (I lower pitch by a semitone) with FFMPEG ?

    8 mai 2022, par patrick

    I have an old black and white film with audio that was recorded on a phonograph and the playback speed of the audio is a semi-tone higher than it should be. How can I process this video with ffmpeg and slow down BOTH the video and audio together, bringing the audio down a half step (semi-tone) while keeping the video in sync ?

    &#xA;

    I have tried filters like asetrate, setpts, atempo, etc and although I could change the pitch of the audio, the video became badly out of sync with the audio.

    &#xA;