Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (20)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (4228)

  • Revision cbfbc988229ca16c25a410a2ba38058c02043c89 : avant d’ajouter betement un ’s’ au type d’objet, on cherche d’abord a ...

    6 décembre 2010, par Fil — Log

    avant d’ajouter betement un ’s’ au type d’objet, on cherche d’abord a savoir si la table existe en realite (cf. paolo sur http://archives.rezo.net/archives/spip-zone.mbox/7PUHSSUJYU3ZEGEGCC4MM5XCSCBRKO43/ ) git-svn-id : svn ://trac.rezo.net/spip/spip@16626 (...)

  • using ffmpeg to convert a mkv or mp4 suitable for a DVD player that supports MPEG-4 / DivX [closed]

    17 juillet 2022, par Neil Telford

    I got a DVD Player with USB support. It is a recent player (DVD-225), but the documentation is sparse, but it does claim MPEG-4 and DivX support.

    


    Now, I have got certain AVI files to play via USB, but everything else fails. I looked at the metadata of an AVI file that worked via ffprobe, and got the following :

    


    Metadata:
    encoder         : Lavf58.17.101   Duration: 00:58:30.94, start: 0.000000, bitrate: 1336 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (xvid / 0x64697678), yuv420p, 640x290 [SAR 1:1 DAR 64:29], 1196 kb/s, 23.98 fps, 23.98 tbr,
23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 128 kb/s


    


    Now, I figured that if I can replicate the above, I can convert most things to play via USB, even if it isn't the most up to date codecs.

    


    I've tried various combinations, but they all fail. The closest I got was by using the following shell script :

    


    for i in *.avi; do ffmpeg -i "$i" -c:v mpeg4 -vtag divx -qscale:v 3 -c:a libmp3lame -qscale:a 4 "_${i%.*}.avi"; done


    


    This has a strange result that it will play the audio track, but not the video track. The metadata I got from this was :

    


    Metadata:
    encoder         : Lavf58.45.100
  Duration: 00:58:07.99, start: 0.000000, bitrate: 3026 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (divx / 0x78766964), yuv420p, 1280x720 [SAR 3:4 DAR 4:3], 2901 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 24k tbc
    Metadata:
      title           : ******************
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 109 kb/s
    Metadata:
      title           : ******************


    


    Does anyone know where I am going wrong with this ? I've converted AVI, MKV and MP4 files, and while they work on my computer, the DVD player seems to be very picky.

    


    Any suggestions ?

    


    Thanks
Neil

    


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