
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (77)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (4271)
-
Multiple live video outputs advice. Live stream/Record/Preview, FFMPEG, Windows, Decklink [closed]
18 septembre 2024, par stroltzI am looking for advice on how best to achieve multiple live video outputs.


The live source is a Decklink card on Windows. (We have a ffmpeg build working to access the card) We want 4 outputs ;


- 

-
We want to run a preview window (low quality would be preferred) just so the user can see the video is working.


-
We want to be able to live stream - single bit rate, RTMP. (goes up to a CDN)


-
Independent from the streaming we want to be able to stop and start recording to file. Ideally using CRF. So a separate encode – but maybe we use the RTMP encode, not sure, and do 1 x encode only.


-
We also want to save a separate audio file. Stops and starts at the same time as the video file above (if required we could do this as a post process on the video file we make above)












We want to keep CPU use down to as reasonable as possible. (so no high end hardware)


We have had a suggestion of this with ffmpeg ;


Input >> ffmpeg


- 

- split input to main and monitoring ;
- scale monitoring stream to lower resolution
- encode both streams
- provide both outputs to local streaming server
ffmpeg >> local streaming server
- use API to start and stop recordings (or web console, if you do it manually)
- provide streams to CDN or/and provide access to your streams for end users














recorded files >> another ffmpeg (controlled by some script that get
RECORDING COMPLETED event to start ffmpeg process)


- 

- extract audio from recorded file
- save audio into file






Which sounds possible, but if doing that, which local streaming server would work best (open source, API...)


or open to other ideas as to the best way.


https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs shows lots of ways, but I don't think you get to control the individual outputs independently.


