Recherche avancée

Médias (91)

Autres articles (20)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (5633)

  • Extracting a bit broken AC3 audio from a video file

    3 janvier 2023, par WYSIWYG

    I Googled for about 2 hours for this problem and I can't seem to find the answer anywhere.

    


    So I have a 1080p video file which has about 2 seconds within it that's broken (at 3 minutes and 53 seconds). I found a way to extract the non-broken parts of it, also I got a replacement for the broken frames from another version of the same video (in 720p), upscaled them to 1080p and replaced them in the 1080p file (reencoding the whole file in the process). Here comes the problematic part - at the same time (3 min 53 sec), the audio is also broken and it's in Dolby Digital 5.1 AC3 format. When I try to extract the audio track from the original 1080p file and place the result in the new fixed version, which contains the upscaled video frames, the audio obviously is cut at the problematic 2 seconds and it desyncs (starts to play earlier) for the rest of the file.

    


    What I want to do and I'm unable to understand how to do it is to extract the AC3 stream in such a way that the 2 broken seconds are filled with silence and the total length of the audio stay the same as the original, so it won't desync. Is this possible and if it is, what is the correct FFMPEG command for it ?

    


    Thank you in advance.

    


    I've tried :

    


    ffmpeg -i broken.mkv -c:a copy audio.ac3

    


    which presented an output AC3 file, which is missing the 2 seconds from 03:53 to 03:55

    


    so when I combine the resulting AC3 file with the repaired video, by using :

    


    ffmpeg -i fixed.mkv -i audio.ac3 -c copy fixed-with-audio.mkv

    


    it is desynced, so at video time 03:53 I hear the audio that should play at 03:55

    


  • FFMPEG - Add (white, color-less, analog) grain to the video without desaturating video itself

    2 décembre 2018, par dd_code

    I am working on old videos where I am basically converting them to HVEC and sharpening, so i.e. my command can look like this

    .\ffmpeg.exe -i F:\file.mkv -vf unsharp=3:3:1.5 -c:v hevc_nvenc -qp 27 -a:c copy file_new.mkv

    inherent problem with this is, of course that with reducing bitrate and sharpening every now and then I can notice some nasty artifacts around the edges and on at plain-color objects.

    I noticed with some older, many times remastered movies/series that they have quite a lot of grain in the video, so I was thinking - what if I add grain and help it to mask the compression and sharpening artifacts ?

    After bit of searching I got to
    https://ffmpeg.org/ffmpeg-filters.html#noise
    and now I am using this command

    .\ffmpeg.exe -i F:\file.mkv -vf unsharp=3:3:1.5,noise=alls=14:allf=t+u -c:v hevc_nvenc -qp 30 -a:c copy file_new.mkv

    however this has one big problem, it is merely a digital RGB noise, is there a way to make it desaturated, analog-ish ? I tried adding h=s=0, however this is applying 0 saturation to the video track as a whole. Is there an effect which would achieve this or is there a way that I can reduce the saturation only of the very effect which then gets to "overlay" the video track, so the track would not be touched ?

  • avformat/asfdec_o : Export metadata that applies to the whole file

    12 novembre 2020, par Andreas Rheinhardt
    avformat/asfdec_o : Export metadata that applies to the whole file
    

    The ASF specification of Metadata Objects' stream number is as follows :

    "Specifies whether the entry applies to a specific digital media stream
    or whether it applies to the whole file. A value of 0 in this field
    indicates that it applies to the whole file ; otherwise, the entry
    applies only to the indicated stream number and must be between 1 and
    127."

    Yet the asf_o demuxer (the one originating from Libav) has always
    treated such metadata as if it applied to a stream even though no stream
    with a stream number may exist in a valid ASF file. This is fixed in
    this commit ; it affected e.g. the file
    wma_with_metadata_library_object_tag_trimmed.wma from the FATE suite.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/asfdec_o.c