Recherche avancée

Médias (91)

Autres articles (106)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • 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 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (8685)

  • FFMpeg - moving overlay smoothly across background - ex. on Youtube

    12 septembre 2017, par techr

    Can somebody help me out with this. I was able to create a sliding video overlay on top of a background screen and moved it from point a to point b. However, the resulting video produces choppy movement. The overlay moves step at a time instead of one continous motion. Here’s an example of the code :

    ffmpeg -y -stream_loop -1 -i b.mpg -i bg.jpg -filter_complex "
    [0:v]scale=320:240[vid];[1][vid]overlay=x='(180+(30-180)*(t-
    0)/60)*between(t,0,60)+(30+(290-30)*(t-60)/60)*between(t,60,120)':y='(120+
    (120-120)*(t-0)/60)*between(t,0,60)+(120+(30-120)*(t-
    60)/60)*between(t,60,120)'[out]" -map "[out]" -r 29.97 -aspect 4:3 -b:v
    4000k -minrate 4000k -maxrate 4000k -bufsize 2000k -t 64 t.mpg

    Input #0, mpegvideo, from 'b.mpg':
    Duration: 00:00:32.34, bitrate: 4000 kb/s
    Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, progressive), 720x480
    [SAR 32:27 DAR 16:9], 4000 kb/s, 29.97 fps, 29.97 tbr, 1200k tbn, 59.94 tbc
    Input #1, image2, from 'bg.jpg':
    Duration: 00:00:00.04, start: 0.000000, bitrate: 19637 kb/s
    Stream #1:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 640x480,
    25 tbr, 25 tbn, 25 tbc
    Stream mapping:
    Stream #0:0 (mpeg2video) -> scale
    Stream #1:0 (mjpeg) -> overlay:main
    overlay -> Stream #0:0 (mpeg1video)
    Press [q] to stop, [?] for help
    [swscaler @ 0000000002adc740] deprecated pixel format used, make sure you
    did set range correctly
    Output #0, mpeg, to 't.mpg':
    Metadata:
    encoder         : Lavf57.73.100
    Stream #0:0: Video: mpeg1video, yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31,
    4000 kb/s, 29.97 fps, 90k tbn, 29.97 tbc (default)
    Metadata:
    encoder         : Lavc57.99.100 mpeg1video
    Side data:
    cpb: bitrate max/min/avg: 4000000/4000000/4000000 buffer size: 2000000
    vbv_delay: -1
    warning, clipping 1 dct coefficients to -255..255repeated 2 timesnter

    Link to video here : https://youtu.be/EE_hrjy4ilg

  • Stream RTSP from ONVIF general camera to Youtube

    4 septembre 2017, par Samul

    I have a wifi camera that uses RTSP/ONVIF protocol and after reading FFMPEG docs and some threads at Google I am trying to broadcast the stream to Youtube. So I started a broadcast at youtube and in my computer in ffmpeg I executed this command :

    ffmpeg -f lavfi -i anullsrc -rtsp_transport udp -i rtsp://200.193.21.176:6002/onvif1 -tune zerolatency -vcodec libx264 -t 12:00:00 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp://x.rtmp.youtube.com/live2/private_key

    The command above looks like it’s correct cause it ouputs constantly something like this :

    log of ffmpeg

    The problem is that at YOUTUBE it still says I am offline. Why ?

  • Bash : bash script to download trimmed mp3 from youtube url

    25 août 2017, par Bhishan Poudel

    I would like to download the initially x seconds trimmed mp3 from a video url of youtube.
    I found that youtube-dl can download the video from youtube to local machine. But, when I looked at the man pages of youtube-dl, I could not find any trim options.

    So I tried to use the ffmpeg to trim downloaded mp3 file.
    Instead of doing this is two steps, I like to write one bash script which does the same thing.
    My attempt is given below.

    However, I was stuck at one place :
    "HOW TO GET THE VARIABLE NAME OF OUTPUT MP3 FILE FROM YOUTUBE-DL ?"
    The script is given below :

    # trim initial x seconds of mp3 file
    # e.g. mytrim https://www.youtube.com/watch?v=dD5RgCf1hrI 30
    function mytrim() {
       youtube-dl --extract-audio --embed-thumbnail --audio-format mp3 -o "%(title)s.%(ext)s" $1
       ffmpeg -ss $2 -i $OUTPUT_MP3 -acodec copy -y temp.mp3
       mv temp.mp3 $OUTPUT_MP3
       }

    How to get the variable value $OUTPUT_MP3 ?
    echo "%(title)s.%(ext)s" gives the verbatim output, does not give the output filename.

    How could we make the script work ?

    The help will be appreciated.