Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (36)

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (4889)

  • How to decode Byte string from continous video frames in python

    15 juillet 2021, par fresch man

    i am trying to get PNG from a video stream. first i connect the server during socket, and i recieve presistent byte string. however when i use Pickel ,i get a Error,that is UnpicklingError : invalid load key, '\x10.

    


    i surpose that ,if i should first do someting to the bytestring before i use pickel.or i should use another methode

    


    i have already search in the internet, but all the answers are , open locally video and so ..but my byte string are acctully presistent RAW video frames(yuv420) during tcp transport.

    


    `import socket,os,struct,numpy,pickle
TCP_IP = '192.168.0.90'
TCP_PORT = 5000
BUFFER_SIZE =1024
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((TCP_IP, TCP_PORT))
while True :
        data = s.recv(BUFFER_SIZE)
        data = pickle.loads(data) `


    


    thank you

    


  • How to merge multiple videos and audios in python ffpmeg [closed]

    18 décembre 2020, par Alireza Farzaneh

    I'm making a program for downloading Adobe connect based meetings' recordings using python.
I have managed to download Adobe connect sessions' recording.
    
Now I have multiple separate audios and videos.
    
I'm trying to merge them into one video using python and ffmpeg library.
    
The problem is that I want them to be in sync.
    

    
Here is an example :
    
I have four files :

    "cameraVoip_0_4.flv" : audio, started at "Sat Nov 07 13:36:11 2020" and lasted for 2888.128000 seconds.

    "cameraVoip_0_6.flv" : audio, started at "Sat Nov 07 14:26:42 2020" and lasted for 366.455 seconds.

    "screenshare_1_2.flv" : video, started at "Sat Nov 07 13:36:01 2020" and lasted for 2844.602000 seconds.

    "screenshare_3_7.flv" : video, started at "Sat Nov 07 14:26:51 2020" and lasted for 352.635000 seconds.


    
I want to merge them somehow that their timing would be correct.

    


  • How to create a v4l2 device that is a cropped version of a webcam ?

    26 avril 2020, par Markus

    I have a Logitech Webcam C930e on /dev/video0. I can use this for doing video conferences (e.g. jitsi). However, the video this webcam gives is too big. I would like to have a "cropped" version of /dev/video0, maybe named /dev/video1 that I can use for video conferences.

    



    Originally, I tried to set v4l2 options to achieve this, but did not succeed :

    



    $ v4l2-ctl -d /dev/video0 --get-cropcap
Crop Capability Video Capture:
    Bounds      : Left 0, Top 0, Width 640, Height 360
    Default     : Left 0, Top 0, Width 640, Height 360
    Pixel Aspect: 1/1

$ v4l2-ctl -d /dev/video0 --get-selection target=crop_bounds
Selection: crop_bounds, Left 0, Top 0, Width 640, Height 360, Flags:

$ v4l2-ctl -d /dev/video0 --set-selection target=crop_bounds,flags=crop,top=10,left=10,width=100,height=100
VIDIOC_S_SELECTION: failed: Inappropriate ioctl for device


    



    After that, I tried to use v4l2loopback to create /dev/video2. After that I would have tried to use ffmpeg to connect /dev/video0 to /dev/video2, but I could not get to this step, as v4l2loopback was not working. On Debian 10 :

    



    $ sudo apt-get install v4l2loopback-dkms
...
linux-headers-4.19.0-8-common (4.19.98-1) wird eingerichtet ...
v4l2loopback-dkms (0.12.1-1) wird eingerichtet ...
Loading new v4l2loopback-0.12.1 DKMS files...
Building for 4.19.0-2-amd64
Building initial module for 4.19.0-2-amd64
Done.

v4l2loopback.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.19.0-2-amd64/updates/dkms/

depmod...

DKMS: install completed.
linux-headers-4.19.0-8-amd64 (4.19.98-1) wird eingerichtet ...
linux-headers-amd64 (4.19+105+deb10u3) wird eingerichtet ...
Trigger für man-db (2.8.5-2) werden verarbeitet ...
$ sudo modprobe v4l2loopback 
modprobe: ERROR: could not insert 'v4l2loopback': Exec format error


    



    Do you have any ideas ?