Recherche avancée

Médias (91)

Autres articles (71)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (4975)

  • Adding metadata with images to audio files using ffmpeg

    8 mai 2017, par Padam Sethia

    UPDATE :
    Not able to embed artwork to audio file , here my command :
    ffmpeg -i ./tmp/Feeling_Good.mp3 -i './tmp/artwork/default.png' -map 0 -map 1 -c copy -codec -id3v2_version 3 -metadata title='Feeling Good' -metadata TPE1='Gryffin' -metadata TPE2='Gryffin' -metadata album='' -metadata genre=' ' ./tmp/fumen_Feeling_Good.mp3

    ERROR :

    [NULL @ 0x106b0e0] Unable to find a suitable output format for '3'
    3: Invalid argument

    I want to add album art and meta data at one go to audio files , I have tried this command , but it doesn’t seem to work moreover it creates an empty file.
    Here’s my command :

    ffmpeg -loglevel quiet -i ./tmp/Heres_to_never_growing_up.mp3 -i ./tmp/artwork/default.png -codec copy -id3v2_version 3 -metadata title='Heres to never growing up' -metadata TPE1='Avril Lavigne' -metadata TPE2='Avril Lavigne' -metadata comment='Cover (Front)' -metadata album='unnamed' -metadata genre='unnamed' ./tmp/Heres_to_never_growing_up.mp3

  • RTP/RTCP Stream Audio and Video using FFMPEG

    10 mai 2017, par Hakeem El Bakka-lee

    I just set up a nice WEBRtc Server (Janus) and wanted to stream some live video to a simple front-end using webrtc.
    I found an example using GStreamer but i want to use FFMPEG instead.
    It works well with GStreamer, out of the box using the example given.
    It looks something like this :

    #!/bin/sh                                                                                      
    gst-launch-1.0 \
     audiotestsrc ! \
       audioresample ! audio/x-raw,channels=1,rate=16000 ! \
       opusenc bitrate=20000 ! \
         rtpopuspay ! udpsink host=127.0.0.1 port=5002 \
     videotestsrc ! \
       video/x-raw,width=320,height=240,framerate=15/1 ! \
       videoscale ! videorate ! videoconvert ! timeoverlay ! \
       vp8enc error-resilient=1 ! \
         rtpvp8pay ! udpsink host=127.0.0.1 port=5004

    Is there a way to stream to an ip with a decided port with FFMPEG just like GStreamer ?

    EDIT :

    I found this to work on windows not linux, i guess gdigrab is not supported :

    ffmpeg -f gdigrab -i 60 -vcodec libx264 -vb 3000000 -g 60 -vprofile main -tune zerolatency -pix_fmt yuv42\
    0p -acodec aac -ab 128000 -ar 48000 -ac 2 -strict experimental -f rtsp rtsp://127.0.0.1

    Here is the line for Linux works great for MPEG4 stream :

    ffmpeg -f x11grab -r 25 -s cif -i :0.0 -f rtp://127.0.0.1:5004

    Thank you

  • FFMPEG / streameye - MJPEG streaming from raspebbry cam

    16 mai 2017, par Emmanuel Brunet

    I’m trying to stream video from different Raspberry Pi’s .. ; RPI 2B /2 B+ and RPI 3.
    I found out how to stream rtmp / flv video through NINGX and it works fine but now I need to convert this stream to MJPEG stream. Actually I need it as input for motion (detection)

    I’ve tried mjeg_streamer to publish a MJPEG stream using FFMPEG / image2 in front to split the stream into image chunhs. But it’s too slow and to much greedy

    after many searches I’ve installed streameye which seems perfect. but the process traps 10s after a web client connects to the server hosted on the raspberry py (2/3 same result so not an ARM61/71 issue I think .. same with FFMPEG or AVCONV).

    ... and more over it crashes the ssh session we are connected to access the rapsberry device. An FFMPEG trap generating a SSH session issue ?.
    Note that the raspberry was not down after connection loss as all it’s services were still up and running. Just need to connect via SSH to again.

    I don’t know if it’s due to my ffmpeg feeding command or if it’s a streameye nug. Didn’t find any info about on google but a web client issue that would have been fixed in 0.8 (the version I’m working on)

    from a FLV / h264 I run

    avconv -r 15 -f flv -i rtmp://127.0.0.1/app/my_stream -c:v mjpeg  -crf 15 -f mjpeg  - | streameye -p 8080

    the source stream is defined as follow (no audio stream) :

    Input #0, live_flv, from 'rtmp://boxnet-0-eth/live/boxnet-2':
    Metadata:
    Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
    displayWidth    : 480
    displayHeight   : 320
    fps             : 0
    profile         :
    level           :
    Duration: 00:00:00.00, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuv420p(progressive), 480x320, 1k tbr, 1k tbn