-
-
Error installing package in anaconda : Attempted to make prefix record for unknown package type
25 janvier 2020, par ashwinidsI’m getting the error below for doing any operation install, update or uninstall
ERROR conda.core.link:_execute(700) : An error occurred while
uninstalling package ’::ffmpeg-3.2.4-2’. Rolling back
transaction : doneValueError(’Attempted to make prefix record for unknown package type :
ffmpeg-3.2.4-2’,)Details about the environment :
OS : ubuntu 18.04
python version : intelpython3Conda info
active environment : base
active env location : /home/p****/intelpython3
shell level : 1
user config file : /home/p****/.condarc
populated config files : /home/p****/.condarc
conda version : 4.7.12
conda-build version : not installed
python version : 3.6.8.final.0
virtual packages : __cuda=10.1
base environment : /home/p****/intelpython3 (writable)
channel URLs : https://conda.anaconda.org/intel/linux-64
https://conda.anaconda.org/intel/noarch
https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/p****/intelpython3/pkgs
/home/p****/.conda/pkgs
envs directories : /home/p****/intelpython3/envs
/home/p****/.conda/envs
platform : linux-64
user-agent : conda/4.7.12 requests/2.20.1 CPython/3.6.8 Linux/5.0.0-36-generic ubuntu/18.04.3 glibc/2.27
UID:GID : 1000:1000
netrc file : None
offline mode : FalseConda list
# packages in environment at /home/p****/intelpython3:
#
# Name Version Build Channel
_tflow_select 2.1.0 gpu anaconda
absl-py 0.8.0 py36_0 anaconda
affine 2.3.0 pypi_0 pypi
asn1crypto 0.24.0 py36_3 intel
astor 0.8.0 py36_0 anaconda
atomicwrites 1.3.0 pypi_0 pypi
attrs 19.3.0 pypi_0 pypi
audioread 2.1.6 py36_0 <unknown>
awscli 1.16.292 pypi_0 pypi
backcall 0.1.0 py36_2 <unknown>
backports 1.0 py36_9 <unknown>
bayesian-optimization 1.0.1 pypi_0 pypi
bleach 2.1.3 py36_2 <unknown>
boto3 1.10.19 pypi_0 pypi
botocore 1.13.28 pypi_0 pypi
bzip2 1.0.6 17 intel
c-ares 1.15.0 h7b6447c_1001 anaconda
causalgraphicalmodels 0.0.4 pypi_0 pypi
certifi 2018.1.18 py36_2 intel
cffi 1.11.5 py36_3 intel
chardet 3.0.4 py36_3 intel
click 7.0 pypi_0 pypi
click-plugins 1.1.1 pypi_0 pypi
cligj 0.5.0 pypi_0 pypi
colorama 0.4.1 pypi_0 pypi
conda 4.7.12 py36_0
conda-env 2.6.0 1
conda-package-handling 1.6.0 py36h7b6447c_0 anaconda
cryptography 2.3 py36_1 intel
cudatoolkit 10.1.243 h6bb024c_0
cudnn 7.6.0 cuda10.1_0 anaconda
cupti 10.1.168 0 anaconda
cvxopt 1.2.3 pypi_0 pypi
cycler 0.10.0 py36_7 intel
cython 0.29.6 py36h7b7c402_0 intel
daal 2019.4 intel_243 <unknown>
daal4py 2019.4 py36h7b7c402_0 intel
dbus 1.13.12 h746ee38_0
decorator 4.3.0 py36_3 <unknown>
descartes 1.1.0 pypi_0 pypi
docutils 0.15.2 pypi_0 pypi
dowhy 0.1.1 pypi_0 pypi
entrypoints 0.2.3 py36_2 <unknown>
expat 2.2.6 he6710b0_0
ffmpeg 3.2.4 2 <unknown>
fiona 1.8.11 pypi_0 pypi
fontconfig 2.12.6 h49f89f6_0
freetype 2.8 hab7d2ae_1
funcsigs 1.0.2 py36_7 intel
gast 0.3.2 py_0 anaconda
geopandas 0.6.2 pypi_0 pypi
get_terminal_size 1.0.0 py36_7 <unknown>
glib 2.63.1 h5a9c865_0
google-pasta 0.1.7 py_0 anaconda
grpcio 1.14.1 py36h9ba97e2_0 anaconda
gst-plugins-base 1.12.4 h33fb286_0
gstreamer 1.12.4 hb53b477_0
h5py 2.9.0 py36h7918eee_0 anaconda
hdf5 1.10.4 hb1b8bf9_0 anaconda
html5lib 1.0.1 py36_4 <unknown>
icc_rt 2019.4 intel_243 <unknown>
icu 58.2 h9c2bf20_1
idna 2.6 py36_3 intel
imageio 2.6.1 pypi_0 pypi
imgaug 0.2.6 pypi_0 pypi
impi_rt 2019.4 intel_243 <unknown>
importlib-metadata 0.23 pypi_0 pypi
intel-openmp 2019.4 intel_243 <unknown>
intelpython 2019.4 0 intel
ipp 2019.4 intel_243 <unknown>
ipykernel 4.6.1 py36_2 <unknown>
ipython 6.3.1 py36_3 <unknown>
ipython_genutils 0.2.0 py36_2 <unknown>
jedi 0.12.0 py36_2 <unknown>
jinja2 2.10.3 pypi_0 pypi
jmespath 0.9.4 pypi_0 pypi
joblib 0.13.2 pypi_0 pypi
jpeg 9b h024ee3a_2
json5 0.8.5 pypi_0 pypi
jsonschema 3.2.0 pypi_0 pypi
jupyter 1.0.0 py36_7 intel
jupyter_client 5.1.0 py36_5 <unknown>
jupyter_console 5.1.0 py36_2 <unknown>
jupyter_core 4.4.0 py36_6 <unknown>
jupyterlab 1.2.3 pypi_0 pypi
jupyterlab-server 1.0.6 pypi_0 pypi
keras 2.3.1 pypi_0 pypi
keras-applications 1.0.8 py_0 anaconda
keras-bert 0.80.0 pypi_0 pypi
keras-embed-sim 0.7.0 pypi_0 pypi
keras-layer-normalization 0.14.0 pypi_0 pypi
keras-multi-head 0.22.0 pypi_0 pypi
keras-pos-embd 0.11.0 pypi_0 pypi
keras-position-wise-feed-forward 0.6.0 pypi_0 pypi
keras-preprocessing 1.1.0 py_1 anaconda
keras-rectified-adam 0.17.0 pypi_0 pypi
keras-self-attention 0.41.0 pypi_0 pypi
keras-transformer 0.31.0 pypi_0 pypi
kiwisolver 1.0.1 py36_2 intel
libffi 3.2.1 11 intel
libgcc-ng 9.1.0 hdf63c60_0 anaconda
libgfortran-ng 7.3.0 hdf63c60_0 anaconda
libiconv 1.14 4 <unknown>
libpng 1.6.36 2 intel
libprotobuf 3.9.2 hd408876_0 anaconda
librosa 0.6.3 pypi_0 pypi
libsodium 1.0.16 3 <unknown>
libstdcxx-ng 9.1.0 hdf63c60_0 anaconda
libtiff 4.0.9 he85c1e1_1
libxcb 1.13 h1bed415_1
libxml2 2.9.8 hf84eae3_0
lightgbm 2.3.1 pypi_0 pypi
llvmlite 0.27.1 py36_0 intel
markdown 3.1.1 py36_0 anaconda
markupsafe 1.0 py36_3 <unknown>
matplotlib 2.1.0 py36hba5de38_0
mercantile 1.1.2 pypi_0 pypi
metaflow 2.0.0 pypi_0 pypi
mistune 0.8.3 py36_2 <unknown>
mkl 2019.4 intel_243 <unknown>
mkl-service 1.0.0 py36h7b7c402_11 intel
mkl_fft 1.0.11 py36h7b7c402_2 intel
mkl_random 1.0.2 py36h7b7c402_4 intel
more-itertools 7.2.0 pypi_0 pypi
mpi4py 3.0.0 py36_3 intel
mpmath 1.1.0 pypi_0 pypi
munch 2.5.0 pypi_0 pypi
nbconvert 5.2.1 py36_2 <unknown>
nbformat 4.4.0 py36_2 <unknown>
networkx 2.4 pypi_0 pypi
ninja 1.9.0 py36hfd86e86_0
noisyopt 0.2.2 pypi_0 pypi
notebook 5.2.2 py36_1 intel
numba 0.42.1 np116py36_2 intel
numexpr 2.6.8 py36_2 intel
numpy 1.16.2 py36h7b7c402_0 intel
numpy-base 1.16.2 py36_0 intel
oauthlib 3.1.0 pypi_0 pypi
olefile 0.46 py_0
openssl 1.0.2r 2 intel
packaging 19.2 pypi_0 pypi
pandas 0.24.1 py36_3 intel
pandocfilters 1.4.1 py36_2 <unknown>
parso 0.2.0 py36_2 <unknown>
path.py 11.0.1 py36_2 <unknown>
pcre 8.43 he6710b0_0
pexpect 4.2.1 py36_4 <unknown>
pickleshare 0.7.4 py36_3 <unknown>
pillow 6.2.1 pypi_0 pypi
pip 19.3.1 pypi_0 pypi
pluggy 0.13.1 pypi_0 pypi
prompt_toolkit 1.0.15 py36_2 <unknown>
protobuf 3.9.2 py36he6710b0_0 anaconda
ptyprocess 0.5.2 py36_2 <unknown>
pulp 2.0 pypi_0 pypi
py 1.8.0 pypi_0 pypi
pyasn1 0.4.8 pypi_0 pypi
pycosat 0.6.3 py36_3 intel
pycparser 2.18 py36_2 intel
pydot 1.4.1 pypi_0 pypi
pyeditline 2.0.0 py36_0 intel
pygments 2.2.0 py36_5 <unknown>
pygmy 0.2.0 pypi_0 pypi
pyopenssl 17.5.0 py36_2 intel
pyparsing 2.2.0 py36_2 intel
pyportfolioopt 0.4.3 pypi_0 pypi
pyproj 2.4.2.post1 pypi_0 pypi
pyqt 5.6.0 py36h22d08a2_6
pyrsistent 0.15.6 pypi_0 pypi
pysocks 1.6.7 py36_1 intel
pytesseract 0.3.0 pypi_0 pypi
pytest 4.6.6 pypi_0 pypi
python 3.6.8 7 intel
python-dateutil 2.6.0 py36_12 intel
python-graphviz 0.13 pypi_0 pypi
pytorch 1.3.1 py3.6_cuda10.1.243_cudnn7.6.3_0 pytorch
pytz 2018.4 py36_3 intel
pywavelets 1.1.1 pypi_0 pypi
pyyaml 4.1 py36_3 intel
pyzmq 16.0.2 py36_6 <unknown>
qt 5.6.2 hd25b39d_14
rasterio 1.1.1 pypi_0 pypi
regex 2019.11.1 pypi_0 pypi
requests 2.20.1 py36_1 intel
requests-oauthlib 1.3.0 pypi_0 pypi
resampy 0.2.1 pypi_0 pypi
rio-cogeo 1.1.6 pypi_0 pypi
rsa 3.4.2 pypi_0 pypi
ruamel_yaml 0.11.14 py36_4 intel
s3transfer 0.2.1 pypi_0 pypi
sacremoses 0.0.35 pypi_0 pypi
scikit-image 0.16.2 pypi_0 pypi
scikit-learn 0.20.3 py36h7b7c402_5 intel
scipy 1.3.3 pypi_0 pypi
seaborn 0.9.0 pypi_0 pypi
sentencepiece 0.1.83 pypi_0 pypi
setuptools 39.0.1 py36_0 intel
shapely 1.6.4.post2 pypi_0 pypi
simplegeneric 0.8.1 py36_7 <unknown>
sip 4.18.1 py36hf484d3e_2
six 1.11.0 py36_3 intel
smp 0.1.4 py36_0 intel
snuggs 1.4.7 pypi_0 pypi
sqlite 3.27.2 4 intel
supermercado 0.0.5 pypi_0 pypi
sympy 1.4 pypi_0 pypi
tbb 2019.6 intel_243 <unknown>
tbb4py 2019.6 py36_intel_0 <unknown>
tcl 8.6.4 24 intel
tensorboard 1.14.0 py36hf484d3e_0 anaconda
tensorflow 1.14.0 gpu_py36h3fb9ad6_0 anaconda
tensorflow-base 1.14.0 gpu_py36he45bfe2_0 anaconda
tensorflow-estimator 1.14.0 py_0 anaconda
tensorflow-gpu 1.14.0 h0d30ee6_0 anaconda
termcolor 1.1.0 py36_1 anaconda
terminado 0.8.1 py36_2 <unknown>
testpath 0.3.1 py36_2 <unknown>
tk 8.6.4 29 intel
torchvision 0.4.2 py36_cu101 pytorch
tornado 4.5.2 py36_5 <unknown>
tqdm 4.36.1 py_0 anaconda
traitlets 4.3.2 py36_3 <unknown>
transformers 2.1.1 pypi_0 pypi
tweepy 3.8.0 pypi_0 pypi
urllib3 1.22 pypi_0 pypi
wcwidth 0.1.7 py36_6 <unknown>
webencodings 0.5.1 py36_0 <unknown>
werkzeug 0.16.0 py_0 anaconda
wheel 0.31.0 py36_3 intel
widgetsnbextension 3.2.0 py36_1 <unknown>
wrapt 1.11.2 py36h7b6447c_0 anaconda
x264 20131218 0 <unknown>
xgboost 0.81 py36_0 intel
xz 5.2.3 2 intel
yaml 0.1.7 2 intel
zipp 0.6.0 pypi_0 pypi
zlib 1.2.11 5 intel
</unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown> -
I want to record my computer screen and stream it to other computer browser over same network
25 décembre 2022, par Abdullah QasimI am using Flask for this purpose. I wanted to create a rtmp server that stream the screen in web browser.


