Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (51)

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

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

Sur d’autres sites (7268)

  • Why failes ffmpeg with "Failed to inject frame into filter network : Internal bug, should not have happened" ?

    17 octobre 2023, par StackOverRigge

    I want to convert a MP4 video file into an animated gif file using ffmpeg. I am trying to do this in two steps :

    


      

    1. Create a palette image
    2. 


    3. Convert the MP4 with the help of the palette image to a GIF file
    4. 


    


    I'm using ffmpeg 6.0 essentials_build.

    


    First, I create a palette image :

    


    ffmpeg -v warning -i video.mp4 -vf "fps=15,scale=1366:768:flags=lanczos,palettegen=stats_mode=diff" -y palette.png


    


    Then, I'm trying to convert the MP4 to GIF :

    


    ffmpeg -i video.mp4 -i palette.png -lavfi "fps=15,scale=1366:768:flags=lanczos,paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle" -y video.gif


    


    This command ends in this error message :

    


    Error while filtering: Internal bug, should not have happeneditrate=4279.9kbits/s speed=0.742x
Failed to inject frame into filter network: Internal bug, should not have happened
Error while processing the decoded data for stream #0:0


    


  • From Python, piping images to FFMPEG process with audio input, "-shortest" flag causes output file to contain only 1 frame of video and entire audio

    7 novembre 2023, par b_yang

    From Python, I run FFMPEG and write images to its stdin via pipe, the FFMPEG process has an audio file as input too. Everything works fine like this :

    


    cmd = ['ffmpeg', '-hide_banner', '-y', '-loglevel', 'error', '-f', 'rawvideo', 
'-pix_fmt', 'bgr24', '-video_size', '720x1280', '-r', '30.0', '-an', '-i', '-',
'-i', 'audio.aac', '-acodec', 'copy', 
'-crf', '14', '-pix_fmt', 'yuv420p', 'output.mp4']
proc = subprocess.Popen(cmd, **popen_params)


    


    Because the audio duration might be longer than the video duration, I added a '-shortest' flag (before '-crf') :

    


    cmd = ['ffmpeg', '-hide_banner', '-y', '-loglevel', 'error', '-f', 'rawvideo', 
'-pix_fmt', 'bgr24', '-video_size', '720x1280', '-r', '30.0', '-an', '-i', '-',
'-i', 'audio.aac', '-acodec', 'copy', 
'-shortest', '-crf', '14', '-pix_fmt', 'yuv420p', 'output.mp4']
proc = subprocess.Popen(cmd, **popen_params)


    


    However, with the '-shortest' flag, the resulting output.mp4 contains the entire audio, but only 1 frame of video data. What is going on here ?

    


  • ffmpeg fails to open a WAV file - "too short LIST tag" [closed]

    5 janvier 2024, par brad

    I have a WAV file exported in FL Studio 21.2.2 on Win10, which ffmpeg/ffprobe cannot open.

    


    When running :

    


    ffprobe -v error -show_format -print_format json -hide_banner -i "path/to/file.wav


    


    This exception is thrown :

    


    [wav @ 0x132704440] too short LIST tag
[in#0 @ 0x132704340] Error opening input: Invalid data found when processing input


    


    Here's a screenshot of the file metadata in macOS

    


    Since i'm not able to open the file with ffmpeg, i can't correct/remove the metadata. Any ideas what I can do ? File is available upon request. Thanks !