Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (28)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • avcodec/xbmdec : get_nibble() minor speed increase, and binary reduction

    1er février 2021, par Jose Da Silva
    avcodec/xbmdec : get_nibble() minor speed increase, and binary reduction
    

    Replace av_isxdigit(*ptr) and convert(*ptr) with get_nibble(*ptr) which
    returns a valid nibble==0x00..0x0f or false==255 for all other values.
    This way we only need to work with *ptr once instead of twice.

    Removing inline av_isxdigit(x) functions also shrinks executable size.

    Signed-off-by : Joe Da Silva <digital@joescat.com>

    • [DH] libavcodec/xbmdec.c
  • FFMPEG convert RTSP to RTMP overlay pipeline

    5 juillet 2021, par Helpme-villain

    I have ffmpeg command that I want to convert RTSP to RTMP broadcast.&#xA;Before the broadcast, I want to overlay the frame with an image.

    &#xA;

    So, here is my pipeline :

    &#xA;

      &#xA;
    1. read stream from RTSP
    2. &#xA;

    3. overlay an image
    4. &#xA;

    5. broadcast RTMP (Youtube)
    6. &#xA;

    &#xA;

    I tried some command, but I met the error message :

    &#xA;

      &#xA;
    • Here is my command
    • &#xA;

    &#xA;

    The reason why I used anullsrc is because the RTMP server must input an audio stream, but my video stream has no audio

    &#xA;

    ffmpeg -i image.jpg -i /server> -filter_complex "[1:v][0:v]overlay"  -f lavfi -i anullsrc -rtsp_transport udp -t 12:00:00 -pix_fmt &#x2B; -tune zerolatency -sstrict expreimental -f flv / server>&#xA;

    &#xA;

      &#xA;
    • Error Message
    • &#xA;

    &#xA;

    [rtsp @ 0000021890521700] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)&#xA;The filters &#x27;graph 0 input from stream 0:0&#x27; and &#x27;Parsed_overlay_0&#x27; do not have a common format and automatic conversion is disabled.&#xA;Error reinitializing filters!&#xA;Failed to inject frame into filter network: Invalid argument&#xA;Error while processing the decoded data for stream #0:0&#xA;Conversion failed!&#xA;

    &#xA;

      &#xA;
    • all the message
    • &#xA;

    &#xA;

    Input #0, image2, from &#x27;image.jpg&#x27;:&#xA;  Duration: 00:00:00.04, start: 0.000000, bitrate: 1763 kb/s&#xA;  Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 225x225 [SAR 1:1 DAR 1:1], 25 fps, 25 tbr, 25 tbn&#xA;Input #1, rtsp, from &#x27;rtsp://~~~~~~~~~~~~~~~&#x27;:&#xA;  Metadata:&#xA;    title           : RTMP Server &#xA;    comment         : RTMP Server Session Description : standard&#xA;  Duration: N/A, start: 0.034000, bitrate: N/A&#xA;  Stream #1:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1920x1080, 30 tbr, 90k tbn&#xA;Input #2, lavfi, from &#x27;anullsrc&#x27;:&#xA;  Duration: N/A, start: 0.000000, bitrate: 705 kb/s&#xA;  Stream #2:0: Audio: pcm_u8, 44100 Hz, stereo, u8, 705 kb/s&#xA;Codec AVOption tune (The metric that the encoder tunes for. Automatically chosen by the encoder by default) specified for output file #0 (rtmp://a.rtmp.youtube.com/live2/~~~~~~~~~~~~~~~) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.&#xA;Stream mapping:&#xA;  Stream #0:0 (mjpeg) -> overlay:overlay (graph 0)&#xA;  Stream #1:0 (h264) -> overlay:main (graph 0)&#xA;  overlay (graph 0) -> Stream #0:0 (flv)&#xA;  Stream #2:0 -> #0:1 (pcm_u8 (native) -> mp3 (libmp3lame))&#xA;Press [q] to stop, [?] for help&#xA;[rtsp @ 0000021890521700] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)&#xA;The filters &#x27;graph 0 input from stream 0:0&#x27; and &#x27;Parsed_overlay_0&#x27; do not have a common format and automatic conversion is disabled.&#xA;Error reinitializing filters!&#xA;Failed to inject frame into filter network: Invalid argument&#xA;Error while processing the decoded data for stream #0:0&#xA;Conversion failed!&#xA;

    &#xA;

    Thanks.

    &#xA;

  • FFMPEG Conversion improve quality

    1er octobre 2019, par user726720

    I have some questions regarding ffmpeg :

    I need to convert the XDCAM HD422 (yuv422p) to AVC (h.264, mp4). I’m doing it as follows :

    ffmpeg.exe -y -i path\abc.mxf  -ab 128k -acodec aac -ac 2 -strict -2 -b:v 12000k -f mp4 -g 34 -pix_fmt yuv420p -r 25 -s 1920x1080 -vcodec h264 -preset ultrafast h264file.mp4

    I have check the mp4 on a broadcast monitor and there are some visible color saturation issue’s. The quality doesn’t match the original XDCAM HD422

    1. What changes do I need to make in the above parameters to fix this ?
    2. My original file is a yuv422p and I’m using yuv420p in the above ffmpeg command, does this make a difference in the quality.
    3. Should change the preset from ultrafast to Fast make a difference.
    4. Will using the libx264 make any difference ?
    5. How does ffmeg encode from one format to another. Does it simply do a direct conversion or does it extract the RAW (yuv) from the XDCAM and then encode it into MP4 ?

    I’m just brainstorming how to improve the quality so it matches the that of XDCAM, any suggestions would be highly appreciated.