Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (88)

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

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • 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

Sur d’autres sites (6339)

  • When assigning an IP via Docker container macvlan and sending video to that container, will the data be limited ?

    11 septembre 2023, par leejh

    I created a macvlan network as shown below.

    


    docker network create -d macvlan \
    --subnet=192.168.1.0/24 \
    --gateway=192.168.1.1 \
    -o parent=eno1 \
    macvlan_network


    


    And the container was created as shown below.

    


    The plan was to create a mistserver inside the container to send and receive video via IP.

    


    docker run -d --name mistserver1 --restart=always -v mistserver_config:/config -v /home/ketivrar/detr2:/home/shared_folder --net=macvlan_network --ip 192.168.1.16 r0gger/mistserver


    


    There is no problem when transmitting video in the directory using the Mist server.

    


    An error occurs when transmitting video using ffmpeg as shown below.

    


    ffmpeg -re -i test7_10.mp4 -c:v libx264 -preset medium -b:v 8000k -f flv rtmp://192.168.1.16/live/cam1


    


    If you run the above command, the following error will occur and it will stop.

    


    av_interleaved_write_frame(): Connection reset by peer58.73 bitrate=8053.7kbits/s dup=0 drop=4 speed=0.948x
[flv @ 0x5582ab9e6e00] Failed to update header with correct duration.
[flv @ 0x5582ab9e6e00] Failed to update header with correct filesize.
Error writing trailer of rtmp://192.168.1.2/live/cam1: Connection reset by peer
frame= 1845 fps= 29 q=33.0 Lsize=   57806kB time=00:00:58.86 bitrate=8044.2kbits/s dup=0 drop=4 speed=0.94x


    


    I wonder what the reason is...

    


    I created two streams on the Mist server and sent video to each stream simultaneously.

    


    ffmpeg -re -i test7_10.mp4 -c:v libx264 -preset medium -b:v 8000k -f flv rtmp://192.168.1.16/live/cam1


    


    ffmpeg -re -i test7_10.mp4 -c:v libx264 -preset medium -b:v 8000k -f flv rtmp://192.168.1.16/live/cam2


    


    av_interleaved_write_frame(): Connection reset by peer29.46 bitrate=8135.7kbits/s dup=0 drop=2 speed=0.343x
[flv @ 0x55975fb05e00] Failed to update header with correct duration.
[flv @ 0x55975fb05e00] Failed to update header with correct filesize.
Error writing trailer of rtmp://192.168.1.16/live/cam1: Connection reset by peer
frame=  971 fps= 11 q=33.0 Lsize=   29395kB time=00:00:29.66 bitrate=8116.6kbits/s dup=0 drop=2 speed=0.34x



####


av_interleaved_write_frame(): Connection reset by peer25.06 bitrate=8313.0kbits/s dup=0 drop=1 speed=0.292x
[flv @ 0x55ce4a7ce340] Failed to update header with correct duration.
[flv @ 0x55ce4a7ce340] Failed to update header with correct filesize.
Error writing trailer of rtmp://192.168.1.16/live/rtsp: Connection reset by peer
frame=  853 fps=9.8 q=33.0 Lsize=   25857kB time=00:00:25.76 bitrate=8220.2kbits/s dup=0 drop=2 speed=0.297x



    


    It seems to stop before the total size of the two reaches 60000.

    


    This time, I sent the video using OBS.

    


    I confirmed that the connection was disconnected and reconnected at a similar time as ffmpeg.

    


    I think there is a size limit somewhere. Could you please tell me a solution or the exact problem ?

    


    +++++

    


    ffmpeg -re -i test7_10.mp4 -c:v libx264 -preset medium -b:v 4000k -f flv rtmp://192.168.1.16/live/cam1


    


    ->

    


    [flv @ 0x56547e6f1e00] Failed to update header with correct duration.019.0kbits/s dup=0 drop=12 speed=0.982x
[flv @ 0x56547e6f1e00] Failed to update header with correct filesize.
frame= 5328 fps= 30 q=-1.0 Lsize=   87550kB time=00:02:57.93 bitrate=4030.8kbits/s dup=0 drop=12 speed=0.996x


    


    success !

    


    ffmpeg -re -i test7_10.mp4 -c:v libx264 -preset medium -b:v 5000k -f flv rtmp://192.168.1.16/live/cam1


    


    ->

    


    av_interleaved_write_frame(): Connection reset by peer30.63 bitrate=5039.7kbits/s dup=0 drop=6 speed=0.965x
[flv @ 0x555ad97f7e00] Failed to update header with correct duration.
[flv @ 0x555ad97f7e00] Failed to update header with correct filesize.
Error writing trailer of rtmp://192.168.1.16/live/cam1: Connection reset by peer
frame= 2802 fps= 30 q=37.0 Lsize=   55876kB time=00:01:30.83 bitrate=5039.3kbits/s dup=0 drop=6 speed=0.962x


    


    fail...

    


    I only adjusted -b:v 5000k, but the results were mixed.

    


    Are there any resource limits for each container ?

    


    I didn't set it up separately.

    


  • avutil/avutil : make AV_TIME_BASE_Q available in C++

    18 septembre 2023, par Zhao Zhili
    avutil/avutil : make AV_TIME_BASE_Q available in C++
    

    ISO C++ forbids compound-literals. It's not available with MSVC.
    This is a known issue from 10 years ago, and that's why there is a
    av_get_time_base_q().

    Since we have no plan to remove AV_TIME_BASE_Q, just make it
    available in C++.

    There are multiple choices :
    1. Use C++11 syntax : AVRational1, AV_TIME_BASE

    Users may still use C++98 to write new code. So no.

    2. Use av_get_time_base_q().

    It's for this purpose. But it's not compile time constants as
    AV_TIME_BASE_Q in C.

    So I choose av_make_q() as Anton's suggestion.

    https://libav-devel.libav.narkive.com/ZQCWfTun/patch-0-2-fix-avutil-h-usage-from-c
    Signed-off-by : Zhao Zhili <zhilizhao@tencent.com>

    • [DH] doc/APIchanges
    • [DH] libavutil/avutil.h
    • [DH] libavutil/version.h
  • What is the Best Approach for Storing and Displaying Video Files as Base64 in HTML for High Performance and Efficiency ? [closed]

    25 août 2023, par Barthez

    I'm currently working on a project where I need to allow users to upload videos, which will then be converted to Base64 and embedded within an HTML file. I'm reaching out to gain a better understanding of the best practices for accomplishing this task while adhering to Stack Overflow guidelines.Here's my plan so far:Video Upload : Users will be able to upload videos through a web interface.Conversion to Base64 : The uploaded video will be converted to Base64 using [specific library/tool].Embedding in HTML : The Base64 encoded video will be embedded within an HTML file using the tag.Before I proceed, I have a few questions:Are there any particular libraries or tools you recommend for converting videos to Base64 efficiently ?What are the potential performance implications of embedding Base64 videos in HTML files, especially considering large video files ?Are there any security concerns I should be aware of when implementing this process ?How can I ensure cross-browser compatibility when embedding these Base64 videos ?Are there any alternatives to this approach that might be more efficient or manageable ?I want to make sure I'm following best practices and avoiding any pitfalls, so any insights, tips would be greatly appreciated. Thank you for your time and assistance !

    &#xA;

    I attempted to convert an uploaded video to Base64 and embed it within an HTML file.

    &#xA;