My Python Code is :


import os
import subprocess

from flask import Flask, render_template

app = Flask(__name__)

@app.route('/')
def index():
 return render_template('index.html')

if __name__ == '__main__':
 # Start the RTMP server in a separate process
 subprocess.Popen(['ffmpeg', '-f', 'gdigrab', '-framerate', '25', '-probesize', '100000000000', '-i', 'desktop', '-vcodec', 'libx264', '-preset', 'ultrafast', '-tune', 'zerolatency', '-f', 'flv', 'rtmp://localhost:5000/live/stream_name'])

 # Start the Flask app
 app.run()




My HTML code is :



 
 
 
 <code class="echappe-js"><script src="https://unpkg.com/video.js/dist/video.js"></script>

 
 
 
<script>&#xA; var player = videojs(&#x27;my-video&#x27;);&#xA; </script>

 




When I run the flask app it produces an error :


* Serving Flask app 'server' (lazy loading)
 * Environment: production
 WARNING: This is a development server. Do not use it in a production deployment.
 Use a production WSGI server instead.
 * Debug mode: off
ffmpeg version N-109449-gb92260f70a-20221223 Copyright (c) 2000-2022 the FFmpeg developers
 built with gcc 12.2.0 (crosstool-NG 1.25.0.90_cf9beb1)
 configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --disable-libmfx --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20221223
 libavutil 57. 43.100 / 57. 43.100
 libavcodec 59. 55.103 / 59. 55.103
 libavformat 59. 34.102 / 59. 34.102
 libavdevice 59. 8.101 / 59. 8.101
 libavfilter 8. 53.100 / 8. 53.100
 libswscale 6. 8.112 / 6. 8.112
 libswresample 4. 9.100 / 4. 9.100
 libpostproc 56. 7.100 / 56. 7.100
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
[gdigrab @ 00000134692d9cc0] Capturing whole desktop as 1280x1024x32 at (0,0)
Input #0, gdigrab, from 'desktop':
 Duration: N/A, start: 1671986678.012939, bitrate: 1048586 kb/s
 Stream #0:0: Video: bmp, bgra, 1280x1024, 1048586 kb/s, 25 fps, 25.08 tbr, 1000k tbn
