Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (52)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

Sur d’autres sites (6612)

  • 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