Recherche avancée

Médias (0)

Mot : - Tags -/publication

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

Autres articles (102)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9866)

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

    


  • If multiple channels, merge then take sample length from audio file and save it to s3

    18 mai 2017, par khinester

    I am using transloadit to extract the audio from a video file, which is then saved to S3.
    This works great, but I wanted to know how to :

    1. check if the file has multiple channels and then squash it inot one as per https://transloadit.com/demos/audio-encoding/merging-multiple-audio-streams/ - do I need to check for this or do i default to use this robot ?

    2. extract a small sample from the audio file - and save this as a separate file.

    For example, I have a 2h audio file from which I want to take 5% of the length and save this as sample.mp3

    In ffmpeg, i can cut :

    ffmpeg -ss 0 -t 30 -i original.mp3 sample.mp3

    but I am unsure how to chain this workflow, here is what i have thus far :

    const opts = {
     params: {
       notify_url: `${ process.env.SELF }/services/trans/${ jwToken }`,
       steps:      {
         import: {
           robot:  '/s3/import',
           use:    ':original',
           bucket: process.env.S3_INGEST,
           path:   ingest.key,
           key:    process.env.AWS_ID,
           secret: process.env.AWS_SECRET,
         },
         encode: {
           robot:        '/audio/encode',
           use:          'import',
           ffmpeg_stack: 'v2.2.3',
           preset:       'aac',
           ffmpeg:       {
             ab:  '128k',
           },
         },
         export: {
           robot:   '/s3/store',
           use:     'encode',
           bucket:  s3Export,
           path:    `${ prefix }/${ token }.m4a`,
           headers: {
             'Content-Type': 'audio/mp4',
             'x-amz-server-side-encryption': 'AES256',
           },
           key:    process.env.AWS_ID,
           secret: process.env.AWS_SECRET,
         },
       },
     },
    };

    in the docs, https://transloadit.com/docs/conversion-robots/ i can’t see how to do this ?

    any advice is much appreciated.