Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (62)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (7714)

  • Fully scraping m3u8 with ffmpeg without recoding

    12 novembre 2022, par gsemyong

    There is a manifest living on the server (index.m3u8) containing data about child manifests (for different video qualities) which in turn contain segment names. Is it possible to provide to ffmpeg (or any other tool) url of index.m3u8, to get all index.m3u8, child manifests and video segments, preserving playlist structure and files as is (that means without recoding, etc.) ?

    


    Thank you in advance !

    


    I tried searching for different flags. There is an option to download segments without recoding, but the names and manifests are not preserved. Tried to find a tool to generate manifests from existing segments based on different rules - didn't find any. I think I can always reserve to writing manifests generation from scratch, but would like to avoid it :)

    


  • Publishing an RTSP stream from my IP camera to a remote MediaMTX / RTSP Simple Server using FFmpeg and Azure [closed]

    28 janvier 2024, par cmd

    Using FFmpeg, I am trying to publish the RTSP stream from my IP camera to an Azure VM running a MediaMTX instance https://github.com/bluenviron/mediamtx. My intention is for the stream to be accessible from other remote connections by connecting to the VM.

    


    I was able to setup a local MediaMTX server on my laptopm, and publish the stream using this FFmpeg command :

    


    ffmpeg -i rtsp://<camera username="username">:<camera password="password">@<camera local="local" ip="ip">:554 -c:v copy -c:a copy -f rtsp rtsp://<laptop local="local" ip="ip">:8554/stream/mystream&#xA;</laptop></camera></camera></camera>

    &#xA;

    This worked fine, as I was able to connect to the MediaMTX server in VLC player to view the stream. However, I have setup an Azure VM running Windows 10, and run the same MediaMTX instance on it. I have attempted to publish the RTSP stream from the IP camera using the same command, but with the Laptop IP replaced with the address of the VM, but this doesn't work.

    &#xA;

    I have disabled the Windows Firewall on my laptop and the VM, but the stream can still not be published. I have also tried the same approach by running the MediaMTX server on my friend's computer on his network, and adding the necessary port forwarding rules to his router. I am unable to edit any rules on the router where I am living however.

    &#xA;

    What else might be causing this issue, and is there any way to publish the IP camera's RTSP to a remote server where it could then be read ?

    &#xA;

  • av_read_frame() in ffmpeg returns -5 while receiving UDP data [closed]

    26 février 2024, par zttang

    I'm working on an app which is using ffmpeg lib. There is a living source keep sending TS stream thru udp. Then I allocated a thread use ffmpeg receive the TS packets. the code for this thread is like :

    &#xA;

    void* av_source_thread(void *data) {&#xA;    char udp_url[50];&#xA;    snprintf(udp_url, sizeof(udp_url), "udp://127.0.0.1:12345");&#xA;    AVDictionary* options = NULL;&#xA;    av_dict_set(&amp;options, "timeout", "500000", 0);  // timeout=0.5s&#xA;    av_dict_set(&amp;options, "overrun_nonfatal", "1", 0);&#xA;    av_dict_set(&amp;options, "fifo_size", "278876", 0);  //50MB&#xA;&#xA;    AVFormatContext *ffmpeg_source = avformat_alloc_context();&#xA;    while (running) {&#xA;        if (avformat_open_input(&amp;ffmpeg_source, udp_url, NULL, &amp;options) != 0) {&#xA;            continue;&#xA;        } else {&#xA;            break;&#xA;        }&#xA;    }&#xA;    // Some code fill codec type and alloc context here&#xA;&#xA;    av_format_inject_global_side_data(ffmpeg_source);&#xA;    AVPacket *packet = av_packet_alloc();&#xA;    while (running) {&#xA;        ret = av_read_frame(ffmpeg_source, packet);&#xA;        if (ret &lt; 0) {&#xA;            char errbuf[AV_ERROR_MAX_STRING_SIZE];&#xA;            av_strerror(ret, errbuf, AV_ERROR_MAX_STRING_SIZE);&#xA;            usleep(10000);&#xA;            log("av_read_frame failed, Exit, %s, %d", errbuf, ret);&#xA;            continue;&#xA;        }&#xA;        putPkt2Q(packet);  &#xA;    }&#xA;    av_packet_free(&amp;packet);&#xA;    avformat_close_input(&amp;ffmpeg_source);&#xA;    av_dict_free(&amp;options);&#xA;    return nullptr;&#xA;}&#xA;

    &#xA;

    Then the packets will be sent to Q and other thread will process them. but when I run the program, the av_read_frame will return -5(I/O error) from time to time. and once it returned -5, it can not recover unless I restart this thread.

    &#xA;

    since this is a real time source, so lost some frames are acceptable, I just want to know how to avoid this kind of issue or how to recover without restart the whole thread. I tried to increase the fifo_size in options, but it does not work.

    &#xA;