Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (16)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

  • PSNR calculated with ffmpeg behaviours unexpected

    16 mars 2017, par muuh

    I’m trying to calculated the PSNR (Peak Signal to Noise Ratio) between to videos with ffmpeg.
    The basic command is : ffmpeg -i reference.avi -candidate.avi -filter_complex "psnr" out.avi.
    If I swap reference.avi and candidate.avi in the command, ffmpeg returns me a different PSNR value. The PSNR is utilizing the mean squared error between the frames, so the order should be irrelevant.

    According to this answer, this could be caused by different frame rates (or other mismatches in the video).

    The suggested code

    ffmpeg -i file1 -i file2 \
       -lavfi '[0:v]setpts=N[out0];[1:v]setpts=N[out1];[out0][out1]psnr' \
       -f null -v info -

    does not solve the issue.
    Further, in my case, candidate.avi are recoded copies of reference.avi(*). They have identical framerates and exactly same runtime. I also validated this with avprobe.

    Another possibility I think I can exclude are rounding errors. The results sometimes change from 49dB to 64dB [sic !] dependent on the order of input.

    How do I calculate the PRNU correctly with ffmpeg, and what is the reason for this behaviour ?

    (*) Recoding done for example with : ffmpeg -i reference.avi -c:v huffyuv candidate.avi

  • Attach file to mp4 video with ffmpeg

    9 mai 2017, par Bird

    I’m trying to attach or embed a kml file to a mp4 video ; or, I’m trying to find out if this is possible at all. Based on the wikipedia page on video containers, it looks like mp4 containers support file attachments, so theoretically it seems possible.

    I’ve tried this command :

    ffmpeg -i input.mp4 -attach site1.kml -metadata:s:t:0 mimetype=application/vnd.google-earth.kml+xml output.mp4

    which returned :

    Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted  

    If I change the output file to output.mkv it works (based on this question), but I’d really like to maintain the mp4 container.

    Edit : I’ve figured out a way to parse a kml file into a srt subtitles file and embed that in the mp4 container, then extract and recreate the kml all using Python. But, it would be much cleaner to just attach the kml.

    Anyone know if this is possible ?

  • Which audio codecs are supported for HLS ?

    22 janvier 2017, par Jofsey

    Does HLS protocol specify audio codec ? If it does, which are supported ?

    I’ve tried to search, but found different lists :

    MP3, HE-AAC or AC-3

    according to wikipedia

    AAC, AAC-LC, HE-AAC (accPlus) v1 & v2, MP3

    according to this

    AAC-LC, HE-AACV1-2, AC-3, and EC-3

    according to FairPlay overview (which is subset of HLS)