Recherche avancée

Médias (5)

Mot : - Tags -/open film making

Autres articles (106)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (6818)

  • matplotlib "RuntimeError : No MovieWriters available" when ffmpeg is installed

    11 août 2014, par user1637894

    I’m using OSX Mavericks and the Enthought Canopy distribution of python. I’m trying to run any simple example script that uses matplotlib.animation to save an animation, but I always get the following error :

    Traceback (most recent call last):
    File "/Users/Sam/Google Drive/Spyder workspace/MiscScripts/animation.py", line 14, in <module>
       FFMpegWriter = manimation.writers['ffmpeg']
    File "/Users/Sam/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/matplotlib/animation.py", line 63, in __getitem__
       raise RuntimeError("No MovieWriters available!")
    RuntimeError: No MovieWriters available!
    </module>

    Ffmpeg is installed on my system : I can access it by typing ffmpeg into a new terminal. So I’m guessing matplotlib simply doesn’t know that ffmpeg is available because it is not in the python path. So I tried typing which ffmpeg into a new terminal window to find where ffmpeg was installed, then I added this string to my python path via sys.append('path_here'), but this didn’t help.

  • Convert Transparent PNGs to a Transparent Video

    15 février 2023, par Aurora7979

    I have a set of transparent PNG pictures, and I want to convert them into a video with transparent background (play the PNGs continuously).

    &#xA;

    First, I used ffmpeg with the terminal command :

    &#xA;

    ffmpeg -framerate 30 -pattern_type glob -i &#x27;*.png&#x27; \-c:v libx264 -pix_fmt yuva420p out.mp4&#xA;

    &#xA;

    And I learnt that the codec libx264 does not compatible with the alpha channel. Then, I changed to another codec and used the following command :

    &#xA;

    ffmpeg -framerate 30 -pattern_type glob -i &#x27;*.png&#x27; \-c:v libvpx-vp9 -pix_fmt yuva420p out.mp4&#xA;

    &#xA;

    However, QuickTime Player cannot play the resulting out.mp4. I don't know if it was because the video conversion failed or it was the fault of QuickTime Player. The terminal didn't show any error message, though.

    &#xA;

    Therefore, I would like to ask :

    &#xA;

      &#xA;
    1. Which codec I should use to create a transparent video that a normal video player can play ?

      &#xA;

    2. &#xA;

    3. Can the output MP4 video format support transparent videos ?

      &#xA;

    4. &#xA;

    5. If there is another tool that is far more superior than ffmpeg for my purpose, I am willing to give it a try.

      &#xA;

    6. &#xA;

    &#xA;

    Thank you for any advice.

    &#xA;

    All the best,

    &#xA;

    Aurora

    &#xA;

  • ffmpeg - invalid duration

    22 septembre 2016, par OmidAntiLong

    For a project I’m working on I have a small bash script that loops over an input csv file of timecodes, and uses ffmpeg to create screenshots of a given film at each timecode. The csv file is in the format hh:mm:ss,id - it looks like this (extract)

    00:00:08,1
    00:00:49,2
    00:01:30,3
    00:02:38,4
    00:03:46,5
    00:04:08,6
    00:04:26,7
    00:04:37,8
    00:04:49,9
    00:05:29,10
    00:05:52,11
    00:06:00,12
    00:06:44,13
    00:07:49,14
    00:08:32,15
    00:09:28,16
    00:10:17,17
    00:10:44,18
    00:11:48,19
    00:12:07,20

    I’ve used it without issue in the past, but today I’ve come to update some of the films and I’m getting a weird issue where ffmpeg is complaining that my input timecode is invalid, despite being in the right format.

    The new input csv files are the same format as the old ones, but it seems like every so often ffmpeg drops the hours from the hh:mm:ss timestamp. If I comment out the ffmpeg line, everything prints to the terminal as expected (but obviously I get no screenshots).

    This is my loop code :

    while read code a
    do
     echo $code
     f="$(printf "%03d" $i)"

     ffmpeg -loglevel error -y -ss $code -i $FILM -vframes 1 -q:v 2 $OUTPUT/$f.jpg

     ((i++))
    done &lt; $INPUT

    I’ve tried all sorts, including padding the csv with extra 0s - which works until the hours tick over to 01.

    Terminal output

    Does anyone have any ideas ? I’m scratching my head.

    Cheers