Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (71)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (10955)

  • FFmpeg errors using pipe input instead of file input [duplicate]

    1er mars 2021, par Michael Werner

    I try to do several conversions (e.g. codec conversion of videos, extracting single frames etc.) via FFmpeg on 64-bit Windows OS. This works fine if I use files as input for FFmpeg.exe

    


    This works :

    


    


    ffmpeg.exe -hide_banner -loglevel debug -i "C :\blabla\OA9.mp4" -deinterlace -vframes 1 -c:v bmp -f image2pipe pipe : > test1.bmp

    


    


    This does not work :

    


    


    type "C :\blabla\OA9.mp4" | ffmpeg.exe -hide_banner -loglevel debug -i pipe : -deinterlace -vframes 1 -c:v bmp -f image2pipe pipe : > test1.bmp

    


    


    It causes the following errors / warnings :

    


    


    [mov,mp4,m4a,3gp,3g2,mj2 @ 0000023C6E86E600] stream 0, offset 0x30 : partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000023C6E86E600] Could not find codec parameters for stream 0 (Video : h264, 1 reference frame (avc1 / 0x31637661), none, 576x456, 1/30720, 2200 kb/s) : unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options

    


    


    


    [mov,mp4,m4a,3gp,3g2,mj2 @ 0000023C6E86E600] stream 0, offset 0x30 : partial file
pipe: : Invalid data found when processing input
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished

    


    


    I already tried several "things" like specifying input pixel format, setting the 'analyzeduration' and 'probesize' options to int_max (2147483647) but the result is the same (console output).

    


    Does someone know this issue and maybe even knows a solution ?

    


  • How to use Windows Media Foundation instead DirectShow Editing Services ?

    3 novembre 2016, par Den

    I am developing a non-linear video editor. I need to have the support timeline, mixing of audio streams, the transitions between videos, etc. These all features are in DirectShow Editing Services, but it is no longer supported in the new versions of Windows. Instead, offer to use Microsoft Media Foundation. Is it possible to implement the same functionality in the MF or is using other SDK ? For example, gstreamer. Maybe someone will recommend SDK for video editing on the basis of MF ?

  • inotifywait -m does not process more than 1 file after long running process

    2 mai 2022, par Yllier123

    I have a script that detects files on close_write and runs an 5 minute process on them. These files are written to the directory in batches of up to 100. The issue is that inotifywait only detects the first file in the batch and does not process the subsequent files unless they are removed from the directory by hand and put back. Here is my script :

    


    #!/bin/bash

inotifywait -r -e close_write -e moved_to --format "%f" $TARGET -m | while read file
    do
        if [[ "$file" =~ .*mp4$ ]]; then
            echo "Detected $file"
            /usr/bin/python3 LongRunningProgram.py -i $TARGET/$file -o $PROCESSED -u $UPLOADPATH -c $C
        fi
    done


    


    it is maintained by a systemctl service written like so :

    


    [Unit]
Description=Description
After=network.target

[Service]
Type=idle
user=pi
WorkingDirectory=/home/pi
ExecStart=/bin/bash /home/pi/notify.sh OutPath C
Restart=on-failure

[Install]
WantedBy=multi-user.target


    


    I am confused as to why it only seems to recognize the first file but not subsequent files when run like this, however if I replace the long running program with sleep 300 it seems to work fine.