
Recherche avancée
Autres articles (85)
-
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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (5971)
-
FFMPEG- force abortion on certain conditions
18 juin 2023, par POLFFMPEG shows various errors, once in a while, during which the video is stuck or choppy. I couldn't find a way to fix it, but I figured that if I start the process again, it gets fixed.
The errors are like :
timestamp discontinuity for stream
New video stream with index 6


This is what I run :


ffmpeg -xerror -abort_on empty_output_stream+empty_output -fflags +discardcorrupt -http_persistent false -i URL -c:v libx264 -c:a aac -preset superfast -copyts -f mpegts udp://localhost:1937?pkt_size=1316



How can I force FFMPEG to abort ?


-
Error when trying to launch ffplay on Ubuntu server 16
18 décembre 2019, par NicolasFor work I need to get a video+audio link working between a machine running Ubuntu server 16 and a client machine running Ubuntu 18.04.
On the server side we have a webcam (with a microphone) and a speaker. The idea is that the client can see and hear what happens in front of the webcam, and can talk to whoever is next to the server.For this purpose, I run ffserver+ffmpeg on the server side to stream video and audio (that works, the client can see and hear what happens around the server), and the client also runs ffserver+ffmpeg on a different port, so that the server can use ffplay to hear what the client says.
Unfortunately for some reason at the moment the server cannot run ffplay. I get the following error :# ffplay -probesize 32 -sync ext http://localhost:8090/camera.rm
ffplay version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2003-2018 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enableopengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
Input #0, rm, from 'http://localhost:8090/camera.rm': 0B f=0/0
Metadata:
title :
author :
copyright :
comment :
Duration: 01:00:00.00, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: ac3 (dnet / 0x74656E64), 22050 Hz, mono, fltp, 32 kb/s
Stream #0:1: Video: rv10 (RV10 / 0x30315652), yuv420p, 640x480, 2048 kb/s, 24464 fps, 24464 tbr, 1k tbn, 1k tbc
SDL_OpenAudio (1 channels, 22050 Hz):
No more combinations to try, audio open failedTo be noted : ffplay has worked in the past on this server. The only modifications that were made are that I added some feeds and streams in the ffserver.conf, but they are not even used. I tried marking my additions as comments and repeating the test, but ffplay still doesn’t work.
My ffserver.conf file is as below :
HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 200
MaxClients 100
MaxBandWidth 500000
CustomLog -
#NoDaemon
<feed>
File /tmp/camera.ffm
FileMaxSize 200M
</feed>
#<feed>
#File /tmp/test.ffm
#FileMaxSize 200k
#</feed>
#<feed>
#File /tmp/audio.ffm>
#FileMaxSize 200M
#</feed>
<stream>
Feed camera.ffm
Format rm
AudioBitRate 32
VideoFrameRate 15
VideoIntraOnly
VideoBitRate 2048
VideoBufferSize 2048
VideoSize 640x480
VideoQMin 5
VideoQMax 51
Strict -1
</stream>
#<stream>
#Feed test.ffm
#AudioBitRate 32
#AudioChannels 1
#AudioSampleRate 44100
#VideoBitRate 512
#VideoBufferSize 40
#VideoFrameRate 24
#VideoSize 640x640
#VideoGopSize 12
#VideoQMin 1
#VideoQMax 15
#</stream>
#<stream>
#Feed audio.ffm
#Format rm
#AudioBitRate 128
#NoVideo
#</stream>And I use the following commands :
On the server side : ffserver -f /etc/ffserver.conf
and : ffmpeg -f v4l2 -i /dev/video0 -f alsa -ac 2 -i hw:0 http://localhost:8090/camera.ffm
and to receive audio : ffplay -probesize 32 -sync ext http://10.1.0.244:8080/audio.ra
And on the client side : ffserver -f /etc/ffserver.conf
and : ffmpeg -f alsa -ac 2 -i hw:0 http://localhost:8080/audio.ffm
The two ffserver.conf files (on server and client) are identical, apart for the port which is different (8090 on the server and 8080 on the client).
Does anyone have any idea why ffplay won’t start on my server ?
Thanks,
Nicolas. -
How to create an RTSP server to stream from webcam ?
24 février 2021, par Dhananjay ChobheI want to create an RTSP streaming server using my integrated webcam and later on using the same stream server to click pictures using java code. I did some research and there are several options available such as FFmpeg, wowza, etc but I don't know how to use them properly. I am using windows OS. I want the streaming server to be localhost. And i can use this link to actually take pictures in java.