Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (88)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • 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

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

Sur d’autres sites (5937)

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

  • FFmpeg trim .3gp and save as .mp4 not working

    11 avril 2016, par SebSob

    I am trying to trim a video input .3gp (http://www.sample-videos.com/video/3gp/144/big_buck_bunny_144p_2mb.3gp) and save it as .mp4, this is my command :

    ffmpeg -ss 00:00:00.000 -y -i input_vid.3gp -strict experimental -preset ultrafast -t 00:00:03.637 -r 30 -s 176x144 -ar 44100 -b:v 4000k -minrate 4000k -maxrate 4000k -c:a copy -vcodec mpeg4 output_vid.mp4

    But it gives me the following error :

    Setting 'pix_fmts' to value 'yuv420p'
    query_formats: 7 queried, 6 merged, 0 already done, 0 delayed
    w:176 h:144 fmt:yuv420p sar:12/11 -> w:176 h:144 fmt:yuv420p sar:12/11 flags:0x4
    Automatically choosing VBV buffer size of 232 kbyte
    intra_quant_bias = 0 inter_quant_bias = -64
    Could not find tag for codec amr_nb in stream #1, codec not currently supported in container
    Output #0, mp4, to 'output_vid.mp4':
     Metadata:
       major_brand     : 3gp4
       minor_version   : 512
       compatible_brands: isomiso23gp4
       encoder         : Lavf56.23.100
       Stream #0:0(und), 0, 1/15360: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 176x144 [SAR 12:11 DAR 4:3], q=2-31, 4000 kb/s, 30 fps, 15360 tbn, 30 tbc (default)
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : VideoHandler
         encoder         : Lavc56.25.100 mpeg4
       Stream #0:1(und), 0, 1/8000: Audio: amr_nb (samr / 0x726D6173), 8000 Hz, mono, 12 kb/s (default)
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : SoundHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (h263 (native) -> mpeg4 (native))
     Stream #0:1 -> #0:1 (copy)
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
    exit_program: 1

    But it works fine if the input is an .mp4...

    Any idea’s ? Thanks