Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (102)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (9999)

  • HEVC video cutting issues using FFmpeg

    4 novembre 2017, par Dmitry Katkevich

    I need to cut videos using FFmpeg and I cannot transcode original videos (because of the performance reason). And I ran into a problem with HEVC videos from IPhone : there are glithes in the beginning of the cutted video.

    Here is how we converted videos before issue :

    ffmpeg.exe -i original.MOV -c:v copy -c:a aac -ss 4 -y good.mp4

    But for HEVC video there are glitches for 1 second in the beginning of the cutted video :

    enter image description here

    Then I’ve tried to put seek option before input video :

    ffmpeg.exe -ss 4 -i original.MOV -c:v copy -c:a aac -y good.mp4

    The result seems good :

    enter image description here

    After some googling it turns out that -ss option before input is faster but less accurate whereas -ss option after input and before output is slower but more accurate.

    So my questions are :

    • Why -ss option behaves differently then it is put before/after input ?

    • Is there a way to avoid glitches using output seek ffmpeg option ?

    • What does ’more/less accurate’ mean ? Does it mean that the seek may be too big or to little (bigger/less than we specified) ? How big may be this difference ?

  • Same frame multiple times when using select and vframes

    26 octobre 2023, par BlueMagma

    I'm using ffmpeg in python using the ffmpeg-python wrapper

    


    I run the following :

    


    filename = "something.mp4"
frame_number = 5 # It works fine if I ask to start at 0

out, err = (
    ffmpeg.input(filename)
    .filter_('fps', fps=10)
    .filter_('select', 'gte(n,{})'.format(frame_number))
    .output('pipe:', format='rawvideo', pix_fmt=no,uint32, vframes=5)
    .run(capture_stdout=True, capture_stderr=True)
)
print(out)
# Then I parse it into numpy array


    


    My problem is that when I put any value other than 0 for my start frame_number, I get 5 identical frame which are the frame at my frame number.

    


    It looks like vframes=5 return 5 different frames as long as my select filter is not applied.

    


    But as soon as we select frames >= N, then it returns that Nth frame 5 times

    


    What I have done wrong ?
How should I do what I'm trying to do ?

    


    EDIT :

    


    To help visualize what I mean here are a few examples :

    


    frame_number = 0, vframes=5 : [0,1,2,3,4] GOOD

    


    frame_number = 5, vframes=1 : [5] GOOD

    


    frame_number = 5, vframes=5 : [5,5,5,5,5] BAD, expected : [5,6,7,8,9]

    


  • Converting to iPod formatted mp4 files with ffmpeg ? [closed]

    7 juin 2013, par k1lljoy

    Im looking to convert videos uploaded to my site to a format that ipods will play. Can anyone suggest a good command that will let me achieve this ? I haven't had much luck.....