Recherche avancée

Médias (0)

Mot : - Tags -/médias

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

Autres articles (45)

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (7424)

  • Live Video Encoding and Streaming on a Webpage

    9 mars 2016, par Ockhius

    I am trying to show live webcam video stream on webpage and I have a working draft. However, I am not satisfied with the performance and looking for a better way to do the job.

    I have a webcam connected to Raspberry PI and a web server which is a simple python-Flask server. Webcam images are captured by using OpenCV and formatted as JPEG. Later, those JPEGs are sent to one of the server’s UDP ports. What I did up to this point is something like a homemade MJPEG(motion-jpeg) streaming.

    At the server-side I have a simple python script that continuously reads UDP port and put JPEG image in the HTML5 canvas. That is fast enough to create a perception of a live stream.

    Problems :

    • This compress the video very little. Actually it does not compress the video. It only decreases the size of a frame by formatting as JPEG.

    • FPS is low and also quality of the stream is not that good.

    • It is not a major point for now but UDP is not a secure way to stream video.

    • Server is busy with image picking from UDP. Needs threaded server design.

    Alternatives :

    • I have used FFMPEG before to convert video formats and also stream pre-recorded video. I guess, it is possible to encode(let say H.264) and stream WebCam live video using ffmpeg or avconv. (Encoding)

    Is this applicable on Raspberry PI ?

    • VLC is able to play live videos streamed on network. (Stream)

    Is there any Media Player to embed on HTML/Javascript to handle
    network stream like the VLC does ?

    • I have read about HLS (HTTP Live Stream) and MPEG-DASH.

    Does these apply for this case ? If it does,how should I use them ?

    Is there any other way to show live stream on webpage ?

    • RTSP is a secure protocol.

    What is the best practice for transport layer protocol in video
    streaming ?

  • Merge commit ’e588615d938f8581f0d6f3771662d08cadfc00de’

    9 janvier 2014, par Michael Niedermayer
    Merge commit ’e588615d938f8581f0d6f3771662d08cadfc00de’
    

    * commit ’e588615d938f8581f0d6f3771662d08cadfc00de’ :
    hevc : fix decoding of one PU wide files

    Conflicts :
    libavcodec/hevc.c

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/hevc.c
    • [DH] libavcodec/hevc.h
  • Gstreamer errors when streaming on windows

    19 juillet 2014, par user2656632

    I tried to streaming video by gstreamer using this :

    Sender :

    gst-launch ksvideosrc ! ffmpegcolorspace ! ffenc_mpeg2video gop-size=1 ! mpegtsmux ! rtpmp2tpay ! udpsink host=127.0.0.1 port=5000

    Receiver :

    gst-launch udpsrc port=5000 caps="application/x-rtp, media=video, clockrate=90000, encoding-name=MP2TS" ! rtpmp2tdepay ! ffdemux_mpegts ! ffdec_mpeg2video ! ffmpegcolorspace ! directdrawsink

    It works, but wrong. I got very low fps and I got this output :

    0:00:01.583091000 19496   02404840 ERROR                 ffmpeg .:0:: invalid mb
    type in I Frame at 33 21
    0:00:01.590091000 19496   02404840 ERROR                 ffmpeg .:0:: Warning MV
    s not available
    0:00:20.763188000 19496   02404840 ERROR                 ffmpeg .:0:: invalid mb
    type in I Frame at 33 21
    0:00:20.764188000 19496   02404840 ERROR                 ffmpeg .:0:: Warning MV
    s not available
    0:00:20.816191000 19496   02404840 ERROR                 ffmpeg .:0:: skipped MB
    in I frame at 7 22
    0:00:20.817191000 19496   02404840 ERROR                 ffmpeg .:0:: Warning MV
    s not available
    0:00:20.847192000 19496   02404840 ERROR                 ffmpeg .:0:: skipped MB
    in I frame at 24 19
    0:00:20.949198000 19496   02404840 ERROR                 ffmpeg .:0:: skipped MB
    in I frame at 3 20
    0:00:20.970199000 19496   02404840 ERROR                 ffmpeg .:0:: invalid mb
    type in I Frame at 36 19
    0:00:20.982200000 19496   02404840 ERROR                 ffmpeg .:0:: skipped MB
    in I frame at 14 20
    0:00:21.007202000 19496   02404840 ERROR                 ffmpeg .:0:: slice mism
    atch
    0:00:21.031203000 19496   02404840 ERROR                 ffmpeg .:0:: skipped MB
    in I frame at 13 20
    0:00:21.060205000 19496   02404840 ERROR                 ffmpeg .:0:: skipped MB
    in I frame at 31 24

    How I can fix these issues ?