Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (108)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (12540)

  • Passing raw RTMP video data to FFmpeg

    24 décembre 2019, par don_aman

    I am trying to implement a simple RTMP client in Node.js using TCP sockets and FFmpeg. Until now I have implemented the connection to a stream, after which the server starts sending video and audio data messages. According to Wireshark the first byte of such messages contains information related to the type of frame and data encoding (codecs), in my client app video data is in "Sorensen H.263" format.

    When I use ffplay to play the stream, it logs the video data is in FLV format, but when passing the packets payload data to ffmpeg using this format I always get this error :

    pipe:: Invalid data found when processing input

    What parameters should I provide to ffmpeg when piping RTMP video data to get proper video output in any desired format ?

  • Extract luminance data using ffmpeg libavfilter, specifically PIX_FMT_YUV420P type

    12 mars 2014, par id128

    This pertains to ffmpeg 0.7 (yes I know it's old, but data access should be similar).

    I am writing a libavfilter to extract the luminance data from each frame. In draw_slice() function I have access to AVFilterLink structure which in turn gives me access to AVFilterBufferRef structure that have uint8_t *data[] pointers. With the PIX_FMT_YUV420P type, I think data[0], data[1], data[2] refers to Y U V channels respectively.

    My question is, with the pointer to data[0] (luminance plane), how do I interpret the data ? The pixfmt.h header file states :

    PIX_FMT_YUV420P, ///< planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)

    does that mean I have to interpret the luminance plane data every 2 bytes ? Also, what exactly is the datatype for the values pointed to by the pointer - int, float, etc ?

    Thanks in advance

  • Is There ANYWAY to see the x_test data and labels after the train test split functions operations

    10 février 2023, par MatPar

    I am have been searching google etc for a solution to this challenge for a few weeks now.

    &#xA;

    What is it ?&#xA;I am trying to visualise the data that is being used in the XTEST Variable via the split() function below.

    &#xA;

    Either via text/string output or the actual image that is being used therein that variable at that given time. Both would be very helpful.

    &#xA;

    For now I am using 80 videos in a Training 80 : Testing 20 split, where the validation is taking 20% of Training.

    &#xA;

    I selected various types of data for the training to see how well the model is at predicting the outcome.

    &#xA;

    So in the end I have just 16 videos for Testing for now.

    &#xA;

    WHAT I AM TRYING TO SOLVE : IS ==> what those videos are ?!!!

    &#xA;

    I have no way of knowing what selection of videos were chosen in that group of 16 for processing.

    &#xA;

    To solve this, I am trying to pass in the video label so that it can present an ID of the specific selection within the XTEST data variable.

    &#xA;

    WHY I AM DOING THIS&#xA;The model is being challenge by a selection of videos that I have no control over.&#xA;If I can identify these videos, I can analyse the data and enhance the model's performance accordingly.

    &#xA;

    The confusion matrix is doing the same, it is presenting me with just 4 misclassifications but what those 4 misclassifications are ? I have no clue.

    &#xA;

    That is not a good approach, hence me asking these questions.

    &#xA;

    ** THE CODE ** where I am at

    &#xA;

    X_train, Xtest, Y_train, Ytest = train_test_split(X, Y, train_size=0.8, test_size=0.2, random_state=1, stratify=Y, shuffle=True)&#xA;#print(Xtest)&#xA;&#xA;history = model.fit(X_train, Y_train, validation_split=0.20, batch_size=args.batch,epochs=args.epoch, verbose=1, callbacks=[rlronp], shuffle=True)&#xA;&#xA;predict_labels = model.predict(Xtest, batch_size=args.batch,verbose=1,steps=None,callbacks=None,max_queue_size=10,workers=1,use_multiprocessing=False)&#xA;print(&#x27;This is prediction labels&#x27;,predict_labels)# This has no video label indentifiers  &#xA;

    &#xA;

    This is working fine, but I cannot draw a hypothesis until I see what's within the Xtest variable.

    &#xA;

    All I am getting is an array of data with no labels.

    &#xA;

    For example : Xtest has 16 videos after the split operations :

    &#xA;

    is it vid04.mp4, vid34.mp4, vid21.mp4, vid34.mp4, vid74.mp4, vid54.mp4, vid71.mp4, vid40.mp4, vid06.mp4, vid27.mp4, vid32.mp4, vid18.mp4, vid66.mp4, vid42.mp4, vid8.mp4, vid14.mp4, etc ???!?!??!?!

    &#xA;

    This is what I really want to see !!!

    &#xA;

    Please assist me to understand the process and where I am going wrong..&#xA;Thanx in advance for acknowledging my challenge !

    &#xA;