Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (10)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • 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 vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (5648)

  • libavfilter : vf_drawtext filter support draw text with detection bounding boxes in...

    14 mai 2021, par Ting Fu
    libavfilter : vf_drawtext filter support draw text with detection bounding boxes in side_data
    

    This feature can be used with dnn detection by setting vf_drawtext's option
    text_source=side_data_detection_bboxes, for example :
    ./ffmpeg -i face.jpeg -vf dnn_detect=dnn_backend=openvino:model=face-detection-adas-0001.xml :\
    input=data:output=detection_out:labels=face-detection-adas-0001.label,drawbox=box_source=
    side_data_detection_bboxes,drawtext=text_source=side_data_detection_bboxes:fontcolor=green :\
    fontsize=40, -y face_detect.jpeg
    Please note, the default fontsize of vf_drawtext is 12, which may be too
    small to be seen clearly.

    Signed-off-by : Ting Fu <ting.fu@intel.com>

    • [DH] doc/filters.texi
    • [DH] libavfilter/vf_drawtext.c
  • Raspberry Pi USB Webcam Stream to Computer using Gstreamer

    17 mars 2016, par James

    I have a fisheye usb webcam attached to a raspberry pi that I’m trying to stream to a computer. I’ve played with ffmpeg and it seems a little laggy beyond 320x240. From what I’ve read people have been happy with gstreamer.

    So I’ve tested the usb webcam and it works locally

    gst-launch-1.0 -v v4l2src device=/dev/video0 ! 'video/x-raw,width=640,height=480' ! glimagesink

    These are the commands I’ve been trying to use to get the video to my computer. However, all I’m seeing is a green window.

    TCP Sever :gst-launch-1.0 -v v4l2src device=/dev/video0 ! 'video/x-raw,width=640,height=480,framerate=30/1' ! x264enc byte-stream=true ! rtph264pay ! gdppay ! tcpserversink host=192.168.200.38 port=5000 sync=false

    TCP Client : gst-launch-1.0 -v tcpclientsrc host=192.168.200.38 port=5000  ! gdpdepay !  rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false

    or

    UDP Server :
    gst-launch-1.0 -v v4l2src device=/dev/video0 ! 'video/x-raw,width=640,height=480,framerate=30/1' ! x264enc byte-stream=true  ! rtph264pay ! gdppay ! udpsink host=192.168.200.37 port=5000 sync=false

    UDP Client :
    gst-launch-1.0 -v udpsrc port=5000  ! gdpdepay !  rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false

    I figure I must be piping the plugins wrong somehow. Any advice is appreciated.

  • FFMPEG RTSP issue

    18 mars 2019, par Joshua G

    So I am trying to stream an EZVIZ camera using FFMPEG. I am able to connect to the camera but when setting a duration like 5 or 10 seconds I get videos of random lengths (7, 5, 10, 30, etc). Sometimes the videos generated are black, sometimes green (though I can see the outlines of things and parts of the timestamp when it is green). I also get videos that show a length say 3 mins or so but they play ulta-fast, like a 3 min video plays in a millisecond and they are all black. Below is the log. Any help would be great !

    ./ffmpeg.exe -err_detect ignore_err -rtsp_transport tcp -i rtsp://un:pw@192.168.0.2/Streaming/channels/101 -vcodec copy -t 00:00:10 c:/Temp/vid.mp4
    ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7.3.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    [h264 @ 046d7840] non-existing PPS 60 referenced
       Last message repeated 1 times
    [h264 @ 046d7840] decode_slice_header error
    [h264 @ 046d7840] no frame!
    [h264 @ 046d7840] non-existing PPS 2 referenced
       Last message repeated 1 times
    [h264 @ 046d7840] decode_slice_header error
    [h264 @ 046d7840] no frame!
    [h264 @ 046d7840] cabac_init_idc 5 overflow
    [h264 @ 046d7840] decode_slice_header error
    [h264 @ 046d7840] no frame!
    [h264 @ 046d7840] concealing 15924 DC, 15924 AC, 15924 MV errors in P frame
    [h264 @ 046d7840] number of reference frames (0+2) exceeds max (1; probably corrupt input), discarding one
    [h264 @ 046d7840] non-existing PPS 28 referenced
       Last message repeated 1 times
    [h264 @ 046d7840] decode_slice_header error
    [h264 @ 046d7840] no frame!
    [h264 @ 046d7840] non-existing PPS 7 referenced
       Last message repeated 1 times
    [h264 @ 046d7840] decode_slice_header error
    [h264 @ 046d7840] no frame!
    [h264 @ 046d7840] illegal aspect ratio
    [h264 @ 046d7840] non-existing PPS 1 referenced
    [h264 @ 046d7840] illegal aspect ratio
       Last message repeated 2 times
    [h264 @ 046d7840] A non-intra slice in an IDR NAL unit.
    [h264 @ 046d7840] decode_slice_header error
    [h264 @ 046d7840] no frame!
    [h264 @ 046d7840] Missing reference picture, default is 0
    [h264 @ 046d7840] decode_slice_header error
    [h264 @ 046d7840] Frame num change from 3 to 413
    [h264 @ 046d7840] decode_slice_header error
    [h264 @ 046d7840] non-existing PPS 1 referenced
    [h264 @ 046d7840] decode_slice_header error
    [h264 @ 046d7840] non-existing PPS 23 referenced
    [h264 @ 046d7840] decode_slice_header error
    [h264 @ 046d7840] slice type 32 too large at 2
    [h264 @ 046d7840] decode_slice_header error
    [h264 @ 046d7840] reference count 1 overflow
    [h264 @ 046d7840] slice type 15 too large at 0
    [h264 @ 046d7840] decode_slice_header error
    [h264 @ 046d7840] no frame!
    [h264 @ 046d7840] non-existing PPS 22 referenced
    [h264 @ 046d7840] decode_slice_header error
    [h264 @ 046d7840] non-existing PPS 1 referenced
    [h264 @ 046d7840] decode_slice_header error
    [h264 @ 046d7840] Frame num change from 31 to 495
    [h264 @ 046d7840] decode_slice_header error
    [rtsp @ 046d4f00] decoding for stream 0 failed
    Input #0, rtsp, from 'rtsp://admin:b729sefc@192.168.0.2/Streaming/channels/101':
     Metadata:
       title           : Media Server V3.2.1
       comment         : Media Server Session Description : standard
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 2688x1520 [SAR 1:1 DAR 168:95], 10 fps, 10 tbr, 90k tbn, 20 tbc
    Output #0, mp4, to 'c:/Temp/vid.mp4':
     Metadata:
       title           : Media Server V3.2.1
       comment         : Media Server Session Description : standard
       encoder         : Lavf58.12.100
       Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 2688x1520 [SAR 1:1 DAR 168:95], q=2-31, 10 fps, 10 tbr, 90k tbn, 90k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    [NULL @ 046d7840] illegal reordering_of_pic_nums_idc 706.80 bitrate=1850.5kbits/s speed=5.97x
    [NULL @ 046d7840] illegal aspect ratio
    [NULL @ 046d7840] non-existing PPS 1 referenced=00:00:07.70 bitrate=2178.9kbits/s speed=4.51x
    [NULL @ 046d7840] reference count 2 overflowime=00:00:09.30 bitrate=2255.0kbits/s speed=2.74x
    [NULL @ 046d7840] non-existing PPS 1 referenced
    frame=   63 fps= 15 q=-1.0 Lsize=    2781kB time=00:00:09.90 bitrate=2301.5kbits/s speed=2.41x
    video:2780kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.054839%