Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (41)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (7011)

  • Ffmpeg integration without cmd ?

    27 août 2019, par forza1010

    I don’t want to use ffmpeg in command prompt. I want to integrate it into my code. So when I use my phone, to watch streams, it is to much time, to use some command line solutions. The live broadcast must be edited, befor the user reach it. Someone told me, that I should use ffmpeg as dll, but I dont know. What are my options ?

  • ffmpeg record pulseaudio has some crackles

    8 janvier 2021, par boygiandi

    I'm trying to record audio from pulseaudio (on Centos 7), using ffmpeg. But the audio is not smooth, it has some crackles, noise after few seconds
Please check this video link : https://www.facebook.com/watch/live/?v=692754594726722&ref=watch_permalink

    


    The ffmpeg command looks like this

    


    ffmpeg -fflags +igndts -framerate 30 -s 1920x1130 -draw_mouse 0 -f x11grab -i :1085.0+nomouse -f pulse -i sinkgstvDViJbLFIaUBLdTxTeLtr.monitor -c:v libx264 -filter:v crop=1920:1080:0:50 -g 60 -r 30 -bufsize 2M -b:v 7M -vbsf h264_mp4toannexb -pix_fmt yuv420p -strict experimental -preset ultrafast -c:a aac -async 1 -vsync 1 -b:a 128k -bsf:a aac_adtstoasc -metadata comment=gstvDViJbLFIaUBLdTxTeLtr -f flv "rtmps://live-api-s.facebook.com:443/rtmp/4248189238527878?s_bl=1&s_psm=1&s_sc=4248189291861206&s_sw=0&s_vt=api-s&a=Abx_pMiM4_ccqBcS"


    


    I found this article but it didn't fix my problem https://forum.level1techs.com/t/improving-linux-audio-updated/134511 .
Please help

    


  • audio is out of sync after concat 2 files

    1er juin 2019, par S.T

    i want to show a video, that has 2 movies side by side. each movie is a result of one movie that concat 2 times. the problem is that the audio in the right side is out of sync.

    i have 3 commands :
    first command concat one movie 2 times

    ffmpeg -i 1.mp4 -i 1.mp4 -filter_complex "[0:v:0][0:a:0][1:v:0][1:a:0]concat=n=2:v=1:a=1[concatv][concata]" -map "[concatv]" -map "[concata]" Concat1.mp4

    second command concat the second movie 2 times

    ffmpeg -i 2.mp4 -i 2.mp4 -filter_complex "[0:v:0][0:a:0][1:v:0][1:a:0]concat=n=2:v=1:a=1[concatv][concata]" -map "[concatv]" -map "[concata]" Concat2.mp4

    at this point the audio is always synced.
    the third command takes the 2 results and merge it to one movie side by side with a logo :

    ffmpeg -i Concat1.mp4 -i Concat2.mp4 -i logo.png -filter_complex "[0:v]pad=width=iw+20:height=ih+20:x=10:y=10:color=black[a];[1:v]pad=width=iw+20:height=ih+20:x=10:y=10:color=black[b];nullsrc=size=640x480[base];[a]setpts=PTS-STARTPTS, scale=320x480[left];[b]setpts=PTS-STARTPTS, scale=320x480[right];[base][left]overlay=shortest=1[tmp1];[tmp1][right] overlay=320:0[video];[0:a]apad [apa];[apa][1:a]amerge=inputs=2,pan=stereo|FLcode>

    the problem is that in the output file the audio of the right movie is out of sync in its second time (the second concat). it always the right movie that is out of sync, even when i switch them.

    can anyone help ?
    Thanks.

    ==============EDIT===================

    the problem of the sync has solved by adding apad also to the second file, but after that the command never stops... how can i tell the command to stop when both movies ended if i have apad for both movies ?
    this is the new command that never stops :

    ffmpeg -i 1.mp4 -i 2.mp4 -i logo.png -filter_complex "[0:v]pad=width=iw+20:height=ih+20:x=10:y=10:color=black[a];[1:v]pad=width=iw+20:height=ih+20:x=10:y=10:color=black[b];nullsrc=size=640x480[base];[a]scale=320x480[left];[b]scale=320x480[right];[base][left]overlay=shortest=1[tmp1];[tmp1][right] overlay=320:0[video];[1:a]apad [apa];[0:a]apad[apa1];[apa][apa1]amix=inputs=2:duration=longest[audio];[2:v]scale=120:44 [ovrl];[video][ovrl]overlay=15:25[videoandlogo]" -map "[videoandlogo]" -map "[audio]" output.mp4