Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (36)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

Sur d’autres sites (4453)

  • using ffmpeg to create a wavefile image from opus

    29 décembre 2015, par edwardsmarkf

    I have been trying to use ffmpeg to create a wavefile image from an opus file. so far i have found three different methods but cannot seem to determine which one is the best.

    The end result is hopefully to have a sound-wave that is only approx. 55px in height. The image will become part of a css background-image.

    Adapted from Generating a waveform using ffmpeg :

    ffmpeg -i file.opus -filter_complex
    "showwavespic,colorbalance=bs=0.5:gm=0.3:bh=-0.5,drawbox=x=(iw-w)/2:y=(ih-h)/2:w=iw:h=1:color=black@0.5"
    file.png

    which produces this image :
    enter image description here

    Next, I found this one (and my favorite because of the simplicity) :

    ffmpeg -i test.opus -lavfi showwavespic=split_channels=1:s=1024x800 test.png

    And here is what that one looks like :

    enter image description here

    Finally, this one from FFmpeg Wiki : Waveform, but it seems less efficient using a second utility (gnuplot) rather than just ffmpeg :

    ffmpeg -i file.opus -ac 1 -filter:a
    aresample=4000 -map 0:a -c:a pcm_s16le -f data - | \
    gnuplot -e "set
    terminal png size 525,050 ;set output
    ’file.png’ ;unset key ;unset tics ;unset border ; set
    lmargin 0 ;set rmargin 0 ;set tmargin 0 ;set bmargin 0 ; plot ’

    enter image description here

    Option two is my favorite, but i dont like the margins on the top and bottom of the waveforms.

    Option three (using gnuplot) makes the best ’shaped’ image for our needs, since the initial spike in sound seems to make the rest almost too small to use (lines tend to almost disappear) when the image is sized at only 50 pixels high.

    Any suggestions how might best approach this ? I really understand very little about any of the options I see, except of course for the size. Note too i have 10’s of thousands to process, so naturally i want to make a wise choice at the very beginning.

  • FFMPEG segment stream into MP4 chunks of 4 seconds [AV out of sync]

    18 décembre 2015, par Kr0e

    I want to segment an incoming RTMP stream into MP4 chunks of 4 seconds.
    These MP4 chunks contain both, audio and video tracks.

    Unfortunately, the duration of the audio and video track are not equal, which leads to AV out-of-sync when playing both tracks at the same time in HTML 5 MSE source buffers.

    mp4info outputs :

    Track 1:
     flags:        3 ENABLED IN-MOVIE
     id:           1
     type:         Video
     duration: 4000 ms

    Track 2:
     flags:        3 ENABLED IN-MOVIE
     id:           2
     type:         Audio
     duration: 3994 ms

    So, obviously, the audio system does not care about video keyframes.

    How can I fix this ?

    Btw. :

    This is my only issue, MP4 fragmentation is solved using mp4box.js.

    AV out-of-sync is my end boss =]

    Command :

    let camera2TS = spawn('./ffmpeg/darwin/ffmpeg', [
         '-rtmp_listen', '1', '-i', 'rtmp://127.0.0.1:1935/foxnet/live',
         '-c:v', 'libx264', '-x264-params', 'keyint=240:no-scenecut=1', '-pix_fmt', 'yuv420p',
         '-force_key_frames', 'expr:gte(t,n_forced*4)', '-frag_duration', '4',
         '-preset', 'ultrafast', '-profile:v', 'baseline', '-level:v', '3', '-r', '25', '-g', '100',
         '-strict', 'experimental', '-b:v', '3500k', '-bufsize', '3500k',
         '-c:a', 'aac', '-af', 'aresample=async=1',
         '-f', 'segment', '-segment_time', '4', '-reset_timestamps', '1',
         'chunks/%01d.mp4'
       ]);
  • Android FFmpeg freeze during m3u8 stream recording

    22 juin 2018, par Олег Губаль

    Our team have implemented *.m3u8 stream recording into *.mp4 file. We are using Unity with FFmpeg Bind plugin for Android. Command for recording :

    -reconnect_delay_max 4000 -i input.m3u8 -t 00:30:00 -c copy -bsf:a aac_adtstoasc -flags +global_header -y output.mp4.

    The problem is FFmpeg freeze during the recording with non-stable internet connection. Even if internet connection stabilized new data wont be load. Callbacks like finish/failure doesnt calls. Is it some command for FFmpeg to handle not stable internet connection ?