Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (20)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (4228)

  • ffmpeg concat loses audio after first clip only in browser, audio plays good on player like vlc etc

    1er octobre 2019, par Rajan Tpss

    i am trying to combine or concatenate audio file one after other like after concatenation of two audio files, both file will downloaded as a single file wheres audio will be played in a queue one after other.

    after some research i found the package FFmpeg i.e dealt with mp3,mp4 etc files.i tried to run FFmpeg commands in terminal but file is created and playing good on VLC but not playing accurately in browser.

    Some Commands tried by me in terminal are as follow :-

    ffmpeg -i "concat:a.mp3|b.mp3" -acodec copy output.mp3

    ffmpeg -f concat -i files.txt -c copy output.mp3

    ffmpeg -i a.mp3 -i b.mp3 -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=0:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp3

    ffmpeg -y -i "concat:a.mp3|b.mp3" -ar 22050 -ab 512 -b 800k -f mp4 -s 514*362 -strict -2 -c:a aac "OUTPUT.mp4"

    Library Link followed by me :- https://ffmpeg.org/ffmpeg-filters.html

    Note :- I am using Ubuntu based system

    file is created successfully from above commands and playing well on VLC player.

    where in browser first clip is playing well but after first clip browser stops. somehow second audio clip is not playing in browser. i don’t know why may be there is same kind of pattern error.

    if anyone can help, i shall be very thankful to him/her.

    Thanks

  • pyglet_ffmpeg loads and plays video in script(.py) but not loading(media load) in executable

    24 février 2020, par Mahesh Dilip Salvi

    i am playing full screen video in pyglet application which just plays video as follows, the script(.py) file loads mp4 video(as mediaload) and plays it well (windowed/fullscreen) but after making it executable with pyinstaller command (pyinstaller -w -F .\videoPlay.py) it is not loading media.
    *i identified it with ’try-except’ block with help of ctypes.MessageBox
    Please assist me by checking following thing.

    import pyglet, pyglet_ffmpeg

    pyglet_ffmpeg.load_ffmpeg()

    vidPath = 'm2Vid.mp4'

    window = pyglet.window.Window() #fullscreen=True
    player = pyglet.media.Player()
    source = pyglet.media.StreamingSource()
    MediaLoad = pyglet.media.load(vidPath)
    player.on_player_eos = window.close

    player.queue(MediaLoad)
    player.play()

    @window.event
    def on_draw():
       if player.source and player.source.video_format:
           player.get_texture().blit(0,0)

    pyglet.app.run()
  • FFplay only plays MPEG-DASH when in the same directory

    26 mars 2020, par M. Parker

    I’ve created a series of video segments using dashenc.c from ffmpeg’s libav on my windows machine. The mpd file is templated, so it’s fairly simple and it passes validation. The video plays, but only if I put ffplay in the same folder as all the files and use :

    ffplay -i manifest.mpd

    If I try to play from some other directory, or even the same directory using :

    ffplay -i c:\tmp\manifest.mpd

    or

    ffplay -i c:/tmp/manifest.mpd

    The attempt fails, producing this error :

    [dash @ 0000016ce0d69900] Failed to open an initialization section in playlist 0
    [dash @ 0000016ce0d69900] Error when loading first fragment, playlist 0
    C:/tmp/manifest.mpd: Invalid argument

    The mpd file :

    <?xml version="1.0" encoding="utf-8"?>
    <mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="dynamic" minimumupdateperiod="PT500S" suggestedpresentationdelay="PT4S" availabilitystarttime="2020-03-23T14:54:16Z" publishtime="2020-03-23T14:54:25Z" timeshiftbufferdepth="PT4811H53M52.3S" minbuffertime="PT9.6S">
       <programinformation>
       </programinformation>
       <period start="PT0.0S">
           <adaptationset contenttype="video" segmentalignment="true" bitstreamswitching="true">
               <representation mimetype="video/mp4" codecs="avc1.42001e" bandwidth="5953124" width="720" height="480">
                   <segmenttemplate timescale="1000000" duration="5000000" availabilitytimeoffset="4.967" initialization="init-stream$RepresentationID$.m4s" media="media-stream$RepresentationID$-$Number%06d$.m4s" startnumber="1">
                   </segmenttemplate>
               </representation>
           </adaptationset>
       </period>
    </mpd>

    Adding in a BaseUrl element didn’t help ; my guess is I’m formatting it wrong. Any ideas what I might do to fix this ?