Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (36)

  • 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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (6706)

  • How can I make an rtsp stream as correct as possible in a Django application ? [closed]

    4 décembre 2024, par user25336067

    I am writing a mini video surveillance system on Django. I want the stream to be output to the tag. now I have output to the img tag using a stream and jpeg images (using OpenCV)how to make a stream from a video, you may need to use WebRTC for the stream and somehow decode the video using ffmpeg, please tell me

    


    def generate_frames(rtsp_url):
    cap = cv2.VideoCapture(rtsp_url)  # Замените на ваш RTSP URL

    while True:
        success, frame = cap.read()
        if not success:
            break

        # Кодируем кадр в JPEG
        ret, buffer = cv2.imencode('.jpeg', frame)
        frame = buffer.tobytes()

        yield (b'--frame\r\n'
               b'Content-Type: photo/jpg\r\n\r\n' + frame + b'\r\n')


    


    i vant to stop video and start in video tag
my html looks like this

    


      <div class="video-container">&#xA;    <img src="http://stackoverflow.com/feeds/tag/{% url &#38;#x27;video_feed&#38;#x27; %}?rtspurl={{ rtsp_url }}" width='300' height='225' alt="{{ rtsp_url }}" />&#xA;    <div class="separator"></div>  &#xA;    <p class="cam-name">Трансляция камеры: {{ cam_name }}<br />RTSP: <a>{{ rtsp_url }}</a></p>&#xA;  </div>&#xA;

    &#xA;

  • QtAV render in a widget crashes on application close

    23 novembre 2017, par user3606329

    I compiled FFmpeg statically + QtAV statically and QT statically.

    Once I add the QtAV player in a QWidget it crashes on application close. Did I miss any cleanup procdure ?

    MainWindow::MainWindow(QWidget *parent) :
       QMainWindow(parent),
       ui(new Ui::MainWindow)
    {
       ui->setupUi(this);
       QtAV::setLogLevel(QtAV::LogAll);


       AVPlayer *player = new AVPlayer();
       WidgetRenderer *renderer = new WidgetRenderer();
       renderer->show();
       player->addVideoRenderer(renderer);
       player->setFile("C:\\abc.mp4");
       ui->verticalLayout->addWidget(renderer->widget()); # will cause crash on exit.
       player->play();

    }

    MainWindow::~MainWindow()
    {
     //  delete player; # I tried this and also the removal of the widget
    //   delete renderer; # It still does crash
       delete ui;
    }

    The crash comes from

    WidgetRenderer *renderer = new WidgetRenderer();

    Once the renderer is embedded in a QWidget the application can’t exit gracefully somehow.

    I already tried to clean it up, remove the widget, delete the object, etc. but the crash still remains.

    The player works great and plays the videos ! It only gives a crash when the application is closed. (Doesn’t exit gracefully somehow).

    The QtAV log does not print anything about it.

  • Anomalie #4220 : Articles qui changent de langues

    12 novembre 2018, par denis -

    Salut, voici déjà plus d’infos sur un site où ça survient régulièrement. Je ne sais pas d’où vient le bug, directement de spip où d’un des plugins listés ci-dessous. C’est évidemment difficile de reproduire le bug dans un site nu vu qu’il ne survient sans doute après une opération spécifique qui ne se produit que tout les x semaines.

    Est-ce qu’il serait possible dans un premier temps de logger toutes les requêtes sql ? Pour pouvoir tracer l’origine du problème.

    SPIP 3.2.1 [23954]

    Abonnement à des listes de diffusion 1.1.12 - stable
    Agenda 3.18.7 - stable
    Champs Extras 3.11.5 - stable
    Facteur 3.5.2 - stable
    Ma lettre 3.3.6 - stable
    MailShot 1.23.0 - stable
    MailSubscribers 2.7.1 - stable
    Menu de langues avec liens 1.3.3 - stable
    Metas + 1.2.8 - stable
    Métadonnées pour Open Graph, Duclin Core et Twitter
    Mini Calendrier 2.4.1 - stable
    Newsletters 1.5.3 - stable
    NoSPAM 1.5.18 - stable
    oEmbed 2.0.5 - stable
    Saisies pour formulaires 2.24.3 - stable
    Sedna 1.3.5 - stable
    Agrégateur RSS
    SPIP Bonux 3.4.6 - stable
    Traduction d’articles autrement 1.4.3 - stable