Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (45)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (7278)

  • Syncronising Video/audio with two different sources

    22 mai 2016, par Indy

    I have an issue with an very old film that I’m trying to recover. I have two source of the same film.

    Source 1 (from ffmeg -i) :

    Duration: 02:43:35.77, start: 0.000000, bitrate: 1342 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (DIVX / 0x58564944), yuv420p, 720x480 [SAR 1:1 DAR 3:2], 1200 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 30k tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 128 kb/s

    Source 2 (from ffmeg -i) :

    Duration: 02:46:11.04, start: 0.000000, bitrate: 1625 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1200x720 [SAR 1:1 DAR 5:3], 1431 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc (default)
    Metadata:
     handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default)
    Metadata:
     creation_time   : 2014-06-22 12:06:22
     handler_name    : IsoMedia File Produced by Google, 5-11-2011

    What I would like is to take the audio from source 1 and video from source 2 and create a new file with them.

    I have tried changing the source 1 to 30 fps and then using its audio with source 2’s video but the audio ’fps’ is really after sync after sometime. Perhaps my approach is wrong.

    what’s the best way to take the audio from source 1 synced with source 2’s video ?

    Any help is appreciated. Thanks,
    Indy

  • Matching loudness of commentary track with FFmpeg

    9 mai 2017, par Jon Sangster

    I am using FFmpeg to mix a MP3 file containing a commentary track into the soundtrack of multimedia file. So far I have had great success using FFmpeg’s sidechaincompress filter to auto-duck the soundtrack stream before mixing in the commentary. You can hear the commentary clearly, even when there’s loud music or explosions going on in the film.

    Awesome.

    However, the issue I have now is during the very quiet scenes. When the soundtrack is very quiet, the commentary seems far too loud. If I adjust the volume of the entire commentary track so that it sounds right during the quiet scenes, it’s too heard to hear during the loud scenes.

    My current idea is to somehow use the sidechaincompress filter to duck the commentary track as well, before finally mixing it into the soundtrack. The problem though is that sidechaincompress compresses the target’s volume when the source is loud, but I need the volume to be compressed when the source is quiet.

    I have to admit that I am a quiet the newbie in this domain, so I may coming at this entirely wrong. I’m happy for any advice you can provide !

  • ffmpeg - invalid duration

    22 septembre 2016, par OmidAntiLong

    For a project I’m working on I have a small bash script that loops over an input csv file of timecodes, and uses ffmpeg to create screenshots of a given film at each timecode. The csv file is in the format hh:mm:ss,id - it looks like this (extract)

    00:00:08,1
    00:00:49,2
    00:01:30,3
    00:02:38,4
    00:03:46,5
    00:04:08,6
    00:04:26,7
    00:04:37,8
    00:04:49,9
    00:05:29,10
    00:05:52,11
    00:06:00,12
    00:06:44,13
    00:07:49,14
    00:08:32,15
    00:09:28,16
    00:10:17,17
    00:10:44,18
    00:11:48,19
    00:12:07,20

    I’ve used it without issue in the past, but today I’ve come to update some of the films and I’m getting a weird issue where ffmpeg is complaining that my input timecode is invalid, despite being in the right format.

    The new input csv files are the same format as the old ones, but it seems like every so often ffmpeg drops the hours from the hh:mm:ss timestamp. If I comment out the ffmpeg line, everything prints to the terminal as expected (but obviously I get no screenshots).

    This is my loop code :

    while read code a
    do
     echo $code
     f="$(printf "%03d" $i)"

     ffmpeg -loglevel error -y -ss $code -i $FILM -vframes 1 -q:v 2 $OUTPUT/$f.jpg

     ((i++))
    done < $INPUT

    I’ve tried all sorts, including padding the csv with extra 0s - which works until the hours tick over to 01.

    Terminal output

    Does anyone have any ideas ? I’m scratching my head.

    Cheers