Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (52)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

Sur d’autres sites (6369)

  • Revision edcbbf2ee3 : Merge "Fix a bug in neon that has not save and restore q4-q7 registers."

    28 février 2014, par hkuang

    Merge "Fix a bug in neon that has not save and restore q4-q7 registers."

  • PHP/FFmpeg can not save video

    19 mai 2019, par tour travel

    The error is :

    [Sun May 19 11:41:03.158185 2019] [php7:error] [pid 32405] [client
    85.133.232.4:35172] PHP Fatal error : Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException : ffmpeg
    failed to execute command ’/usr/bin/ffmpeg’ ’-y’ ’-i’ ’Sample.mp4’
    ’-async’ ’1’ ’-metadata:s:v:0’ ’start_time=0’ ’-f’ ’webm’ ’-vcodec’
    ’libvpx’ ’-acodec’ ’libvorbis’ ’-b:v’ ’1000k’ ’-refs’ ’6’ ’-coder’ ’1’
    ’-sc_threshold’ ’40’ ’-flags’ ’+loop’ ’-me_range’ ’16’ ’-subq’ ’7’
    ’-i_qfactor’ ’0.71’ ’-qcomp’ ’0.6’ ’-qdiff’ ’4’ ’-trellis’ ’1’ ’-b:a’
    ’128k’ ’-vf’ ’[in]scale=320:240 [out]’ ’export-webm.webm’ in
    /vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php:100\nStack
    trace :\n#0
    /vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php(72) :
    Alchemy\BinaryDriver\ProcessRunner->doExecutionFailure(’’/usr/bin/ffmpe...’)\n#1
    /vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/AbstractBinary.php(209) :
    Alchemy\BinaryDriver\ProcessRunner->run(Object(Symfony\Component\Process\Process),
    Object(SplObjectStorage), false)\n#2
    /vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/AbstractBinary.php(137) :
    Alchemy\BinaryDr in
    /vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Media/AbstractVideo.php on
    line 106a

    What I trying to do is, save video :

    require '/vendor/autoload.php';
    $ffmpeg = FFMpeg\FFMpeg::create();
    $ffprobe = FFMpeg\FFProbe::create();
    $video = $ffmpeg->open('Sample.mp4');
    $video
       ->filters()
       ->resize(new FFMpeg\Coordinate\Dimension(320, 240))
       ->synchronize();
    $video
       ->save(new FFMpeg\Format\Video\X264('aac'), 'export-x264.mp4')

    What I have done :

    I searched and similar topics tell me to set permission to my files and folders, I set user and also set 755 to files and folders but still I have this error and no success, any idea ?

    Errorlog :

    Fatal error : Uncaught
    Alchemy\BinaryDriver\Exception\ExecutionFailureException : ffmpeg
    failed to execute command ’/usr/bin/ffmpeg’ ’-y’ ’-i’ ’Sample.mp4’
    ’-async’ ’1’ ’-metadata:s:v:0’ ’start_time=0’ ’-vcodec’ ’libx264’
    ’-acodec’ ’aac’ ’-b:v’ ’1000k’ ’-refs’ ’6’ ’-coder’ ’1’
    ’-sc_threshold’ ’40’ ’-flags’ ’+loop’ ’-me_range’ ’16’ ’-subq’ ’7’
    ’-i_qfactor’ ’0.71’ ’-qcomp’ ’0.6’ ’-qdiff’ ’4’ ’-trellis’ ’1’ ’-b:a’
    ’128k’ ’-vf’ ’[in]scale=320:240 [out]’ ’-pass’ ’1’ ’-passlogfile’
    ’/tmp/ffmpeg-passes5ce11d01dc0038yfbl/pass-5ce11d01dc0c7’
    ’export-x264.mp4’ in
    /vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php:100
    Stack trace : #0
    /vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php(72) :
    Alchemy\BinaryDriver\ProcessRunner->doExecutionFailure(’’/usr/bin/ffmpe...’)

    1 /vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/AbstractBinary.php(209) :

    Alchemy\BinaryDriver\ProcessRunner->run(Object(Symfony\Component\Process\Process),
    Object(SplObjectStorage), false) #2 /vendor/alchemy/binary-driver in
    /vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Media/AbstractVideo.php on
    line 106

  • Using FFMPEG to save 2 seconds slices, every 5 seconds interval [closed]

    15 mars 2024, par Eduardo

    What I want to do is to save 2 seconds, skip 5 seconds and keep going until the end of the video.
It's ok to encode as long its mp4, since I will use the slices on Vegas.
The end resolt will be a bunch of random 2 seconds segments videos, from a larger file.

    


    I can cut a slice

    


    ffmpeg -i video.mp4 -ss 00:00:00 -t 00:00:02 -async 1 -strict -2 slice.mp4


    


    I need to loop it and also move the 5 seconds interval every pass.