Recherche avancée

Médias (1)

Mot : - Tags -/3GS

Autres articles (68)

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

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (9196)

  • question regarding ffmpeg webcam stream (RTMP)

    7 janvier 2021, par J Hwang

    I am a novice if you will regarding FFMPEG.
I was tasked with creating a Windows-based C++ project that takes a live webcam stream, does the necessary decoding and encoding, and sends it via RTMP to a server.
The constraints were that the output format be "flv" due to the design of the server end and that it take both audio and video input. Quality of the stream isn't that much of an issue as long as the audio doesn't desync too much from the video.

    


    I drew on the prior works of https://github.com/leixiaohua1020 in simplest_ffmpeg_streamer and simplest_ffmpeg_device.

    


    Specifically, I tried to mesh together the logic behind the readcamera project to provide an input stream and send it to an output address using the streamer part that previously took a local flv video as input.

    


    However, I ran into some problems.

    


    First of all, I know vfwcap is very much outdated but it seems dshow has some problems with the input part as well as the output part so I'm opting for whichever works first.

    


    Second of all, I don't really understand how to set the codec for the input. The input is using rawvideo by default and I tried to add settings as shown.
pFormatCtx->video_codec_id = AV_CODEC_ID_MPEG4;
However, none of the even slightly relevant codec settings seemed to work. All showed the same error message in the vfwcap error message image below.

    


    I would very much appreciate any pointers on achieving 1. change of codec in input stage 2. fixes for the dshow case

    


    I have put the full code up on github with the appropriate mentions.
https://github.com/luorix1/ffmpeg

    


    error message_dshow

    


    error message_vfwcap

    


  • FFMpeg Question about paket pts, dts and duration parameters

    27 avril 2020, par Denis Gottardello

    According with the remuxing.c example I have using the flollowing 3 lines of code :

    



    Packet.pts= av_rescale_q_rnd(Packet.pts, pAVStreamIn->time_base, pAVStreamOut->time_base, static_cast<avrounding>(AV_ROUND_NEAR_INF | AV_ROUND_PASS_MINMAX));&#xA;Packet.dts= av_rescale_q_rnd(Packet.dts, pAVStreamIn->time_base, pAVStreamOut->time_base, static_cast<avrounding>(AV_ROUND_NEAR_INF | AV_ROUND_PASS_MINMAX));&#xA;Packet.duration= av_rescale_q(Packet.duration, pAVStreamIn->time_base, pAVStreamOut->time_base);&#xA;</avrounding></avrounding>

    &#xA;&#xA;

    The code works but not using an rtsp camera as source. I obtain an error at av_interleaved_write_frame function.&#xA;Please have a look at the following log report :

    &#xA;&#xA;

    AudioIndex Packet.pts: 0, Packet.dts: 0, Packet.duration: 160&#xA;AudioIndex Packet.pts: 120, Packet.dts: 120, Packet.duration: 160  &#xA;AudioIndex Packet.pts: 312, Packet.dts: 312, Packet.duration: 160&#xA;AudioIndex Packet.pts: 432, Packet.dts: 432, Packet.duration: 160&#xA;AudioIndex Packet.pts: 632, Packet.dts: 632, Packet.duration: 160&#xA;AudioIndex Packet.pts: 752, Packet.dts: 752, Packet.duration: 160&#xA;AudioIndex Packet.pts: 952, Packet.dts: 952, Packet.duration: 160&#xA;AudioIndex Packet.pts: 1072, Packet.dts: 1072, Packet.duration: 160&#xA;AudioIndex Packet.pts: 1272, Packet.dts: 1272, Packet.duration: 160&#xA;AudioIndex Packet.pts: 1392, Packet.dts: 1392, Packet.duration: 160&#xA;AudioIndex Packet.pts: 1592, Packet.dts: 1592, Packet.duration: 160&#xA;AudioIndex Packet.pts: 1712, Packet.dts: 1712, Packet.duration: 160&#xA;VideoIndex Packet.pts: 9223372036854775808, Packet.dts: 9223372036854775808, Packet.duration: 0&#xA;

    &#xA;&#xA;

    As you can see the pts, dts, duration parameters relative to audio stream is ok, the video parameters abolutally not.&#xA;How can I do to rewrite the video parameters ?&#xA;Can anyone explain ?

    &#xA;

  • FFMPEG reduce dynamic range (VLC port question)

    14 mars 2020, par H3rdell

    Is there a way to do the exactly same thing as the image below (VLC) but using FFMPEG ? I want it with FFMPEG to automate some jobs with batch files.

    https://i.imgur.com/6r7jyeu.png

    In VLC, alongside the settings in the above image, I also enable the Dynamic Range Compressor.

    enter image description here

    My settings for the compressor filter in VLC are :

    • RMS/PEAK : 0
    • ATTACK : 15ms
    • RELEASE : 300ms
    • THRESHOLD : -25dB
    • COMPRESSION RATIO : 20.0 to 1
    • KNEE RADIUS : 1.0dB
    • MAKEUP GAIN : 15.0dB

    Thanks in advance.