Recherche avancée

Médias (0)

Mot : - Tags -/gis

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

Autres articles (40)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (9574)

  • Invalid PNG signature 0xFFD8FFE000104A46. Error while decoding stream #0:0 : Invalid data found when processing input

    14 décembre 2022, par user3648380

    Hello i have a set of 431 PNG images that i want to create a movie and an MP3 Audio that i want to merge .
I have checked the photos and they all look ok .

    



    But when i try to fix the audio i get this error .

    



    I execute this :
ffmpeg -y -i c :\mami\frame%1d.png -i c :\video\xema.mp3 -r 24.031924 -vframes 431 -codec:v libx264 colorized_mami.mp4

    



    PNG FILES ARE CORRECT NOT DAMAGED I CHECKED THEM

    



    Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb8f25040] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb91d68c0] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb91d91c0] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb91d8400] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb91d9640] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb91d7680] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb8f20fc0] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb8f21fc0] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb8f23800] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb8f25040] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb91d68c0] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb91d91c0] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb91d8400] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb91d9640] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb91d7680] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
[png @ 000001dfb8f20fc0] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input

    



    Last message repeated 1 times


    



    [png @ 000001dfb91d9640] Invalid PNG signature 0xFFD8FFE000104A46.
Error while decoding stream #0:0 : Invalid data found when processing input
 Last message repeated 6 times
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished
Conversion failed !

    



    —
here is the link with the frames full
[link] (https://www.dropbox.com/sh/e0be2o7448yr9r9/AAB1GmzmfMQjUeWeguZBfO7pa?dl=0)

    


  • converting a "gif" to video using swift

    3 décembre 2019, par James Woodrow

    I’ve looked around and found a few things here and there, mainly that I should be using AVAssetWriter to do this but I have 0 experience with this and video editing/creation so it doesn’t help me much since I can’t seem to find anything that does something I can modify easily (or not at my level of knowledge at least) so that it works as I intend it to.

    I have an app which takes n photos every cft (capture frame time which I get from a backend server) seconds (it’s a double for obvious reasons) I then display these frames using a UIImageView and the frames change every dft (display frame time which I also get from a backend server and can be different from cft). Up until this point nothing complicated.

    now what is currently the workflow is that these frames are sent back to a server with any relevant information I want and then the server would use imagemagick to create a real gif file and ffmpeg to create a 15 seconds video using said gif.

    the issue is this makes it so that my heroku server bills aren’t as low as I would like because of the limited memory on the dynos and the time it takes to generate these videos is of about 5-10 seconds I believe (not sure but it’s longer than I’d like)

    So the idea I had was to make the app create the video since he already has all the information he needs for this, and then simply upload it with the rest of the frames and relevant data. Using bandwidth nowadays is much cheaper than buying extra processing power on a server.

    • he has n frames to loop over
    • he has a float value representing how long each frame should last dft
    • he has a gpu or at least a much better cpu than the dynos heroku have to offer

    I’ve also looked around to see if anyone made an extensive tutorial on how to use ffmpeg in swift but I still didn’t find anything at my level and I didn’t even find a tutorial per se, only some GitHub projects which were partially completed and/or without the original tutorial linked to understand the thought process.

    I would appreciate any tips/code sample/tutorials on the subject.

    I’m adding the ffmpeg command line equivalent to what I would love to be able to do (if I could use ffmpeg directly with iOS this could be nice too)

    ffmpeg -framerate 100/13 -loop 1 -i frame%02d.png -c:v libx264 -r 100/13 -pix_fmt yuv420p -t 0:15 instagram.mp4

    where basically I did 100 / (dft * 100) for the input frame rate and just output at the same fps for 15 seconds. by the way if there are any ways to optimise this command to make it run faster without losing quality I might be able to keep the current way of functioning with heroku although I would still prefer some iOS solution.

  • Read a text file line-by-line (each line as an array), run bash command with array elements, then loop to the next line in the text file

    10 janvier, par xiaohouzi

    I'm using immich to manage my media library with photos and videos but appropriate video thumbnails are black or do not have an appropriate thumbnails for my family to view. As a test, I decided to manually recreate the thumbnails and then update appropriate thumbs files in the exact directory ; replacing the auto-generated ones by Immich using ffmpeg. The following script works fine but one by one will take forever.

    


    #!/bin/bash
file=(formula1 "aust_gp_00'23'41_2022_1858658849.mp4" f2dfse3-34gd-23ff-6hdd-p3h4kk/a3/10/a399-dj88-ah29 00:00:30.000)

# create jpeg + webp and replace existing
sudo ffmpeg -i /mnt/f1/"${file[0]}"/"${file[1]}" -ss "${file[3]}" -frames:v 1 /immich/app/thumbs/"${file[2]}"-preview.jpeg -y \
&& \
sudo ffmpeg -i /mnt/f1/"${file[0]}"/"${file[1]}" -ss "${file[3]}" -frames:v 1 /immich/app/thumbs/"${file[2]}"-thumbnail.webp -y


    


    My goal is to put all the needed files in a text file use "readarry" to read each line as an array, use the appropriate index and then repeat for the next line. This is where I am stuck. How could I loop through each line where each line is a new file, keep the same indexes, and repeat ? Anyone familiar with how to accomplish this or if there is a better way using bash ? I was hoping to only use bash instead of python.

    


    For example...

    


    #files.txt
file=(formula1 "aust_gp_00'23'41_2022.mp4" f2dfse3-34gd-23ff-6hdd-p3h4kk/a3/10/a399-dj88-ah29 00:00:30.000)
file=(formula1 "belg_gp_00'13'31_2022.mp4" f2dfse3-34gd-23ff-6hdd-p3h4kk/q4/6/mhf-846d-zpyf 00:00:30.000)
file=(formula1 "melb_gp_00'05'11_2022.mp4" f2dfse3-34gd-23ff-6hdd-p3h4kk/b9/2/q3dd-0988-vr2t 00:00:30.000)



    


    # genthumb.sh
#!/bin/bash
readarray -t lines < files.txt &&
  for line in "${!lines[@]}"; do
    sudo ffmpeg -i /mnt/f1/"${lines[0]}"/"${lines[1]}" -ss "${lines[3]}" -frames:v 1 /immich/app/thumbs/"${lines[2]}"-preview.jpeg -y \
    && \
    sudo ffmpeg -i /mnt/f1/"${file[0]}"/"${file[1]}" -ss "${file[3]}" -frames:v 1 /immich/app/thumbs/"${file[2]}"-thumbnail.webp -y
  done