Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (105)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (10887)

  • Muxing h264 with media type change into MP4

    31 octobre 2017, par Taras.Igorovich

    I’m trying to mux h264 into mp4 container with resolution change, for example from 720p to 1080p. The problem is that when I add SPS/PPS as extradata, I don’t see two sample descriptions (stsd), but one with avcc data that contains both SPS/PPS for different resolutions. In this case video is not playing well, because samples after resolution change will still refer to same sample description.

    Would appreciate if somebody could point me into right direction in case of mp4 files with multiple media types.

    NOTE : I don’t want to use different sps/pps.id and single sample description

  • how to stream an IP webcam (h264) to youtube live rtmp using avconv or ffmpeg ?

    20 juin 2015, par Baba

    I have an IP webcam HiSilicon Hi3516C that I can successfully access from a raspberry pi. I can get still images by using a command like this :

    avconv -i "rtsp://192.168.1.10:554" myfile.jpg

    now instead of still images I would like to stream the video to youtube live. I have configured an event in my youtube live account and gotten a stream name and a rtmp url.

    My youtube ingestion settings are :
    custom ingestion : bitrate 400kbps - 1000 kbps (360p)
    encoder : Other encoder

    my webcam specs says :
    Webcam : HiSilicon Hi3516C
    Video Encoding
    - H.264 baseline profile
    - H.264 main profile Level 4.0
    - MJPEG/JPEG baseline
    Video Encoding Performance
    - At most 2-megapixel resolution for H.264 encoding
    - Real-time H.264&JPEG encoding of multiple types of
    streams : 1080p@30 fps+VGA@30 fps + JPEG snapshot
    1080p@1 fps
    - Supports constant bit rate (CBR) mode and variable bit
    rate (VBR) mode.
    - Supports the output bit rate ranging from 32 Kbit/s to 40
    Mbit/s.
    - Encoding frame rate, ranging from 1/16 frame/s to 30
    frame/s
    - Eight ROIs
    - OSD overlay of eight regions before encoding

    I am not sure what command line to issue in order to properly encode and send my stream to my you tube event. So far I have tried :

    avconv  -i rtsp://192.168.1.10:554 -r 20 -b 750 -f flv rtmp://a.rtmp.youtube.com/live2

    (note that I haven’t used the stream name provided by youtube since I do not know where to specify it) this returns the following :

    [h264 @ 0x1fb0380] RTP : missed 273 packets
    [h264 @ 0x1fb0380] RTP : missed 191 packets
    [h264 @ 0x1fb0380] RTP : missed 225 packets
    [h264 @ 0x1fb0380] RTP : missed 332 packets
    [h264 @ 0x1fb0380] RTP : missed 349 packets
    [h264 @ 0x1fb0380] RTP : missed 339 packets
    [rtsp @ 0x1fac640] max_analyze_duration reached
    [rtsp @ 0x1fac640] Estimating duration from bitrate, this may be inaccurate
    Guessed Channel Layout for Input Stream #0.1 : mono
    Input #0, rtsp, from ’rtsp ://192.168.1.10:554’ :
    Metadata :
    title :
    comment : minisdp
    Duration : N/A, start : 0.040000, bitrate : N/A
    Stream #0.0 : Video : h264 (Main), yuv420p, 1920x1080, 2.23 fps, 90k tbn
    Stream #0.1 : Audio : [0][0][0][0] / 0x0000, 8000 Hz, mono
    RTMP_ReadPacket, failed to read RTMP packet header
    rtmp ://a.rtmp.youtube.com/live2 : Unknown error occurred

    I have also tried

    avconv -f h264  -i rtsp://192.168.1.10:554 -r 20 -b 750 -f flv rtmp://a.rtmp.youtube.com/live2

    which gives : rtsp ://192.168.1.10:554 : Protocol not found

    and

    avconv -rtsp_transport tcp   -i rtsp://192.168.1.10:554 -r 20 -b 750 -f flv rtmp://a.rtmp.youtube.com/live2p

    which gives :
    [rtsp @ 0xf8680] max_analyze_duration reached
    [rtsp @ 0xf8680] Estimating duration from bitrate, this may be inaccurate
    Guessed Channel Layout for Input Stream #0.1 : mono
    Input #0, rtsp, from ’rtsp ://192.168.1.10:554’ :
    Metadata :
    title :
    comment : minisdp
    Duration : N/A, start : 0.040000, bitrate : N/A
    Stream #0.0 : Video : h264 (Main), yuv420p, 1920x1080, 25 fps, 1k tbr, 90k tbn
    Stream #0.1 : Audio : [0][0][0][0] / 0x0000, 8000 Hz, mono
    RTMP_ReadPacket, failed to read RTMP packet header
    rtmp ://a.rtmp.youtube.com/live2p : Unknown error occurred

    Any hint, suggestions ?
    I know very little about, video formats, codecs and streaming in general so any help is welcome. I would not mind using ffmpeg instead if anyone knows what command to issue.

  • ffmpeg performence when encode mpeg2

    25 août 2015, par Gang Chen

    when i encode a 1080p mpeg2 format video with avcodec_encode_video2, the avcodec_encode_video2 will cost 100ms per frame.

    how can i decrease the encode time ?

    encode paramter as below :

    bit_rate 20000000
    width 1920
    heigth 1080
    time_base  (AVRational){1, 30}
    gop_size = 15;
    max_b_frames = 2;
    trellis = 2;
    me_cmp = 2;
    me_sub_cmp = 2;
    pix_fmt = AV_PIX_FMT_YUV420P;

    =====================================
    This question body does not meet our quality standards. Please make sure that it completely describes your problem - including what you have already tried - and is written using proper grammar.This question body does not meet our quality standards. Please make sure that it completely describes your problem - including what you have already tried - and is written using proper grammar.This question body does not meet our quality standards. Please make sure that it completely describes your problem - including what you have already tried - and is written using proper grammar.This question body does not meet our quality standards. Please make sure that it completely describes your problem - including what you have already tried - and is written using proper grammar.