127.0.0.1 - - [25/Dec/2022 21:44:39] code 400, message Bad request version ('û\x9beùSØHãEieÐ×kbz\x84ã^\x9dÚ½\x8bCðúÚîE\x8cßYë×s\x92.')
127.0.0.1 - - [25/Dec/2022 21:44:39] "♥ |☻÷xU▲Ϋ▲6/Åp²fÔ☻ a↑¢.6Õü+c)Â.çÇɰµ³Eߨ9ê;Èy ►hBZ¡↨LµrXÏëâM¤.Äÿ{@o↑É[ýÐNäo2¶¤{ö°RTâZ驨´ÅIonׯ¶¼ÈAiæ>7/þ↑m¨Q8bů޵¡!wâÙâÄt±õ§ð² ®
 ·×«2ùðT«{ ý?ò¸ö$¬pòpów4êñOf¬=dâ2♣D¤B ¤↓▲ôm<·-/"CÑu*A&2Öj uõÓ☻ô\ß+ŧ«ø↑1☺Φúì\yª~Ç↑▲¤Yín
eîÔioPþ♣ü Mí▲^ôüdÕ{∟¶¶jE▼j♦1VÒYW×▼©Àñ_K|÷¶Ã}¦ ↑a↔;☻ÿ|É@8u7Ó8.AkÕuwMùÊ÷H5!PÎÐÛ´▼Ãdá~5iã
▬e
ûùSØHãEieÐ×kbz
 ã^CðúÚîEßYë×s." 400 -
[rtmp @ 000001346ae35180] Cannot read RTMP handshake response
rtmp://localhost:5000/live/stream_name: End of file



I have searched on internet to fix this error but did not got any help.