Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (23)

  • 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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (7046)

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

  • Vulkan Validation Error from FFMPEG creating an image : VUID-VkImageCreateInfo-pNext-06811

    11 mars 2024, par cecil

    I have an AMD Radeon RX 7800 XT and am using the MESA video driver on Arch Linux.

    


    I've been struggling to work out the code to decode an H265 video with FFMPEG (using Vulkan Video) and get the decoded image into a texture I can render using Vulkan.

    


    At the point that I call avcodec_send_packet() the following debug information is output :

    


    [hevc @ 0x5190001a1380] Decoding VPS
[hevc @ 0x5190001a1380] Main profile bitstream
[hevc @ 0x5190001a1380] Decoding SPS
[hevc @ 0x5190001a1380] Main profile bitstream
[hevc @ 0x5190001a1380] Decoding VUI
[hevc @ 0x5190001a1380] Decoding PPS
[hevc @ 0x5190001a1380] Format vulkan chosen by get_format().
[hevc @ 0x5190001a1380] Format vulkan requires hwaccel initialisation.
[hevc @ 0x5190001a1380] Decoder capabilities for hevc profile "Main":
[hevc @ 0x5190001a1380]     Maximum level: 51 (stream 183)
[hevc @ 0x5190001a1380]     Width: from 16 to 8192
[hevc @ 0x5190001a1380]     Height: from 16 to 4352
[hevc @ 0x5190001a1380]     Width alignment: 16
[hevc @ 0x5190001a1380]     Height alignment: 16
[hevc @ 0x5190001a1380]     Bitstream offset alignment: 128
[hevc @ 0x5190001a1380]     Bitstream size alignment: 128
[hevc @ 0x5190001a1380]     Maximum references: 17
[hevc @ 0x5190001a1380]     Maximum active references: 8
[hevc @ 0x5190001a1380]     Codec header name: 'VK_STD_vulkan_video_codec_h265_decode' (driver), 'VK_STD_vulkan_video_codec_h265_decode' (compiled)
[hevc @ 0x5190001a1380]     Codec header version: 1.0.0 (driver), 1.0.0 (compiled)
[hevc @ 0x5190001a1380]     Decode modes: dedicated_dpb
[hevc @ 0x5190001a1380]     Capability flags: separate_references
[hevc @ 0x5190001a1380] Choosing best pixel format for decoding from 1:
[hevc @ 0x5190001a1380]     nv12* (Vulkan ID: 1000156003)
[hevc @ 0x5190001a1380] Chosen frame pixfmt: nv12 (Vulkan ID: 1000156003)
[ERROR] Validation Error: [ VUID-VkImageCreateInfo-pNext-06811 ] | MessageID = 0x30f4ac70 | vkCreateImage(): pCreateInfo specifies flags (VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT|VK_IMAGE_CREATE_EXTENDED_USAGE_BIT|VK_IMAGE_CREATE_ALIAS_BIT), format (VK_FORMAT_G8_B8R8_2PLANE_420_UNORM), imageType (VK_IMAGE_TYPE_2D), and tiling (VK_IMAGE_TILING_OPTIMAL) which are not supported by any of the supported video format properties for the video profiles specified in the VkVideoProfileListInfoKHR structure included in the pCreateInfo->pNext chain, as reported by vkGetPhysicalDeviceVideoFormatPropertiesKHR for the same video profiles and the image usage flags specified in pCreateInfo->usage (VK_IMAGE_USAGE_TRANSFER_SRC_BIT|VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR). The Vulkan spec states: If the pNext chain includes a VkVideoProfileListInfoKHR structure with profileCount greater than 0, then supportedVideoFormat must be VK_TRUE (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkImageCreateInfo-pNext-06811)
[hevc @ 0x5190001a1380] Allocating 131072 bytes in bind index 0 for video session
[hevc @ 0x5190001a1380] Allocating 43614208 bytes in bind index 1 for video session
[hevc @ 0x5190001a1380] Vulkan decoder initialization sucessful


    


    I'm concerned about the validation error regarding an image creation. If I allow the program to continue decoding frames, this validation error appears a total of 6 times, but then stops as subsequent frames are decoded without any more validation errors.

    


    I'm unsure if this is a problem or not. FFMPEG reports "Vulkan decoder initialization sucessful" despite the validation error.

    


    I am unsure exactly what to do after calling avcodec_receive_frame() to get the decoded frame but did not want to try and proceed if there is a problem already with the images FFMPEG is creating.

    


  • Video tube site on wordpress dedicated server mp4 only streams on android firefox

    9 mai 2015, par Steven Minix

    I have a video tube site that is quite popular and I am having an issue with my mp4 files streaming on android devices. When using Mozilla Firefox on android my videos play and seek perfectly. When using google chrome or default Android browser they do not play at all. I ran one of my videos through mp4box with a few settings and I got it to play on those browser in Android but they break when trying to seek. So at this stage the videos still play fine on Firefox in Android but now even though the video will start playing rather quickly on the other two browsers the videos will not seek properly as seeking will cause the video to break and restart itself. I am in a wordpress installation on a dedicated server.

    server specs:
    PHP 5.2.4 or greater
    MySQL 5.0 or greater
    PHP cURL extension
    PHP Zlib extension
    Unix-like OS (Windows is not supported)
    PHP 5.3, 5.4, 5.5 yes
    IonCube Loader 4.6.1 or above yes
    Mysql 5.0 or above and its support in PHP yes
    FFmpeg 1.0 or above with libx264, libavfilter and AAC codec (libfaac, libfdk_aac or native ffmpeg aac codec) yes
    cURL and its support in PHP yes
    Apache + mod_rewrite + (MultiViews option disabled) yes, not sure about multi views, please ask how this is done.
    Zlib library yes
    XML extension yes
    GD2 with true type font (required!) yes
    Ability to exec PHP from CLI using exec() command yes
    PHP register_globals off yes
    PHP magic_quotes_gpc off yes
    PHP safe_mode off yes
    PHP file_uploads on yes
    PHP allow_url_fopen on yes

    The files are MP4 with the meta data at the front of the file and playing in the standard wordpress video player(or any html5 based player as I have tried quite a few and all have the same result)

    I had to ask my server admin to install ffmpeg for my streaming is it possible they did not add the right commands ?

    I have no idea what my videos are doing on Apple devices but I assume it is okay since Google Analytics shows a low bounce rate from that devices.

    If any issue is on service side I want to contact them armed with facts. I appreciate your help in this matter.

    EDIT : FFMPEG SERVER CONFIGURATION :
    root@dwhsv160 [ /ffmpeginstaller.8.0]# ffmpeg -version
    ffmpeg version N-71403-g415f1fa-syslint Copyright (c) 2000-2015 the FFmpeg developers
    built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
    configuration : —prefix=/usr/local/cpffmpeg —enable-shared —enable-nonfree —enable-gpl —enable-pthreads —enable-libopencore-amrnb —enable-decoder=liba52 —enable-libopencore-amrwb —enable-libfaac —enable-libmp3lame —enable-libtheora —enable-libvorbis —enable-libx264 —enable-libxvid —extra-cflags=-I/usr/local/cpffmpeg/include/ —extra-ldflags=-L/usr/local/cpffmpeg/lib —enable-version3 —extra-version=syslint
    libavutil 54. 22.101 / 54. 22.101
    libavcodec 56. 34.100 / 56. 34.100
    libavformat 56. 30.100 / 56. 30.100
    libavdevice 56. 4.100 / 56. 4.100
    libavfilter 5. 13.101 / 5. 13.101
    libswscale 3. 1.101 / 3. 1.101
    libswresample 1. 1.100 / 1. 1.100
    libpostproc 53. 3.100 / 53. 3.100

    The few things I tried with the mp4 that got them to play but still not seek properly were running them through mp4box with no special settings and simply remuxing them. I also tried a couple special settings like adding a hint track and other things none resulted in the file streaming properly in chrome or default android browser. AGAIN my files stream fine on all desktops and in FIREFOX on android but DO NOT work in chrome on android or default android browser.