Recherche avancée

Médias (91)

Autres articles (18)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (3659)

  • How do you set up carrierwave-video with ffmpeg ?

    24 septembre 2013, par Maleckai

    This has been doing my head in for the past 2 days, and I just cannot seem to get it working.

    I am building a simple Rails app with the sole purpose of uploading & processing images and videos. I'm working on Ubuntu Linux.

    Here's the relevant gems in my Gemfile :

    gem 'delayed_job_active_record'
    gem 'carrierwave'
    gem 'carrierwave-video'
    gem 'carrierwave_backgrounder'
    gem 'mini_magick'
    gem 'streamio-ffmpeg'

    At first I was having problems with ffmpeg complaining about certain arguments (I determined this by taking the command the rails app attempted to run when it was to convert a video, and running it manually outside rails), which I discovered was because the version of ffmpeg I was using was 'too new'. So I downgraded to 1.2.1, which is what streamio-ffmpeg says is the only version of ffmpeg they're tested against.

    After that, I could run the command manually, fine. But whenever I tried to convert through the app, I'd get the error :

    Failed to transcode with FFmpeg. Check ffmpeg install and verify video is not corrupt or cut short. Original error: nil is not a symbol

    I did a bit of Googling on the error, and only came up with one relevant result, but nothing in there has helped my situation.

    I'm at a total loss at this point, and am not sure where I can go from here. I assume many of people have tried this before, so I'm hoping someone can guide me on the exact steps they took to get carrierwave-video & ffmpeg working together.

  • Defining moment of the audio attenuation through ffmpeg

    23 août 2016, par riki-tik

    There are audio tracks of different lengths in m4a format. And there’s ffmpeg library for working with the media. Many of the tracks have the effect of "decay" in the end, and it is necessary to determine at what point it occurs (determined once and the value entered in the database along with other information about the track). Those. we must somehow determine that the track begins to fade, and its volume reached 30% compared to the total volume of the song. Is it possible to solve by means of ffmpeg, and if so, how ?

  • mediastreamvalidator "Error injecting segment data" and Can't deal with multiple sample timings per sample buffer

    18 août 2016, par Dathan Vance Pattishall

    So using ffmpeg

    /usr/local/bin/ffmpeg -i track.m4a -vn -c:a aac -b:a 192k  -f segment -segment_list 93_jrf2niqb7n2s8pzjopkqvbbw1wmzz3foqrsa93bm.m3u8 -segment_time 120 -segment_format_options movflags=faststart  93_jrf2niqb7n2s8pzjopkqvbbw1wmzz3foqrsa93bm.%03d.m4a

    a playlist file is created where

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-ALLOW-CACHE:YES
    #EXT-X-TARGETDURATION:121
    #EXTINF:120.000726,
    93_jrf2niqb7n2s8pzjopkqvbbw1wmzz3foqrsa93bm.000.m4a
    #EXTINF:119.883175,
    93_jrf2niqb7n2s8pzjopkqvbbw1wmzz3foqrsa93bm.001.m4a
    #EXT-X-ENDLIST

    Then using mediastreamvalidator I get the following output which leads me to believe there are errors which I have no idea how to fix. I am assuming that ffmpeg is jacking up the segmenting.

    mediastreamvalidator http://**OMIT**/AMP/1/92_y7lu9u1qy5wsw2fqn61mankqof7lkuu5qvk7asv5.m3u8
    mediastreamvalidator: Version 1.2(160525)

    [/AMP/1/92_y7lu9u1qy5wsw2fqn61mankqof7lkuu5qvk7asv5.m3u8] Started root playlist download
    [/AMP/1/92_y7lu9u1qy5wsw2fqn61mankqof7lkuu5qvk7asv5.m3u8] Started media playlist download
    Error injecting segment data
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    Can't deal with multiple sample timings per sample buffer
    [/AMP/1/92_y7lu9u1qy5wsw2fqn61mankqof7lkuu5qvk7asv5.m3u8] All media files delivered and have end tag, stopping

    --------------------------------------------------------------------------------
    http://**OMIT**/AMP/1/92_y7lu9u1qy5wsw2fqn61mankqof7lkuu5qvk7asv5.m3u8
    --------------------------------------------------------------------------------
    Processed 1 out of 2 segments
    Average segment duration: 119.941950
    Total segment bitrates (all discontinuities): average: 130.88 kb/s, max: 131.25 kb/s


    Discontinuity: sequence: 0, parsed segment count: 1 of 2, duration: 239.884 sec, average: 130.88 kb/s, max: 131.25 kb/s
    Track ID: 1
    Audio Codec: AAC-LC
    Audio sample rate: 44100 Hz
    Audio channel layout: Stereo (L R)

    So, my question is what is "Error injecting segment data" and "Can’t deal with multiple sample timings per sample buffer" and why is the segment messed up ?