
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
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)
-
Serving rtmp on port 1935
22 mai 2020, par JJ The SecondI've been trying to get ffmpeg to stream in rtmp but connection to port 1935 is always refused. I really don't know what else I can do to allow this connection.



Here is what specs I'm running.



- 

- Ubuntu 18.04 (tried with 19.04) however same issue - here is why I think I've made a mistake
- No Nginx installation at the moment
- FFMPEG "ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)"









This is the script I run :



ffmpeg -i "test.mp4" -c:v copy -c:a copy -f flv "rtmp://127.0.0.1/stream/test"




Error I get is :



[tcp @ 0x55ff05ab8ce0] Connection to tcp://127.0.0.1:1935 failed: Connection refused




I've done some research and been across many posts about ffserver.conf and I have made those changes but still no luck. Here is my config file. I also have ran ffserver once using this config.






HTTPPort 8090
HTTPBindAddress 127.0.0.1
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -

<feed>

File /tmp/feed1.ffm
FileMaxSize 200K

# Only allow connections from localhost to the feed.
ACL allow 127.0.0.1
ACL allow localhost 
ACL allow 192.168.0.0 192.168.255.255
</feed>

<stream>

# coming from live feed 'feed1'
Feed feed1.ffm

Format mpeg
AudioBitRate 32

# Number of audio channels: 1 = mono, 2 = stereo
AudioChannels 2
AudioSampleRate 44100

# Bitrate for the video stream
VideoBitRate 64

# Ratecontrol buffer size
VideoBufferSize 40

# Number of frames per second
VideoFrameRate 3


</stream>


<stream>
Feed feed1.ffm
Format asf
VideoFrameRate 15
VideoSize 352x240
VideoBitRate 256
VideoBufferSize 40
VideoGopSize 30
AudioBitRate 64
StartSendOnKey
</stream>

# Special streams

# Server status

<stream>
Format status

ACL allow localhost
ACL allow 127.0.0.1
ACL allow 192.168.0.0 192.168.255.255

#FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico
</stream>

<redirect>
URL http://www.ffmpeg.org/
</redirect>




Here is my ufw status :



-- ------ ----
22/tcp ALLOW Anywhere
22 ALLOW Anywhere
1935/tcp ALLOW Anywhere
22/tcp (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
1935/tcp (v6) ALLOW Anywhere (v6)




but still nothing, I've also opened ports in iptables but no luck. Here is how this is done :



iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 1935 -j ACCEPT

and

iptables -A OUTPUT -m state --state NEW -m tcp -p tcp --dport 1935 -j ACCEPT




and still nothing, every time I run ffmpeg I get connection refused. I have previously installed nginx just to test but no luck.



What am I doing wrong here ? Isn't this port suppose to be open now ?



Thanks


-
OpenCV VideoCapture can't read from stream
18 décembre 2018, par Josep VallsI can open a stream in VLC but in OpenCV I cannot capture frames. (Python 2.7, OpenCV 3.4.3 binary distribution x86, Windows 10). I’ve been following this guide : https://medium.com/@tomgrek/hackers-guide-to-the-aws-deeplens-1b8281bc6e24 but I cannot seem to read from random streams online (not sure whether I should be able to, I saw this question opencv videocapture can’t open MJPEG stream about compiling with ffmpeg but I just downloaded the binary available in Sourceforge).
-
I am using an AWS Deeplens, updated to the latest version.
-
Installed ffmpeg, latest version.
Then, in /etc/ffserver.conf I added :
<stream>
File "/opt/awscam/out/ch1_out.h264"
VideoFrameRate 6
VideoSize 320x240
NoAudio
</stream>
<stream>
File "/opt/awscam/out/ch2_out.mjpeg"
VideoFrameRate 3
VideoSize 640x480
Format mjpeg
NoAudio
</stream>- I start
ffserver -f /etc/ffserver.conf
- On my Windows machine, I use WSL and open an SSH tunnel into the AWS Deeplens
ssh -L 8090:localhost:8090 aws_cam@192.168.0.10
- At this point, in my Windows machine I can open VLC and if I point to
http://localhost:8090/camera.mjpeg
I can see the stream from the camera.
But if I run the following code :
cam = cv2.VideoCapture("http://localhost:8090/camera.mjpeg")
success, frame = cam.read()
opened = cam.isOpened()
success, frame, openedI get :
False, None, False
If I browse to
http://localhost:8090/stat.html
, I see :Available Streams
Path Served Conns bytes Format Bit rate kbits/s Video kbits/s Codec Audio kbits/s Codec Feed
test1.mpg 0 0 mpeg 96 64 mpeg1video 32 mp2 feed1.ffm
test.asf 0 0 asf_stream 320 256 msmpeg4 64 wmav2 feed1.ffm
stat.html 17 42150 - - - -
index.html 0 0 - - - -
camera.h264 3 6805k h264 0 0 libx264 0 /opt/awscam/out/ch1_out.h264
camera.mjpeg 12 41073k mjpeg 0 0 mjpeg 0 /opt/awscam/out/ch2_out.mjpegAnd every time I call
VideoCapture()
I see how the number ofServed
for thecamera.mjpeg
stream increased by a 2 or 3 and thebytes
, increases a few megabytes but I don’t see anything in OpenCV. I have not tried any other video device in my Windows 10 but I can read images no problem. I also tried a random stream online, also opens in VLC but not in OpenCV, tried this one : http://136.176.70.200/mjpg/video.mjpgAny ideas ?
-
-
Playing fragmented mp4 doesnt continue playing
18 mai 2017, par advinerUsing ffmpeg I create an mp4 using my video camera as the source.
ffmpeg -f dshow -i video="Integrated Webcam":audio="Microphone (Realtek High Definition Audio)"^
-g 52^
-vcodec libx264 -pix_fmt yuv420p -profile:v baseline -level 3^
-f mp4 -movflags empty_moov+default_base_moof+frag_keyframe^
%OUTPUT%\video.mp4Works with IE11, Chrome and Firefox
And my html video tags :
<video controls="controls" autoplay="autoplay" style="width:640px;height:360px;">
<source src="http://localhost/video.mp4" type="video/mp4;codecs="avc1.42E01E, mp4a.40.2""></source>
</video>The node web server version just has src="http://localhost/" for the
using
I’ve tried nginx and a node version that I got from this site
The nginx doesnt do anything special. I just basically point the root to the folder so it sees the mp4.The problem is it only plays however much the webserver sees when the page is loaded. The file is still continuously growing. And if I refresh the page I can see the time length is now longer since the last time.
My question is how can I make the video tag continuously play the fragmented video data without stopping and refreshing the page (which starts from the beginning again) ?