Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (59)

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

  • Anomalie #2216 (Fermé) : extensions "en test"

    13 août 2011, par jluc -

    L’install de spip3 révèle une liste d’extensions dont un certain nombre sont "en test" et d’autres "en développement" : Brèves 1.2.0 - en test Developpement 0.2.0 - en développement Dist 3.0 - en développement Forum 1.4.0 - en test Grenier 0.2.0 - en test MediaBox 0.8.0 - en test Medias 2.2.0 - en (...)

  • FFmpeg : Cut from live stream RTSP

    10 septembre 2020, par Jax2171

    I cannot solve my problem and I have not found any solution.

    


    I capture an rtsp stream from an ip camera via the command :

    


    ffmpeg -stimeout 2000000 -abort_on empty_output -rtsp_transport tcp -i rtsp://admin:admin@192.168.1.15/av0_0 -c:v copy -c:a aac -f mpegts -y rec.ts


    


    The native video codec is h264 while the audio one is pcm. I capture the video stream without compression and compress the audio in aac to make it compatible with the ts container.

    


    I need to extract portions of video of X duration through during the capture. The command I use is :

    


    ffmpeg -ss X-i rec.ts -c:v copy -c:a copy -t Y -f mp4 -stimeout 60 -y cut.mp4


    


    Everything seems to work fine with no errors. However, the cut file has a slightly longer audio length than the video length. Sometimes the difference can be up to 1 second.

    


    My problem is that I have to chain all the cuts I make, and this difference in duration causes a very annoying lag between one video and another.

    


    It also happens that there is asynchronousness between audio and video in the cuts. The higher the -ss value, the more the audio anticipates the video.

    


    I state that I am not a professional but from what I have read it could be a problem of different PTS between audio and video, but I'm not sure. However, I am sure that the problem arises from the capture of the stream perhaps not in accordance with my needs.

    


    How can I solve ?

    


  • bash loop through list of file paths - characters get removed when sending to ffmpeg [duplicate]

    9 octobre 2018, par Brad Johnson

    This question already has an answer here :

    I have a text file that contains a list of paths to flac files I want to convert to wav. Here is a small section of it :

    /mnt/nfs/Music/Rob D/1995 - Clubbed To Death/Rob D - 02 - Clubbed To Death _Kurayamino Variation_.flac
    /mnt/nfs/Music/Blonde Redhead/2000 - Melody of Certain Damaged Lemons/11 - For the Damaged Coda.flac
    /mnt/nfs/Music/I Monster/2001 - Daydream In Blue/01 - Daydream In Blue.flac
    /mnt/nfs/Music/Moby/2002 - Extreme Ways/01 - Extreme Ways.flac
    /mnt/nfs/Music/RJD2/2002 - Deadringer/01 - The Horror.flac
    /mnt/nfs/Music/RJD2/2002 - Deadringer/03 - Smoke & Mirrors.flac
    /mnt/nfs/Music/RJD2/2002 - Deadringer/06 - Ghostwriter.flac
    /mnt/nfs/Music/RJD2/2002 - Deadringer/10 - Chicken-Bone Circuit.flac
    /mnt/nfs/Music/FC Kahuna/2003 - Hayling/01 - Hayling _Original_.flac
    /mnt/nfs/Music/Lamb/2003 - Between Darkness and Wonder/04 - Angelica.flac

    I’m trying to loop through it like so :

    while read -r line; do
    wavfile=$(basename "$line")
    wavfile="${wavfile%.*}"
    ffmpeg -i "$line" "$2/$wavfile.wav"
    done <$1

    ...where $1 is where I would pass the name of the text file and $2 is the destination directory.

    Here is the output with the irrelevant ffmpeg junk pruned out :

    Input #0, flac, from '/mnt/nfs/Music/Rob D/1995 - Clubbed To Death/Rob D - 02 - Clubbed To Death _Kurayamino Variation_.flac':
    ...
    Output #0, wav, to '/mnt/gray/Clubbed To Death/Rob D - 02 - Clubbed To Death _Kurayamino Variation_.wav':
    ...
    /nfs/Music/Blonde Redhead/2000 - Melody of Certain Damaged Lemons/11 - For the Damaged Coda.flac: No such file or directory
    ...
    Input #0, flac, from '/mnt/nfs/Music/I Monster/2001 - Daydream In Blue/01 - Daydream In Blue.flac':
    ...
    Output #0, wav, to '/mnt/gray/Clubbed To Death/01 - Daydream In Blue.wav':
    ...
    nt/nfs/Music/Moby/2002 - Extreme Ways/01 - Extreme Ways.flac: No such file or directory
    ...
    Input #0, flac, from '/mnt/nfs/Music/RJD2/2002 - Deadringer/01 - The Horror.flac':
    ...
    Output #0, wav, to '/mnt/gray/Clubbed To Death/01 - The Horror.wav':
    ...
    nt/nfs/Music/RJD2/2002 - Deadringer/03 - Smoke & Mirrors.flac: No such file or directory
    ...
    Input #0, flac, from '/mnt/nfs/Music/RJD2/2002 - Deadringer/06 - Ghostwriter.flac':
    ...
    Output #0, wav, to '/mnt/gray/Clubbed To Death/06 - Ghostwriter.wav':
    ...
    nt/nfs/Music/RJD2/2002 - Deadringer/10 - Chicken-Bone Circuit.flac: No such file or directory
    ...
    Input #0, flac, from '/mnt/nfs/Music/FC Kahuna/2003 - Hayling/01 - Hayling _Original_.flac':
    ...
    Output #0, wav, to '/mnt/gray/Clubbed To Death/01 - Hayling _Original_.wav':
    ...
    /nfs/Music/Lamb/2003 - Between Darkness and Wonder/04 - Angelica.flac: No such file or directory

    If you pay attention to the paths that ffmpeg reports don’t exist, you’ll see that a seemingly random number of characters has been removed from the beginning. This appears to happen on even numbered lines, but odd numbered lines work. I can only reproduce this behavior when using ffmpeg. If I replace the ffmpeg line with a simple echo statement, every file path is shown to be correct. How can this be ?

    Other suggestions of accomplishing this are also welcome, however I do need the files processed in the order by which I have them listed in the file.