
Recherche avancée
Autres articles (63)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 version 0.1 Beta
16 avril 2011, parMediaSPIP 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 (...)
Sur d’autres sites (14018)
-
Trying to stream webcam with VLC, video works but no audio
19 août 2021, par MirceaKitsuneI created a bash script a while back to stream my webcam to http with VLC. The line I used was :


cvlc -vvv v4l2:///dev/video0 input_stream --sout '#transcode{vcodec=MJPG,vb=0,scale=1,acodec=none}:standard{access=http,mux=mpjpeg,dst=:1234}'



That works fine but no audio. I've been trying to update it to capture sound from the webcam as well, but nothing I do seems to get that working. I know the ALSA address of the mic which is "hw:2,0" and using the arecord command as a test confirms it works, it's just vlc that isn't capturing or streaming accordingly. Here's the latest command I managed to work out, video is functional but no audio :


cvlc -vvv v4l2:///dev/video0 alsa://hw:2,0 --live-caching=5000 --sout '#transcode{vcodec=h264,vb=1024,acodec=mpga,ab=128,samplerate=44100,channels=2}:standard{access=http,mux=ffmpeg{mux=flv},dst=:1234}'



What is wrong with it and how do you recommend improving this ? Thanks.


-
FFmpeg audio behind video. Video from IP camera, Audio from microphone
4 août 2021, par Evgeniy RusskihI'm trying to mix audio and video from different sources.
Video from camera via h264-converter and audio from microphone.
Unfortunately audio is stitching behind video for about 1-2s.
After that stream is supposed to be shown in browser with smallest delay possible, so adding -itsoffset would not going to work.


Here is my command :




ffmpeg.exe -r 30 -fflags nobuffer -i http://192.168.88.168/0.ts -f
dshow -i audio="Microphone (Realtek)" -acodec mp2 -ac 1 -f mpegts -r
30 -c:v mpeg1video -b:v 3200k
http://localhost:5000/upload/ae7e32f660b6427a9b6d9ab6abf4cf19




-
How to stream a video from localhost to web browser using video tag ?
31 juillet 2021, par kupBasically what i want to stream a video to my browser both on localhost, using flask and opencv or ffmpeg.


But not sure how to do it.


i tried this :


#!/usr/bin/env python
from flask import Flask, render_template, Response
import cv2
import sys
import numpy

app = Flask(__name__)

def get_frame():
 c=cv2.VideoCapture("output.mkv") 

 while True:
 retval, im = c.read()
 imgencode=cv2.imencode('.jpg',im)[1]
 stringData=imgencode.tostring()
 yield (b'--frame\r\n'
 b'Content-Type: text/plain\r\n\r\n'+stringData+b'\r\n')

 del(c)

@app.route('/vid')
def vid():
 return Response(get_frame(),mimetype='multipart/x-mixed-replace; boundary=frame')


if __name__ == '__main__':
 app.run(host='localhost',port=5000, debug=True, threaded=True)



but its not working may be because it is sending images, how can i stream video ?