Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (109)

  • 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 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (11417)

  • What is video timescale, timebase, or timestamp in ffmpeg ? [on hold]

    11 avril 2017, par Please Help

    There does not seem to be any explanation online as to what these are. People talk about them a lot. I just want to know what they are and why they are significant. Using -video_track_timescale, how would I determine a number for it ? Is it random ? Should it be 0 ?

  • OpenCV Threading Capture Loses Connection to IP Camera

    27 janvier 2021, par David López Díaz

    I have a surveillance program that opens 16 threads to check on to 16 different cameras with live video, but when after some time (20/30 seconds) cameras starts to lose frames and I need to reconnect them.

    


    The thing is that if I only open 10 streams at once it might lose a frame from time to time, but if I open 16 streams it begins to fail every 20 seconds or so.

    


    I've checked system params, and CPU doesnt go more than 50% and RAM is on 4GB, so this doesnt look like the problem.
Also I've checked the network and it's fine, no delay and no packet loss.

    


    Sometime I get error while decoding MB 8 7, bytestream -5

    


    This is the thread I use to get the streams.

    


        """
    Class that continuously gets frames from a VideoCapture object
    with a dedicated thread.
    """
    def __init__(self, idcam,ipcamara, user, passwd,resolucionh,resolucionw):
        self.id = idcam
        self.ip = ipcamara
        self.user = user
        self.passwd = passwd
        self.Q =[]
        self.scale_percent = 50
        self.i = 0

    def start(self):
        self.conectar()
        Thread(target=self.get, args=()).start()
        return self

    def get(self):

        while True:
            if(self.stream.isOpened() and self.online):
                (status, preFrame) = self.stream.read()
                if(status):
                    self.frame = (preFrame)
                else:
                    self.stream.release()
                    self.online = False
            else:
                graba_log('Camara '+str(self.id),'Desconexion')
                self.conectar()
                time.sleep(1)

    def conectar(self):
        print('Iniciando conexion con camara '+str(self.id))
        self.stream = cv2.VideoCapture("rtsp://"+self.user+":"+self.passwd+"@"+self.ip)
        self.online = True
    def recuperarFrame(self):
        return self.frame ```


    


  • How can I solve this error, file not found error

    11 août 2021, par Kapil Kumar

    from pydub import AudioSegment
sound = AudioSegment.from_mp3("F :\work\online internship\M1ML\Language_Recg\Test.mp3")
sound.export("F :\work\online internship\M1ML\Language_Recg\Test.wav", format="wav")

    


    C :\Users\hp\anaconda3\envs\Language_Recg\python.exe "F :/work/online internship/M1ML/Language_Recg/mp3_wav.py"
C :\Users\hp\anaconda3\envs\Language_Recg\lib\site-packages\pydub\utils.py:170 : RuntimeWarning : Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
C :\Users\hp\anaconda3\envs\Language_Recg\lib\site-packages\pydub\utils.py:198 : RuntimeWarning : Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work
warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning)
Traceback (most recent call last) :
File "F :/work/online internship/M1ML/Language_Recg/mp3_wav.py", line 2, in 
sound = AudioSegment.from_mp3("F :\work\online internship\M1ML\Language_Recg\Test.mp3")
File "C :\Users\hp\anaconda3\envs\Language_Recg\lib\site-packages\pydub\audio_segment.py", line 796, in from_mp3
return cls.from_file(file, 'mp3', parameters=parameters)
File "C :\Users\hp\anaconda3\envs\Language_Recg\lib\site-packages\pydub\audio_segment.py", line 728, in from_file
info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)
File "C :\Users\hp\anaconda3\envs\Language_Recg\lib\site-packages\pydub\utils.py", line 274, in mediainfo_json
res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)
File "C :\Users\hp\anaconda3\envs\Language_Recg\lib\subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C :\Users\hp\anaconda3\envs\Language_Recg\lib\subprocess.py", line 1311, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError : [WinError 2] The system cannot find the file specified

    


    Process finished with exit code 1